[ubuntu-mono] [Bug 390591] Re: mono segfaults on ARM

Michael Casadevall sonicmctails at gmail.com
Mon Jun 22 20:11:57 BST 2009


I did a hello world test on my desktop, and on my ARM board:

mcasadevall at titan:~/src/mono-test$ uname -a
Linux titan 2.6.30-2-ia64 #5~ppa1 SMP Mon Jun 8 13:00:59 EDT 2009 ia64 GNU/Linux

mcasadevall at titan:~/src/mono-test$ lsb_release  -d
Description:	Ubuntu karmic (development branch)

mcasadevall at titan:~/src/mono-test$ gmcs2 test.cs 
mcasadevall at titan:~/src/mono-test$ cat test.cs 
public class Hello1
{
   public static void Main()
   {
      System.Console.WriteLine("Hello, World!");
   }
}

mcasadevall at titan:~/src/mono-test$ ./test.exe 
Hello, World!

mcasadevall at titan:~/src/mono-test$ mono --version
Mono JIT compiler version 2.4 (Debian 2.4+dfsg-4)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	GC:            Included Boehm (with typed GC)
	SIGSEGV:       normal
	Notifications: epoll
	Architecture:  ia64
	Disabled:      none

On ARM:
mcasadevall at dawn:~/src$ uname -a
Linux dawn 2.6.28-11-imx51 #42-Ubuntu Fri Apr 17 05:50:13 UTC 2009 armv7l GNU/Linux

mcasadevall at dawn:~/src$ lsb_release -d
Description:	Ubuntu karmic (development branch)

mcasadevall at dawn:~/src/thunderbird-2.0.0.22+build1+nobinonly$ mono --version
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
	TLS:           normal
	GC:            Included Boehm (with typed GC)
	SIGSEGV:       normal
	Notifications: epoll
	Architecture:  armel,soft-float
	Disabled:      none

mcasadevall at dawn:~$ gmcs2 test.cs
Segmentation fault (core dumped)

mcasadevall at dawn:~/src$ ./test.exe 
Segmentation fault (core dumped)

mcasadevall at dawn:~/src$ mono ./test.exe 
Segmentation fault (core dumped)

mcasadevall at dawn:~/src$ cat /proc/cpu/alignment 
User:		0
System:		15122
Skipped:	0
Half:		0
Word:		0
DWord:		0
Multi:		15122
User faults:	3 (fixup+warn)

Running mono itself didn't create a crash that apport could see, but
apport did get the compiler (gmcs.exe) crash, which is Bug #390802.
Hopefully the retrace will be useful this time.

-- 
mono segfaults on ARM
https://bugs.launchpad.net/bugs/390591
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to mono in ubuntu.



More information about the Ubuntu-mono mailing list