Bugzilla – Bug 322725
[Linux/SPARC] Segfault in System.IO.FileSystemInfo.Refresh
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by slomo@ubuntu.com 2006-11-24 04:35:54 MST ---- Hi, since 1.2.1 mono segfaults while doing make install on Linux/SPARC in System.IO.FileSystemInfo.Refresh. The complete buildlog is located here: http://librarian.launchpad.net/5155189/buildlog_ubuntu-feisty-sparc.mono_1.2.1-0ubuntu1_FAILEDTOBUILD.txt.gz Below is the relevant part of the buildlog: [...] make[8]: Entering directory `/build/buildd/mono-1.2.1/mcs/class/corlib' /bin/sh ../../mkinstalldirs /build/buildd/mono-1.2.1/debian/tmp/usr/lib/mono/1.0 /usr/bin/install -c -c -m 755 ../../class/lib/default/mscorlib.dll /build/buildd/mono-1.2.1/debian/tmp/usr/lib/mono/1.0/mscorlib.dll test ! -f ../../class/lib/default/mscorlib.dll.mdb || /usr/bin/install -c -c -m 755 ../../class/lib/default/mscorlib.dll.mdb /build/buildd/mono-1.2.1/debian/tmp/usr/lib/mono/1.0/mscorlib.dll.mdb make[8]: Leaving directory `/build/buildd/mono-1.2.1/mcs/class/corlib' make[7]: Leaving directory `/build/buildd/mono-1.2.1/mcs/class/corlib' make[7]: Entering directory `/build/buildd/mono-1.2.1/mcs/class/System' /usr/bin/make install-local make[8]: Entering directory `/build/buildd/mono-1.2.1/mcs/class/System' MONO_PATH="../../class/lib/net_1_1_bootstrap:$MONO_PATH" /build/buildd/mono-1.2.1/runtime/mono-wrapper ../../class/lib/net_1_1_bootstrap/gacutil.exe /i ../../class/lib/default/System.dll /f /root /build/buildd/mono-1.2.1/debian/tmp/usr/lib /package 1.0 ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Stacktrace: at (wrapper managed-to-native) System.IO.MonoIO.GetFileStat (string,System.IO.MonoIOStat&,System.IO.MonoIOError&) <0x00004> at (wrapper managed-to-native) System.IO.MonoIO.GetFileStat (string,System.IO.MonoIOStat&,System.IO.MonoIOError&) <0xffffffff> at System.IO.FileSystemInfo.Refresh (bool) <0x0004c> at System.IO.DirectoryInfo.get_Exists () <0x0000c> at System.IO.Directory.CreateDirectoriesInternal (string) <0x000d0> at System.IO.Directory.CreateDirectory (string) <0x000b8> at System.IO.DirectoryInfo.Create () <0x00008> at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo.Create () <0xffffffff> at System.IO.Directory.CreateDirectoriesInternal (string) <0x0010c> at System.IO.Directory.CreateDirectory (string) <0x000b8> at System.IO.DirectoryInfo.Create () <0x00008> at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo.Create () <0xffffffff> at System.IO.Directory.CreateDirectoriesInternal (string) <0x0010c> at System.IO.Directory.CreateDirectory (string) <0x000b8> at Mono.Tools.Driver.Install (bool,string,string,string,string,string,string) <0x00614> at Mono.Tools.Driver.Main (string[]) <0x007e0> at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: make[8]: *** [install-local] Aborted make[8]: Leaving directory `/build/buildd/mono-1.2.1/mcs/class/System' make[7]: *** [do-install] Error 2 make[7]: Leaving directory `/build/buildd/mono-1.2.1/mcs/class/System' make[6]: *** [install-recursive] Error 1 make[6]: Leaving directory `/build/buildd/mono-1.2.1/mcs/class' make[5]: *** [install-recursive] Error 1 make[5]: Leaving directory `/build/buildd/mono-1.2.1/mcs' [...] Bye PS: Unfortunately I don't have direct access to a SPARC machine ---- Additional Comments From slomo@ubuntu.com 2006-11-24 04:36:48 MST ---- Latest version that worked fine was btw 1.1.18 ---- Additional Comments From dick@ximian.com 2006-11-24 07:33:02 MST ---- Whoops, didn't mean to set NEEDINFO ---- Additional Comments From slomo@ubuntu.com 2006-12-19 13:32:33 MST ---- Created an attachment (id=170955) patch by David S. Miller that fixes this bug... ---- Additional Comments From dick@ximian.com 2006-12-19 14:03:10 MST ---- This proposed fix is in the class field alignment, so re-assigning it to 'misc' ---- Additional Comments From vargaz@gmail.com 2007-03-21 09:16:21 MST ---- This was fixed a long time ago. Imported an attachment (id=170955) Unknown operating system unknown. Setting to default OS "Other".