[Mono-bugs] [Bug 641931] New: main-returns-background.exe crash badly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 26 21:30:00 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=641931

https://bugzilla.novell.com/show_bug.cgi?id=641931#c0


           Summary: main-returns-background.exe crash badly
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: x86
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkumpera at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


The crash is intermittent, so I used the following to repro it:

while true; do ../mini/mono main-returns-background.exe || break; done


This crash is our very awesome
crash-on-pthread-exit-due-to-libpthread-unwinding-pocking-method-with-unmapped-code.

This is the gdb trace. It takes a bit more tries under gdb to crash thou:

Thread running
Thread running
Thread running
Main thread returns
[Thread 0xb6218b70 (LWP 8878) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb610eb70 (LWP 8879)]
0xb5eda917 in x86_fallback_frame_state (fs=<value optimized out>,
context=<value optimized out>) from /lib/libgcc_s.so.1
(gdb) bt
#0  0xb5eda917 in x86_fallback_frame_state (fs=<value optimized out>,
context=<value optimized out>) from /lib/libgcc_s.so.1
#1  uw_frame_state_for (fs=<value optimized out>, context=<value optimized
out>) at ../../../gcc/unwind-dw2.c:1136
#2  0xb5edb073 in _Unwind_ForcedUnwind_Phase2 (exc=0xb610edc0,
context=0xb610df10) from /lib/libgcc_s.so.1
#3  0xb5edb1aa in _Unwind_ForcedUnwind (exc=0xb610edc0, stop=0xb7f7c570
<unwind_stop>, stop_argument=0xb610e310) from /lib/libgcc_s.so.1
#4  0xb7f7ebb2 in _Unwind_ForcedUnwind (exc=0xb610edc0, stop=0xb7f7c570
<unwind_stop>, stop_argument=0xb610e310)
    at ../nptl/sysdeps/pthread/unwind-forcedunwind.c:131
#5  0xb7f7c517 in __pthread_unwind (buf=<value optimized out>) at unwind.c:130
#6  0xb7f7671e in __do_cancel () at pthreadP.h:265
#7  __pthread_exit () at pthread_exit.c:30
#8  0x081f080a in thread_exit (exitstatus=<value optimized out>, handle=<value
optimized out>) at wthreads.c:207
#9  0x081f083d in ExitThread (exitcode=4294967295) at wthreads.c:570
#10 0x081544b6 in mono_thread_exit () at threads.c:1098
#11 0x081565ad in mono_thread_execute_interruption (thread=0x53da8) at
threads.c:4007
#12 0x0815754f in ves_icall_System_Threading_Thread_Sleep_internal (ms=500) at
threads.c:1267
#13 0xb623a7a4 in ?? ()
#14 0xb623a71f in ?? ()
#15 0xb623a95b in ?? ()
#16 0xb623a8b0 in ?? ()
#17 0xb623a846 in ?? ()
#18 0x08062ac8 in mono_jit_runtime_invoke (method=0x837e774, obj=0x58ee0,
params=0xb610e2a8, exc=0x0) at mini.c:5406
#19 0x0811cc00 in mono_runtime_invoke (method=0x837e774, obj=0x58ee0,
params=0xb610e2a8, exc=0x0) at object.c:2709
#20 0x0811cd54 in mono_runtime_delegate_invoke (delegate=0x58ee0,
params=0xb610e2a8, exc=0x0) at object.c:3360
#21 0x08154357 in start_wrapper (data=0x83823d0) at threads.c:756
#22 0x081f08ff in thread_start_routine (args=0x836b1fc) at wthreads.c:285
#23 0x08210f6b in GC_start_routine (arg=0x5dfc0) at pthread_support.c:1392
#24 0xb7f756e5 in start_thread (arg=0x0) at pthread_create.c:297
#25 0xb7f75600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0

-- 
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