Sure enough, it is a slightly different issue. It is definitely reproducible 
and only happens when the app is launched from MonoDevelop. Here’s my crash 
dump, the basic error is…

Debug info from gdb:
/tmp/mono-gdb-commands.bVNpHZ:1: Error in sourced command file:
unable to debug self

Error connecting stdout and stderr (127.0.0.1:10001)
Stacktrace:

  at (wrapper managed-to-native) 
MonoTouch.ObjCRuntime.Messaging.intptr_objc_msgSend (intptr,intptr) <IL 
0x00026, 0xffffffff>
  at MonoTouch.ObjCRuntime.Runtime.GetNSObject (intptr) [0x0001f] in 
/Developer/MonoTouch/Source/monotouch/monotouch/ObjCRuntime/Runtime.cs:210
  at MonoTouch.UIKit.UITextField.get_WeakDelegate () [0x0000b] in 
/Developer/MonoTouch/Source/monotouch/monotouch/UIKit/UITextField.g.cs:449
  at MonoTouch.UIKit.UITextField.EnsureUITextFieldDelegate () [0x00000] in 
/Developer/MonoTouch/Source/monotouch/monotouch/UIKit/UITextField.g.cs:872
  at MonoTouch.UIKit.UITextField.set_ShouldReturn 
(MonoTouch.UIKit.UITextFieldCondition) [0x00000] in 
/Developer/MonoTouch/Source/monotouch/monotouch/UIKit/UITextField.g.cs:976
  at MyAplication.BasicViewController/DataSource.GetCell 
(MonoTouch.UIKit.UITableView,MonoTouch.Foundation.NSIndexPath) [0x00119] in 
/Users/derik/Desktop/Testing/Test/SIGSEGV/BasicViewController.xib.cs:150
  at (wrapper runtime-invoke) 
<Module>.runtime_invoke_object__this___object_object 
(object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
  at (wrapper managed-to-native) 
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) 
<IL 0x0009f, 0xffffffff>
  at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x00038] in 
/Developer/MonoTouch/Source/monotouch/monotouch/UIKit/UIApplication.cs:26
  at MonoTouch.UIKit.UIApplication.Main (string[]) [0x00000] in 
/Developer/MonoTouch/Source/monotouch/monotouch/UIKit/UIApplication.cs:31
  at MyAplication.Application.Main (string[]) [0x00000] in 
/Users/derik/Desktop/Testing/Test/SIGSEGV/Main.cs:14
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object 
(object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

Native stacktrace:

                0   MyAplication                        0x000d0db8 
mono_handle_native_sigsegv + 343
                1   MyAplication                        0x0000f6ac 
mono_sigsegv_signal_handler + 322
                2   libSystem.B.dylib                   0x9623f05b _sigtramp + 
43
                3   ???                                 0xffffffff 0x0 + 
4294967295
                4   ???                                 0x09ea17f6 0x0 + 
166336502
                5   ???                                 0x09eafd74 0x0 + 
166395252
                6   ???                                 0x09eafc98 0x0 + 
166395032
                7   ???                                 0x09eafc62 0x0 + 
166394978
                8   ???                                 0x09eae8e4 0x0 + 
166389988
                9   ???                                 0x09ea77e8 0x0 + 
166361064
                10  MyAplication                        0x0000f467 
mono_jit_runtime_invoke + 1332
                11  MyAplication                        0x001ed229 
mono_runtime_invoke + 137
                12  MyAplication                        0x0029d933 
monotouch_trampoline + 2527
                13  UIKit                               0x01d49b98 
-[UITableView(UITableViewInternal) 
_createPreparedCellForGlobalRow:withIndexPath:] + 634
                14  UIKit                               0x01d3f4cc 
-[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:] + 75
                15  UIKit                               0x01d548cc 
-[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1561
                16  UIKit                               0x01d4c90c 
-[UITableView layoutSubviews] + 242
                17  QuartzCore                          0x031b1a5a -[CALayer 
layoutSublayers] + 181
                18  QuartzCore                          0x031b3ddc 
CALayerLayoutIfNeeded + 220
                19  QuartzCore                          0x031590b4 
_ZN2CA7Context18commit_transactionEPNS_11TransactionE + 310
                20  QuartzCore                          0x0315a294 
_ZN2CA11Transaction6commitEv + 292
                21  QuartzCore                          0x0315a46d 
_ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 99
                22  CoreFoundation                      0x00ea289b 
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 27
                23  CoreFoundation                      0x00e376e7 
__CFRunLoopDoObservers + 295
                24  CoreFoundation                      0x00e001d7 
__CFRunLoopRun + 1575
                25  CoreFoundation                      0x00dff840 
CFRunLoopRunSpecific + 208
                26  CoreFoundation                      0x00dff761 
CFRunLoopRunInMode + 97
                27  GraphicsServices                    0x0404e1c4 
GSEventRunModal + 217
                28  GraphicsServices                    0x0404e289 GSEventRun + 
115
                29  UIKit                               0x01ce2c93 
UIApplicationMain + 1160
                30  ???                                 0x09ea09ec 0x0 + 
166332908
                31  ???                                 0x09ea0922 0x0 + 
166332706
                32  ???                                 0x09ea0286 0x0 + 
166331014
                33  ???                                 0x09ea01d2 0x0 + 
166330834
                34  ???                                 0x09ea025d 0x0 + 
166330973
                35  MyAplication                        0x0000f467 
mono_jit_runtime_invoke + 1332
                36  MyAplication                        0x001ed229 
mono_runtime_invoke + 137
                37  MyAplication                        0x001ef910 
mono_runtime_exec_main + 669
                38  MyAplication                        0x001eecfa 
mono_runtime_run_main + 843
                39  MyAplication                        0x000a2ff3 
mono_jit_exec + 200
                40  MyAplication                        0x002a1651 main + 4060
                41  MyAplication                        0x00002779 _start + 208
                42  MyAplication                        0x000026a8 start + 40

Debug info from gdb:

/tmp/mono-gdb-commands.bVNpHZ:1: Error in sourced command file:
unable to debug self

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


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/SIGSEGV-Crash-dyld-could-not-load-inserted-library-monotouch-fixes-dylib-tp3722121p3795961.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to