[Mono-bugs] [Bug 354241] New: Warning and "should not be reached" invoking constructor with > 16 double parameters

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 16 13:14:16 EST 2008


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


           Summary: Warning and "should not be reached" invoking constructor
                    with > 16 double parameters
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: kring at agi.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


I have a trivial class with a constructor that takes 17 doubles as parameters,
which I build using Microsoft's compiler.  Upon invoking the constructor, Mono
reports (on Linux):

** (ConsoleApplication1.exe:16635): WARNING **: wrong maximal instruction
length of instruction storer8_membase_reg (expected 6, got 7)

** ERROR **: file mini-x86.c: line 3531 (mono_arch_output_basic_block): should
not be reached
aborting...
Stacktrace:


Native stacktrace:

        mono [0x8170d80]
        /lib/tls/libpthread.so.0 [0xdd19c0]
        /lib/tls/libc.so.6(abort+0xe9) [0xbb5209]
        /usr/lib/libglib-2.0.so.0(g_log+0) [0x4308ebe]
        /usr/lib/libglib-2.0.so.0(g_log+0x32) [0x4308ef0]
        mono [0x806d504]
        mono [0x813f701]
        mono [0x815cd5a]
        mono [0x815d61c]
        mono [0x815dbbf]
        mono(mono_runtime_invoke+0x27) [0x80f15d7]
        mono(mono_runtime_exec_main+0xb0) [0x80f52f0]
        mono(mono_runtime_run_main+0x226) [0x80f5a16]
        mono(mono_main+0xa15) [0x8059615]
        mono [0x80586fe]
        /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xba0de3]
        mono [0x8058641]

Debug info from gdb:



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

A similar thing happens on Windows:

** (ConsoleApplication1.exe:800): WARNING **: wrong maximal instruction length
of instruction storer8_membase_reg (expected 6, got 7)

and then, in a popup message box:

** ERROR **: file mini-x86.c: line 3531 (mono_arch_output_basic_block): should
not be reached aborting...


Changing the constructor to take only 16 parameters makes the problem
disappear.


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