[Mono-bugs] [Bug 617234] New: SIGABRT when using UIActionSheet
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jun 24 16:34:13 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=617234
http://bugzilla.novell.com/show_bug.cgi?id=617234#c0
Summary: SIGABRT when using UIActionSheet
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Runtime
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: fak at kruegersystems.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=371621)
--> (http://bugzilla.novell.com/attachment.cgi?id=371621)
A minimal repro from me. Go figure.
Description of Problem:
I was super nice and even made a minimal repro. Attached.
Error connecting stdout and stderr (127.0.0.1:10001)
Assertion failed: (cls), function _class_getMeta, file
/SourceCache/objc4_Sim/objc4-427.1.1/runtime/objc-runtime-new.m, line 4133.
Stacktrace:
at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr_IntPtr
(intptr,intptr,intptr,intptr,intptr,intptr,intptr) <0x00004>
at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr_IntPtr
(intptr,intptr,intptr,intptr,intptr,intptr,intptr) <0x00004>
at MonoTouch.UIKit.UIActionSheet..ctor
(string,MonoTouch.UIKit.UIActionSheetDelegate,string,string,string) <0x001da>
at MonoTouch.UIKit.UIActionSheet..ctor
(string,MonoTouch.UIKit.UIActionSheetDelegate) <0x0001c>
at (wrapper runtime-invoke)
<Module>.runtime_invoke_void__this___object_object
(object,intptr,intptr,intptr) <0x0004c>
at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr_Boolean
(intptr,intptr,intptr,bool) <0x00004>
at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr_Boolean
(intptr,intptr,intptr,bool) <0x00004>
at MonoTouch.UIKit.UIActionSheet.ShowFrom
(MonoTouch.UIKit.UIBarButtonItem,bool) <0x00040>
at ActionSheetBug.AppDelegate.Handle_btnClicked (object,System.EventArgs)
<0x00100>
at MonoTouch.UIKit.UIBarButtonItem/Callback.Call
(MonoTouch.Foundation.NSObject) <0x0002d>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object
(object,intptr,intptr,intptr) <0x00046>
at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
<0x00004>
at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
<0x00004>
at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x00089>
at MonoTouch.UIKit.UIApplication.Main (string[]) <0x00014>
at ActionSheetBug.Application.Main (string[]) <0x00010>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0x00043>
Native stacktrace:
0 .simlauncher-3 0x000c1cd4
mono_handle_native_sigsegv + 376
1 .simlauncher-3 0x0011990d sigabrt_signal_handler +
116
2 libSystem.B.dylib 0x9524d42b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 libSystem.B.dylib 0x952da8e5 raise + 26
5 libSystem.B.dylib 0x952f099c abort + 93
6 libSystem.B.dylib 0x952dd544 __pthread_markcancel + 0
7 libobjc.A.dylib 0x038396e9 _class_getMeta + 69
8 libobjc.A.dylib 0x03839845 _class_isInitialized +
17
9 libobjc.A.dylib 0x0383033a _class_initialize + 112
10 libobjc.A.dylib 0x038394a3 prepareForMethodLookup +
149
11 libobjc.A.dylib 0x0382e6bb lookUpMethod + 106
12 libobjc.A.dylib 0x0382e64f
_class_lookupMethodAndLoadCache + 40
13 libobjc.A.dylib 0x03844cd3 objc_msgSend + 87
14 UIKit 0x016d2861 -[UIActionSheet
initWithTitle:delegate:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:]
+ 99
15 ??? 0x087f09fa 0x0 + 142543354
16 ??? 0x087f052b 0x0 + 142542123
17 ??? 0x087f0f6d 0x0 + 142544749
18 ??? 0x087f0fc5 0x0 + 142544837
19 .simlauncher-3 0x0000dbd2 mono_jit_runtime_invoke
+ 1360
20 .simlauncher-3 0x001c8199 mono_runtime_invoke +
137
21 .simlauncher-3 0x0027af49 monotouch_trampoline +
1644
22 UIKit 0x016d449a -[UIActionSheet
_presentFromBarButtonItem:orFromRect:inView:direction:allowInteractionWithViews:backgroundStyle:animated:]
+ 1138
23 UIKit 0x016c3af6 -[UIActionSheet
showFromBarButtonItem:animated:] + 293
24 ??? 0x087ee793 0x0 + 142534547
25 ??? 0x087f0ee1 0x0 + 142544609
26 ??? 0x087effe1 0x0 + 142540769
27 ??? 0x087efebe 0x0 + 142540478
28 ??? 0x064dfa77 0x0 + 105773687
29 .simlauncher-3 0x0000dbd2 mono_jit_runtime_invoke
+ 1360
30 .simlauncher-3 0x001c8199 mono_runtime_invoke +
137
31 .simlauncher-3 0x0027b03a monotouch_trampoline +
1885
32 UIKit 0x015ffcee -[UIApplication
sendAction:to:from:forEvent:] + 119
33 UIKit 0x0181ef70
-[UIBarButtonItem(Internal) _sendAction:withEvent:] + 156
34 UIKit 0x015ffcee -[UIApplication
sendAction:to:from:forEvent:] + 119
35 UIKit 0x0167943e -[UIControl
sendAction:to:forEvent:] + 67
36 UIKit 0x0167b8c0 -[UIControl(Internal)
_sendActionsForEvents:withEvent:] + 527
37 UIKit 0x0167a46d -[UIControl
touchesEnded:withEvent:] + 458
38 UIKit 0x0161ede8 -[UIWindow
_sendTouchesForEvent:] + 513
39 UIKit 0x01604643 -[UIApplication
sendEvent:] + 403
40 UIKit 0x0160c1d8
_UIApplicationHandleEvent + 7102
41 GraphicsServices 0x03ef617c PurpleEventCallback +
1578
42 CoreFoundation 0x009fa89c CFRunLoopRunSpecific +
4076
43 CoreFoundation 0x009f98a8 CFRunLoopRunInMode + 88
44 GraphicsServices 0x03ef489d GSEventRunModal + 217
45 GraphicsServices 0x03ef4962 GSEventRun + 115
46 UIKit 0x0160a372 UIApplicationMain + 1134
47 ??? 0x064eb171 0x0 + 105820529
48 ??? 0x064eb0aa 0x0 + 105820330
49 ??? 0x064eaa35 0x0 + 105818677
50 ??? 0x064ea971 0x0 + 105818481
51 ??? 0x064ea9cc 0x0 + 105818572
52 .simlauncher-3 0x0000dbd2 mono_jit_runtime_invoke
+ 1360
53 .simlauncher-3 0x001c8199 mono_runtime_invoke +
137
54 .simlauncher-3 0x001c9ef0 mono_runtime_exec_main +
714
55 .simlauncher-3 0x001c97b1 mono_runtime_run_main +
812
56 .simlauncher-3 0x00097207 mono_jit_exec + 200
57 .simlauncher-3 0x0027e454 main + 3377
58 .simlauncher-3 0x00002922 start + 54
Debug info from gdb:
warning: Trying to remove a section from the ordered section list that did not
exist at 0x365000.
warning: Could not find object file
"/var/folders/i7/i7qGCU12EJyERd6E5iKVT++++TI/-Tmp-//cccJYspM.o" - no debug
information available for "template.m".
warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(zlib-helper.x86.o)"
more recent than executable timestamp in "/Users/fak/Library/Application
Support/iPhone
Simulator/3.2/Applications/4BE0C5EF-C0E8-4EFA-87EB-18DC2D2A6B31/ActionSheetBug.app/.simlauncher-3"
warning: Could not open OSO file
/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(zlib-helper.x86.o)
to scan for pubtypes for objfile /Users/fak/Library/Application Support/iPhone
Simulator/3.2/Applications/4BE0C5EF-C0E8-4EFA-87EB-18DC2D2A6B31/ActionSheetBug.app/.simlauncher-3
warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(monotouch-glue.x86.o)"
more recent than executable timestamp in "/Users/fak/Library/Application
Support/iPhone
Simulator/3.2/Applications/4BE0C5EF-C0E8-4EFA-87EB-18DC2D2A6B31/ActionSheetBug.app/.simlauncher-3"
warning: Could not open OSO file
/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(monotouch-glue.x86.o)
to scan for pubtypes for objfile /Users/fak/Library/Application Support/iPhone
Simulator/3.2/Applications/4BE0C5EF-C0E8-4EFA-87EB-18DC2D2A6B31/ActionSheetBug.app/.simlauncher-3
warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(gc.x86.o)"
more recent than executable timestamp in "/Users/fak/Library/Application
Support/iPhone
Simulator/3.2/Applications/4BE0C5EF-C0E8-4EFA-87EB-18DC2D2A6B31/ActionSheetBug.app/.simlauncher-3"
warning: Could not open OSO file
/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(gc.x86.o)
to scan for pubtypes for objfile /Users/fak/Library/Application Support/iPhone
Simulator/3.2/Applications/4BE0C5EF-C0E8-4EFA-87EB-18DC2D2A6B31/ActionSheetBug.app/.simlauncher-3
warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(monotouch-glue.x86.o)"
more recent than executable timestamp in "/Users/fak/Library/Application
Support/iPhone
Simulator/3.2/Applications/4BE0C5EF-C0E8-4EFA-87EB-18DC2D2A6B31/ActionSheetBug.app/.simlauncher-3"
warning: Couldn't open object file
'/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(monotouch-glue.x86.o)'
Attaching to process 4808.
Reading symbols for shared libraries . done
Reading symbols for shared libraries
.......................................................................................
done
0x951f2619 in read$UNIX2003 ()
5 0x951e72fa in mach_msg_trap ()
4 0x95215262 in __semwait_signal ()
3 0x951e7336 in semaphore_wait_trap ()
2 0x951e72fa in mach_msg_trap ()
* 1 "com.apple.main-thread" 0x951f2619 in read$UNIX2003 ()
Thread 5 (process 4808):
#0 0x951e72fa in mach_msg_trap ()
#1 0x951e7a67 in mach_msg ()
#2 0x009fa052 in CFRunLoopRunSpecific ()
#3 0x009f98a8 in CFRunLoopRunInMode ()
#4 0x04a3e633 in RunWebThread ()
#5 0x95214a19 in _pthread_start ()
#6 0x9521489e in thread_start ()
Thread 4 (process 4808):
#0 0x95215262 in __semwait_signal ()
#1 0x95240e44 in nanosleep$UNIX2003 ()
#2 0x95240d82 in usleep$UNIX2003 ()
#3 0x0027899c in monotouch_pump_gc ()
#4 0x95214a19 in _pthread_start ()
#5 0x9521489e in thread_start ()
Thread 3 (process 4808):
#0 0x951e7336 in semaphore_wait_trap ()
#1 0x00158ea0 in finalizer_thread (unused=0x0) at
./../../../mono/metadata/gc.c:1026
#2 0x002032d6 in start_wrapper (data=0x8013f70) at
./../../../mono/metadata/threads.c:661
#3 0x002456c7 in thread_start_routine (args=0x881fe34) at
./../../../mono/io-layer/wthreads.c:286
#4 0x00275ba7 in GC_start_routine (arg=0x6729f60) at
./../../libgc/pthread_support.c:1390
#5 0x95214a19 in _pthread_start ()
#6 0x9521489e in thread_start ()
Thread 2 (process 4808):
#0 0x951e72fa in mach_msg_trap ()
#1 0x951e7a67 in mach_msg ()
#2 0x00119032 in mach_exception_thread (arg=0x0) at
./../../../mono/mini/mini-darwin.c:138
#3 0x95214a19 in _pthread_start ()
#4 0x9521489e in thread_start ()
Thread 1 (process 4808):
#0 0x951f2619 in read$UNIX2003 ()
#1 0x000c1ecf in mono_handle_native_sigsegv (signal=6, ctx=0xbfffcbec) at
./../../../mono/mini/mini-exceptions.c:1826
#2 0x0011990d in sigabrt_signal_handler (_dummy=6, info=0xbfffcbac,
context=0xbfffcbec) at ../../../../mono/mini/mini-posix.c:155
#3 <signal handler called>
#4 0x95248132 in __kill ()
#5 0x95248124 in kill$UNIX2003 ()
#6 0x952da8e5 in raise ()
#7 0x952f099c in abort ()
#8 0x952dd544 in __assert_rtn ()
#9 0x038396e9 in _class_getMeta ()
#10 0x03839845 in _class_isInitialized ()
#11 0x0383033a in _class_initialize ()
#12 0x038394a3 in prepareForMethodLookup ()
#13 0x0382e6bb in lookUpMethod ()
#14 0x0382e64f in _class_lookupMethodAndLoadCache ()
#15 0x03844cd3 in objc_msgSend ()
#16 0x016d2861 in -[UIActionSheet
initWithTitle:delegate:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:]
()
#17 0x087f09fa in ?? ()
#18 0x087f052b in ?? ()
#19 0x087f0f6d in ?? ()
#20 0x087f0fc5 in ?? ()
#21 0x0000dbd2 in mono_jit_runtime_invoke (method=0x6984a1c, obj=0x64a8e60,
params=0xbfffd100, exc=0x0) at ../../../../mono/mini/mini.c:4733
#22 0x001c8199 in mono_runtime_invoke (method=0x6984a1c, obj=0x64a8e60,
params=0xbfffd100, exc=0x0) at ../../../../mono/metadata/object.c:2615
#23 0x0027af49 in monotouch_trampoline ()
#24 0x016d449a in -[UIActionSheet
_presentFromBarButtonItem:orFromRect:inView:direction:allowInteractionWithViews:backgroundStyle:animated:]
()
#25 0x016c3af6 in -[UIActionSheet showFromBarButtonItem:animated:] ()
#26 0x087ee793 in ?? ()
#27 0x087f0ee1 in ?? ()
#28 0x087effe1 in ?? ()
#29 0x087efebe in ?? ()
#30 0x064dfa77 in ?? ()
#31 0x0000dbd2 in mono_jit_runtime_invoke (method=0x694897c, obj=0x6738a20,
params=0xbfffd490, exc=0x0) at ../../../../mono/mini/mini.c:4733
#32 0x001c8199 in mono_runtime_invoke (method=0x694897c, obj=0x6738a20,
params=0xbfffd490, exc=0x0) at ../../../../mono/metadata/object.c:2615
#33 0x0027b03a in monotouch_trampoline ()
#34 0x015ffcee in -[UIApplication sendAction:to:from:forEvent:] ()
#35 0x0181ef70 in -[UIBarButtonItem(Internal) _sendAction:withEvent:] ()
#36 0x015ffcee in -[UIApplication sendAction:to:from:forEvent:] ()
#37 0x0167943e in -[UIControl sendAction:to:forEvent:] ()
#38 0x0167b8c0 in -[UIControl(Internal) _sendActionsForEvents:withEvent:] ()
#39 0x0167a46d in -[UIControl touchesEnded:withEvent:] ()
#40 0x0161ede8 in -[UIWindow _sendTouchesForEvent:] ()
#41 0x01604643 in -[UIApplication sendEvent:] ()
#42 0x0160c1d8 in _UIApplicationHandleEvent ()
#43 0x03ef617c in PurpleEventCallback ()
#44 0x009fa89c in CFRunLoopRunSpecific ()
#45 0x009f98a8 in CFRunLoopRunInMode ()
#46 0x03ef489d in GSEventRunModal ()
#47 0x03ef4962 in GSEventRun ()
#48 0x0160a372 in UIApplicationMain ()
#49 0x064eb171 in ?? ()
#50 0x064eb0aa in ?? ()
#51 0x064eaa35 in ?? ()
#52 0x064ea971 in ?? ()
#53 0x064ea9cc in ?? ()
#54 0x0000dbd2 in mono_jit_runtime_invoke (method=0x88eb874, obj=0x0,
params=0xbfffe8a8, exc=0x0) at ../../../../mono/mini/mini.c:4733
#55 0x001c8199 in mono_runtime_invoke (method=0x88eb874, obj=0x0,
params=0xbfffe8a8, exc=0x0) at ../../../../mono/metadata/object.c:2615
#56 0x001c9ef0 in mono_runtime_exec_main (method=0x88eb874, args=0x9143700,
exc=0x0) at ../../../../mono/metadata/object.c:3581
#57 0x001c97b1 in mono_runtime_run_main (method=0x88eb874, argc=0,
argv=0xbfffea90, exc=0x0) at ../../../../mono/metadata/object.c:3355
#58 0x00097207 in mono_jit_exec (domain=0x649fe58, assembly=0x80847b0, argc=1,
argv=0xbfffea8c) at ../../../../mono/mini/driver.c:1094
#59 0x0027e454 in main ()
=================================================================
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.
=================================================================
Steps to reproduce the problem:
1.
2.
Actual Results:
Expected Results:
How often does this happen?
Additional Information:
--
Configure bugmail: http://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