Interfacing with C++, random errors

BlitzMax Forums/BlitzMax Programming/Interfacing with C++, random errors

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Some of the errors popping up:

Unhandled Exception: appstub.linux signal handler 11

This one comes in right after I call a method (getRenderMode() or any other) on what seems like a successfully loaded config file. This error pop ups if the configuration file was created and saved within the C++ game.

The weird thing is that I'm able to access its data members. The code below crashes at the 3rd line. But the data that was stored inside the config file is being shown by the first 2 print statements.
Print "Screen mode: " + config.screen_mode
Print "Render mode: " + config.render_mode
Print "Render mode from method: " + config.getRenderMode()


I'm thinking that my BlitzMax glue isn't properly written. Does anyone have an idea?