From owner-freebsd-libh Fri Oct 26 13:11:11 2001 Delivered-To: freebsd-libh@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id A248A37B406 for ; Fri, 26 Oct 2001 13:10:48 -0700 (PDT) Received: from khan.anarcat.dyndns.org ([65.94.128.156]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011026201047.ORXY3059.tomts14-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Fri, 26 Oct 2001 16:10:47 -0400 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 79E381908 for ; Fri, 26 Oct 2001 16:10:44 -0400 (EDT) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id BFA8320ACE; Fri, 26 Oct 2001 16:11:17 -0400 (EDT) Date: Fri, 26 Oct 2001 16:11:17 -0400 From: The Anarcat To: Libh Subject: more details on console_init bug Message-ID: <20011026161116.B11804@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! I tried to debug the latest entry to the BUGS file, and stumble upon problems using gdb on the .static file. :) I just tried again with the *dynamic* tclh, and here are my results. I had a more significant backtrace than last time, however, I don't get it: Program received signal SIGABRT, Aborted. 0x28dcd764 in kill () from /usr/lib/libc.so.4 (gdb) bt #0 0x28dcd764 in kill () from /usr/lib/libc.so.4 #1 0x28e097b6 in abort () from /usr/lib/libc.so.4 #2 0x28c9225d in allocBlock () from /usr/local/lib/libtvision.so.0 #3 0x28c9228a in __builtin_vec_new () from /usr/local/lib/libtvision.so.0 #4 0x28c75278 in TInputLine::TInputLine () from /usr/local/lib/libtvision.so.0 #5 0x28318c57 in HuiTInputLine::HuiTInputLine (this=3D0x8058c80,=20 aText=3D@0xbfbfe40c, aMaxLength=3D-1, aValidator=3D@0xbfbfe2fc) at /u/anarcat/libh/compile/text+graphics/../../lib/hui/HuiTVision_InputLineW idget.cc:149 #6 0x282bf100 in HuiTVision::InputLineWidget::InputLineWidget ( this=3D0x806eb00, __in_chrg=3D1, aHui=3D@0x806e160, aParent=3D0xbfbfd9d= 4,=20 aName=3D@0xbfbfe3fc, aInitialText=3D@0xbfbfe40c, aMaxLength=3D-1,=20 aValidator=3D@0xbfbfe2fc, aTitle=3D@0xbfbfe300, aComment=3D@0xbfbfe304) at /u/anarcat/libh/compile/text+graphics/../../lib/hui/HuiTVision_InputLineW idget.cc:214 #7 0x282c11a5 in HuiTVision::GroupWidget::inputLine (this=3D0x806ec00,=20 aName=3D@0xbfbfe3fc, aInitialText=3D@0xbfbfe40c, aMaxLength=3D-1,=20 aValidator=3D@0xbfbfe2fc, aTitle=3D@0xbfbfe300, aPosition=3D@0xbfbfe3c0= ,=20 aComment=3D@0xbfbfe304) at /u/anarcat/libh/compile/text+graphics/../../lib/hui/HuiTVision_GroupWidge t.cc:169 #8 0x28224f0f in Hui__GroupWidgetAccess::methodCommand_object ( object=3D0x806ec40, method=3D0x806f620 "inputLine", master_interpreter=3Dtrue,=20 interp=3D0x804f200, objc=3D6, objv=3D0x807f680) at /u/anarcat/libh/compile/text+graphics/LibTclInterface_hui.cc:435 #9 0x28230ac1 in Hui__ContainerWidgetAccess::methodCommand_object ( object=3D0x806ec40, method=3D0x806f620 "inputLine", master_interpreter=3Dtrue,=20 interp=3D0x804f200, objc=3D6, objv=3D0x807f680) at /u/anarcat/libh/compile/text+graphics/LibTclInterface_hui.cc:1419 #10 0x282369bd in HuiTVision__ContainerWidgetAccess::methodCommand_object ( object=3D0x806ec40, method=3D0x806f620 "inputLine", master_interpreter=3Dtrue,=20 interp=3D0x804f200, objc=3D6, objv=3D0x807f680) at /u/anarcat/libh/compile/text+graphics/LibTclInterface_hui.cc:2807 #11 0x28219054 in HuiTVision__ContainerWidgetAccess::methodCommand ( obj=3D0x806ec40, interp=3D0x804f200, objc=3D6, objv=3D0x807f680) at /u/anarcat/libh/compile/text+graphics/LibTclInterface_hui.cc:2792 #12 0x28d2decc in TclObjInvoke () from /usr/local/lib/libtcl83.so #13 0x28d52740 in TclPreventAliasLoop () from /usr/local/lib/libtcl83.so #14 0x28d475ef in TclExecuteByteCode () from /usr/local/lib/libtcl83.so #15 0x28d2d25f in Tcl_EvalObjEx () from /usr/local/lib/libtcl83.so #16 0x28d6b15d in TclObjInterpProc () from /usr/local/lib/libtcl83.so #17 0x28d475ef in TclExecuteByteCode () from /usr/local/lib/libtcl83.so #18 0x28d2d25f in Tcl_EvalObjEx () from /usr/local/lib/libtcl83.so #19 0x28d6b15d in TclObjInterpProc () from /usr/local/lib/libtcl83.so #20 0x28d64320 in TclExpandTokenArray () from /usr/local/lib/libtcl83.so #21 0x28d64a2a in Tcl_EvalEx () from /usr/local/lib/libtcl83.so #22 0x28d5bd01 in Tcl_EvalFile () from /usr/local/lib/libtcl83.so #23 0x28d5e8c4 in Tcl_Main () from /usr/local/lib/libtcl83.so #24 0x8048a88 in main (argc=3D2, argv=3D0xbfbffb28) at tclh.cc:70 #25 0x80489cd in _start () (gdb)=20 So the bug is (triggered?) in tvision. A potential suspect: void * allocBlock( size_t sz ) { assert( heapcheck() >=3D 0 ); sz +=3D BLK_SIZE; in lib/new.c. What's heapcheck? I can't seem to find it anywhere. Internal gcc? Anyways, this is probably not a problem in tclh... A. --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjvZw2MACgkQttcWHAnWiGdA/ACfVlL47US58hJYir9Dl1N1PXNc G+4Anj1J9/OSK4xQu/MoRBsTJwWb8n0d =by0f -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message