AppleFairplayTextCrypterSession::fairplayOpen() rashing iPhone on startup - iphone

I'm trying to find out if anyone here had mysterious crash on startup and peeking into the console logs, you see AppleFairplayTextCrypterSession::fairplayOpen() failed ?
The iPhone app will connect to remote server for xml data and if the server is down this will crash the app. On subsequent startup, it will always crash until I reboot and sync to iTunes again.
I appreciate it very much if somebody can give me some clue as to how to prevent the crash or catch it and exit gracefully.
Sun Dec 6 22:50:31 unknown kernel[0] <Debug>: AppleFairplayTextCrypterSession::fairplayOpen() failed, error -42184
Sun Dec 6 22:50:31 unknown SpringBoard[25] <Warning>: Failed to spawn MyApp. Unable to obtain a task name port right for pid 140: (os/kern) failure
Sun Dec 6 22:50:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.--.MyApp[0x554b]) Exited: Killed
Sun Dec 6 22:50:31 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.--.MyApp[0x554b]) Throttling respawn: Will start in 2147483647 seconds
Sun Dec 6 22:50:31 unknown SpringBoard[25] <Warning>: Application 'MyApp' exited abnormally with signal 9: Killed

I think the issue might be with this line
Application 'MyApp' exited abnormally
with signal 9: Killed
Please, see this discussion
http://discussions.apple.com/thread.jspa?messageID=9908695
Hope that helps

Related

xcode 5 - debug on device failed using jailcoder

Using xcode 5.1.1, and trying to debug my app on a jailbroken iphone 4 (7.1.2).
I installed Jailcoder (from the facebook page) and patched both my xcode and my project with it.
The project is just a simple view application (trying to get that to work first).
I run the app using my iphone as the build setting, the app loads on my phone but then it exits with
2014-07-28 16:00:42.831 testLiveDebug[11384:60b] otherApps (null)
Opening the console in the organizer i see this error:
Jul 28 15:51:45 my-iPhone com.apple.launchd[1] (UIKitApplication:com.debug.testLiveDebug[0xe02e][11348]) <Error>: (UIKitApplication:com.debug.testLiveDebug[0xe02e]) Exited with code: 45
Jul 28 15:51:45 my-iPhone com.apple.launchd[1] (UIKitApplication:com.debug.testLiveDebug[0xe02e]) <Notice>: (UIKitApplication:com.debug.testLiveDebug[0xe02e]) Throttling respawn: Will start in 2147483641 seconds
Jul 28 15:51:45 my-iPhone com.apple.debugserver-310.2[11346] <Warning>: 38 +6.392165 sec [2c52/1307]: error: ::read ( -1, 0x35a9ec, 18446744069414585344 ) => -1 err = Bad file descriptor (0x00000009)
Jul 28 15:51:45 my-iPhone com.apple.debugserver-310.2[11346] <Warning>: Exiting.
Jul 28 15:51:45 my-iPhone backboardd[11188] <Warning>: Application 'UIKitApplication:com.debug.testLiveDebug[0xe02e]' exited abnormally with exit status 45
I have Appsync for 7.0+ and also tried with AppSync Unified....but still i get the same error.
In the past (ios6) this whole process worked fine with jailcoder.
Any idea why i cant live debug on the device ?
-Thanks
Resupported 4+ was causing the error....after i uninstalled it everything was working fine.

App crash report in device logs

I'm facing a problem with a crash after testing my application for more than 20 minutes. It is crashing somewhere but I'm not able to find where it is crashing. I enabled NSZombiaEnable but still, I don't get any correct report.
Below is my device crash log:
Nov 22 23:49:31 unknown UserEventAgent[12] <Notice>: jetsam: kernel termination snapshot being created
Nov 22 23:49:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x56d0]) Exited: Killed: 9
Nov 22 23:49:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.yqlabsEnterprise.ticketPadPUSHCHAT[0xee8a]) Bug: launchd_core_logic.c:3733 (25562):0
Nov 22 23:49:31 unknown com.apple.debugserver-64[1522] <Warning>: 1 [05f2/1303]: error: ::read ( 4, 0x2ff179d4, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Nov 22 23:49:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.yqlabsEnterprise.ticketPadPUSHCHAT[0xee8a]) Bug: launchd_core_logic.c:3732 (25562):3
Nov 22 23:49:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.yqlabsEnterprise.ticketPadPUSHCHAT[0xee8a]) Assuming job exited: <rdar://problem/5020256>: 10: No child processes
Nov 22 23:49:31 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.yqlabsEnterprise.ticketPadPUSHCHAT[0xee8a]) Job appears to have crashed: Segmentation fault: 11
Nov 22 23:49:31 unknown SpringBoard[51] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed: 9
Nov 22 23:49:32 unknown SpringBoard[51] <Warning>: Application 'ticketPad' exited abnormally with signal 11: Segmentation fault: 11
Nov 22 23:49:32 unknown kernel[0] <Debug>: launchd[1576] Builtin profile: MobileMail (sandbox)
Nov 22 23:49:33 unknown ReportCrash[1575] <Notice>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2012-11-22-234933.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Please help me.
because it isnt a bad access, there wont be a zombie... its segfaulting.
cause #1:
bad format in an NSLog or stringWithFormat :D (at least for me)
cause #2:
if that's not it try looking for c-code you use that may not exist.
(non-existing symbols)
top hint: cause #3:
the IOS filesystem is case sensitive, maybe the xib name you specify is somehow wrong and it cant load the xib? / a xib itself is corrupt
cause #4:
google for "Assuming job exited: : 10: No child processes" :D

App crashing after returning from background on iOS6

I have an app that has been running fine on iOS 5, but after some testing on iOS 6, it runs fine except for when returning to the app after it has been running. Once it returns from the background it is unresponsive and then crashes about 10 seconds later.
WillEnterForeground() is executed fine and there is only some simple code in there.
Checking the console on the phone, I see the following:
Sep 20 16:41:07 Seans-iPhone-4 kernel[0] <Debug>: launchd[985] Builtin profile: container (sandbox)
Sep 20 16:41:07 Seans-iPhone-4 kernel[0] <Debug>: launchd[985] Container: /private/var/mobile/Applications/F73BBA70-90D1-4CB6-B7F3-FF10289396A9 (sandbox)
Sep 20 16:41:29 Seans-iPhone-4 backboardd[52] <Warning>: TrekkTrakker failed to resume in time
Sep 20 16:41:29 Seans-iPhone-4 backboardd[52] <Warning>: Forcing crash report of TrekTrakkerSimp[985]...
Sep 20 16:41:30 Seans-iPhone-4 backboardd[52] <Warning>: Finished crash reporting.
Sep 20 16:41:30 Seans-iPhone-4 com.apple.launchd[1] (UIKitApplication:TrekkTrakker[0x28c2][985]) <Notice>: (UIKitApplication:TrekkTrakker[0x28c2]) Exited: Killed: 9
Sep 20 16:41:30 Seans-iPhone-4 backboardd[52] <Warning>: Application 'UIKitApplication:TrekkTrakker[0x28c2]' exited abnormally with signal 9: Killed: 9
Sep 20 16:41:30 Seans-iPhone-4 ReportCrash[987] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Sep 20 16:41:31 Seans-iPhone-4 ReportCrash[987] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/TrekTrakkerSimple_2012-09-20-164129_Seans-iPhone-4.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Anyone experiencing similar issues, or have any idea what might be happening?
If your not using ARC it is in all likelihood an issue with something being released that your sending a message to. Just about every version of iOS that has come out has exposed some bug that was always there but which for whatever reason was not surfaced until the new Version.
Run in the debugger and look at all the code in the levels near where it crashed for something stupid like an object that is not retained or which you though was but isn't.
Your app is crashing or rather being forced to exit by WatchDog because the app is not responsive in the 10 second window. This means that your app is taking too long to launch, this could be due to a call that is getting stuck on iOS 6 or more likely the iOS 6 device is running slightly slower for one reason or another. Use the Time Profiler instrument to look at where your startup time is going and ensure that applicationDidFinishLaunching: is returning as quickly as possible, most cases of WatchDog crashes are due to hangups in that method.

Any iPhone master Please tell me the reason for my app crash here is my Log?

i am doing Tab application in iPhone with four tabs.
my app almost completed but while app running some times it is crashing.i observed that issue raising while i am switching between two view's like front and back in navigation.any iPhone master please help me to resolve this?
## Log ##
Mon Jul 16 21:07:55 unknown MyApp[167] <Warning>: NVVC Dealloc
Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.MyApp[0xe271]) Bug: launchd_core_logic.c:2688 (24132):10
Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.MyApp[0xe271]) Working around 5020256. Assuming the job crashed.
Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.company.MyApp[0xe271]) Job appears to have crashed: Segmentation
fault
Mon Jul 16 21:08:23 unknown SpringBoard[29] <Warning>: Application 'MyApp' exited abnormally with signal 11: Segmentation fault
Mon Jul 16 21:09:04 unknown lockdownd[20] <Error>: (0x403000) handle_connection: Could not receive USB message #7 from Xcode. Killing connection
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x55fb]) Exited: Killed
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilephone[0xa13c]) Exited: Killed
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.MyApp.app[0x137]) Exited: Killed
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (com.apple.accessoryd) Exited: Killed
Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed
Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Memory level is not normal (15%). Delaying auto-relaunch of 'Mail' for 30 seconds. Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Application 'app' exited abnormally with signal 9: Killed
Mon Jul 16 22:00:42 unknown SpringBoard[29] <Warning>: Application 'Phone' exited abnormally with signal 9: Killed
This looks familiar:
Application 'MyApp' exited abnormally with signal 11: Segmentation fault
Segmentation fault means you're trying to access a memory area you haven't allocated (yet), or in general you're referencing an invalid pointer, I'd double check the relevant parts of code.
Since you're switching views, you might be assuming some memory-related tasks have already been taken care of but in fact they havent'.

Fail to purchase at in app purchase with unknown reason

I implemented in app purchase in my app and released.
But I failed to purchase product in my app SOMETIMES (not all time).
I have 2 questions.
What of case it will happen??
I test my app, but it haven't occurred.
What in case it will happen?? Do you have any similar experiences??
How does ": transaction: 180000012369078 - 1" mean?
This is my device's log at organizer.
On success, transaction has number "1" and
On failure, transaction has number "2".
And formats is not same between on success and failure.
paist my log
On success
Jul 21 12:06:05 unknown adhoc[4714] <Warning>: transaction: (null) - 0
Jul 21 12:06:05 unknown adhoc[4714] <Warning>: purchasing
Jul 21 12:06:18 unknown adhoc[4714] <Warning>: transaction: 180000012369078 - 1
Jul 21 12:06:18 unknown adhoc[4714] <Warning>: purchased
On failure
Jul 20 19:50:41 unknown adhoc[2202] <Warning>: transaction: (null) - 0
Jul 20 19:50:41 unknown adhoc[2202] <Warning>: purchasing
Jul 20 19:50:41 unknown itunesstored[2273] <Notice>: MS:Notice: Installing: com.apple.itunesstored [itunesstored] (550.58)
Jul 20 19:50:41 unknown itunesstored[2273] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Activator.dylib
Jul 20 19:50:44 unknown itdbprepserver[2270] <Warning>: Running Create Triggers...
Jul 20 19:50:46 unknown adhoc[2202] <Warning>: transaction: 70AAEAAE-22DF-4927-A6FA-4ECF4783619D - 2
Jul 20 19:50:46 unknown adhoc[2202] <Warning>: failed
Jul 20 19:50:46 unknown adhoc[2202] <Warning>: unkwown
Please help. thank you.
Once the purchase has failed, print the error description using
[transaction.error localisedDescription];.
It may fail because the wifi connection is weak, and it bails out with the description Error : Cannot Connect to iTunes Store.
Reset all settings in your device if this is the error. I solved it like that!