[Mono-bugs] [Bug 555871] New: ERROR:threads.c:626:init_root_domain_thread: assertion failed: (!thread->root_domain_thread)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 16 12:17:05 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=555871


           Summary: ERROR:threads.c:626:init_root_domain_thread: assertion
                    failed: (!thread->root_domain_thread)
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


--- Comment #0 from Marek Safar <msafar at novell.com> 2009-11-16 17:17:04 UTC ---
SIGABRT when building trunk moon with trunk mono

ERROR:threads.c:626:init_root_domain_thread: assertion failed:
(!thread->root_domain_thread)
Stacktrace:


Native stacktrace:

    mono [0x80d4ebb]
    [0x4001d410]
    /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x4016c932]
    /lib/libglib-2.0.so.0(g_assertion_message+0x13c) [0x4009bddc]
    /lib/libglib-2.0.so.0 [0x4009c43d]
    mono [0x8173304]
    mono(mono_thread_attach+0x198) [0x8176298]
    mono(mono_runtime_init+0x140) [0x812a700]
    mono [0x8064f36]
    mono(mono_main+0x28e) [0x80b37ce]
    mono [0x805b785]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x40155b56]
    mono [0x805b6c1]

Debug info from gdb:

Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0x407aab70 (LWP 4030)]
[New Thread 0x405f2b70 (LWP 4029)]
0x4001d422 in __kernel_vsyscall ()
  3 Thread 0x405f2b70 (LWP 4029)  0x4001d422 in __kernel_vsyscall ()
  2 Thread 0x407aab70 (LWP 4030)  0x4001d422 in __kernel_vsyscall ()
* 1 Thread 0x402b56f0 (LWP 4028)  0x4001d422 in __kernel_vsyscall ()

Thread 3 (Thread 0x405f2b70 (LWP 4029)):
#0  0x4001d422 in __kernel_vsyscall ()
#1  0x40109e15 in pthread_cond_wait@@GLIBC_2.3.2 ()
    at
./nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x081ef844 in GC_wait_marker () at pthread_support.c:1785
#3  0x081e8e10 in GC_help_marker (my_mark_no=2) at mark.c:1116
#4  0x081ee6ba in GC_mark_thread (id=0x0) at pthread_support.c:548
#5  0x4010580e in start_thread (arg=0x405f2b70) at pthread_create.c:300
#6  0x4020b7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0x407aab70 (LWP 4030)):
#0  0x4001d422 in __kernel_vsyscall ()
#1  0x4010d466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x081bf988 in collection_thread (unused=0x0) at collection.c:34
#3  0x4010580e in start_thread (arg=0x407aab70) at pthread_create.c:300
#4  0x4020b7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0x402b56f0 (LWP 4028)):
#0  0x4001d422 in __kernel_vsyscall ()
#1  0x4010cc8b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080d505f in read (signal=6, ctx=0xbf9f485c) at
/usr/include/bits/unistd.h:45
#3  mono_handle_native_sigsegv (signal=6, ctx=0xbf9f485c) at
mini-exceptions.c:1808
#4  <signal handler called>
#5  0x4001d422 in __kernel_vsyscall ()
#6  0x401694d1 in *__GI_raise (sig=6) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x4016c932 in *__GI_abort () at abort.c:92
#8  0x4009bddc in g_assertion_message () from /lib/libglib-2.0.so.0
#9  0x4009c43d in g_assertion_message_expr () from /lib/libglib-2.0.so.0
#10 0x08173304 in init_root_domain_thread (thread=0x43fc0, candidate=0x45fe0)
    at threads.c:626
#11 0x08176298 in mono_thread_attach (domain=0x25e70) at threads.c:1002
#12 0x0812a700 in mono_runtime_init (domain=0x25e70, start_cb=
    0x805c9d0 <mono_thread_start_cb>, attach_cb=0x805ca20
<mono_thread_attach_cb>)
    at appdomain.c:217
#13 0x08064f36 in mini_init (filename=0xbf9f739b "../lib/2.1/smcs.exe",
runtime_version=
    0xbf9f7372 "moonlight") at mini.c:5387
#14 0x080b37ce in mono_main (argc=545, argv=0xbf9f5054) at driver.c:1613
#15 0x0805b785 in main (argc=545, argv=0xbf9f5054) at main.c:34

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

make[4]: *** [../lib/2.1_raw-bootstrap/System.Windows.dll] Aborted


-- 
Configure bugmail: http://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