Re: signal issue? crash when debugger attached and web request fails

Jonathan Mitchell <[email protected]>
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <[email protected]>
Robert

> On 22 Feb 2017, at 23:53, Robert Jordan <[email protected]> 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




_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.