[Mono-bugs] [Bug 582322] New: SIGABRT when constructing java.text.DecimalFormat (through IKVM)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 23 13:13:37 EST 2010


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

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


           Summary: SIGABRT when constructing java.text.DecimalFormat
                    (through IKVM)
    Classification: Mono
           Product: Mono: Debugger
           Version: 1.2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: backend
        AssignedTo: martin at novell.com
        ReportedBy: dglick at dracorp.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET
CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8; .NET CLR 3.0.4506.2152;
NET CLR 3.5.30729; eMusic DLM/4)

Mono crashes with a SIGABRT, ERROR:mini-codegen.c:1144:mono_local_regalloc:
assertion failed: (reginfo [sreg].born_in > 0) when attempting to construct a
java.text.DecimalFormat object while debugging. The crash does not happen when
the debugger is not being used. Observed the problem while using Mono Tools for
Visual Studio, but it appears as though it's an issue with the debugger itself.

Output:

The thread 0x11d0 has exited with code 0 (0x0).
The thread 'Thread @5' (0x5) has exited with code 0 (0x0).
The thread 'Thread @7' (0x7) has exited with code 0 (0x0).
**
ERROR:mini-codegen.c:1144:mono_local_regalloc: assertion failed: (reginfo
[sreg].born_in > 0)
Stacktrace:

  at java.text.DecimalFormat..ctor (string) <IL 0x000d0, 0xffffffff>
  at java.text.DecimalFormat..ctor (string) <IL 0x000c8, 0x00195>
  at SimFront.Infrastructure.Main () [0x0004b] in SimFront/Infrastructure.cs:71
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <IL 0x0001b, 0x00039>

Native stacktrace:

    /usr/bin/mono [0x80d82db]
    [0xffffe410]
    [0xffffe430]
    /lib/libc.so.6(gsignal+0x50) [0xb761f990]
    /lib/libc.so.6(abort+0x188) [0xb76212c8]
    /usr/lib/libglib-2.0.so.0(g_assertion_message+0x123) [0xb7804f33]
    /usr/lib/libglib-2.0.so.0 [0xb78053cd]
    /usr/bin/mono [0x80d2630]
    /usr/bin/mono [0x805e581]
    /usr/bin/mono [0x8062300]
    /usr/bin/mono [0x8063051]
    /usr/bin/mono [0x8063adf]
    /usr/bin/mono [0x80db91d]
    [0xb7484066]
    [0xb5ed8ae9]
    [0xb70132fe]
    [0xb70136fa]
    /usr/bin/mono [0x8063bc5]
    /usr/bin/mono(mono_runtime_invoke+0x40) [0x8119500]
    /usr/bin/mono(mono_runtime_exec_main+0xe5) [0x811cdb5]
    /usr/bin/mono(mono_runtime_run_main+0x16b) [0x811d12b]
    /usr/bin/mono [0x8115337]
    /usr/bin/mono(mono_main+0x162c) [0x80b77cc]
    /usr/bin/mono [0x805b941]
    /lib/libc.so.6(__libc_start_main+0xe5) [0xb760b705]
    /usr/bin/mono [0x805b871]

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

Reproducible: Always

Steps to Reproduce:
To reproduce, just call:
java.text.DecimalFormat DD = new
java.text.DecimalFormat("#####0.0################");
Actual Results:  
Crash

Expected Results:  
No crash

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