Overview
| Artifact ID: | dbf32f0f9886489487aee4212d4b302f7650a412 |
|---|---|
| Ticket: | cd82cec7ce46a55af099b32b798398a78a505ef4
TclX never updated to 8.6 |
| User & Date: | mi on 2014-08-01 20:44:12 |
Changes
- icomment:
Actually, TclX does not use its own Interp, which could've been out of sync with Tcl's internal type. TclX includes tclInt.h, so I doubt, that is the problem. Here is, what makes me think, the problem is in Tcl. Here is the call to <tt>Tcl_CreateTrace</tt> in tclXprofile.c: <pre> 713 infoPtr->traceHandle = 714 Tcl_CreateTrace (infoPtr->interp, MAXINT, 715 (Tcl_CmdTraceProc *) ProfTraceRoutine, 716 (ClientData) infoPtr); </pre> And here is the value of the <tt>infoPtr</tt>, that's passed as the <tt>clientData</tt>: <blockquote> (gdb) p infoPtr<br> $1 = (profInfo_t *) <b>0x8018fdb10</b><br> (gdb) c<br> Continuing. </blockquote> And here is the crash, notice the value of the clientData given to <tt>PushProcCallFrame</tt>: <pre> Program received signal SIGSEGV, Segmentation fault. 0x000000080098d69b in PushProcCallFrame (clientData=<b>0x8018fdb10</b>, interp=0x8018db010, objc=1, objv=0x8018df2f0, isLambda=0) at /home/ports/lang/tcl86/work/tcl8.6.1/generic/tclProc.c:1602 1602 Namespace *nsPtr = procPtr->cmdPtr->nsPtr; </pre> - login: "mi"
- mimetype: "text/html"