[Mono-bugs] [Bug 334740] file threads.c: line 3345 (mono_thread_set_state): assertion failed: (ret == 0)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 30 13:41:34 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=334740#c16





--- Comment #16 from John Anderson <sontek at gmail.com>  2007-10-30 11:41:33 MST ---
I still get the exception when doing make run-test in mono/mcs/class/System

here is my cpuinfo:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : AMD Athlon(tm) XP 2000+
stepping        : 2
cpu MHz         : 1662.080
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up ts
bogomips        : 3326.96
clflush size    : 32

and here is the exception

** ERROR **: file threads.c: line 3353 (mono_thread_clr_state): assertion
failed                                                                         
                        : (ret == 0)
aborting...
Stacktrace:

  at (wrapper managed-to-native) System.Threading.Thread.Join_internal
(int,intp                                                                      
                           tr) <0x00004>
  at (wrapper managed-to-native) System.Threading.Thread.Join_internal
(int,intp                                                                      
                           tr) <0xffffffff>
  at System.Threading.Thread.Join () [0x00000] in
/usr/src/mono/mcs/class/corlib                                                 
                                                /System.Threading/Thread.cs:635
  at System.Timers.Timer.StopTimer () [0x0004d] in
/usr/src/mono/mcs/class/Syste                                                  
                                               m/System.Timers/Timer.cs:221
  at System.Timers.Timer.set_Enabled (bool) [0x00025] in
/usr/src/mono/mcs/class                                                        
                                         /System/System.Timers/Timer.cs:95
  at System.Timers.Timer.Start () [0x00000] in
/usr/src/mono/mcs/class/System/Sy                                              
                                                   stem.Timers/Timer.cs:160
  at (wrapper remoting-invoke-with-check) System.Timers.Timer.Start ()
<0xffffff                                                                      
                           ff>
  at MonoTests.System.Timers.RaceTest.Restart () [0x00018] in
/usr/src/mono/mcs/                                                             
                                   
class/System/Test/System.Timers/TimerTest.cs:290
  at MonoTests.System.Timers.RaceTest.Tick
(object,System.Timers.ElapsedEventArg                                          
                                                       s) [0x00000] in
/usr/src/mono/mcs/class/System/Test/System.Timers/TimerTest.cs:2               
                                                                               
  97
  at System.Timers.Timer.Callback (object) [0x0005e] in
/usr/src/mono/mcs/class/                                                       
                                          System/System.Timers/Timer.cs:185
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object
(obje                                                                          
                       ct) <0xffffffff>
  at (wrapper runtime-invoke)
System.Threading.WaitCallback.runtime_invoke_void_                             
                                                                    object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/src/mono/mono/mono/mini/mono [0x81699fb]
        [0xffffe440]
        /lib/libc.so.6(abort+0x108) [0x4015e8e8]
        /usr/lib/libglib-2.0.so.0(g_logv+0x425) [0x4006d965]
        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0x4006d9a9]
        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x78) [0x4006da28]
        /usr/src/mono/mono/mono/mini/mono(mono_thread_clr_state+0x75)
[0x80e7d75                                                                     
                            ]
        /usr/src/mono/mono/mono/mini/mono [0x80ea3aa]
        [0x414b6395]
        [0x414b6353]
        [0x426fca9f]
        [0x426fbca3]
        [0x426fc7fd]
        [0x426fc7c1]
        [0x426fd58d]
        [0x426fd5cb]
        [0x426fd11b]
        [0x41b7d765]
        [0x41b7d6b6]
        /usr/src/mono/mono/mono/mini/mono(mono_runtime_invoke_array+0x1a5)
[0x80                                                                          
                       e1e85]
        /usr/src/mono/mono/mono/mini/mono [0x80e362a]
        /usr/src/mono/mono/mono/mini/mono [0x80c0453]
        /usr/src/mono/mono/mono/mini/mono [0x80c1b20]
        /usr/src/mono/mono/mono/mini/mono [0x80eb7c3]
        /usr/src/mono/mono/mono/mini/mono [0x81122a2]
        /usr/src/mono/mono/mono/mini/mono [0x8125883]
        /lib/libpthread.so.0 [0x400fb18b]
        /lib/libc.so.6(clone+0x5e) [0x401f504e]

Debug info from gdb:

Using host libthread_db library "/lib/libthread_db.so.1".
0x0818f92b in GC_invalidate_map (hhdr=0x3197d30) at obj_map.c:33
33          if (GC_invalid_map == 0) {


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

/bin/sh: line 2: 18733 Aborted                
MONO_REGISTRY_PATH="/root/.mono/r                                              
                                                   egistry"
MONO_PATH="../../class/lib/default::$MONO_PATH" /usr/src/mono/mono/runt        
                                                                               
         ime/mono-wrapper --debug ../../class/lib/default/nunit-console.exe
/exclude:NotW                                                                  
                               orking,ValueAdd,CAS,InetAccess
/output:TestResult-default.log /xml:TestResult-de                              
                                                                   fault.xml
System_test_default.dll
make[1]: *** [run-test-lib] Error 1
make[1]: Leaving directory `/usr/src/mono/mcs/class/System'
make: *** [do-run-test] Error 1


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list