Crash in test dict-19.2
Closed / Fixed1837392fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-11-24 01:31:41
The test dict-19.2 apparently seems to be crashing with a stack corruption problem. (Note that this test only runs in a build with memory debugging.) Problem (which bites during either INST_DICT_APPEND or INST_DICT_LAPPEND) seems to relate to the stack being relocated during a reentrant call. I think it has to do with the use of the OBJ_UNDER_TOS macro (and friends) after something that was wrapped in [DE]CACHE_STACK_INFO when the stack moved during the recursive call. The trigger is caused by a variable trace that causes an error, so other things in TEBC might also be vulnerable...
msoferplain2007-11-24 19:20:02
File Added - 255665: smash.stack Logged In: YES user_id=148712 Originator: NO Repro'ed - stack trace attached. The stack does not move in 8.5, so that suspicion is not valid. A quick glance at the macros (DE)CACHE_STACK_INFO shows that tosPtr is never rewritten File Added: smash.stack
dkfplain2007-11-24 20:44:57
Logged In: YES user_id=79902 Originator: YES Was a problem in the [dict append] compiler, which had got confused about which tokens it was working with and how many there were. Oops!
Log in (anonymous is fine) to add a comment.
Attachments:
- smash.stack [download] added by msofer on 2007-11-24 19:20:02. [details]