Overview
| Artifact ID: | 5b6e81f430d8ce2e7ca388e38385d9ec263f43f5 |
|---|---|
| Ticket: | 3001438fffffffffffffffffffffffffffffffff
[info frame -1] sigsegv under strange circumstances |
| User & Date: | dkf on 2010-06-03 03:35:29 |
Changes
- icomment:
That was with a breakpoint on TclInfoFrame and a (conditional on 'move') breakpoint on GrowEvaluationStack. There were a number of things set to display too. I've elided some stretches (marked with [...]) where not much is going on. The issue seems to be that there is confusion about what the evaluation stack has as top and bottom so it calculates the space required as negative. It then allocates space that happens to overlap with something else (i.e., there is a 4 byte overlap between the returned block and the temporary Command allocated for the execution of the method). That then gets overwritten a little bit down, corrupting the hPtr field (the first in the structure) and causing the crash later. Which explains why my original attitude was one of "but this can't happen". I don't know that I've done good probes for finding out what's going wrong in the memory handling; don't know that code at all.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"