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

Jonathan Mitchell lists at mugginsoft.com
Thu Feb 23 12:53:34 UTC 2017


Robert

> On 22 Feb 2017, at 23:53, Robert Jordan <robertj at gmx.net> wrote:
> 
> How are you raising this NullReferenceException? IIRC, a simple
> 
> 	throw new NullReferenceException ();
> 
> does not cause a SIGSEGV.

You are quite right.
I was just t throwing NullReferenceException.
SIGSEGV causes NullReferenceException to be generated, not the other way around.

I changed my test code to access a null reference and now it all makes sense.

Object obj = null;
obj.GetHashCode();

Thanks

Jonathan






More information about the Mono-devel-list mailing list