Artifacts Associated With Ticket 51d5f22997
Ticket change [6bfe9caab1] (rid 204294) by dgp on 2022-09-15 15:41:13:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
% proc foo {{x {}} {y {}} args} {} % foo max length of a Tcl list exceeded Program received signal SIGILL, Illegal instruction. Tcl_Panic (format=0x60e148 "max length of a Tcl list exceeded") at /home/dgp/fossil/tcl/generic/tclPanic.c:108 108 __builtin_trap(); Missing separate debuginfos, use: debuginfo-install glibc-2.17-326.el7_9.x86_64 zlib-1.2.7-20.el7_9.x86_64 (gdb) bt #0 Tcl_Panic (format=0x60e148 "max length of a Tcl list exceeded") at /home/dgp/fossil/tcl/generic/tclPanic.c:108 #1 0x0000000000546ad9 in ListStoreNew (objc=18446744073709551614, objv=0x8b6938, flags=1) at /home/dgp/fossil/tcl/generic/tclListObj.c:762 #2 0x0000000000546d5c in ListRepInit (objc=18446744073709551614, objv=0x8b6938, flags=1, repPtr=0x7fffffffd080) at /home/dgp/fossil/tcl/generic/tclListObj.c:900 #3 0x0000000000547251 in Tcl_NewListObj (objc=18446744073709551614, objv=0x8b6938) at /home/dgp/fossil/tcl/generic/tclListObj.c:1112 #4 0x000000000056f479 in InitArgsAndLocals (interp=0x8b2870, skip=1) at /home/dgp/fossil/tcl/generic/tclProc.c:1434 #5 0x000000000056fa4a in TclNRInterpProcCore (interp=0x8b2870, procNameObj=0x982aa0, skip1=1, errorProc=0x57011b <MakeProcError>) at /home/dgp/fossil/tcl/generic/tclProc.c:1670 #6 0x000000000056fa00 in TclNRInterpProc (clientData=0x930b50, interp=0x8b2870, objc=1, objv=0x8b6920) at /home/dgp/fossil/tcl/generic/tclProc.c:1632 #7 0x00000000004153d0 in Dispatch (data=0x982898, interp=0x8b2870, dummy4586=0) at /home/dgp/fossil/tcl/generic/tclBasic.c:4624 #8 0x0000000000415437 in TclNRRunCallbacks (interp=0x8b2870, result=0, rootPtr=0x0) at /home/dgp/fossil/tcl/generic/tclBasic.c:4640 #9 0x000000000041813b in TclEvalObjEx (interp=0x8b2870, objPtr=0x901160, flags=131072, invoker=0x0, word=0) at /home/dgp/fossil/tcl/generic/tclBasic.c:6087 #10 0x00000000004180cf in Tcl_EvalObjEx (interp=0x8b2870, objPtr=0x901160, flags=131072) at /home/dgp/fossil/tcl/generic/tclBasic.c:6068 #11 0x00000000005f9b8f in Tcl_RecordAndEvalObj (interp=0x8b2870, cmdPtr=0x901160, flags=131072) at /home/dgp/fossil/tcl/generic/tclHistory.c:182 #12 0x000000000054fc59 in Tcl_MainEx (argc=18446744073709551615, argv=0x7fffffffd648, appInitProc=0x40ef3c <Tcl_AppInit>, interp=0x8b2870) at /home/dgp/fossil/tcl/generic/tclMain.c:524 #13 0x000000000040ef3c in main (argc=1, argv=0x7fffffffd648) at /home/dgp/fossil/tcl/unix/tclAppInit.c:94 Tcl_NewListObj now very much dislikes getting passed objc == -2 . - foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "22. [proc] and [uplevel]"
- title initialized to: "Panic in InitArgsAndLocals"
- type initialized to: "Bug"
Ticket change [7f2a791971] (rid 204298) by dgp on 2022-09-15 16:00:51:
- icomment:
Guards added to the caller at fault here. Test to prevent regression. This episode suggests that the new intolerance of Tcl_NewListObj() for objc argument <= -2 needs to be very high on the list of migration gotchas that we warn people about.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [ed29066c86] (rid 204299) by dgp on 2022-09-15 16:01:51:
- assignee changed to: "dgp"
- closedate changed to: "2459838.16795581"
- closer changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"