Skip to content
Tcl Source Code History Of Ticket 624786283e76a7ca
Login

History Of Ticket 624786283e76a7ca

Artifacts Associated With Ticket 624786283e76a7ca

  1. Ticket change [423dd923e2] (rid 208626) by beric on 2023-02-09 08:54:01:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. 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.
      
    5. foundin initialized to: "8.6.10"
    6. is_private initialized to: "0"
    7. login: "beric"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Critical"
    11. status initialized to: "Open"
    12. submitter initialized to: "beric"
    13. subsystem initialized to: "35. TclOO Package"
    14. title initialized to: "[info frame] crash"
    15. type initialized to: "Bug"
  2. Ticket change [9300426bc3] (rid 208832) by anonymous on 2023-02-17 07:35:53:

    1. icomment:
      seems related to https://core.tcl-lang.org/tcl/tktview/87271f7cd6
      
    2. login: "anonymous"
    3. mimetype: "text/plain"
  3. Ticket change [8fb7f1d640] (rid 226493) by dkf on 2024-05-23 10:56:35:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2460453.95596189"
    3. closer changed to: "dkf"
    4. 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
      
    5. login: "dkf"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"