|
2000-10-26
| ||
| 08:31 | • Closed ticket [218880ffff]: crash in interp delete plus 4 other changes artifact: 63740b11c3 user: welch | |
| 01:07 | • New ticket [218880ffff]. artifact: 065139b28d user: nobody | |
crash in [interp delete]
Closed / Fixed218880ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:07:07
OriginalBugID: 2515 Bug
Version: 8.2b2
SubmitDate: '1999-08-10'
LastModified: '1999-10-21'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2459
OS: Other
Machine: NA
FixedDate: '1999-10-21'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'
Name:
Don Porter
CustomShell:
The patch found at
Comments:
The patch (see below) somehow causes the crash, but a simple addition
to the proc [tclInit] shouldn't crash the interpreter. I suspect some
trouble in the construction/desctruction of the interpreter's global
LiteralTable. If I can track it down, I'll submit a patch, but I wanted
to report the bug right away since the 8.2 release is fast approaching.
ObservedBehavior:
Starting program: /home/dgporter/tcl8.2b2/unix/./tclsh
% interp delete [interp create]
Program received signal SIGSEGV, Segmentation fault.
0x40076707 in Tcl_GetStringFromObj (objPtr=0x8070c30,
lengthPtr=0xbfffefdc)
at ./../generic/tclObj.c:749
749 if (objPtr->typePtr->updateStringProc == NULL) {
(gdb) info stack
#0 0x40076707 in Tcl_GetStringFromObj (objPtr=0x8070c30,
lengthPtr=0xbfffefdc)
at ./../generic/tclObj.c:749
#1 0x40070764 in TclReleaseLiteral (interp=0x8069f10,
objPtr=0x8070c30)
at ./../generic/tclLiteral.c:682
#2 0x4006ff15 in TclDeleteLiteralTable (interp=0x8069f10,
tablePtr=0x8069fd4)
at ./../generic/tclLiteral.c:123
#3 0x4002b8b2 in DeleteInterpProc (interp=0x8069f10)
at ./../generic/tclBasic.c:1075
#4 0x4008045d in Tcl_EventuallyFree (clientData=0x8069f10,
freeProc=0x4002b518 <DeleteInterpProc>) at
./../generic/tclPreserve.c:313
#5 0x4002b50f in Tcl_DeleteInterp (interp=0x8069f10)
at ./../generic/tclBasic.c:900
#6 0x400623d3 in SlaveObjCmdDeleteProc (clientData=0x8069f10)
at ./../generic/tclInterp.c:1984
#7 0x4002c9c0 in Tcl_DeleteCommandFromToken (interp=0x804b010,
cmd=0x806f3b8)
at ./../generic/tclBasic.c:2318
#8 0x400603d4 in Tcl_InterpObjCmd (clientData=0x0, interp=0x804b010,
objc=3,
objv=0x804cae8) at ./../generic/tclInterp.c:501
#9 0x4004fa9a in TclExecuteByteCode (interp=0x804b010,
codePtr=0x80543f0)
at ./../generic/tclExecute.c:843
#10 0x4002ceb2 in Tcl_EvalObjEx (interp=0x804b010, objPtr=0x80532d8,
flags=0)
at ./../generic/tclBasic.c:2698
#11 0x4005f847 in Tcl_RecordAndEvalObj (interp=0x804b010,
cmdPtr=0x80532d8,
flags=0) at ./../generic/tclHistory.c:142
#12 0x40071ccc in Tcl_Main (argc=1, argv=0xbffff904,
appInitProc=0x8048658 <Tcl_AppInit>) at ./../generic/tclMain.c:236
#13 0x8048646 in main (argc=1, argv=0xbffff904) at
./../unix/tclAppInit.c:83
Fix applied 10/20/1999.
-- 10/21/1999 hobbs
welch Closed ticket [218880ffff].
[History diff]2000-10-26 08:31:14
Log in (anonymous is fine) to add a comment.