Artifacts Associated With Ticket 624786283e76a7ca
Ticket change [423dd923e2] (rid 208626) by beric on 2023-02-09 08:54:01:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
New bug in [info frame], accessing procPtr->cmdPtr while NULL. The bug is probably more somewhere in the code (TclOO?) tweaking procPtr->cmdPtr. Similar to https://core.tcl-lang.org/tcl/tktview/3001438fffffffffffff Here is the stack: > tcl86g.dll!TclInfoFrame(Tcl_Interp * interp, CmdFrame * framePtr) Ligne 1391 + 0x6 octets C tcl86g.dll!InfoFrameCmd(void * dummy, Tcl_Interp * interp, int objc, Tcl_Obj * const * objv) Ligne 1220 + 0xd octets C tcl86g.dll!Dispatch(void * * data, Tcl_Interp * interp, int result) Ligne 4456 + 0x15 octets C tcl86g.dll!TclNRRunCallbacks(Tcl_Interp * interp, int result, NRE_callback * rootPtr) Ligne 4492 + 0x14 octets C tcl86g.dll!TclEvalObjEx(Tcl_Interp * interp, Tcl_Obj * objPtr, int flags, const CmdFrame * invoker, int word) Ligne 6058 + 0x11 octets C tcl86g.dll!SlaveEval(Tcl_Interp * interp, Tcl_Interp * slaveInterp, int objc, Tcl_Obj * const * objv) Ligne 2810 + 0x19 octets C tcl86g.dll!NRSlaveCmd(void * clientData, Tcl_Interp * interp, int objc, Tcl_Obj * const * objv) Ligne 2534 + 0x1b octets C tcl86g.dll!Dispatch(void * * data, Tcl_Interp * interp, int result) Ligne 4456 + 0x15 octets C tcl86g.dll!TclNRRunCallbacks(Tcl_Interp * interp, int result, NRE_callback * rootPtr) Ligne 4492 + 0x14 octets C tcl86g.dll!TclEvalObjEx(Tcl_Interp * interp, Tcl_Obj * objPtr, int flags, const CmdFrame * invoker, int word) Ligne 6058 + 0x11 octets C tcl86g.dll!Tcl_EvalObjEx(Tcl_Interp * interp, Tcl_Obj * objPtr, int flags) Ligne 6039 + 0x15 octets C tcl86g.dll!TclChannelEventScriptInvoker(void * clientData, int mask) Ligne 8870 + 0x15 octets C tcl86g.dll!Tcl_NotifyChannel(Tcl_Channel_ * channel, int mask) Ligne 8364 + 0x1b octets C tcl86g.dll!ChannelTimerProc(void * clientData) Ligne 8530 + 0xb octets C tcl86g.dll!TimerHandlerEventProc(Tcl_Event * evPtr, int flags) Ligne 593 + 0x11 octets C tcl86g.dll!Tcl_ServiceEvent(int flags) Ligne 670 + 0xd octets C tcl86g.dll!Tcl_DoOneEvent(int flags) Ligne 967 + 0x9 octets C tk86g.dll!Tk_MainLoop() Ligne 2079 + 0x11 octets C tk86g.dll!Tk_MainExW(int argc, unsigned short * * argv, int (Tcl_Interp *)* appInitProc, Tcl_Interp * interp) Ligne 400 C The context is difficult to reproduce, it involves several coroutines in slave interp calling TclOO method, storing stack information before yielding.
- foundin initialized to: "8.6.10"
- is_private initialized to: "0"
- login: "beric"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "beric"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "[info frame] crash"
- type initialized to: "Bug"
Ticket change [9300426bc3] (rid 208832) by anonymous on 2023-02-17 07:35:53:
- icomment:
seems related to https://core.tcl-lang.org/tcl/tktview/87271f7cd6
- login: "anonymous"
- mimetype: "text/plain"
- icomment:
Ticket change [8fb7f1d640] (rid 226493) by dkf on 2024-05-23 10:56:35:
- assignee changed to: "dkf"
- closedate changed to: "2460453.95596189"
- closer changed to: "dkf"
- icomment:
It certainly has the same flavour as [87271f7cd6]; coroutines, TclOO and [info frame] were combining to do a NULL dereference. That ticket includes a fairly simple script to reproduce it. Or you can look at tests oo-22.3 to oo-22.6
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Duplicate"
- status changed to: "Closed"