I was porting my SQLite interface to Linux and Solaris and I've started wih Linux and I have a strange behaviour here when calling SQLite libraries (low level C api calls).
- all methods work as expected, when I execute them in the debugger in a synchronous way in single step via
functionCall callWithArgument: ...
- the framework crashes, when executing all API call in a synchronous way via
functionCall callWithArgument: ...
without debugger (the normal way - just execute it).
- the framework works, when all calls are done in future static call mode.
I do not see a pattern here. When executing it, all API calls are always done from the same thread (either synchron (in the GUI thread) or via static future). Or is the behaviour under Linux different from that under Windows ?
Any ideas ?