Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 12, 2012, 09:35 PM   #1
samdev
macrumors regular
 
Join Date: Sep 2011
Redacted madness

How am I suppose to know how my app crashed with all of these redacted lines?
I'm guessing this redacted silliness started with iOS 6.0.

Crash report has been symbolicated, but still useless to me.

Code:
Thread: Unknown Name (Crashed)
0	  libobjc.A.dylib                    	0x33bb05b0 objc_msgSend + 15
1	  GameKit                            	0x32ff7795 <redacted> + 112
2	  UIKit                              	0x37031d4d <redacted> + 1576
3	  UIKit                              	0x36fb66a7 <redacted> + 298
4	  UIKit                              	0x36fb6481 <redacted> + 916
5	  UIKit                              	0x36f30abb <redacted> + 158
6	  UIKit                              	0x36fa58d7 <redacted> + 50
7	  QuartzCore                         	0x335a7bd9 <redacted> + 208
8	  libdispatch.dylib                  	0x387bb4b7 <redacted> + 22
9	  libdispatch.dylib                  	0x387bcdcb <redacted> + 226
10	 CoreFoundation                     	0x343b6f3b <redacted> + 1290
11	 CoreFoundation                     	0x34329ebd CFRunLoopRunSpecific + 356
12	 CoreFoundation                     	0x34329d49 CFRunLoopRunInMode + 104
13	 GraphicsServices                   	0x350922eb GSEventRunModal + 74
14	 UIKit                              	0x36f6f301 UIApplicationMain + 1120
15	 someApp                   		0x000d7995 main (main.m:54)
samdev is offline   0 Reply With Quote
Old Nov 12, 2012, 11:16 PM   #2
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
Delete (or move) any folders here (somewhere else):

Quote:
/Users/phoney/Library/Developer/Xcode/iOS\ DeviceSupport/6.0
for iOS 6. Then try again.
PhoneyDeveloper is offline   0 Reply With Quote
Old Nov 13, 2012, 10:08 PM   #3
samdev
Thread Starter
macrumors regular
 
Join Date: Sep 2011
Quote:
Originally Posted by PhoneyDeveloper View Post
Delete (or move) any folders here (somewhere else):
for iOS 6. Then try again.
Sorry, I forgot to mention this crash report isn't from the Simulator. It's a live report sent to me.
App has already been compiled in release mode and sent to the App Store.

That trick only works for the simulator?
samdev is offline   0 Reply With Quote
Old Nov 14, 2012, 11:59 PM   #4
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
Do what I said. Remove the folder. Re-symbolicate.
PhoneyDeveloper is offline   0 Reply With Quote
Old Nov 15, 2012, 04:28 AM   #5
samdev
Thread Starter
macrumors regular
 
Join Date: Sep 2011
Quote:
Originally Posted by PhoneyDeveloper View Post
Do what I said. Remove the folder. Re-symbolicate.
I hear you, but the "raw" crash report already contains redacted lines.
It doesn't matter if I symbolicate it or not.

And the report was symbolicated by Crittercism. They use the PLCrashReporter library to generate
crash reports, so I'm guessing it's not even compatible with XCode.
samdev is offline   0 Reply With Quote
Old Nov 15, 2012, 08:28 AM   #6
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
If the crash report isn't from Apple then you're probably out of luck. If it is from Apple then what I said should work. Otherwise tell Crittercism to remove the folder I mentioned from their computer and re-symbolicate it for you.

Look at this thread

https://devforums.apple.com/thread/1...art=0&tstart=0
PhoneyDeveloper is offline   0 Reply With Quote
Old Nov 16, 2012, 06:18 AM   #7
samdev
Thread Starter
macrumors regular
 
Join Date: Sep 2011
Quote:
Originally Posted by PhoneyDeveloper View Post
Otherwise tell Crittercism to remove the folder I mentioned from their computer and re-symbolicate it for you.
Yes, you're definitely right. I'm complaining to the wrong person.
Didn't know where the fault lies, but now I'm on it.

Thanks again.
samdev is offline   0 Reply With Quote
Old Nov 16, 2012, 08:47 AM   #8
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
Obviously having a good symbolicated crashlog will make this a little easier to figure out but there are a few things you may be able to determine with what you have. The crash was in objc_MsgSend. This is almost always due to messaging a dealloced object. You might want to turn on Zombies and test your app. You might hit the problem.

There is none of your app's code in the stack trace. This always makes things harder to figure out. The second to last method is in GameKit. Is there a place in your app that you can tell that GameKit calls your code back?

Also, it is possible that others have hit the same crash and posted about it. Sometimes you can google for the library names in the log and find a matching crashlog online that's already been symbolicated.
PhoneyDeveloper is offline   0 Reply With Quote
Old Nov 17, 2012, 06:41 AM   #9
samdev
Thread Starter
macrumors regular
 
Join Date: Sep 2011
Quote:
Originally Posted by PhoneyDeveloper View Post
Obviously having a good symbolicated crashlog will make this a little easier to figure out but there are a few things you may be able to determine with what you have. The crash was in objc_MsgSend. This is almost always due to messaging a dealloced object. You might want to turn on Zombies and test your app. You might hit the problem.

There is none of your app's code in the stack trace. This always makes things harder to figure out. The second to last method is in GameKit. Is there a place in your app that you can tell that GameKit calls your code back?

Also, it is possible that others have hit the same crash and posted about it. Sometimes you can google for the library names in the log and find a matching crashlog online that's already been symbolicated.

I call GameKit in several places, so it would be difficult to track down without a starting point.

Most crash reports I receive are due to low memory or low disk space conditions, so I assume this
is mostly due to the user having tons of background apps running. My app might try to allocate
something and fails, and continues to use that object, even if it's nil. And even if the iOS does
try to shut down background apps to free up memory, this won't happen fast enough if my app is
executing code in the middle of a method.
samdev is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Tags
crash, redacted, report, symbolicate

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Bootcamp Madness!!!! AquaTF Windows, Linux & Others on the Mac 4 May 26, 2014 08:54 PM
PM G5 Dual 2.5Ghz madness mark8 PowerPC Macs 2 May 17, 2014 01:02 AM
Mac Mail Madness LA89 Mac Basics and Help 4 Dec 8, 2012 12:21 PM
This is Madness juju01 iPhone 51 Sep 28, 2012 12:53 PM

Forum Jump

All times are GMT -5. The time now is 02:34 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC