[Mono-bugs] [Bug 25738] New - 2002 03 08 snapshot seg faults on linux (all versions)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
4 Jun 2002 05:26:08 -0000


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 stewart@neuron.com.

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

--- shadow/25738	Tue Jun  4 01:26:08 2002
+++ shadow/25738.tmp.12444	Tue Jun  4 01:26:08 2002
@@ -0,0 +1,113 @@
+Bug#: 25738
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 7.3
+OS Details: Stock RH73 i686 2-4-18-4 1Gb Ram
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: stewart@neuron.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: 2002 03 08 snapshot seg faults on linux (all versions)
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+all tools seg faulting (mono, mint, mcs)
+
+Steps to reproduce the problem:
+1. installed rpms from baselabs
+2. also tried building from scratch using unix-build.sh
+3. 
+
+Actual Results:
+rpm's installed and build succeeded, but all of the tools seg fault
+
+Expected Results:
+no seg faulting
+
+How often does this happen? 
+every time
+
+Additional Information:
+tails of strace for mono and mint
+
+strace mono:
+open("/lib/i686/libc.so.6", O_RDONLY)   = 3
+read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`u\1B4\0"..., 1024)
+= 1024
+fstat64(3, {st_mode=S_IFREG|0755, st_size=1401027, ...}) = 0
+old_mmap(0x42000000, 1264928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
+0x42000000
+mprotect(0x4212c000, 36128, PROT_NONE)  = 0
+old_mmap(0x4212c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
+0x12c000) = 0x4212c000
+old_mmap(0x42131000, 15648, PROT_READ|PROT_WRITE,
+MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x42131000
+close(3)                                = 0
+munmap(0x40014000, 93582)               = 0
+modify_ldt(0x1, 0xbffff6ac, 0x10)       = 0
+getpid()                                = 3443
+rt_sigaction(SIGRTMIN, {0x400e99c0, [], 0x4000000}, NULL, 8) = 0
+rt_sigaction(SIGRT_1, {0x400e8c90, [], 0x4000000}, NULL, 8) = 0
+rt_sigaction(SIGRT_2, {0x400e9a10, [], 0x4000000}, NULL, 8) = 0
+rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
+_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff35c, 31, (nil), 0}) = 0
+brk(0)                                  = 0x80ff158
+brk(0x80ff188)                          = 0x80ff188
+brk(0x8100000)                          = 0x8100000
+rt_sigaction(SIGPWR, {0x400e9f00, ~[HUP INT], SA_RESTART|0x4000000}, NULL,
+8) = 0
+rt_sigaction(SIGXCPU, {0x400e9f00, ~[HUP INT], SA_RESTART|0x4000000}, NULL,
+8) = 0
+open("/proc/stat", O_RDONLY)            = 3
+read(3, "cpu  621238 122276 1006641 26919"..., 4096) = 453
+brk(0x8110000)                          = 0x8110000
+brk(0x8120000)                          = 0x8120000
+brk(0x8130000)                          = 0x8130000
+getpid()                                = 3443
+--- SIGSEGV (Segmentation fault) ---
++++ killed by SIGSEGV +++
+
+strace mint:
+open("/lib/i686/libc.so.6", O_RDONLY)   = 3
+read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`u\1B4\0"..., 1024)
+= 1024
+fstat64(3, {st_mode=S_IFREG|0755, st_size=1401027, ...}) = 0
+old_mmap(0x42000000, 1264928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
+0x42000000
+mprotect(0x4212c000, 36128, PROT_NONE)  = 0
+old_mmap(0x4212c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
+0x12c000) = 0x4212c000
+old_mmap(0x42131000, 15648, PROT_READ|PROT_WRITE,
+MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x42131000
+close(3)                                = 0
+munmap(0x40014000, 93582)               = 0
+modify_ldt(0x1, 0xbffff6ac, 0x10)       = 0
+getpid()                                = 3445
+rt_sigaction(SIGRTMIN, {0x400e99c0, [], 0x4000000}, NULL, 8) = 0
+rt_sigaction(SIGRT_1, {0x400e8c90, [], 0x4000000}, NULL, 8) = 0
+rt_sigaction(SIGRT_2, {0x400e9a10, [], 0x4000000}, NULL, 8) = 0
+rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
+_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff35c, 31, (nil), 0}) = 0
+brk(0)                                  = 0x80b34f8
+brk(0x80b3528)                          = 0x80b3528
+brk(0x80b4000)                          = 0x80b4000
+rt_sigaction(SIGPWR, {0x400e9f00, ~[HUP INT], SA_RESTART|0x4000000}, NULL,
+8) = 0
+rt_sigaction(SIGXCPU, {0x400e9f00, ~[HUP INT], SA_RESTART|0x4000000}, NULL,
+8) = 0
+open("/proc/stat", O_RDONLY)            = 3
+read(3, "cpu  621244 122276 1006651 26919"..., 4096) = 453
+brk(0x80c4000)                          = 0x80c4000
+brk(0x80d4000)                          = 0x80d4000
+brk(0x80e4000)                          = 0x80e4000
+getpid()                                = 3445
+--- SIGSEGV (Segmentation fault) ---
++++ killed by SIGSEGV +++