Overview
| Artifact ID: | 392955ec4ea95594b0d19d4b7665c40b687f70ed |
|---|---|
| Ticket: | 3475569fffffffffffffffffffffffffffffffff
Unexpected behavior / Panic / Tcl_Obj deletion management |
| User & Date: | sebres on 2012-01-19 06:45:12 |
Changes
- icomment:
I'm trying to describe it with other words. In my own tcl obj type X, i have call in the freeIntRepProc of type X somthing like this: file normalize {D:\test\bin\..\modules\tcl\lib\tcl8.5\encoding\cp1252.enc}. Indirectly, cause something like following was called: encoding convertto $enc "text here" This was very hard to find and reproduce, cause error occured only when "$enc" was not yet loaded, and by NOT normalized "tcl_library" path. (In debugger was normalized path). The problem was a loading of encoding file, and ultimately, the bug is TclFSNormalizeAbsolutePath / Tcl_FSLink / Tcl_FSJoinToPath. And of course only if OnDeletePending is true. See my both attached patches. - login: "sebres"
- mimetype: "text/plain"
- username: "sebres"