looks like the FB lib is calling into a block - which you provide.
Could it be that the block has gone out of scope and been garbage
collected?



On Thu, Aug 16, 2012 at 12:43 AM, Michael Bayne <[email protected]> wrote:
> I'm seeing a weird intermittent crash in the simulator after calling
> GraphRequest() in the Facebook SDK. Has anyone seen anything like
> this:
>
> Native stacktrace:
>
>         0   dictionopolis                       0x0009f98c
> mono_handle_native_sigsegv + 284
>         1   dictionopolis                       0x00014d18
> mono_sigsegv_signal_handler + 248
>         2   libsystem_c.dylib                   0x95f0e86b _sigtramp + 43
>         3   ???                                 0xffffffff 0x0 + 4294967295
>         4   Foundation                          0x00ab9b50
> ___NSURLConnectionDidReceiveResponse_block_invoke_0 + 79
>         5   Foundation                          0x00ab7e84
> __65-[NSURLConnectionInternal
> _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 40
>         6   Foundation                          0x00ab8ea7
> -[NSURLConnectionInternalConnection invokeForDelegate:] + 39
>         7   Foundation                          0x00ab7e3f
> -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] +
> 201
>         8   Foundation                          0x00ab7fc5
> -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 76
>         9   Foundation                          0x009fc5bb
> _NSURLConnectionDidReceiveResponse + 87
>         10  CFNetwork                           0x003d4887
> _ZN19URLConnectionClient29_clientSendDidReceiveResponseEP14_CFURLResponsePNS_26ClientConnectionEventQueueE
> + 57
>         11  CFNetwork                           0x004a2710
> _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl
> + 962
>         12  CFNetwork                           0x004a2861
> _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl
> + 1299
>         13  CFNetwork                           0x003cc120
> _ZN19URLConnectionClient13processEventsEv + 174
>         14  CFNetwork                           0x004a2117
> _ZThn52_N25URLConnectionInstanceData24multiplexerClientPerformEv + 21
>         15  CFNetwork                           0x003cbfbf
> _ZN17MultiplexerSource7performEv + 259
>         16  CoreFoundation                      0x027e994f
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
>         17  CoreFoundation                      0x0274cb43 
> __CFRunLoopDoSources0 + 243
>         18  CoreFoundation                      0x0274c424 __CFRunLoopRun + 
> 1012
>         19  CoreFoundation                      0x0274bd84 
> CFRunLoopRunSpecific + 212
>         20  CoreFoundation                      0x0274bc9b CFRunLoopRunInMode 
> + 123
>         21  GraphicsServices                    0x041467d8 GSEventRunModal + 
> 190
>         22  GraphicsServices                    0x0414688a GSEventRun + 103
>         23  UIKit                               0x01541626 UIApplicationMain 
> + 1163
>         24  ???                                 0x0eac6a05 0x0 + 246180357
>         25  ???                                 0x0d1f1f50 0x0 + 220143440
>         26  ???                                 0x0d1f1c48 0x0 + 220142664
>         27  ???                                 0x0d1f1d9e 0x0 + 220143006
>         28  dictionopolis                       0x00019082
> mono_jit_runtime_invoke + 722
>         29  dictionopolis                       0x001791be 
> mono_runtime_invoke + 126
>         30  dictionopolis                       0x0017d2a4 
> mono_runtime_exec_main + 420
>         31  dictionopolis                       0x00182655 
> mono_runtime_run_main + 725
>         32  dictionopolis                       0x00076285 mono_jit_exec + 149
>         33  dictionopolis                       0x00011f45 main + 2837
>         34  dictionopolis                       0x0000d371 start + 53
>
> The non-native stack trace is equally unilluminating:
>
> Stacktrace:
>
>   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 d11s.client.Application.Main (string[]) [0x00000] in
> /Users/mdb/projects/ooo/dictionopolis/ios/Main.cs:168
>   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
> (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
>
> I'm hoping not to have to sink a bunch of time into isolating a small
> reproducible sample that fails, but if no one has seen a crash like
> this, my alternatives are limited.
>
> -- [email protected]
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to