crash-log

how to get iPhone App Crash Log file from iPhone programmatically

我怕爱的太早我们不能终老 提交于 2019-12-29 06:32:54
问题 Is there a way to access iphone crash log file via programmatically. I trying to write a crash report feature that when you launch the app after a crash, it will offer to send the crash report to the server. I can't find how to get the crash log within the app. 回答1: You can use the following logic for the same. aslmsg q, m; int i; const char *key, *val; float how_old = fTime ; q = asl_new(ASL_TYPE_QUERY); asl_set_query(q, ASL_KEY_LEVEL, strLoggerLevel ,ASL_QUERY_OP_LESS_EQUAL); asl_set_query

Google Maps API -> OpenGLES crash

狂风中的少年 提交于 2019-12-23 19:25:28
问题 Log is pasted from Crashlytics. Crash happens very often, to many users and as far as I can see it is independent from the device/iOS version. I can't find any fault in my code, it seems like pure library problem. Is it Google Maps API bug? What can I do to fix it or should I fill some bug report on Google API page..? Crashlog: Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000001 libGPUSupportMercury.dylib gpus_ReturnNotPermittedKillClient + 9 libGPUSupportMercury

What does “Arg = Exploded” mean in Swift crash log? [duplicate]

冷暖自知 提交于 2019-12-22 03:54:16
问题 This question already has answers here : What's Dead & Exploded in Swift's exception stack? (3 answers) Closed 4 years ago . I get a crash log from Crashlytics/Fabric which reads like the following: function signature specialization <Arg[0] = Exploded, Arg[1] = Owned To Guaranteed> of MyClass.viewWillAppear (MyClass)(Swift.Bool) -> () what does exploded mean for Arg[0]? It's weird that there are two arguments because we're talking about viewWillAppear here - is the first argument the object

What does this crash report mean?

大城市里の小女人 提交于 2019-12-22 00:28:12
问题 I am getting this crash log from my release build but have a hard time figuring out what this means. Is this UIKit crashing because the label got removed from superview while it was being animated? Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x000000000000defe Crashed Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 UIKit 0x36011c7e -[UIView release] + 54 1 UIKit 0x3603d12c -[UIView dealloc] + 292 2 TestApp 0x0011fb0e -

How to manually symbolicate a crash log with atos

一个人想着一个人 提交于 2019-12-18 13:38:44
问题 After searching all over the internet to find a way to symbolicate my crash logs I received from Apple, I finally figured out how to use the atos command in terminal to symbolicate the crash logs. I have the dSYM file, the .app file and the crash logs in the same folder, and using atos -arch armv7 -o APPNAME I have been able to enter memory addresses, and sometimes (but quite rarely) a method name has come up. To be perfectly honest, I don't have much experience with terminal, or crash logs.

iOS app crashing in Core Location callback machinery

好久不见. 提交于 2019-12-12 18:08:26
问题 I have problems analyzing my crashlog. The iPhone crashes sometimes, when I click on the app icon to start the app. The app is already "running" in background, but it's not active. This is the symbolized crash log: Thread 0 Crashed: 0 libobjc.A.dylib 0x33479470 objc_msgSend + 28 1 CoreLocation 0x3436f68e -[CLLocationManager onClientEvent:supportInfo:] + 98 2 CoreLocation 0x3436f804 OnClientEvent + 16 3 CoreLocation 0x3436b522 CLClientInvokeCallback(__CLClient*, CLClientEvent, __CFDictionary

iOS: what does those addresses mean in iOS crash log's stack trace?

女生的网名这么多〃 提交于 2019-12-11 01:37:15
问题 This is a line of stack track from my iOS app crash log: MyAPPName 0x001f642e 0xd2000 + 1197102 I know how to symbolicate a crash log, but what does 0x001f642e 0xd2000 + 1197102 mean in every line of stack trace? 回答1: Another form of writing those values is: 0x001f642e = 0xd2000 + 1197102 . So 0x001f642e is the actual address of the code being executed, while 0xd2000 is the starting address of the binary where the code is being executed and 1197102 is the offset within the binary. 回答2: It's

iPhone crash only when device not connected to xcode, how to understand the crash log?

痞子三分冷 提交于 2019-12-10 10:49:06
问题 On a device running ios 5 my app works great, but on a device running ios 4.2.1 i get this crash. The strange thing is that the device crash only when NOT connected to xcode. When run from xcode it work but when i run it without xcode the app is working till the moment i call the method: - (void)startLocationUpdates { self.locationManager.desiredAccuracy = kCLLocationAccuracyBestForNavigation; self.locationManager.distanceFilter = 1; self.locationManager.delegate = self; [self.locationManager

What is “Terminating in response to backboardd's termination”?

五迷三道 提交于 2019-12-07 04:02:56
问题 i use a piece of code for drop shadow on a view with help of slider. Slider is set -15 to 15. This code works awesome when slider.value is positive but app stop working if its negative. the crash log is weird Terminating in response to backboardd's termination . i got this log first time. What is that? here is my code. childViews.layer.shadowColor = [[UIColor blackColor] CGColor]; childViews.layer.shadowOffset = CGSizeMake(slide,slide); childViews.layer.shadowOpacity = 1.0; childViews.layer

iPhone sdk read crash files programmatically?

青春壹個敷衍的年華 提交于 2019-12-06 05:31:41
问题 I want to read crash files programmatically. How can I do this? I am allowed to do this? Will my application be rejected if I do this? Any advice, link, tutorial is well come. 回答1: I am not sure if its possible. You can’t access the logs themselves, but you can catch uncaught exceptions and generate your own crash logs for which I think you can make use of the following example: http://cocoawithlove.com/2010/05/handling-unhandled-exceptions-and.html it's very simple and easy to use, just