[Mono-bugs] [Bug 431539] Segmentation Fault in mcs/gmcs
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Nov 6 05:50:48 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=431539
User Yury at serdyuk.botik.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=431539#c5
--- Comment #5 from Yury Serdyuk <Yury at serdyuk.botik.ru> 2008-11-06 03:50:47 MST ---
At moment, we installed a new IBM SDK 3.1 for Cell which includes the kernel
updates.
Now we have
cell8i-3 ~]$ uname -a
Linux cell8i-3 2.6.25.14-108.20080910bsc.ppc64 #1 SMP Fri Sep 12 11:44:36 CEST
2008 ppc64 ppc64 ppc64 GNU/Linux
At now we have a different output for the given bug:
cell8i-3 ~]$
MONO_PATH="/home/user002/mono-2.0.1/mcs/class/lib/monolite:$MONO_PATH" gdb
/home/user002/mono-2.0.1/mono/mini/mono
GNU gdb Fedora (6.8-1.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "ppc-redhat-linux-gnu"...
(gdb) handle SIGPWR nostop
Signal Stop Print Pass to program Description
SIGPWR No Yes Yes Power fail/restart
(gdb) handle SIGXCPU nostop
Signal Stop Print Pass to program Description
SIGXCPU No Yes Yes CPU time limit exceeded
(gdb) run /home/user002/mono-2.0.1/mcs/class/lib/monolite/mcs.exe -v
SegFault.cs
Starting program: /home/user002/mono-2.0.1/mono/mini/mono
/home/user002/mono-2.0.1/mcs/class/lib/monolite/mcs.exe -v SegFault.cs
[Thread debugging using libthread_db enabled]
[New Thread 0xfff3390 (LWP 4705)]
[New Thread 0xf768f450 (LWP 4708)]
[New Thread 0xf762f450 (LWP 4709)]
Program received signal SIGPWR, Power fail/restart.
Program received signal SIGXCPU, CPU time limit exceeded.
Program received signal SIGPWR, Power fail/restart.
Program received signal SIGXCPU, CPU time limit exceeded.
** Message: Unknown errno: Success
SegFault.cs(7,0): error CS8025: Parsing error** Message: Unknown errno: Level 2
not synchronized
SegFault.cs(7,0): error CS8025: Parsing error** Message: Unknown errno: Level 2
not synchronized
System.IO.IOException: Win32 IO returned ERROR_GEN_FAILURE. Path: SegFault.cs
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32
offset, Int32 count) [0x00000]
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32
count) [0x00000]
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count)
[0x00000]
at System.IO.StreamReader.ReadBuffer () [0x00000]
at System.IO.StreamReader.Read (System.Char[] buffer, Int32 index, Int32
count) [0x00000]
at Mono.CSharp.SeekableStreamReader.ReadBuffer () [0x00000]
at Mono.CSharp.SeekableStreamReader.Read () [0x00000]
at Mono.CSharp.Tokenizer.peek_char () [0x00000]
at Mono.CSharp.Tokenizer.is_punct (Char c, System.Boolean& doread) [0x00000]
at Mono.CSharp.Tokenizer.xtoken () [0x00000]
at Mono.CSharp.Tokenizer.token () [0x00000]
at Mono.CSharp.CSharpParser.yyparse (yyInput yyLex) [0x00000]
at Mono.CSharp.CSharpParser.parse () [0x00000] ** Message: Unknown errno:
Unknown error 981
System.IO.IOException: Win32 IO returned ERROR_GEN_FAILURE. Path: SegFault.cs
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32
offset, Int32 count) [0x00000]
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32
count) [0x00000]
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count)
[0x00000]
at System.IO.StreamReader.ReadBuffer () [0x00000]
at System.IO.StreamReader.Read (System.Char[] buffer, Int32 index, Int32
count) [0x00000]
at Mono.CSharp.SeekableStreamReader.ReadBuffer () [0x00000]
at Mono.CSharp.SeekableStreamReader.Read () [0x00000]
at Mono.CSharp.Tokenizer.peek_char () [0x00000]
at Mono.CSharp.Tokenizer.is_punct (Char c, System.Boolean& doread) [0x00000]
at Mono.CSharp.Tokenizer.xtoken () [0x00000]
at Mono.CSharp.Tokenizer.token () [0x00000]
at Mono.CSharp.CSharpParser.yyparse (yyInput yyLex) [0x00000]
at Mono.CSharp.CSharpParser.parse () [0x00000] ** Message: Unknown errno:
Unknown error 981
System.IO.IOException: Win32 IO returned ERROR_GEN_FAILURE. Path: SegFault.cs
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32
offset, Int32 count) [0x00000]
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32
count) [0x00000]
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count)
[0x00000]
at System.IO.StreamReader.ReadBuffer () [0x00000]
at System.IO.StreamReader.Read (System.Char[] buffer, Int32 index, Int32
count) [0x00000]
at Mono.CSharp.SeekableStreamReader.ReadBuffer () [0x00000]
at Mono.CSharp.SeekableStreamReader.Read () [0x00000]
at Mono.CSharp.Tokenizer.peek_char () [0x00000]
at Mono.CSharp.Tokenizer.is_punct (Char c, System.Boolean& doread) [0x00000]
at Mono.CSharp.Tokenizer.xtoken () [0x00000]
at Mono.CSharp.Tokenizer.token () [0x00000]
at Mono.CSharp.CSharpParser.yyparse (yyInput yyLex) [0x00000]
at Mono.CSharp.CSharpParser.parse () [0x00000] ** Message: Unknown errno:
Unknown error 981
System.IO.IOException: Win32 IO returned ERROR_GEN_FAILURE. Path: SegFault.cs
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32
offset, Int32 count) [0x00000]
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32
count) [0x00000]
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count)
[0x00000]
at System.IO.StreamReader.ReadBuffer () [0x00000]
at System.IO.StreamReader.Read (System.Char[] buffer, Int32 index, Int32
count) [0x00000]
at Mono.CSharp.SeekableStreamReader.ReadBuffer () [0x00000]
at Mono.CSharp.SeekableStreamReader.Read () [0x00000]
at Mono.CSharp.Tokenizer.peek_char () [0x00000]
at Mono.CSharp.Tokenizer.is_punct (Char c, System.Boolean& doread) [0x00000]
at Mono.CSharp.Tokenizer.xtoken () [0x00000]
at Mono.CSharp.Tokenizer.token () [0x00000]
at Mono.CSharp.CSharpParser.yyparse (yyInput yyLex) [0x00000]
at Mono.CSharp.CSharpParser.parse () [0x00000] ** Message: Unknown errno:
Unknown error 981
Program received signal SIGPWR, Power fail/restart.
Program received signal SIGXCPU, CPU time limit exceeded.
**
** ERROR:(mini.c:13775):remove_signal_handler: assertion failed: (sigaction
(signo, &sa, NULL) != -1)
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xfff3390 (LWP 4705)]
0x0fdb6d4c in raise (sig=<value optimized out>) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) info threads
3 Thread 0xf762f450 (LWP 4709) 0x0ffb8ad0 in _dl_map_object_from_fd (
name=<value optimized out>, fd=<value optimized out>, fbp=<value optimized
out>,
realname=<value optimized out>, loader=<value optimized out>,
l_type=<value optimized out>, mode=<value optimized out>,
stack_endp=<value optimized out>, nsid=<value optimized out>) at
dl-load.c:966
2 Thread 0xf768f450 (LWP 4708) 0x0ff511e8 in nanosleep () from
/lib/libpthread.so.0
* 1 Thread 0xfff3390 (LWP 4705) 0x0fdb6d4c in raise (sig=<value optimized
out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
(gdb) thread apply all bt
Thread 3 (Thread 0xf762f450 (LWP 4709)):
#0 0x0ffb8ad0 in _dl_map_object_from_fd (name=<value optimized out>,
fd=<value optimized out>, fbp=<value optimized out>, realname=<value
optimized out>,
loader=<value optimized out>, l_type=<value optimized out>, mode=<value
optimized out>,
stack_endp=<value optimized out>, nsid=<value optimized out>) at
dl-load.c:966
#1 0x0ffb93a0 in _dl_map_object (loader=<value optimized out>, name=<value
optimized out>,
preloaded=<value optimized out>, type=<value optimized out>,
trace_mode=<value optimized out>, mode=<value optimized out>, nsid=<value
optimized out>)
at dl-load.c:2248
#2 0x0ffc3ebc in dl_open_worker (a=<value optimized out>) at dl-open.c:293
#3 0x0ffbe9f0 in _dl_catch_error (objname=<value optimized out>,
errstring=<value optimized out>, mallocedp=<value optimized out>,
operate=<value optimized out>, args=<value optimized out>) at
dl-error.c:178
#4 0x0ffc36d4 in _dl_open (file=<value optimized out>, mode=<value optimized
out>,
caller_dlopen=<value optimized out>, nsid=<value optimized out>,
argc=<value optimized out>, argv=<value optimized out>, env=<value
optimized out>)
at dl-open.c:596
#5 0x0fec2820 in do_dlopen (ptr=<value optimized out>) at dl-libc.c:86
#6 0x0ffbe9f0 in _dl_catch_error (objname=<value optimized out>,
errstring=<value optimized out>, mallocedp=<value optimized out>,
operate=<value optimized out>, args=<value optimized out>) at
dl-error.c:178
#7 0x0fec2a70 in __libc_dlopen_mode (name=<value optimized out>, mode=<value
optimized out>)
at dl-libc.c:47
#8 0x0ff52cdc in pthread_cancel_init () at
./nptl/sysdeps/pthread/unwind-forcedunwind.c:47
#9 0x0ff52e4c in _Unwind_ForcedUnwind (exc=<value optimized out>, stop=<value
optimized out>,
stop_argument=<value optimized out>) at
./nptl/sysdeps/pthread/unwind-forcedunwind.c:98
#10 0x0ff4faec in __pthread_unwind (buf=<value optimized out>) at unwind.c:130
#11 0x0ff472c0 in __pthread_exit (value=<value optimized out>) at
pthreadP.h:264
#12 0x101254a4 in thread_start_routine (args=0x102e5700) at threads.c:201
#13 0x10147738 in GC_start_routine (arg=0xf7ec5f20) at pthread_support.c:1382
---Type <return> to continue, or q <return> to quit---
#14 0x0ff46e3c in start_thread (arg=<value optimized out>) at
pthread_create.c:299
#15 0x0fe7b710 in clone () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 2 (Thread 0xf768f450 (LWP 4708)):
#0 0x0ff511e8 in nanosleep () from /lib/libpthread.so.0
#1 0x101261bc in collection_thread (unused=<value optimized out>) at
collection.c:34
#2 0x0ff46e3c in start_thread (arg=<value optimized out>) at
pthread_create.c:299
#3 0x0fe7b710 in clone () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 1 (Thread 0xfff3390 (LWP 4705)):
#0 0x0fdb6d4c in raise (sig=<value optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x0fdb8ac4 in abort () at abort.c:88
#2 0x0fb76d60 in IA__g_assertion_message (domain=<value optimized out>,
file=<value optimized out>, line=<value optimized out>, func=<value
optimized out>,
message=<value optimized out>) at gtestutils.c:1218
#3 0x0fb77300 in IA__g_assertion_message_expr (domain=<value optimized out>,
file=<value optimized out>, line=<value optimized out>, func=<value
optimized out>,
expr=<value optimized out>) at gtestutils.c:1229
#4 0x1019b468 in remove_signal_handler (signo=8) at mini.c:13775
#5 0x1019b5e4 in mono_runtime_cleanup_handlers () at mini.c:13835
#6 0x1019d244 in mini_cleanup (domain=0xf7ec4ee0) at mini.c:14490
#7 0x10013894 in mono_main (argc=4, argv=0xffe6f564) at driver.c:1564
#8 0x100101c4 in main (argc=4, argv=0xffe6f564) at main.c:30
Current language: auto; currently asm
Current language: auto; currently c
(gdb) quit
The program is running. Exit anyway? (y or n) y
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list