Changes between Initial Version and Version 1 of Ticket #1337


Ignore:
Timestamp:
12/20/16 16:16:28 (7 years ago)
Author:
sjamaan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1337

    • Property Keywords stack corruption added
    • Property Estimated difficulty changed from to hard
    • Property Component changed from unknown to core libraries
    • Property Milestone changed from someday to 4.12.0
  • Ticket #1337 – Description

    initial v1  
    1 Running scheme code from a foreign-lambda called using a glib callback can make the runtime crash. The bug is not easy to reproduce, since every small change to the code can make it easier or harder to trigger.
     1Running scheme code from a {{{foreign-lambda}}} called using a glib callback can make the runtime crash. The bug is not easy to reproduce, since every small change to the code can make it easier or harder to trigger.
    22
    33I have been able to trigger it only when doing a significant amount of work on the callback, but taking more time to return doesn't necessarily make it easier to trigger, and sometimes multiple calls are needed.
     
    55The output when crashing is this:
    66
     7{{{
    78    test: runtime.c:2797: C_save_and_reclaim: Assertion `av > C_temporary_stack_bottom || av < C_temporary_stack_limit' failed.
     9}}}
    810
    911I'm running this on the following release (installed from the Arch Linux repos):
    1012
     13{{{
    1114    Version 4.11.0 (rev ce980c4)
    1215    linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
    1316    compiled 2016-05-28 on yves.more-magic.net (Linux)
     17}}}
    1418
    1519I'll attach my test code, which depends on bind (egg) and glib.