[Mono-bugs] [Bug 473787] New: AOTing protobuf-net-mono with --optimize=full sig-aborts

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 9 02:24:58 EST 2009


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


           Summary: AOTing protobuf-net-mono with --optimize=full
                    sig-aborts
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.2.x
          Platform: x86-64
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: dok at dok-net.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5)
Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5

Use the Mono packages for openSUSE 11.1 (mono-core-2.2-14.1), on x86-64 to
build protobuf-net for Mono from SVN, revision 224.

mono --optimize=all --aot protobuf-net.dll

aborts:

Mono Ahead of Time compiler - compiling assembly
../protobuf/trunk/protobuf-net-mono/bin/Debug/protobuf-net.dll
**
ERROR:mini.c:12089:mono_codegen: assertion failed:
(patch_info->data.table->table [i]->native_offset)
Stacktrace:


Native stacktrace:

    mono [0x4aa243]
    /lib64/libpthread.so.0 [0x7f7ee97a1a90]
    /lib64/libc.so.6(gsignal+0x35) [0x7f7ee9216645]
    /lib64/libc.so.6(abort+0x183) [0x7f7ee9217c33]
    /usr/lib64/libglib-2.0.so.0(g_assertion_message+0x113) [0x7f7ee9e1c203]
    /usr/lib64/libglib-2.0.so.0 [0x7f7ee9e1c6a2]
    mono [0x41ca76]
    mono [0x4457d1]
    mono [0x497bd7]
    mono [0x49fba6]
    mono(mono_main+0x5df) [0x4930af]
    /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f7ee9202586]
    mono [0x4175f9]

Debug info from gdb:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f7ee8904950 (LWP 904)]
[New Thread 0x7f7ee8958950 (LWP 903)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00007f7ee97a087b in read () from /lib64/libpthread.so.0
  3 Thread 0x7f7ee8958950 (LWP 903)  0x00007f7ee97a11b1 in nanosleep ()
   from /lib64/libpthread.so.0
  2 Thread 0x7f7ee8904950 (LWP 904)  0x00007f7ee979fc71 in sem_wait ()
   from /lib64/libpthread.so.0
* 1 Thread 0x7f7eea480730 (LWP 902)  0x00007f7ee97a087b in read ()
   from /lib64/libpthread.so.0

Thread 3 (Thread 0x7f7ee8958950 (LWP 903)):
#0  0x00007f7ee97a11b1 in nanosleep () from /lib64/libpthread.so.0
#1  0x000000000059da62 in ?? ()
#2  0x00007f7ee979a070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f7ee92b710d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7ee8904950 (LWP 904)):
#0  0x00007f7ee979fc71 in sem_wait () from /lib64/libpthread.so.0
#1  0x000000000052c8ca in ?? ()
#2  0x000000000054c363 in ?? ()
#3  0x00000000005b76ab in ?? ()
#4  0x00000000005d5752 in ?? ()
#5  0x00007f7ee979a070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7ee92b710d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7eea480730 (LWP 902)):
#0  0x00007f7ee97a087b in read () from /lib64/libpthread.so.0
#1  0x00000000004aa3b4 in ?? ()
#2  <signal handler called>
#3  0x00007f7ee9216645 in raise () from /lib64/libc.so.6
#4  0x00007f7ee9217c33 in abort () from /lib64/libc.so.6
#5  0x00007f7ee9e1c203 in g_assertion_message ()
   from /usr/lib64/libglib-2.0.so.0
#6  0x00007f7ee9e1c6a2 in g_assertion_message_expr ()
   from /usr/lib64/libglib-2.0.so.0
#7  0x000000000041ca76 in ?? ()
#8  0x00000000004457d1 in ?? ()
#9  0x0000000000497bd7 in ?? ()
#10 0x000000000049fba6 in ?? ()
#11 0x00000000004930af in mono_main ()
#12 0x00007f7ee9202586 in __libc_start_main () from /lib64/libc.so.6
#13 0x00000000004175f9 in ?? ()
#14 0x00007ffff24a1338 in ?? ()
#15 0x000000000000001c in ?? ()
#16 0x0000000000000004 in ?? ()
#17 0x00007ffff24a32b9 in ?? ()
#18 0x00007ffff24a32be in ?? ()
#19 0x00007ffff24a32cd in ?? ()
#20 0x00007ffff24a32d3 in ?? ()
#21 0x0000000000000000 in ?? ()

=================================================================
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. Fetch the protobuf-net sources (ca. 12928 KB):
   svn checkout http://protobuf-net.googlecode.com/svn/trunk/
protobuf-net-read-only

2. cd into trunk/protobuf-net-mono/
3. run: nant
4. cd into bin/Debug
5. run: mono --optimize=all --aot protobuf-net.dll

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