Artifacts Associated With Ticket 217992
Ticket change [30c9c71eae] (rid 93320) by nobody on 2000-10-26 00:51:46:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 576 Bug Version: 8.1a1 SubmitDate: '1998-05-21' LastModified: '1998-12-08' Severity: CRIT Status: Closed Submitter: hershey ChangedBy: stanton OS: All OSVersion: NA Machine: NA FixedDate: '2000-10-25' FixedInVersion: 8.1b1 ClosedDate: '1998-12-08' The following code causes a core dump with Tcl/Tk 8.1. It works OK with Tcl/Tk 8.0. .................................................................. label .l -textvariable avg pack .l after 100 crashIt proc crashIt { } { global avg set avg 6 after 1000 crashIt incr avg } .................................................................. The same code, without the 'set avg 6' works under 8.1. The core dump stack is: % Program received signal SIGSEGV, Segmentation fault. 0xfa0fa in CallTraces (iPtr=0xdcb000, arrayPtr=0x0, varPtr=0xe50b00, part1=0x0, part2=0x0, flags=16) at ./../generic/tclVar.c:3792 (xxgdb) info stack #0 0xfa0fa in CallTraces (iPtr=0xdcb000, arrayPtr=0x0, varPtr=0xe50b00, part1=0x0, part2=0x0, flags=16) at ./../generic/tclVar.c:3792 #1 0xf6a42 in TclGetIndexedScalar (interp=0xdcb000, localIndex=0, leaveErrorMsg=1) at ./../generic/tclVar.c:641 #2 0xf7b26 in TclIncrIndexedScalar (interp=0xdcb000, localIndex=0, incrAmount=1) at ./../generic/tclVar.c:1733 #3 0xc367a in TclExecuteByteCode (interp=0xdcb000, codePtr=0xe51900) at ./../generic/tclExecute.c:1481 #4 0x9f3fb in Tcl_EvalObj (interp=0xdcb000, objPtr=0xe60120, flags=0) at ./../generic/tclBasic.c:2587 #5 0xefbcd in TclObjInterpProc (clientData=0xe50bc0, interp=0xdcb000, objc=1, objv=0xefbfd6ac) at ./../generic/tclProc.c:854 #6 0xe6db7 in Tcl_EvalObjv (interp=0xdcb000, objc=1, objv=0xefbfd6ac, command=0xe6a8f0 "crashIt", length=7, flags=0) at ./../generic/tclParse.c:901 #7 0xe74c4 in Tcl_Eval2 (interp=0xdcb000, script=0xe6a8f0 "crashIt", numBytes=7, flags=131072) at ./../generic/tclParse.c:1279 #8 0xf30fa in AfterProc (clientData=0xe70180) at ./../generic/tclTimer.c:1035 #9 0xf2652 in TimerHandlerEventProc (evPtr=0xdf8dd0, flags=-3) at ./../generic/tclTimer.c:531 #10 0xe465a in Tcl_ServiceEvent (flags=-3) at ./../generic/tclNotify.c:569 #11 0xe4a11 in Tcl_DoOneEvent (flags=-3) at ./../generic/tclNotify.c:871 #12 0x7718b in Tk_MainLoop () at ./../generic/tkEvent.c:1036 #13 0x1500 in Tk_Main (argc=1, argv=0xefbfda7c, appInitProc=0x10e8 <Tcl_AppInit>) at ./../generic/tkMain.c:232 #14 0x10be in main (argc=1, argv=0xefbfda7c) at ./tkAppInit.c:54 The wish interpreter and Tcl libraries were compiled under BSDI 3.0, using gcc version 2.7.2.1 and the -g flag. Feel free to contact me if more information is needed. Clif [email protected] 12/08/1998 13:20 - stanton - This appears to be fixed in 8.1a3. - foundin initialized to: "obsolete: 8.1a1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Core Dump setting global variable"
- type initialized to: "Bug"
Ticket change [958c0e252f] (rid 106173) by welch on 2000-10-26 08:12:10:
- closedate changed to: "2000-10-26T01:12:10"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [a8dc516687] (rid 99061) by dgp on 2001-04-14 03:24:12:
- closedate changed to: "2001-04-13T20:24:12"
- closer changed to: "dgp"
- subsystem changed to: "07. Variables"