|
2010-02-11
| ||
| 16:05 | • Closed ticket [2949397fff]: test oo-3.2 segfault plus 7 other changes artifact: fcc025a6b3 user: dkf | |
| 06:17 | • Ticket [2949397fff]: 4 changes artifact: 92fa604e9f user: dgp | |
|
2010-02-10
| ||
| 22:55 | • New ticket [2949397fff]. artifact: f50b68f0a0 user: dgp | |
test oo-3.2 segfault
Closed / Fixed2949397fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-02-10 22:55:43
$ make test-tcl TESTFLAGS="-file oo.test -verbose bpste -singleproc 1" ... ---- oo-3.2 start make: *** [test-tcl] Segmentation fault
dgpplain2010-02-11 06:17:10
Program received signal SIGSEGV, Segmentation fault.
0x080d7983 in TclOOInvokeContext (clientData=0x8b810f0, interp=0x8b492a8,
objc=0, objv=0x0) at /home/dgp/cvs/tcl-only/generic/tclOOCall.c:301
301 return mPtr->typePtr->callProc(mPtr->clientData, interp,
(gdb) bt
#0 0x080d7983 in TclOOInvokeContext (clientData=0x8b810f0, interp=0x8b492a8,
objc=0, objv=0x0) at /home/dgp/cvs/tcl-only/generic/tclOOCall.c:301
#1 0x080ff1c6 in Tcl_NRCallObjProc (interp=0x8b492a8,
objProc=0x80d7669 <TclOOInvokeContext>, clientData=0x8b810f0, objc=0,
objv=0x0) at /home/dgp/cvs/tcl-only/generic/tclBasic.c:8115
#2 0x080d1654 in ObjectRenamedTrace (clientData=0x8b66380, interp=0x8b492a8,
oldName=0x8b66128 "::oo::class", newName=0x0, flags=16512)
at /home/dgp/cvs/tcl-only/generic/tclOO.c:679
#3 0x080f819b in CallCommandTraces (iPtr=0x8b492a8, cmdPtr=0x8b66650,
oldName=0x8b66128 "::oo::class", newName=0x0, flags=16512)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:3117
#4 0x080f7e2a in Tcl_DeleteCommandFromToken (interp=0x8b492a8, cmd=0x8b66650)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:2926
#5 0x0808b762 in TclTeardownNamespace (nsPtr=0x8b3b980)
at /home/dgp/cvs/tcl-only/generic/tclNamesp.c:1157
#6 0x0808b614 in Tcl_DeleteNamespace (namespacePtr=0x8b3b980)
at /home/dgp/cvs/tcl-only/generic/tclNamesp.c:1052
#7 0x0808b8b2 in TclTeardownNamespace (nsPtr=0x8b6b7c0)
at /home/dgp/cvs/tcl-only/generic/tclNamesp.c:1211
#8 0x080f61a9 in DeleteInterpProc (interp=0x8b492a8)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:1390
#9 0x080a1abe in Tcl_EventuallyFree (clientData=0x8b492a8,
freeProc=0x80f5feb <DeleteInterpProc>)
at /home/dgp/cvs/tcl-only/generic/tclPreserve.c:299
#10 0x080f5fe5 in Tcl_DeleteInterp (interp=0x8b492a8)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:1280
#11 0x0806f780 in SlaveObjCmdDeleteProc (clientData=0x8b492a8)
at /home/dgp/cvs/tcl-only/generic/tclInterp.c:2582
#12 0x080f7ee9 in Tcl_DeleteCommandFromToken (interp=0x88eb8d0, cmd=0x8b88e00)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:2980
#13 0x0806c596 in Tcl_InterpObjCmd (clientData=0x0, interp=0x88eb8d0, objc=3,
objv=0x88ed564) at /home/dgp/cvs/tcl-only/generic/tclInterp.c:796
#14 0x080f9c3f in NRRunObjProc (data=0x8b4f02c, interp=0x88eb8d0, result=0)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:4348
#15 0x080f99f2 in TclNRRunCallbacks (interp=0x88eb8d0, result=0,
rootPtr=0x8b6c5b8, tebcCall=1)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:4295
#16 0x081678a7 in TclExecuteByteCode (interp=0x88eb8d0, codePtr=0x8b8d8c0)
at /home/dgp/cvs/tcl-only/generic/tclExecute.c:2803
#17 0x080f9cd7 in NRCallTEBC (data=0x8993724, interp=0x88eb8d0, result=0)
at /home/dgp/cvs/tcl-only/generic/tclBasic.c:4371
#18 0x080f99f2 in TclNRRunCallbacks (interp=0x88eb8d0, result=0, rootPtr=0x0,
tebcCall=0) at /home/dgp/cvs/tcl-only/generic/tclBasic.c:4295
#19 0x080f9392 in Tcl_EvalObjv (interp=0x88eb8d0, objc=1, objv=0x88ece90,
flags=2097152) at /home/dgp/cvs/tcl-only/generic/tclBasic.c:4067
#20 0x080fb609 in TclEvalEx (interp=0x88eb8d0,
script=0x893bb70 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking \"source all.test\" when running tcltest\n# in this directory.\n#\n# Copyright (c) 1998-1999 by"...,
numBytes=610, flags=0, line=19, clNextOuter=0x0,
outerScript=0x893bb70 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking \"source all.test\" when running tcltest\n# in this directory.\n#\n# Copyright (c) 1998-1999 by"...) at /home/dgp/cvs/tcl-only/generic/tclBasic.c:5237
#21 0x080fab57 in Tcl_EvalEx (interp=0x88eb8d0,
script=0x893bb70 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking \"source all.test\" when running tcltest\n# in this directory.\n#\n# Copyright (c) 1998-1999 by"...,
numBytes=610, flags=0) at /home/dgp/cvs/tcl-only/generic/tclBasic.c:4893
#22 0x08082ab7 in Tcl_FSEvalFileEx (interp=0x88eb8d0, pathPtr=0x8921410,
encodingName=0x0) at /home/dgp/cvs/tcl-only/generic/tclIOUtil.c:1746
#23 0x08089a7c in Tcl_Main (argc=-1, argv=0xbfdb3db4,
appInitProc=0x80540bb <Tcl_AppInit>)
at /home/dgp/cvs/tcl-only/generic/tclMain.c:353
#24 0x080540ac in main (argc=146170752, argv=0x0)
at /home/dgp/cvs/tcl-only/unix/tclAppInit.c:85
dkfplain2010-02-11 16:05:41
allow_comments - 1 Evil nasty triggered by combination of changes to destructor processing (i.e., trying harder to run destructors) and a change in the order of deletion of child namespaces (due to the alteration of the hash function). Fixed now, but it was a problem all along. (Not an issue for the standalone TclOO package; for better or worse, that doesn't work quite so hard to run destructors.)
Log in (anonymous is fine) to add a comment.