Error on installation on iPhone, iPod devices "Application exited abnormally with signal 11: Segmentation fault" - iphone

I tried to install my application on the devices by using Build and Run from xCode, the application works fine, but when I quit, in the springboard there's no icon for the application, I found the following log on the device's console (which I takes from the Organizer application)
Wed Oct 20 17:05:48 iPod-01 com.apple.launchd[1] (UIKitApplication:com.company.app[0x4cbb][1689]) <Notice>: (UIKitApplication:com.company.app[0x4cbb]) Bug: launchd_core_logic.c:3252 (24226):3
Wed Oct 20 17:05:48 iPod-01 com.apple.launchd[1] (UIKitApplication:com.company.app[0x4cbb][1689]) <Notice>: (UIKitApplication:com.company.app[0x4cbb]) Bug: launchd_core_logic.c:2681 (24226):10
Wed Oct 20 17:05:48 iPod-01 com.apple.launchd[1] (UIKitApplication:com.company.app[0x4cbb][1689]) <Notice>: (UIKitApplication:com.company.app[0x4cbb]) Working around 5020256. Assuming the job crashed.
Wed Oct 20 17:05:48 iPod-01 com.apple.launchd[1] (UIKitApplication:com.company.app[0x4cbb][1689]) <Warning>: (UIKitApplication:com.company.app[0x4cbb]) Job appears to have crashed: Segmentation fault
Wed Oct 20 17:05:48 iPod-01 com.apple.debugserver-48[1688] <Warning>: 1 [0698/1403]: error: ::read ( 4, 0x3809f4, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Wed Oct 20 17:05:48 iPod-01 SpringBoard[27] <Warning>: Application 'AppPlus' exited abnormally with signal 11: Segmentation fault
On the simulator, there's no error at all. Someone has any thought about the issue?

Related

iPhone app is working fine on iOS 4 but crashing on Launch screen at iOS 6

My Log report is.
Dec 21 15:44:26 New-iPod-Accuretech ReportCrash[1652] <Notice>:
Formulating crash report for process TextBook[1651] Dec 21 15:44:26
New-iPod-Accuretech kernel[0] <Debug>: launchd[1651] Builtin profile:
container (sandbox) Dec 21 15:44:26 New-iPod-Accuretech kernel[0]
<Debug>: launchd[1651] Container:
/private/var/mobile/Applications/CAD3777B-818F-4020-BCB7-813708315A0B
(sandbox) Dec 21 15:44:26 New-iPod-Accuretech com.apple.launchd[1]
(UIKitApplication:com.AccelApp.TextBook[0xfb6c][1651]) <Warning>:
(UIKitApplication:com.AccelApp.TextBook[0xfb6c]) Job appears to have
crashed: Trace/BPT trap: 5 Dec 21 15:44:26 New-iPod-Accuretech
com.apple.launchd[1] (UIKitApplication:com.AccelApp.TextBook[0xfb6c])
<Notice>: (UIKitApplication:com.AccelApp.TextBook[0xfb6c]) Throttling
respawn: Will start in 2147483647 seconds Dec 21 15:44:26
New-iPod-Accuretech backboardd[52] <Warning>: Application
'UIKitApplication:com.AccelApp.TextBook[0xfb6c]' exited abnormally
with signal 5: Trace/BPT trap: 5 Dec 21 15:44:26 New-iPod-Accuretech
ReportCrash[1652] <Error>: libMobileGestalt
copySystemVersionDictionaryValue: Could not lookup ReleaseType from
system version dictionary Dec 21 15:44:26 New-iPod-Accuretech
ReportCrash[1652] <Notice>: Saved crashreport to
/var/mobile/Library/Logs/CrashReporter/TextBook_2012-12-21-154426_New-iPod-Accuretech.plist
using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Just remove your Splash screen image Default-568h#2x.png . And then clean your code and remove previous build and then run again.

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

iPhone app crash randomly with signal 9

I have an app which crashes randomly on different scenario and logs is as follows
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
Your app crash because of low memory.You can try this to calculate memory use :)
You are getting low memory crash. Use Instrument to evaluate your memory usage.

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

App is Crashing on iPod Touch First and Second Generation

My released app (Hidden London - Free App) has been reported as crashing on iPod touch 2nd and 3rd Generation. It works without issue on iPhone and iPad.
The crash log is as follows:
Wed Apr 13 09:03:40 unknown kernel[0] <Debug>: launchd[908] Builtin profile: container (sandbox)
Wed Apr 13 09:03:40 unknown kernel[0] <Debug>: launchd[908] Container: /private/var/mobile/Applications/E509FC07-A742-4483-95B1-7393B3F129B9 [69] (sandbox)
Wed Apr 13 09:03:40 unknown sandboxd[911] <Notice>: HiddenLondon(908) deny file-write-data /private/var/mobile/Applications/E509FC07-A742-4483-95B1-7393B3F129B9/HiddenLondon.app/HiddenLondon.sqlite
Wed Apr 13 09:03:40 unknown HiddenLondon[908] <Warning>: Not purchased: com.Beutelkind.HiddenLondon.ExtraPlaces
Wed Apr 13 09:03:40 unknown HiddenLondon[908] <Warning>: Not purchased: com.Beutelkind.HiddenLondon.RemoveAds
Wed Apr 13 09:03:42 unknown securityd[910] <Error>: OCSPResponse: now + maxAge > latestNextUpdate, using latestNextUpdate
Wed Apr 13 09:03:42 unknown com.apple.SpringBoard[24] <Notice>: CoreAnimation: timed out fence 500
Wed Apr 13 09:04:00 unknown HiddenLondon[908] <Warning>: ADBannerView: WARNING A banner view (0x159470) has an ad but may be obscured. This message is only printed once per banner view.
Wed Apr 13 09:04:31 unknown configd[22] <Notice>: jetsam: kernel memory event (90), free: 323, active: 1250, inactive: 1494, purgeable: 0, wired: 7841
Wed Apr 13 09:04:31 unknown configd[22] <Notice>: jetsam: kernel termination snapshot being created
Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.AdSheetPhone[0xabc0]) Exited: Killed
Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.Beutelkind.HiddenLondon[0x2fef]) Exited: Killed
Wed Apr 13 09:04:31 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1
Wed Apr 13 09:04:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x736e]) Exited: Killed
Wed Apr 13 09:04:31 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1
Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'AdSheet' exited abnormally with signal 9: Killed
Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'HiddenLondon' exited abnormally with signal 9: Killed
Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed
Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Memory level is not normal (56%). Delaying auto-relaunch of 'Mail' for 30 seconds.
Wed Apr 13 09:04:32 unknown SpringBoard[24] <Warning>: Received memory warning. Level=1
Wed Apr 13 09:04:33 unknown ReportCrash[917] <Error>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2011-04-13-090433.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Could anyone help me start to troubleshoot why this might be happening on the iPod Touch?
The hint to why your app is crashing is Received memory warning. Level=1. You're out of memory. This could be the amount of RAM your app is using for data structures, but I've more typically seen this type of error when you run out of graphics memory - i.e. the memory used to composite views, cache images, etc. The total amount of RAM on gen 1 and 2 iPod touches is only 128MB. Gen 3 and 4 bumped that to 256MB.
The memory related info in your log starts with jetsam: kernel memory event (90), free: 323, active: 1250, inactive: 1494, purgeable: 0, wired: 7841, which is a "low memory" warning message. You then see a whole bunch of apps being terminated by the OS (Exited: Killed and exited abnormally with signal 9: Killed). This is the documented behaviour of iOS in low memory conditions - it kills apps until it has enough free memory.
I believe that your application is using a lot of memory, and as a result it gets killed by the operating system.