Artifacts Associated With Ticket 2017162fffffffff
Ticket change [ca9f840b70] (rid 95387) by msofer on 2008-07-13 09:48:26:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
NRE possibly messed the bytecode tracing facilities. It will also require further specialized debugging tools to inspect the new stacks (records and callbacks).
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "NRE and debugging tools"
- type initialized to: "Bug"
Ticket change [7a653a669e] (rid 90311) by msofer on 2008-07-13 16:53:57:
- foundin changed to: "obsolete: 8.6a1"
Ticket change [af0a786e67] (rid 97741) by msofer on 2008-07-30 06:43:56:
- priority changed to: "6"
Ticket change [5285d793a0] (rid 126332) by msofer on 2009-05-01 08:26:40:
- priority changed to: "7 High"
Ticket change [27a375b1f1] (rid 88553) by kot on 2009-10-14 04:41:01:
- icomment:
When I compile TclX (from head) against Tcl-8.6b1 and attempt to run TclX' own self-tests, the profile test inevitably crashes inside PushProcCallFrame: #0 0x08089368 in PushProcCallFrame (clientData=0x96b0f90, interp=0x95c7f90, objc=1, objv=0x95caa70, isLambda=0) at /data/mteterin/tcl8.6b1/generic/tclProc.c:1573 #1 0x08089560 in TclNRInterpProc (clientData=0x96b0f90, interp=0x95c7f90, objc=1, objv=0x95caa70) at /data/mteterin/tcl8.6b1/generic/tclProc.c:1683 #2 0x080d9da6 in NRRunObjProc (data=0x96a1b8c, interp=0x95c7f90, result=0) at /data/mteterin/tcl8.6b1/generic/tclBasic.c:4303 #3 0x080d9b3b in TclNRRunCallbacks (interp=0x95c7f90, result=0, rootPtr=0x96a1c30, tebcCall=0) at /data/mteterin/tcl8.6b1/generic/tclBasic.c:4241 #4 0x080d9737 in Tcl_EvalObjv (interp=0x95c7f90, objc=1, objv=0x95caa70, flags=2097152) at /data/mteterin/tcl8.6b1/generic/tclBasic.c:4024 Apparently, the clientData passed to PushProcCallFrame is now mis-interpreted. It is now the verbatim clientData, that the custom procedure (set by Tcl_CreateTrace). It used to be a different pointer... Because of the mis-interpretation, the procPtr points to TclX' own custom data-structure, rather than anything remotely resembling struct Proc. This was not the case with 8.5.x The crash-stack is thus: #0 0x08089368 in PushProcCallFrame (clientData=0x96b0f90, interp=0x95c7f90, objc=1, objv=0x95caa70, isLambda=0) at /data/mteterin/tcl8.6b1/generic/tclProc.c:1573 #1 0x08089560 in TclNRInterpProc (clientData=0x96b0f90, interp=0x95c7f90, objc=1, objv=0x95caa70) at /data/mteterin/tcl8.6b1/generic/tclProc.c:1683 #2 0x080d9da6 in NRRunObjProc (data=0x96a1b8c, interp=0x95c7f90, result=0) at /data/mteterin/tcl8.6b1/generic/tclBasic.c:4303 #3 0x080d9b3b in TclNRRunCallbacks (interp=0x95c7f90, result=0, rootPtr=0x96a1c30, tebcCall=0) at /data/mteterin/tcl8.6b1/generic/tclBasic.c:4241 #4 0x080d9737 in Tcl_EvalObjv (interp=0x95c7f90, objc=1, objv=0x95caa70, flags=2097152) at /data/mteterin/tcl8.6b1/generic/tclBasic.c:4024 #5 0x080db3a1 in TclEvalEx (interp=0x95c7f90, script=0x970aaa0 "#\n# profile.test\n#\n# Tests for the profile command and profrep procedure.\n#", '-' <repeats 78 times>, "\n# Copyright 1992-1999 Karl Lehenbauer and Mark"..., numBytes=24800, flags=0, line=28) - login: "kot"
- mimetype: "text/plain"
- username: "kot"
- icomment:
Ticket change [617edad0fb] (rid 92248) by msofer on 2010-05-17 19:53:27:
- icomment:
Ooo ... missed that comment completely, sorry kot. The answer is (I think): TclX uses tcl's internals structures in tclInt.h that are COMPLETELY changed in 8.6. This means that it will not run with 8.6 until it is adapted.
- login: "msofer"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "msofer"
- icomment:
Ticket change [5bbedac9da] (rid 118387) by kot on 2010-05-17 21:29:21:
- icomment:
Miguel, as someone, who knows the changes, could you be troubled to make up a patch for TclX? I will then test it and push into TclX' source (properly ifdef-ed on TCL_VERSION)... Thank you!
- login: "kot"
- mimetype: "text/plain"
- username: "kot"
- icomment: