Overview
| Artifact ID: | a09f864f25ad7ff207641f4ce8e8118f2abe9ba2 |
|---|---|
| Ticket: | 476537ffffffffffffffffffffffffffffffffff
UpdateStringProc panic when using stubs |
| User & Date: | dgp on 2001-10-30 21:43:57 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
A panic about a missing UpdateStringProc has been reported on AIX systems. See http://groups.google.com/groups?hl=en&selm=fec9a0b3.0110291044.5480155c%40posting.google.com I'm still working on understanding the comment on line 189 of generic/tclPkg.c, but the code there is clearly broken: /* ... * Detect this situation by checking that this library has been correctly * initialised. If it has not been then return immediately as nothing will * work. */ if (!tclEmptyStringRep) { Tcl_AppendResult(interp, "Cannot load package \"", name, "\" in standalone executable: This package is not ", "compiled with stub support", NULL); return NULL; } Since "nothing will work", the routine Tcl_AppendResult() should not be called, because, as promised, it will not work! It panics when tclEmptyStrinRep is not initialized. Similar code is in Tcl_PkgPresentEx(). - foundin changed to: "obsolete: 8.4a4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "39. Package Manager"
- title changed to: "UpdateStringProc panic when using stubs"
- type changed to: "Bug"