Just verified that this crashes when trying to validate the superview. That
is, the following line crashes when checking if the parent superview is not
null:
368: if (cellDesc.Cell.Superview != null)
cellDesc.Cell.RemoveFromSuperview();
Stacktrace:
at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (intptr,intptr) <IL
0x00026, 0xffffffff>
at MonoTouch.UIKit.UIView.get_Superview () [0x0002b] in
/Developer/MonoTouch/Source/monotouch/src/UIKit/UIView.g.cs:1316
at Teraport.Controls.UIViewScroller.slideCellsLeft () [0x0002e] in
/Users/dj_technohead/Projects/Teraport/Monotouch/Teraport.Controls/UIViewScroller.xib.cs:368
at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <IL 0x0004e, 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) [0x00042]
in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29
at RNDVoo_iPhone.Application.Main (string[]) [0x00000] in
/Users/dj_technohead/Projects/RndVoo/RndVooiPhoneApp/Main.cs:24
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
Native stacktrace:
0 RNDVoo_iPhone 0x0009c96c
mono_handle_native_sigsegv + 284
1 RNDVoo_iPhone 0x00013868
mono_sigsegv_signal_handler + 248
2 libsystem_c.dylib 0x94a5159b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 ??? 0x0c2b8ccb 0x0 + 204180683
5 ??? 0x0872ebf4 0x0 + 141749236
6 ??? 0x10d54b72 0x0 + 282413938
7 ??? 0x087f6d48 0x0 + 142568776
8 RNDVoo_iPhone 0x00017bd2
mono_jit_runtime_invoke
+ 722
9 RNDVoo_iPhone 0x0017991e mono_runtime_invoke +
126
10 RNDVoo_iPhone 0x00228562 monotouch_trampoline
+
3442
11 UIKit 0x00b0d499
-[UIViewAnimationState
sendDelegateAnimationDidStop:finished:] + 519
12 UIKit 0x00b0d584
-[UIViewAnimationState
animationDidStop:finished:] + 73
13 QuartzCore 0x015aae00
_ZN2CA5Layer23run_animation_callbacksEPv + 288
14 libdispatch.dylib 0x027584f0
_dispatch_main_queue_callback_4CF + 327
15 CoreFoundation 0x016af833 __CFRunLoopRun + 2003
16 CoreFoundation 0x016aedb4 CFRunLoopRunSpecific
+
212
17 CoreFoundation 0x016aeccb CFRunLoopRunInMode +
123
18 GraphicsServices 0x028ad879 GSEventRunModal + 207
19 GraphicsServices 0x028ad93e GSEventRun + 114
20 UIKit 0x00adca9b UIApplicationMain +
1175
21 ??? 0x0c2b61ad 0x0 + 204169645
22 ??? 0x0c2b52b0 0x0 + 204165808
23 ??? 0x0c2b4e4c 0x0 + 204164684
24 ??? 0x0c2b50fe 0x0 + 204165374
25 RNDVoo_iPhone 0x00017bd2
mono_jit_runtime_invoke
+ 722
26 RNDVoo_iPhone 0x0017991e mono_runtime_invoke +
126
27 RNDVoo_iPhone 0x0017dc44
mono_runtime_exec_main +
420
28 RNDVoo_iPhone 0x0017dfb5
mono_runtime_run_main +
725
29 RNDVoo_iPhone 0x000731a5 mono_jit_exec + 149
30 RNDVoo_iPhone 0x00010a87 main + 3063
31 RNDVoo_iPhone 0x0000b74d start + 53
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/RemoveFromSuperview-crashing-tp4384611p4405691.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch