[Mono-bugs] [Bug 77028][Min] Changed - mono build process segfaults on powerpc

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 15 11:32:50 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77028

--- shadow/77028	2006-03-28 23:38:54.000000000 -0500
+++ shadow/77028.tmp.5485	2006-06-15 11:32:50.000000000 -0400
@@ -1,22 +1,22 @@
 Bug#: 77028
 Product: Mono: Runtime
 Version: 1.1
 OS: unknown
 OS Details: Ubuntu
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Minor
 Component: misc
 AssignedTo: lupus at ximian.com                            
 ReportedBy: slomo at ubuntu.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: brandon at smarterits.com,cjwatson at ubuntu.com,dostrow at gentoo.org,eric at extremeboredom.net
+Cc: brandon at smarterits.com,cjwatson at ubuntu.com,dostrow at gentoo.org,eric at extremeboredom.net,johannes at sipsolutions.net
 Summary: mono build process segfaults on powerpc
 
 Hi,
 mono 1.1.11 (and 1.1.10.1 but not 1.1.10) segfault while building on ppc64
 machines running in 32bit mode. It works on an normal ppc.
 It happens every time but always in another file while compiling some c#
@@ -406,6 +406,57 @@
 +    unsigned long mask = 1;
 +    sched_setaffinity(0, sizeof(mask), &mask);
 +    #endif
         return mono_main (argc, argv);
  }
 
+
+------- Additional Comments From johannes at sipsolutions.net  2006-06-09 12:20 -------
+I ran it in valgrind and got some more info:
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=371134
+
+valgrind isn't working all too well reporting literally thousands of
+errors,
+but the last error before mono is terminated is:
+
+==8225== Process terminating with default action of signal 11 (SIGSEGV)
+==8225==  Bad permissions for mapped region at address 0xB0B8C28
+==8225==    at 0xB0B8C28: ???
+==8225==    by 0xFA09C0C: sigsuspend (in /lib/tls/libc-2.3.6.so)
+==8225==    by 0xFF1C008: GC_suspend_handler (in
+/usr/lib/libmono.so.0.0.0)
+==8225==    by 0xB0B9564: ???
+==8225==    by 0xFE36AFC: mono_arch_output_basic_block (in
+/usr/lib/libmono.so.0.0.0)
+==8225==    by 0xFDEE77C: mono_codegen (in /usr/lib/libmono.so.0.0.0)
+==8225==    by 0xFE0A218: mini_method_compile (in
+/usr/lib/libmono.so.0.0.0)
+==8225==    by 0xFE0AF98: (within /usr/lib/libmono.so.0.0.0)
+==8225==    by 0xFE6D2BC: mono_compile_method (in
+/usr/lib/libmono.so.0.0.0)
+==8225==    by 0xFE0B16C: (within /usr/lib/libmono.so.0.0.0)
+==8225==    by 0xFE0B2D4: (within /usr/lib/libmono.so.0.0.0)
+==8225==    by 0xFE6CD10: mono_runtime_invoke (in
+/usr/lib/libmono.so.0.0.0)
+
+
+
+------- Additional Comments From johannes at sipsolutions.net  2006-06-13 05:12 -------
+That valgrind output is misleading, seems to be a valgrind bug with
+signal handling or something strange. At least it doesn't seem to be
+the cause of the problem, stay tuned.
+
+------- Additional Comments From johannes at sipsolutions.net  2006-06-13 05:20 -------
+Created an attachment (id=17171)
+patch + description of the problem
+
+
+------- Additional Comments From johannes at sipsolutions.net  2006-06-13 05:22 -------
+Failed to mention: I've had beagle index *a lot* of things with the
+mono created with this patch (and the debian patches) and it never
+crashed.
+
+------- Additional Comments From lupus at ximian.com  2006-06-15 11:32 -------
+Thanks Johannes, a more complete fix is in svn.
+The sched_setaffinity () workaround should not be needed anymore:
+people who could reproduce the error should test current svn and
+reopen the bug if it happens again.


More information about the mono-bugs mailing list