[Mono-bugs] [Bug 702594] New: SIGABRT by mini.c:3061 while starting up app

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 28 06:40:57 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=702594#c0


           Summary: SIGABRT by mini.c:3061 while starting up app
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: iPad
        OS/Version: Apple iOS 4.3
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: markus.meyer at bissantz.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: ---


Description of Problem:

When starting the app on iPhone/iPad, it crashes with a SIGABRT and an
assertion violation:
* Assertion at ../../../../mono/mini/mini.c:5054, condition `vtable' not met

Experimenting around, also the following assertion violation occurred:
* Assertion at ../../../../mono/mini/mini.c:3061, condition `target' not met

The two stack traces are attached below.

Steps to reproduce the problem:
1. Compile attached solution with monotouch, important: compile for debugging,
use the iPhone/Debug configuration
2. Upload app to device
3. Start app on device
4. SIGABRT is expected

The behaviour occurs if and only if the option "Enable debugging" in
MonoDevelop is checked.

Things I have checked which didn't work:
- restart device
- remove App on device, reinstall App on device
- rebuild solution
- delete obj/bin folders
- rename app identifier
- use different provisioning profiles
- restart MonoDevelop 

Actual Results:

The app crashes before any views are displayed.

Expected Results:

The app start up normally and displays the hello world view

How often does this happen? 

Almost every time the app is started. In one of ten cases the app starts
normally though.


Additional Information:

Loaded assembly:
/private/var/mobile/Applications/A8F2BE48-C3B7-4E5E-B257-56379818C089/Notifications.app/System.dll
[External]
Loaded assembly:
/private/var/mobile/Applications/A8F2BE48-C3B7-4E5E-B257-56379818C089/Notifications.app/monotouch.dll
[External]
* Assertion at ../../../../mono/mini/mini.c:5054, condition `vtable' not met

Stacktrace:

  at System.TypeLoadException..ctor (string,string) <0x00023>
  at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    0   NotificationApp                     0x002003ac
mono_handle_native_sigsegv + 412
    1   NotificationApp                     0x00227598 sigabrt_signal_handler +
148
    2   libsystem_c.dylib                   0x3110572f _sigtramp + 42
    3   libsystem_c.dylib                   0x310fa3bb pthread_kill + 58
    4   libsystem_c.dylib                   0x310f2bff abort + 78
    5   NotificationApp                     0x0033c5d0 monoeg_g_logv + 248
    6   NotificationApp                     0x0033c664 monoeg_assertion_message
+ 44
    7   NotificationApp                     0x001e3a94
mono_jit_compile_method_inner + 208
    8   NotificationApp                     0x001e4cdc
mono_jit_compile_method_with_opt + 612
    9   NotificationApp                     0x001e4ef0 mono_jit_compile_method
+ 52
    10  NotificationApp                     0x001f949c mono_aot_plt_resolve +
316
    11  NotificationApp                     0x00202a50 mono_aot_plt_trampoline
+ 92
    12  NotificationApp                     0x0018e8c0
generic_trampoline_aot_plt + 136
    13  NotificationApp                     0x0015e5e8
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200
    14  NotificationApp                     0x001e6014 mono_jit_runtime_invoke
+ 2800
    15  NotificationApp                     0x002d4c40 mono_runtime_invoke +
140
    16  NotificationApp                     0x00264580
create_exception_two_strings + 332
    17  NotificationApp                     0x002645d8
mono_exception_from_name_two_strings + 68
    18  NotificationApp                     0x00264a70
mono_get_exception_type_load + 160
    19  NotificationApp                     0x0024fe4c
mono_class_get_exception_for_failure + 492
    20  NotificationApp                     0x002d17f0 mono_class_vtable_full +
112
    21  NotificationApp                     0x001e579c mono_jit_runtime_invoke
+ 632
    22  NotificationApp                     0x002d4c40 mono_runtime_invoke +
140
    23  NotificationApp                     0x00357184 monotouch_init + 880
    24  NotificationApp                     0x001e0568 main + 3160
    25  NotificationApp                     0x00002da4 start + 52

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

Loaded assembly:
/private/var/mobile/Applications/A8F2BE48-C3B7-4E5E-B257-56379818C089/Notifications.app/System.dll
[External]
Loaded assembly:
/private/var/mobile/Applications/A8F2BE48-C3B7-4E5E-B257-56379818C089/Notifications.app/monotouch.dll
[External]
* Assertion at ../../../../mono/mini/mini.c:3061, condition `target' not met

Stacktrace:


Native stacktrace:

    0   NotificationApp                     0x002003a4
mono_handle_native_sigsegv + 412
    1   NotificationApp                     0x00227590 sigabrt_signal_handler +
148
    2   libsystem_c.dylib                   0x3110572f _sigtramp + 42
    3   libsystem_c.dylib                   0x310fa3bb pthread_kill + 58
    4   libsystem_c.dylib                   0x310f2bff abort + 78
    5   NotificationApp                     0x0033c5c8 monoeg_g_logv + 248
    6   NotificationApp                     0x0033c65c monoeg_assertion_message
+ 44
    7   NotificationApp                     0x001e2740
mono_resolve_patch_target + 1096
    8   NotificationApp                     0x001f7680 load_method + 1764
    9   NotificationApp                     0x001f8f00 mono_aot_get_method +
2624
    10  NotificationApp                     0x001e3a28
mono_jit_compile_method_inner + 108
    11  NotificationApp                     0x001e4cd4
mono_jit_compile_method_with_opt + 612
    12  NotificationApp                     0x001e5854 mono_jit_runtime_invoke
+ 824
    13  NotificationApp                     0x002d4c38 mono_runtime_invoke +
140
    14  NotificationApp                     0x002cda98
mono_runtime_class_init_full + 1920
    15  NotificationApp                     0x002cd310 mono_runtime_class_init
+ 28
    16  NotificationApp                     0x001e3a94
mono_jit_compile_method_inner + 216
    17  NotificationApp                     0x001e4cd4
mono_jit_compile_method_with_opt + 612
    18  NotificationApp                     0x001e5854 mono_jit_runtime_invoke
+ 824
    19  NotificationApp                     0x002d4c38 mono_runtime_invoke +
140
    20  NotificationApp                     0x00357190 monotouch_init + 900
    21  NotificationApp                     0x001e0560 main + 3160
    22  NotificationApp                     0x00002da4 start + 52

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

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