Consistent crash when starting very long program (Program Bug and Problems)

by Frederick Weld @, Tuesday, October 01, 2013, 20:57 (2333 days ago) @ Frederick Weld

* The crash is due to "segmentation fault"

Some more details about the erroneous memory access after some self-made tracing in the Interpreter.cpp:

* basicParse returns corrupted byte code: in my case, after a OP_GOSUB, there is a negative integer which is used as a negative labeltable offset, which leads of course to a crash

* The currentLine pointed to does not contain any gosub statement (the nearest is about 10 lines away)

*** This means that the gosub OP code could also be corrupted


Complete thread:

 RSS Feed of thread

powered by my little forum