[Mono-bugs] [Bug 573596] New: SIGABRT on mono_class_from_mono_type in test application

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 25 13:11:02 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=573596#c0


           Summary: SIGABRT on mono_class_from_mono_type in test
                    application
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: 32bit
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bkesecker at augustasystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0)

>From commandline: "sudo mono MyApp.exe" generates the following SIGABRT:
MyApp.exe is a default Windows Application project with only one button object
added, nothing else, built in 'Release' mode.  Also, using KDE desktop.

** (MyApp.exe:17779): WARNING **: mono_class_from_mono_type: implement me 0xb6  

**
ERROR:class.c:5166:mono_class_from_mono_type: code should not be reached
Stacktrace:                                                             


Native stacktrace:

        mono [0x80d36a9]
        [0xffffe410]    
        [0xffffe430]    
        /lib/libc.so.6(gsignal+0x4f) [0xb752d0cf]
        /lib/libc.so.6(abort+0x187) [0xb752e9e7] 
        /usr/lib/libglib-2.0.so.0(g_assertion_message+0x15b) [0xb7716afb]
        mono(mono_class_from_mono_type+0x60) [0x8120c20]                 
        mono [0x80d4614]                                                 
        mono [0x80d4328]                                                 
        mono [0x810dff9]                                                 
        [0xb7395d10]                                                     
        [0xb7107ce8]                                                     
        [0xb7107ca3]                                                     
        [0xb710688d]                                                     
        [0xb71065db]                                                     
        [0xb7106579]                                                     
        [0xb710888e]                                                     
        [0xb710874a]                                                     
        [0xb71086be]                                                     
        [0xb7108600]                                                     
        [0xb71085c7]                                                     
        [0xb71021e6]                                                     
        [0xb7102264]                                                     
        mono [0x8063552]                                                 

Debug info from gdb:

Missing separate debuginfo for /usr/lib/libgthread-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=129aaee1c3cfb4378b410c25064d59304bc42b5c"                  
Missing separate debuginfo for /usr/lib/libglib-2.0.so.0                        
Try: zypper install -C
"debuginfo(build-id)=dc64bc06e7c013fb71b9ed9020d416d5880b2199"                  
Missing separate debuginfo for /lib/librt.so.1                                  
Try: zypper install -C
"debuginfo(build-id)=27c7312d324b45f8ff3c79379d6cb78043452c0d"                  
Missing separate debuginfo for /lib/libdl.so.2                                  
Try: zypper install -C
"debuginfo(build-id)=47a5c8a64587f48bcb3b50c18ccd22261bbdb989"                  
Missing separate debuginfo for /lib/libpthread.so.0                             
Try: zypper install -C
"debuginfo(build-id)=964690b0ca2ed321e995340684e09981f5f986ad"                  
Missing separate debuginfo for /lib/libm.so.6                                   
Try: zypper install -C
"debuginfo(build-id)=a488c775caa0433cb23f9764d683150f40872ef1"                  
Missing separate debuginfo for /lib/libc.so.6                                   
Try: zypper install -C
"debuginfo(build-id)=ee302691046515fe3766ae3b7d47afd3e3a8d063"                  
Missing separate debuginfo for /lib/libpcre.so.0                                
Try: zypper install -C
"debuginfo(build-id)=5ab33b6bde2ff3f9ed2bbedd89e4519ea6a080c1"                  
Missing separate debuginfo for /lib/ld-linux.so.2                               
Try: zypper install -C
"debuginfo(build-id)=d7706cbaa0ca09319cb645eac789cb8399078797"                  
Missing separate debuginfo for /usr/lib/libgdiplus.so                           
Try: zypper install -C
"debuginfo(build-id)=7863296909ce43e06ca8a96ac3c86489efed7888"                  
Missing separate debuginfo for /lib/libz.so.1                                   
Try: zypper install -C
"debuginfo(build-id)=bab67dfc8f086af8bad386d24c4747e374fc6bc5"                  
Missing separate debuginfo for /usr/lib/libfreetype.so.6                        
Try: zypper install -C
"debuginfo(build-id)=0b622a937db571de425360506e0cf5c3bf6a0ea1"                  
Missing separate debuginfo for /usr/lib/libXrender.so.1                         
Try: zypper install -C
"debuginfo(build-id)=51690631dac33cc064abc3ddb4590881ac3f967a"                  
Missing separate debuginfo for /usr/lib/libX11.so.6                             
Try: zypper install -C
"debuginfo(build-id)=d056fc4d5e21d2b57b263acbde2ece574da598ff"                  
Missing separate debuginfo for /usr/lib/libtiff.so.3                            
Try: zypper install -C
"debuginfo(build-id)=d2197e11c8ef37efc476df0fafe10d0a89077dc4"                  
Missing separate debuginfo for /usr/lib/libjpeg.so.62                           
Try: zypper install -C
"debuginfo(build-id)=bc070cbb59c72615286595626f630d7573868208"                  
Missing separate debuginfo for /usr/lib/libgif.so.4                             
Try: zypper install -C
"debuginfo(build-id)=79083324b23ea3ef820fec7d013128a58589b180"                  
Missing separate debuginfo for /usr/lib/libpng12.so.0                           
Try: zypper install -C
"debuginfo(build-id)=cb95478bec3b4b124fd86640b53251f345bc493a"                  
Missing separate debuginfo for /usr/lib/libexif.so.12                           
Try: zypper install -C
"debuginfo(build-id)=3aaa0df6b9d1dc54dcb75b9f2a19c4a46b118ac7"                  
Missing separate debuginfo for /usr/lib/libfontconfig.so.1                      
Try: zypper install -C
"debuginfo(build-id)=b53e7f397286d6d5b8dc133c66456a6c3c60ccb1"                  
Missing separate debuginfo for /usr/lib/libxcb.so.1                             
Try: zypper install -C
"debuginfo(build-id)=fe43f80787ec7836dbb28340a9b4b4a4f4474610"                  
Missing separate debuginfo for /lib/libexpat.so.1                               
Try: zypper install -C
"debuginfo(build-id)=b546cdf8dc2e0cac75f0ae9bdaf0077deeeabf13"                  
Missing separate debuginfo for /usr/lib/libXau.so.6                             
Try: zypper install -C
"debuginfo(build-id)=5e41b03aa3942b5f33012a3b732a58f53f5fac00"                  
Missing separate debuginfo for /lib/libgcc_s.so.1                               
Try: zypper install -C
"debuginfo(build-id)=d7d12f7fa08cc56782efdf6ec887bb02452b3646"                  
Mono support loaded.                                                            
[Thread debugging using libthread_db enabled]                                   
[New Thread 0xb6d44b70 (LWP 17781)]                                             
[New Thread 0xb6d68b70 (LWP 17780)]                                             
0xffffe430 in __kernel_vsyscall ()                                              
  3 Thread 0xb6d68b70 (LWP 17780)  0xffffe430 in __kernel_vsyscall ()           
  2 Thread 0xb6d44b70 (LWP 17781)  0xffffe430 in __kernel_vsyscall ()           
* 1 Thread 0xb74d16f0 (LWP 17779)  0xffffe430 in __kernel_vsyscall ()           

Thread 3 (Thread 0xb6d68b70 (LWP 17780)):
#0  0xffffe430 in __kernel_vsyscall ()   
#1  0xb7698516 in nanosleep () from /lib/libpthread.so.0
#2  0x081cdee8 in collection_thread (unused=0x0) at collection.c:34
#3  0xb76906e5 in start_thread () from /lib/libpthread.so.0        
#4  0xb7690600 in ?? () from /lib/libpthread.so.0                  

Thread 2 (Thread 0xb6d44b70 (LWP 17781)):
#0  0xffffe430 in __kernel_vsyscall ()   
#1  0xb7696fb5 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2  0x08139ba8 in finalizer_thread (unused=0x0) at gc.c:1022      
#3  0x081b586a in start_wrapper (data=0x8338ed0) at threads.c:662 
#4  0x081eae82 in thread_start_routine (args=0x832c584) at wthreads.c:286
#5  0x082075eb in GC_start_routine (arg=0x35f20) at pthread_support.c:1390
#6  0xb76906e5 in start_thread () from /lib/libpthread.so.0               
#7  0xb7690600 in ?? () from /lib/libpthread.so.0                         

Thread 1 (Thread 0xb74d16f0 (LWP 17779)):
#0  0xffffe430 in __kernel_vsyscall ()   
#1  0xb7697cfb in read () from /lib/libpthread.so.0
#2  0x080d3850 in read (__nbytes=<value optimized out>, 
    __buf=<value optimized out>, __fd=<value optimized out>)
    at /usr/include/bits/unistd.h:45                        
#3  mono_handle_native_sigsegv (__nbytes=<value optimized out>, 
    __buf=<value optimized out>, __fd=<value optimized out>)    
    at mini-exceptions.c:1809                                   
#4  <signal handler called>                                     
#5  0xffffe430 in __kernel_vsyscall ()                          
#6  0xb752d0cf in raise () from /lib/libc.so.6                  
#7  0xb752e9e7 in abort () from /lib/libc.so.6                  
#8  0xb7716afb in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#9  0x08120c20 in mono_class_from_mono_type (type=0x83770a0) at class.c:5166
#10 0x080d4614 in get_exception_catch_class (ctx=<value optimized out>,     
    ji=<value optimized out>, ei=<value optimized out>)                     
    at mini-exceptions.c:1053                                               
#11 mono_handle_exception_internal (ctx=<value optimized out>,              
    ji=<value optimized out>, ei=<value optimized out>)                     
    at mini-exceptions.c:1268                                               
#12 0x080d4328 in mono_handle_exception_internal (ctx=0xbfd60a88,           
    obj=<value optimized out>, original_ip=0xb7107ebb, test_only=0,         
    out_filter_idx=0x0, out_ji=0x0) at mini-exceptions.c:1178               
#13 0x0810dff9 in throw_exception (eax=346584, ecx=507136, edx=0, ebx=438040, 
    esi=364288, edi=438040, ebp=3218475848, exc=0x549d8, eip=3071311547, esp= 
    3218475768, rethrow=-1076491448) at exceptions-x86.c:422                  
#14 0xb7395d10 in ?? ()                                                       
#15 0xb7107ce8 in ?? ()                                                       
#16 0xb7107ca3 in ?? ()                                                       
#17 0xb710688d in ?? ()
#18 0xb71065db in ?? ()
#19 0xb7106579 in ?? ()
#20 0xb710888e in ?? ()
#21 0xb710874a in ?? ()
#22 0xb71086be in ?? ()
#23 0xb7108600 in ?? ()
#24 0xb71085c7 in ?? ()
#25 0xb71021e6 in ?? ()
#26 0xb7102264 in ?? ()
#27 0x08063552 in mono_jit_runtime_invoke (method=
    "MyApp.My.MyApplication:Main ()", obj=0x0, params=
    0xbfd60e3c, exc=0x0) at mini.c:4691
#28 0x08187543 in mono_runtime_invoke (method=
    "MyApp.My.MyApplication:Main ()", obj=0x0, params=
    0xbfd60e3c, exc=0x0) at object.c:2602
#29 0x0818afed in mono_runtime_exec_main (method=
    "MyApp.My.MyApplication:Main ()", args=0x58fd0, exc=0x0)
    at object.c:3543
#30 0x0818ced1 in mono_runtime_run_main (method=
    "MyApp.My.MyApplication:Main ()", argc=1, argv=
    0xbfd61048, exc=0x0) at object.c:3317
#31 0x080b3f9d in main_thread_handler (user_data=<value optimized out>)
    at driver.c:999
#32 mono_main (user_data=<value optimized out>) at driver.c:1732
#33 0x0805b585 in main (argc=2, argv=0xbfd61044) 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.
=================================================================

Aborted

Reproducible: Always

Steps to Reproduce:
1. Build in release mode an empty Windows Application in VB (maybe add a button
control)
2. Copy exe file to USB drive
3. Plug USB drive into openSuSE 11.2 with KDE desktop
4. Ensure package mono-complete is installed
5. From commandline, sudo mono MyApp.exe
Actual Results:  
The error message as described in Detail section.

Expected Results:  
The application would go further than a SIGABRT.

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