Overview
| Artifact ID: | 5473536d0458d026f1b99554b158dd0aaf11e21c |
|---|---|
| Ticket: | 1119369fffffffffffffffffffffffffffffffff
segfault in Tcl_EvalObjv (from Tcl_EvalObjEx call) |
| User & Date: | msofer on 2005-02-13 00:17:26 |
Changes
- icomment:
Logged In: YES user_id=148712 No, that will not do. In principle, objPtr cannot become invalid under the feet of Tcl_EvalObjEx - that is Tcl_EvalObjEx's caller responsibility. What we were witnessing here is that the Tcl_Obj *objPtr loses its list internal rep: objPtr is still pointing to the same Tcl_Obj, but that Tcl_Obj is not of tclListType anymore. IOW, objPtr is ok but objPtr->twoPtrValue.ptr1 does not point to a List struct anymore. The segfault is not from an objPtr deref, it comes from the listRepPtr deref.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"