> 
> 
> but then I did the same in plain C (see Test_MariaDB_main.c) and there it 
> works. Or in other words: when I remove the ObjC runtime and the very little 
> ObjC stuff, the crash doesn't occur.

That's not really telling indicative of anything ... different code has memory 
laid out differently, so overruns will write on different parts of the memory 
and cause different crashes (or often no crash at all).
You therefore have to assume that the problem could be anywhere, and try to 
narrow it down using frequent checks (mcheck_protect etc).
There is also the problem that adding calls to diagnostic functions could in 
itself hide the bug ... so non-intrusive methods like valgrind are also worth 
trying.


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to