[Mono-bugs] [Bug 359651] New: [ARM] Crash with (mono_arch_emit_prolog): assertion failed: (arm_is_imm12 (doffset))

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 7 12:12:21 EST 2008


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


           Summary: [ARM] Crash with (mono_arch_emit_prolog): assertion
                    failed: (arm_is_imm12 (doffset))
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: JIT
        AssignedTo: vargaz at gmail.com
        ReportedBy: timcussins at eml.cc
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Created an attachment (id=193673)
 --> (https://bugzilla.novell.com/attachment.cgi?id=193673)
Source code for simple messagebox app.

Using mono built for armel, softfloat r95134

Description of Problem:
Attempting to run a simple app that presents a messagebox (see attached).
Application fails in mono with:

<output>
Nokia-N800-50-2:~# mono --debug bin/messagebox.exe
MessageBoxTestApp can write to Console.
mono[2125]: GLIB ERROR ** default - file mini-arm.c: line 3358
(mono_arch_emit_prolog): assertion failed: (arm_is_imm12 (doffset))
aborting...
Stacktrace:

  at System.Windows.Forms.Theming.ThemeElements.DrawButton
(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.Theming.ButtonThemeState,System.Drawing.Color,System.Drawing.Color)
[0x00015] in
/scratchbox/users/timc/home/timc/work/mono-maemo-dev/host/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Theming/ThemeElements.cs:72
  at System.Windows.Forms.Theming.ThemeElements.DrawButton
(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.Theming.ButtonThemeState,System.Drawing.Color,System.Drawing.Color)
[0x00015] in
/scratchbox/users/timc/home/timc/work/mono-maemo-dev/host/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Theming/ThemeElements.cs:72

Native stacktrace:

        mono [0x11ad50]
        /usr/lib/libglib-2.0.so.0(g_logv+0x400) [0x41177010]
        /usr/lib/libglib-2.0.so.0(g_log+0x1c) [0x41177050]
        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x6c) [0x4117744c]
        mono [0x2f700]

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

Steps to reproduce the problem:
1. Compile attached source on mono 1.2.4 (Kubuntu 7.10)
2. Run MessageBox.exe on N800 (armel/maemo device)

Actual Results:
MesageBox appears momentarily (1 second), but crashes before the OK button is
drawn.

Expected Results:
MessageBox to be displayed correctly and wait for click of OK button...

How often does this happen? 
Every time program is executed.


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