Attached is a simple test case for this problem. Compile it on any
system with "gmcs nre.cs", and run with "mono nre.exe" - it should
produce an error message like this:

Caught nre: System.NullReferenceException: Object reference not set to an 
instance of an object
  at Tests.Main (System.String[] args) [0x00000] in <filename unknown>:0 

To run the minimal test case, use:
o...@efikamx:~/mono.git/mono/mini$ MONO_PATH=../../mcs/class/lib/net_2_0 ./mono 
nre.exe

To run the full test case for ALL possible problems, use:

o...@efikamx:~/mono.git/mono$ make check

** Attachment added: "Minimal test case for NRE problem"
   
https://bugs.launchpad.net/gcc-linaro/+bug/667225/+attachment/1712964/+files/nre.cs

-- 
[armel] Ubuntu GCC patches cause defective Mono 2.8 builds (SIGILL on 
NullReferenceException)
https://bugs.launchpad.net/bugs/667225
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to