[Mono-dev] signal issue? crash when debugger attached and web request fails

Zoltan Varga vargaz at gmail.com
Mon Feb 20 16:18:17 UTC 2017


  Where is the crash location ? The runtime implements null reference
exception checking by catching the SIGSEGV signal, so if a nullref happens
in managed code while running under lldb, it will look like a crash.
Running with
turns this behavior off.


On Mon, Feb 20, 2017 at 11:00 AM, Jonathan Mitchell <lists at mugginsoft.com>

> I embed Mono in my Obj-C app and develop in X-code on Mac OS
> If a managed web request is made and fails (due to a lack of network
> access) while LLDB is attached the Mono runtime crashes.
> Without the debugger attached things seem to be okay.
> So I presume that LLDB is intercepting a signal generated by the runtime
> when the underlying socket(?) request times out.
> Is that so?
> And where in the Mono source should I be looking to get a better
> understanding of what is happening here?
> Thanks
> Jonathan.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170220/9d794f23/attachment.html>

More information about the Mono-devel-list mailing list