[MonoTouch] Updated to iOS 5 and now my app crashes
ayoung
andrewdyoung at gmail.com
Tue Oct 18 17:38:04 EDT 2011
Ok. I found out what the issue was. I was setting UIPickerViewDataSource.GetRowsInComponent() to return int.MaxValue which (I'm guessing) is too high of a number for native. I just lowered the value returned to something more tolerable like 300000.
On Saturday, October 15, 2011 at 9:36, Matt Jones [via MonoTouch] wrote:
> I've had this too. Does the debug build work on the 'phone?
>
> For me I had to install SDK 5.0, clean and reboot for it to start working again.
>
> Cheers, Matt
>
> On 15 October 2011 15:43, Sebastien Pouliot <[hidden email] (/user/SendEmail.jtp?type=node&node=3907766&i=0)> wrote:
> > Hello Andrew,
> >
> > I've seen a similar issue reported (yesterday). Are you building this
> > with LLVM ? if so does it work without it ?
> >
> > Thanks
> > Sebastien
> >
> > On Fri, Oct 14, 2011 at 7:27 PM, Andrew Young <[hidden email] (/user/SendEmail.jtp?type=node&node=3907766&i=1)> wrote:
> > > I just upgraded my iPhone to iOS 5 and now my app crashes where it wouldn't
> > > on iOS 4. Its the same binary that was running on iOS 4.
> > > The crash report doesn't seem to indicate that it is anything within my app
> > > that is causing the crash.
> > > Is this a MT bug?
> > > 0 libsystem_kernel.dylib 0x31eb032c 0x31e9f000 + 70444
> > > 1 libsystem_c.dylib 0x363a6f54 0x36359000 + 319316
> > > 2 libsystem_c.dylib 0x3639ffe4 0x36359000 + 290788
> > > 3 SomeAppiPhone 0x008b7cf0 monoeg_g_logv (goutput.c:134)
> > > 4 SomeAppiPhone 0x008b7d84 monoeg_assertion_message
> > > (goutput.c:155)
> > > 5 SomeAppiPhone 0x007220dc mono_thread_abort (mini.c:2639)
> > > 6 SomeAppiPhone 0x0074c634 mono_handle_exception_internal
> > > (mini-exceptions.c:1536)
> > > 7 SomeAppiPhone 0x0074d2ac mono_handle_exception
> > > (mini-exceptions.c:1831)
> > > 8 SomeAppiPhone 0x007772d4 mono_arm_throw_exception
> > > (exceptions-arm.c:158)
> > > 9 SomeAppiPhone 0x006ad52c throw_exception + 40
> > > 10 SomeAppiPhone 0x008e1c08 monotouch_exception_handler
> > > (monotouch-glue.m:858)
> > > 11 SomeAppiPhone 0x008ecde8 TFHandleExceptions + 40
> > > 12 CoreFoundation 0x30bcb980 0x30b12000 + 760192
> > > 13 libobjc.A.dylib 0x37d702ca 0x37d67000 + 37578
> > > 14 libc++abi.dylib 0x318663be 0x31862000 + 17342
> > > 15 libc++abi.dylib 0x3186644a 0x31862000 + 17482
> > > 16 libc++abi.dylib 0x3186781e 0x31862000 + 22558
> > > 17 libobjc.A.dylib 0x37d7022e 0x37d67000 + 37422
> > > 18 CoreFoundation 0x30b2153e 0x30b12000 + 62782
> > > 19 CoreFoundation 0x30b2139e 0x30b12000 + 62366
> > > 20 GraphicsServices 0x3374ffe6 0x3374c000 + 16358
> > > 21 UIKit 0x32b9373c 0x32b62000 + 202556
> > > 22 SomeAppiPhone 0x001ff988
> > > wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr
> > > + 232
> > > 23 SomeAppiPhone 0x001af564
> > > monotouch_MonoTouch_UIKit_UIApplication_Main_string__ + 12
> > > 24 SomeAppiPhone 0x000d4cbc
> > > SomeAppiPhone_SomeApp_iPhone_Application_Main_string__ + 4
> > > 25 SomeAppiPhone 0x0067ee50
> > > wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr_0
> > > + 192
> > > 26 SomeAppiPhone 0x00726b9c mono_jit_runtime_invoke
> > > (mini.c:5759)
> > > 27 SomeAppiPhone 0x00830d0c mono_runtime_invoke
> > > (object.c:2757)
> > > 28 SomeAppiPhone 0x00833db0 mono_runtime_exec_main
> > > (object.c:3940)
> > > 29 SomeAppiPhone 0x00832dd8 mono_runtime_run_main
> > > (object.c:3562)
> > > 30 SomeAppiPhone 0x00732240 mono_jit_exec (driver.c:1102)
> > > 31 SomeAppiPhone 0x0071d054 main (main.m:2507)
> > > 32 SomeAppiPhone 0x00002700 start + 32
> > >
> > > _______________________________________________
> > > MonoTouch mailing list
> > > [hidden email] (/user/SendEmail.jtp?type=node&node=3907766&i=2)
> > > http://lists.ximian.com/mailman/listinfo/monotouch
> > >
> > >
> > _______________________________________________
> > MonoTouch mailing list
> > [hidden email] (/user/SendEmail.jtp?type=node&node=3907766&i=3)
> > http://lists.ximian.com/mailman/listinfo/monotouch
>
>
> _______________________________________________
> MonoTouch mailing list
> [hidden email] (/user/SendEmail.jtp?type=node&node=3907766&i=4)
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
> If you reply to this email, your message will be added to the discussion below: http://monotouch.2284126.n4.nabble.com/Updated-to-iOS-5-and-now-my-app-crashes-tp3906496p3907766.html
> To start a new topic under MonoTouch, email ml-node+s2284126n3346893h90 at n4.nabble.com (mailto:ml-node+s2284126n3346893h90 at n4.nabble.com)
> To unsubscribe from MonoTouch, click here (http://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3346893&code=YW5kcmV3ZHlvdW5nQGdtYWlsLmNvbXwzMzQ2ODkzfDE5MjczODc4ODI=).
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Updated-to-iOS-5-and-now-my-app-crashes-tp3906496p3916912.html
Sent from the MonoTouch mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111018/18dcfcda/attachment-0001.html
More information about the MonoTouch
mailing list