Overview
| Artifact ID: | 554f2d5d07e6d3e4fefec2fc04482535d9633278 |
|---|---|
| Ticket: | 1119369fffffffffffffffffffffffffffffffff
segfault in Tcl_EvalObjv (from Tcl_EvalObjEx call) |
| User & Date: | pcmacdon on 2005-02-10 03:24:26 |
Changes
- icomment:
Logged In: YES user_id=190660 I don't think you can fix this by incrementing the refcount. In the debugger I see the refcount for objPtr is already 5. The problem is rather the representation of objPtr->objv, ie. ((List *) objPtr->internalRep.twoPtrValue.ptr1)->elements gets freed. The objPtr and objv[0] et al, are all ok, but the array objv is freed. But Tcl_EvalObjv can have active references to objv. The assumption seems to be that multiplie users of objPtr will all be happy to use the bytecode representation from now on.
- login: "pcmacdon"
- mimetype: "text/plain"
- username: "pcmacdon"