Overview
| Artifact ID: | ee2b6fd675b08123cbe10caf2baa3f7ec45ce16f |
|---|---|
| Ticket: | 3154ea27591de16257a7b8b8d361514b004e527f
Repeat catch six times and get core dump |
| User & Date: | aspect on 2016-05-05 12:44:31 |
Changes
- icomment:
The memory corruption appears to be taking place at [0], when it finds a -1 in the catchIndices array and uses that to write outside envArrayPtr, trashing the Block data. Putting instrumentation code [1] at that point it triggers several times (apparently harmlessly?) before the crash. I don't know if this block (and the similar one a few lines below) need to guard against indexing -1, or if it's a sign the array is carelessly updated somewhere else. [0]: http://core.tcl.tk/tcl/artifact/819418a0da027c20?ln=3985-3986 [1]: if(catchIndices[catchDepth] == -1) { fprintf(stderr, "catchIndices@%p[%d] == -1 on %d!\n", catchIndices, catchDepth, __LINE__); fflush(stderr); } - login: "aspect"
- mimetype: "text/plain"