If it's any help, I changed the Log method in the bindings
(testflight-cplusplus.cs) to NOT use string.Format:

public static void Log (string msg)
                {

                     using (var nss = new NSString (msg))
                         WrapperTfLog (nss.Handle);
                }

(I do the formatting outside of this method, in my general logging routine)

This fixed pretty much all my issues.

N

On Thu, May 17, 2012 at 3:00 PM, Nic Wise <[email protected]> wrote:
> I was thinking that TFLog was causing the issue. I see this even in a
> debug build in MonoDevelop.
>
> I have one assembly (testflight bindings) which works, and one (the
> one from current github) which does this... its kinda odd.
>
> On Thu, May 17, 2012 at 12:47 PM, Rolf Bjarne Kvinge <[email protected]> wrote:
>> Hi,
>>
>> On Thu, May 17, 2012 at 11:48 AM, MilkyJoe <[email protected]>
>> wrote:
>>>
>>> Hi,
>>>
>>> I have the following crash report in TestFlight. The trouble is, I don't
>>> know what it's telling me, or where to start looking for the cause. Is it
>>> telling me that a call to TFLog caused the problem?
>>>
>>> (I've replaced the real app name with AppName)
>>>
>>> 0 AppName 0x00002a92 + 0
>>> 1 AppName 0x000036bc + 0
>>> 2 libsystem_c.dylib 0x33f8f7ec _sigtramp + 48
>>> 3 libsystem_c.dylib 0x33f8520e pthread_kill + 54
>>> 4 libsystem_c.dylib 0x33f7e29e abort + 94
>>> 5 AppName 0x005f56f0 TFLog + 6229924
>>> 6 AppName 0x005f5712 TFLog + 6229958
>>> 7 AppName 0x00524ce8 TFLog + 5375388
>>> 8 AppName 0x0053901a TFLog + 5458126
>>> 9 AppName 0x005390e8 TFLog + 5458332
>>> 10 AppName 0x00551208 TFLog + 5556924
>>> 11 AppName 0x004c1a83 TFLog + 4969271
>>> 12 AppName 0x005a7658 TFLog + 5910284
>>> 13 AppName 0x005a7c66 TFLog + 5911834
>>> 14 AppName 0x005269a8 TFLog + 5382748
>>> 15 AppName 0x00526d7c TFLog + 5383728
>>> 16 AppName 0x00532e14 TFLog + 5433032
>>> 17 AppName 0x00539daa TFLog + 5461598
>>> 18 AppName 0x004c1497 TFLog + 4967755
>>> 19 AppName 0x000b49b3 TFLog + 721511
>>> 20 AppName 0x000b4933 TFLog + 721383
>>> 21 AppName 0x000abe37 TFLog + 685803
>>> 22 AppName 0x0049770b TFLog + 4796351
>>> 23 AppName 0x005271d2 TFLog + 5384838
>>> 24 AppName 0x005a19b6 TFLog + 5886570
>>> 25 AppName 0x005fefab WriteZStream + 18559
>>> 26 UIKit 0x313e7b94 -[UIViewController _setViewAppearState:isAnimating:] +
>>> 144
>>>
>>> 27 UIKit 0x313ea8fa -[UINavigationController  _startTransition:
>>> fromViewController:toViewController:] + 814
>>> 28 UIKit 0x313ea502 -[UINavigationController
>>> _startDeferredTransitionIfNeeded] + 250
>>> 29 UIKit 0x3148a39c -[UINavigationController defaultFirstResponder] + 124
>>> 30 UIKit 0x313d03b4 -[UIResponder(Internal) _deepestDefaultFirstResponder]
>>> +
>>> 24
>>> 31 UIKit 0x313d03d0 -[UIResponder(Internal) _deepestDefaultFirstResponder]
>>> +
>>> 52
>>> 32 UIKit 0x313d0262 -[UIResponder(Internal)
>>> _promoteDeepestDefaultFirstResponder] + 30
>>> 33 UIKit 0x313d023e -[UIWindow makeKeyWindow] + 382
>>> 34 AppName 0x00118ef7 TFLog + 1132459
>>> 35 AppName 0x000b3d97 TFLog + 718411
>>> 36 AppName 0x0049770b TFLog + 4796351
>>> 37 AppName 0x005271d2 TFLog + 5384838
>>> 38 AppName 0x005a19b6 TFLog + 5886570
>>> 39 AppName 0x005fefab WriteZStream + 18559
>>> 40 UIKit 0x313ddcaa -[UIApplication
>>> _callInitializationDelegatesForURL:payload:suspended:] + 1182
>>> 41 UIKit 0x313d77dc -[UIApplication
>>> _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] +
>>> 408
>>> 42 UIKit 0x313a5ac2 -[UIApplication handleEvent:withNewEvent:] + 1010
>>> 43 UIKit 0x313a5566 -[UIApplication sendEvent:] + 54
>>> 44 UIKit 0x313a4f3a _UIApplicationHandleEvent + 5826
>>> 45 GraphicsServices 0x33de722a PurpleEventCallback + 882
>>> 46 CoreFoundation 0x376a5522
>>> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
>>> 47 CoreFoundation 0x376a54c4 __CFRunLoopDoSource1 + 140
>>> 48 CoreFoundation 0x376a4312 __CFRunLoopRun + 1370
>>> 49 CoreFoundation 0x376274a4 CFRunLoopRunSpecific + 300
>>> 50 CoreFoundation 0x3762736c CFRunLoopRunInMode + 104
>>> 51 UIKit 0x313d686a -[UIApplication _run] + 550
>>> 52 UIKit 0x313d3cd4 UIApplicationMain + 1080
>>> 53 AppName 0x0011e497 TFLog + 1154379
>>> 54 AppName 0x000ab5df TFLog + 683667
>>> 55 AppName 0x0049770b TFLog + 4796351
>>> 56 AppName 0x005271d2 TFLog + 5384838
>>> 57 AppName 0x005a19b6 TFLog + 5886570
>>> 58 AppName 0x005a47c2 TFLog + 5898358
>>> 59 AppName 0x005a4a16 TFLog + 5898954
>>> 60 AppName 0x0052bcee TFLog + 5404066
>>> 61 AppName 0x00523dd4 TFLog + 5371528
>>> 62 AppName 0x000235bb TFLog + 126575
>>
>>
>>
>> It looks like the crash report wasn't symbolicated properly. Every single
>> method from the main binary appears to be inside TFLog or WriteZStream,
>> which is obviously not possible.
>> Rolf
>>
>> _______________________________________________
>> 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/
>
> 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
> 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
> London Bike App: Find the nearest Boris Bike, and get riding! 
> http://goo.gl/Icp2



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

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