Yes, that was it. GDB was handling the Sigbus before mono could throw the NullReferenceException (which was being thrown because monotouch.dll was not loading).
Thanks!

On 7/07/2012 12:19 AM, Rodrigo Kumpera wrote:
Sigbus in managed code is perfectly normal, it's how NullReferenceExceptions are raised.

Are you using custom signal handlers? You should not handle it, let mono do it.

On Fri, Jul 6, 2012 at 10:15 AM, Ergwun <[email protected] <mailto:[email protected]>> wrote:

    Thanks for the suggestion. I'm not using SGen though.

    I'm still struggling to work out what's going on here. Any tips on
    debugging
    it would be most welcome.

    This is in the Simulator, by the way. I'm linking the
    libmono-2.0.a from the
    iPhoneSimulator part of the SDK along with all necessary assemblies
    (MonoTouch SDK and my own) built targeting MonoTouch.

    --
    View this message in context:
    
http://monotouch.2284126.n4.nabble.com/SIGBUS-in-garbage-collection-thread-tp4655764p4655814.html
    Sent from the MonoTouch mailing list archive at Nabble.com.
    _______________________________________________
    MonoTouch mailing list
    [email protected] <mailto:[email protected]>
    http://lists.ximian.com/mailman/listinfo/monotouch




_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to