[Mono-bugs] [Bug 80449][Nor] Changed - Built runtime gives SEGV inside GC code on Solaris/SPARC

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 10 12:53:53 EST 2007

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 burkhard.linke at cebitec.uni-bielefeld.de.


--- shadow/80449	2007-01-10 12:50:19.000000000 -0500
+++ shadow/80449.tmp.1282	2007-01-10 12:53:53.000000000 -0500
@@ -67,6 +67,20 @@
 try our packages, its possible tat your build setup is busted. 
 ------- Additional Comments From burkhard.linke at CeBiTec.Uni-Bielefeld.DE  2007-01-10 12:50 -------
 Packages are not an options, since I need a network wide installation 
 and there are certain differences between Solaris 8 (the version the 
 packages refer to) and Solaris 10.
+------- Additional Comments From burkhard.linke at CeBiTec.Uni-Bielefeld.DE  2007-01-10 12:53 -------
+After some debugging I've found the cause for the bug. You are 
+passing -D_FILE_OFFSET_BITS to the configure script in libgc. As the 
+comment in the toplevel configure script states this may be a bad 
+idea. And it is a bad idea.
+The size of the prasmap struct (part of the procfs interface in 
+Solaris) depends on the size of off_t, which depends on 
+_FILE_OFFSET_BITS. This trashes the code that parses the page 
+information from proc.
+Solution: do not pass _FILE_OFFSET_BITS to libgc. What do you need it 
+for, anyways?

More information about the mono-bugs mailing list