[Mono-bugs] [Bug 547151] New: UnKnown class exception - causing problems on Mac OS X Leopard

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 15 05:17:26 EDT 2009


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


           Summary: UnKnown class exception - causing problems on Mac OS X
                    Leopard
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: x86
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: Jochenvanwylick at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9

The application I'm developing is working fine on my MacBook with:
- MonoTouch 1.1.1.
- Mono 2.4.2.3_4
- Latest MonoDevelop
- Latest iPhone SDK for Snow Leopard
- Snow Leopard

If my client checks out the application ( using SVN ) on his machine he gets an
exception everytime ( see additional info ) - when he opens a Table View
Control that calls a custom cell.

The only difference is my client has Leopard ( and thus a different version of
the SDK, the rest is the same - we checked this morning ). 
I checked out a version of the application on another MacBook, running Snow
Leopard, no problems. ( So I don't think there are problems in the repository
).

The error appears different from regular developing errors - therefore this bug
report.

Reproducible: Always

Steps to Reproduce:
1. Have a working application, use a Table View Control with custom cellcontrol
2. Run it on Leopard
3. Check if the error occurs
Actual Results:  
Application shuts down - everytime

Expected Results:  
Working, like on my machine

Error text :
2009-10-14 14:37:44.787 Application[2752:20b] Unknown class occurenceCell in
Interface Builder file.

Stacktrace:

  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke
(object,object[],System.Exception&) <0x00004>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke
(object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x0011d>
  at System.Reflection.MonoProperty.SetValue
(object,object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x000ce>
  at System.Reflection.PropertyInfo.SetValue (object,object,object[]) <0x00028>
  at
application.Models.SQLiteCommand/<ExecuteQuery>c__Iterator0`1<object>.MoveNext
() <0x00239>
  at System.Collections.Generic.List`1<object>.AddEnumerable
(System.Collections.Generic.IEnumerable`1<object>) <0x0008b>
  at System.Collections.Generic.List`1<object>..ctor
(System.Collections.Generic.IEnumerable`1<object>) <0x00089>
  at System.Linq.Enumerable.ToList<object>
(System.Collections.Generic.IEnumerable`1<object>) <0x00040>
  at application.Models.DataRepository.CreateListFromQuery<object>
(string,object[]) <0x000ca>
  at application.Models.DataRepository.GetOccurencesInCategory
(application.Models.applicationCategory) <0x0004e>
  at application.ViewControllers.SubCategoryTVC/DataSource.GetCell
(MonoTouch.UIKit.UITableView,MonoTouch.Foundation.NSIndexPath) <0x00116>
  at (wrapper runtime-invoke)
<Module>.runtime_invoke_object__this___object_object
(object,intptr,intptr,intptr) <0xffffffff>
  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)
<0xffffffff>
  at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x00089>
  at MonoTouch.UIKit.UIApplication.Main (string[]) <0x00014>
  at application.Application.StartApp (string[]) <0x00022>
  at application.Application/<Main>c__AnonStorey1.<>m__0 () <0x00014>
  at application.applicationWebSync.SynchronizeWithWebservice () <0x0022a>
  at application.Application.Main (string[]) <0x0008a>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    0   application                              0x000929fa
mono_handle_native_sigsegv + 266
    1   application                              0x0000600a
mono_sigsegv_signal_handler + 298
    2   libSystem.B.dylib                   0x917b82bb _sigtramp + 43
    3   ???                                 0xffffffff 0x0 + 4294967295
    4   application                              0x0015e509
mono_runtime_class_init + 25
    5   application                              0x0000c390
mono_jit_compile_method + 288
    6   application                              0x0015c439
mono_runtime_invoke_array + 601
    7   application                              0x001077dc
mono_domain_lookup_shared_generic + 22972
    8   ???                                 0x077b5086 0x0 + 125522054
    9   ???                                 0x077b4dfe 0x0 + 125521406
    10  ???                                 0x077b4c6f 0x0 + 125521007
    11  ???                                 0x077b4b99 0x0 + 125520793
    12  ???                                 0x077b44ba 0x0 + 125519034
    13  ???                                 0x077b419c 0x0 + 125518236
    14  ???                                 0x077b4042 0x0 + 125517890
    15  ???                                 0x077b3f51 0x0 + 125517649
    16  ???                                 0x077b3d73 0x0 + 125517171
    17  ???                                 0x077b84c7 0x0 + 125535431
    18  ???                                 0x077b8697 0x0 + 125535895
    19  ???                                 0x077b551c 0x0 + 125523228
    20  application                              0x0000c3ad
mono_jit_compile_method + 317
    21  application                              0x001f2f15
monotouch_trampoline + 1552
    22  UIKit                               0x016cee60 UIDrawNavBarBackground +
58916
    23  UIKit                               0x016c6a97 UIDrawNavBarBackground +
25179
    24  UIKit                               0x016d95a3 UIDrawNavBarBackground +
101735
    25  UIKit                               0x016d0953 UIDrawNavBarBackground +
65815
    26  QuartzCore                          0x03ba82b0
CA_CGPointApplyTransform_ + 4341
    27  QuartzCore                          0x03ba806f
CA_CGPointApplyTransform_ + 3764
    28  QuartzCore                          0x03ba78c6
CA_CGPointApplyTransform_ + 1803
    29  QuartzCore                          0x03ba753a
CA_CGPointApplyTransform_ + 895
    30  QuartzCore                          0x03baf838 CAGetMaximumImageBytes +
104
    31  CoreFoundation                      0x008ad252 CFRunLoopRunSpecific +
5634
    32  CoreFoundation                      0x008ac65f CFRunLoopRunSpecific +
2575
    33  CoreFoundation                      0x008abc48 CFRunLoopRunInMode + 88
    34  GraphicsServices                    0x0109878d GSEventRunModal + 217
    35  GraphicsServices                    0x01098852 GSEventRun + 115
    36  UIKit                               0x0168a003 UIApplicationMain + 1157
    37  ???                                 0x04e9e671 0x0 + 82437745
    38  ???                                 0x04e9e5aa 0x0 + 82437546
    39  ???                                 0x04e9de0d 0x0 + 82435597
    40  ???                                 0x04e9dd3b 0x0 + 82435387
    41  ???                                 0x04e9dd0d 0x0 + 82435341
    42  ???                                 0x03e8533b 0x0 + 65557307
    43  ???                                 0x03e84e6b 0x0 + 65556075
    44  ???                                 0x03e84ef3 0x0 + 65556211
    45  application                              0x0000c3ad
mono_jit_compile_method + 317
    46  application                              0x0015ab5b
mono_runtime_exec_main + 251
    47  application                              0x0015d785
mono_runtime_run_main + 405
    48  application                              0x001f5039 main + 451
    49  application                              0x00001a66 start + 54
    50  ???                                 0x00000001 0x0 + 1

Debug info from gdb:

warning: Trying to remove a section from the ordered section list that did not
exist at 0x2d3000.
warning: Could not find object file
"/var/folders/eO/eOqyDVYFFwi-aPACB6FSJk+++TI/-Tmp-/tmp3636a522.tmp/main.o" - no
debug information available for
"/var/folders/eO/eOqyDVYFFwi-aPACB6FSJk+++TI/-Tmp-/tmp3636a522.tmp/main.m".

Attaching to process 1067.
Reading symbols for shared libraries . done
Reading symbols for shared libraries .......................................
done
0x9176ff95 in read$UNIX2003 ()
  10 process 1067 thread 0x3907  0x9174c286 in mach_msg_trap ()
  9 process 1067 thread 0x3703  0x9175346e in __semwait_signal ()
  8 process 1067 thread 0x3503  0x9175346e in __semwait_signal ()
  7 process 1067 thread 0x3303  0x9175346e in __semwait_signal ()
  6 process 1067 thread 0x3003  0x917b2e0e in poll$UNIX2003 ()
  5 process 1067 thread 0x2c03  0x9175346e in __semwait_signal ()
  4 process 1067 thread 0x2603  0x9174c2c2 in semaphore_wait_trap ()
  3 process 1067 thread 0x2203  0x9175346e in __semwait_signal ()
  2 process 1067 thread 0x1103  0x9174c286 in mach_msg_trap ()
* 1 process 1067 thread 0x20b  0x9176ff95 in read$UNIX2003 ()

Thread 10 (process 1067 thread 0x3907):
#0  0x9174c286 in mach_msg_trap ()
#1  0x91753a7c in mach_msg ()
#2  0x008ac382 in CFRunLoopRunSpecific ()
#3  0x008abc48 in CFRunLoopRunInMode ()
#4  0x02d6f803 in RunWebThread ()
#5  0x9177d155 in _pthread_start ()
#6  0x9177d012 in thread_start ()

Thread 9 (process 1067 thread 0x3703):
#0  0x9175346e in __semwait_signal ()
#1  0x9177e3e6 in _pthread_cond_wait ()
#2  0x9177ddcd in pthread_cond_wait$UNIX2003 ()
#3  0x001ac8b9 in _wapi_handle_timedwait_signal_handle (handle=0x3e120b4,
timeout=0x0, alertable=1, poll=0) at ../../../../mono/io-layer/handles.c:1611
#4  0x001ac928 in _wapi_handle_wait_signal_handle (handle=0x14e, alertable=334)
at ../../../../mono/io-layer/handles.c:1554
#5  0x001c150f in WaitForSingleObjectEx (handle=0x3e120b4, timeout=4294967295,
alertable=1) at ../../../../mono/io-layer/wait.c:205
#6  0x00187f97 in async_invoke_thread (data=0xb0793000) at
./../../../mono/metadata/threadpool.c:1462
#7  0x0018f646 in start_wrapper (data=0x3faa8b0) at
./../../../mono/metadata/threads.c:657
#8  0x001c3cd6 in thread_start_routine (args=0x3e12988) at
./../../../mono/io-layer/wthreads.c:286
#9  0x001ee318 in GC_start_routine (arg=0x3e5de40) at
./../../libgc/pthread_support.c:1390
#10 0x9177d155 in _pthread_start ()
#11 0x9177d012 in thread_start ()

Thread 8 (process 1067 thread 0x3503):
#0  0x9175346e in __semwait_signal ()
#1  0x9177e3e6 in _pthread_cond_wait ()
#2  0x9177ddcd in pthread_cond_wait$UNIX2003 ()
#3  0x001ac8b9 in _wapi_handle_timedwait_signal_handle (handle=0x3e12684,
timeout=0x0, alertable=1, poll=0) at ../../../../mono/io-layer/handles.c:1611
#4  0x001ac928 in _wapi_handle_wait_signal_handle (handle=0x14e, alertable=334)
at ../../../../mono/io-layer/handles.c:1554
#5  0x001c150f in WaitForSingleObjectEx (handle=0x3e12684, timeout=4294967295,
alertable=1) at ../../../../mono/io-layer/wait.c:205
#6  0x00187c77 in async_invoke_io_thread (data=0x0) at
./../../../mono/metadata/threadpool.c:355
#7  0x0018f646 in start_wrapper (data=0x3fa9ba0) at
./../../../mono/metadata/threads.c:657
#8  0x001c3cd6 in thread_start_routine (args=0x3e1290c) at
./../../../mono/io-layer/wthreads.c:286
#9  0x001ee318 in GC_start_routine (arg=0x3e5de40) at
./../../libgc/pthread_support.c:1390
#10 0x9177d155 in _pthread_start ()
#11 0x9177d012 in thread_start ()

Thread 7 (process 1067 thread 0x3303):
#0  0x9175346e in __semwait_signal ()
#1  0x9177e3e6 in _pthread_cond_wait ()
#2  0x9177ddcd in pthread_cond_wait$UNIX2003 ()
#3  0x001ac8b9 in _wapi_handle_timedwait_signal_handle (handle=0x3e12684,
timeout=0x0, alertable=1, poll=0) at ../../../../mono/io-layer/handles.c:1611
#4  0x001ac928 in _wapi_handle_wait_signal_handle (handle=0x14e, alertable=334)
at ../../../../mono/io-layer/handles.c:1554
#5  0x001c150f in WaitForSingleObjectEx (handle=0x3e12684, timeout=4294967295,
alertable=1) at ../../../../mono/io-layer/wait.c:205
#6  0x00187c77 in async_invoke_io_thread (data=0x0) at
./../../../mono/metadata/threadpool.c:355
#7  0x0018f646 in start_wrapper (data=0x3faa3d0) at
./../../../mono/metadata/threads.c:657
#8  0x001c3cd6 in thread_start_routine (args=0x3e12798) at
./../../../mono/io-layer/wthreads.c:286
#9  0x001ee318 in GC_start_routine (arg=0x3e5de40) at
./../../libgc/pthread_support.c:1390
#10 0x9177d155 in _pthread_start ()
#11 0x9177d012 in thread_start ()

Thread 6 (process 1067 thread 0x3003):
#0  0x917b2e0e in poll$UNIX2003 ()
#1  0x00186bea in socket_io_poll_main (p=0x2afa80) at
./../../../mono/metadata/threadpool.c:479
#2  0x0018f646 in start_wrapper (data=0x3fa9620) at
./../../../mono/metadata/threads.c:657
#3  0x001c3cd6 in thread_start_routine (args=0x3e1271c) at
./../../../mono/io-layer/wthreads.c:286
#4  0x001ee318 in GC_start_routine (arg=0x3e5de40) at
./../../libgc/pthread_support.c:1390
#5  0x9177d155 in _pthread_start ()
#6  0x9177d012 in thread_start ()

Thread 5 (process 1067 thread 0x2c03):
#0  0x9175346e in __semwait_signal ()
#1  0x9177e3e6 in _pthread_cond_wait ()
#2  0x9177ddcd in pthread_cond_wait$UNIX2003 ()
#3  0x001ac8b9 in _wapi_handle_timedwait_signal_handle (handle=0x3e120b4,
timeout=0x0, alertable=1, poll=0) at ../../../../mono/io-layer/handles.c:1611
#4  0x001ac928 in _wapi_handle_wait_signal_handle (handle=0x14e, alertable=334)
at ../../../../mono/io-layer/handles.c:1554
#5  0x001c150f in WaitForSingleObjectEx (handle=0x3e120b4, timeout=4294967295,
alertable=1) at ../../../../mono/io-layer/wait.c:205
#6  0x00187f97 in async_invoke_thread (data=0xb038b000) at
./../../../mono/metadata/threadpool.c:1462
#7  0x0018f646 in start_wrapper (data=0x3f9dd20) at
./../../../mono/metadata/threads.c:657
#8  0x001c3cd6 in thread_start_routine (args=0x3e1252c) at
./../../../mono/io-layer/wthreads.c:286
#9  0x001ee318 in GC_start_routine (arg=0x3e5df00) at
./../../libgc/pthread_support.c:1390
#10 0x9177d155 in _pthread_start ()
#11 0x9177d012 in thread_start ()

Thread 4 (process 1067 thread 0x2603):
#0  0x9174c2c2 in semaphore_wait_trap ()
#1  0x000fe200 in finalizer_thread (unused=0x0) at
./../../../mono/metadata/gc.c:1022
#2  0x0018f646 in start_wrapper (data=0x3f140b0) at
./../../../mono/metadata/threads.c:657
#3  0x001c3cd6 in thread_start_routine (args=0x3e12434) at
./../../../mono/io-layer/wthreads.c:286
#4  0x001ee318 in GC_start_routine (arg=0x3e5df60) at
./../../libgc/pthread_support.c:1390
#5  0x9177d155 in _pthread_start ()
#6  0x9177d012 in thread_start ()

Thread 3 (process 1067 thread 0x2203):
#0  0x9175346e in __semwait_signal ()
#1  0x917532ef in nanosleep$UNIX2003 ()
#2  0x001a5fd0 in collection_thread (unused=0x0) at
./../../../mono/io-layer/collection.c:34
#3  0x9177d155 in _pthread_start ()
#4  0x9177d012 in thread_start ()

Thread 2 (process 1067 thread 0x1103):
#0  0x9174c286 in mach_msg_trap ()
#1  0x91753a7c in mach_msg ()
#2  0x000c5dca in mach_exception_thread (arg=0x0) at
./../../../mono/mini/mini-darwin.c:131
#3  0x001ee318 in GC_start_routine (arg=0x3e5df60) at
./../../libgc/pthread_support.c:1390
#4  0x9177d155 in _pthread_start ()
#5  0x9177d012 in thread_start ()

Thread 1 (process 1067 thread 0x20b):
#0  0x9176ff95 in read$UNIX2003 ()
#1  0x00092b3a in mono_handle_native_sigsegv (signal=11, ctx=0xbfffcbd0) at
./../../../mono/mini/mini-exceptions.c:1589
#2  0x0000600a in mono_sigsegv_signal_handler (_dummy=10, info=0xbfffcb90,
context=0xbfffcbd0) at ../../../../mono/mini/mini.c:4712
#3  <signal handler called>
#4  mono_runtime_class_init_full (vtable=0x0, raise_exception=1) at
./../../../mono/metadata/object.c:255
#5  0x0015e509 in mono_runtime_class_init (vtable=0x0) at
./../../../mono/metadata/object.c:235
#6  0x0000c390 in mono_jit_runtime_invoke (method=0x41b66f4, obj=0x3ea62a0,
params=0xbfffcd50, exc=0x0) at ../../../../mono/mini/mini.c:4568
#7  0x0015c439 in mono_runtime_invoke_array (method=0x41b66f4, obj=0x3ea62a0,
params=0x4e5e150, exc=0x0) at ../../../../mono/metadata/object.c:3718
#8  0x001077dc in ves_icall_InternalInvoke (method=0x0, this=0x3ea62a0,
params=0x4e5e150, exc=0xbfffcf14) at ../../../../mono/metadata/icall.c:2831
#9  0x077b5086 in ?? ()
#10 0x077b4dfe in ?? ()
#11 0x077b4c6f in ?? ()
#12 0x077b4b99 in ?? ()
#13 0x077b44ba in ?? ()
#14 0x077b419c in ?? ()
#15 0x077b4042 in ?? ()
#16 0x077b3f51 in ?? ()
#17 0x077b3d73 in ?? ()
#18 0x077b84c7 in ?? ()
#19 0x077b8697 in ?? ()
#20 0x077b551c in ?? ()
#21 0x0000c3ad in mono_jit_runtime_invoke (method=0x4081284, obj=0x4d74400,
params=0xbfffd1c0, exc=0x0) at ../../../../mono/mini/mini.c:4616
#22 0x001f2f15 in monotouch_trampoline ()
#23 0x016cee60 in -[UITableView(UITableViewInternal)
_createPreparedCellForGlobalRow:withIndexPath:] ()
#24 0x016c6a97 in -[UITableView(UITableViewInternal)
_createPreparedCellForGlobalRow:] ()
#25 0x016d95a3 in -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow] ()
#26 0x016d0953 in -[UITableView layoutSubviews] ()
#27 0x03ba82b0 in -[CALayer layoutSublayers] ()
#28 0x03ba806f in CALayerLayoutIfNeeded ()
#29 0x03ba78c6 in CA::Context::commit_transaction ()
#30 0x03ba753a in CA::Transaction::commit ()
#31 0x03baf838 in CA::Transaction::observer_callback ()
#32 0x008ad252 in __CFRunLoopDoObservers ()
#33 0x008ac65f in CFRunLoopRunSpecific ()
#34 0x008abc48 in CFRunLoopRunInMode ()
#35 0x0109878d in GSEventRunModal ()
#36 0x01098852 in GSEventRun ()
#37 0x0168a003 in UIApplicationMain ()
#38 0x04e9e671 in ?? ()
#39 0x04e9e5aa in ?? ()
#40 0x04e9de0d in ?? ()
#41 0x04e9dd3b in ?? ()
#42 0x04e9dd0d in ?? ()
#43 0x03e8533b in ?? ()
#44 0x03e84e6b in ?? ()
#45 0x03e84ef3 in ?? ()
#46 0x0000c3ad in mono_jit_runtime_invoke (method=0x408736c, obj=0x0,
params=0xbffff08c, exc=0x0) at ../../../../mono/mini/mini.c:4616
#47 0x0015ab5b in mono_runtime_exec_main (method=0x408736c, args=0x4d69c50,
exc=0x0) at ../../../../mono/metadata/object.c:3515
#48 0x0015d785 in mono_runtime_run_main (method=0x408736c, argc=0,
argv=0xbffff138, exc=0x0) at ../../../../mono/metadata/object.c:3295
#49 0x001f5039 in main ()

=================================================================
Got a SIGSEGV 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: 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