Overview
| Artifact ID: | 09b2295d379cba105f1dab4365d9d15f5d59c0da |
|---|---|
| Ticket: | 1743941fffffffffffffffffffffffffffffffff
TclCheckInterpTraces cycles |
| User & Date: | eugene_cdn on 2007-06-27 01:21:51 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
OS: Solaris 9, Linux RH 4U3 On certain order of two Tcl_CreateTrace calls, TclCheckInterpTraces never returns on evaluation of a non-trivial commands. Certain order is first trace is of depth "1", and second one is of depth "5" or more on Solaris and "1" on Linux. It cycles in this loop for ( tracePtr = iPtr->tracePtr; (traceCode == TCL_OK) && (tracePtr != NULL); tracePtr = active.nextTracePtr) { with the same value of tracePtr. Expected behavior: should not cycles. See attached testcase. Need to build it gcc -o libtrace.so -g -shared -fPIC trace.c -I... and then > tclsh tclsh> load libtrace.so After a while it hangs. If you switch the order (depth) of traces, it works on Solaris. It does not matter which file to evaluate. It must be non-trivial. Good luck! - foundin changed to: "obsolete: 8.4.11"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "eugene_cdn"
- subsystem changed to: "46. Traces"
- title changed to: "TclCheckInterpTraces cycles"
- type changed to: "Bug"