I have an interpreter that takes advantage of the rstacklet api. My tests pass fine when running untranslated in CPython, but after translating via rpython I get a "Segmentation fault: 11", are there any major differences between cpython and rpython stacklets? Thanks, Timothy
For the reference, my interpreter stacklet code is here: https://github.com/pixie-lang/pixie/blob/master/pixie/vm/stacklet.py And these tests pass just fine: https://github.com/pixie-lang/pixie/blob/master/pixie/vm/test/test_stacklet.... On Thu, Oct 2, 2014 at 9:51 PM, Timothy Baldridge <tbaldridge@gmail.com> wrote:
I have an interpreter that takes advantage of the rstacklet api. My tests pass fine when running untranslated in CPython, but after translating via rpython I get a "Segmentation fault: 11", are there any major differences between cpython and rpython stacklets?
Thanks,
Timothy
-- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth)
Hi Timothy, On 3 October 2014 05:51, Timothy Baldridge <tbaldridge@gmail.com> wrote:
I have an interpreter that takes advantage of the rstacklet api. My tests pass fine when running untranslated in CPython, but after translating via rpython I get a "Segmentation fault: 11", are there any major differences between cpython and rpython stacklets?
I doubt that an unexpected segmentation fault can be resolved with such vague questions. Please provide a way for us to reproduce it (i.e. not a test that passes just fine -- a way to get the segfault) and then we can start gdb. A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Timothy Baldridge