My Mono application crashes on Mac with this message (Full log):
$ mono --debug bin/Debug/SparkleShare.app/Contents/MonoBundle/SparkleShare.exe
[...]
Stack overflow in unmanaged: IP: 0x26eb76, fault addr: 0xbf808ffc
[...]
"in unmanaged" implies that the stack overflow is not in my code (I only have managed code) but rather in a library I embed (SQLite, DotCmis, NewtonSoft.Json) or in Mono's code.
Even though I compile and run in Debug mode, all I get is these two hexadecimals.
QUESTION: How can I investigate this stack overflow? Any trick?
Note: The same libraries (with pretty much the same code) run fine on Linux and Windows.