|
2024-05-23
| ||
| 10:56 | • Closed ticket [624786283e]: info frame crash plus 7 other changes artifact: 8fb7f1d640 user: dkf | |
|
2023-02-17
| ||
| 07:35 | • Ticket [624786283e]: 3 changes artifact: 9300426bc3 user: anonymous | |
|
2023-02-09
| ||
| 08:54 | • New ticket [624786283e]. artifact: 423dd923e2 user: beric | |
[info frame] crash
Closed / Duplicate624786283e76a7cadd47c4e0a9b59452b62cfa23Created 4 years agoUpdated 3 years ago
Descriptionplain2023-02-09 08:54:01
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.
anonymousplain2023-02-17 07:35:53
seems related to https://core.tcl-lang.org/tcl/tktview/87271f7cd6
dkfwiki2024-05-23 10:56:35
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
Log in (anonymous is fine) to add a comment.