crash-reports

Crash reporting in Python

十年热恋 提交于 2019-12-03 14:24:45
Is there a crash reporting framework that can be used for pure Python Tkinter applications ? Ideally, it should work cross-platform. Practically speaking, this is more of 'exception reporting' since the Python interpreter itself hardly crashes. Here's a sample crash reporter: Rather than polluting your code with try..except everywhere, you should just implement your own except hook by setting sys.excepthook . Here is an example: import sys import traceback def install_excepthook(): def my_excepthook(exctype, value, tb): s = ''.join(traceback.format_exception(exctype, value, tb)) dialog =

google analytics crash report only shows first line of stacktrace

对着背影说爱祢 提交于 2019-12-03 13:25:48
问题 My application uses Google Analytics to track exceptions and crashes (among other thigs). I use this function to get the stacktrace: public static void sendErrorReportViaGoogleAnalytics(Exception e) { e.printStackTrace(); Tracker myTracker = EasyTracker.getTracker(); myTracker.sendException(getDescription(e), false); } public static String getDescription(Exception t) { final StringBuilder result = new StringBuilder(); result.append(t.toString()); result.append(','); String oneElement; for

How to understand this crash log

六眼飞鱼酱① 提交于 2019-12-03 13:18:08
I got (in ITC) below presented crash report for my first Mac App Store app. Using knowledge founded on Stackoverflow I tried to symbolicate this log, but (using atos and otool) I was only able to read last (20) line (which means start (in My App) + 52 . I really don't know how to interpret lines above, and how to find cause of crash. Process: My App [270] Identifier: com.mycompany.myapp Version: 1.0.0 (1.0.0) App Item ID: 568750000 App External ID: 11410000 Code Type: X86-64 (Native) Parent Process: launchd [143] User ID: 501 Date/Time: 2012-11-07 19:21:11.365 -0200 OS Version: Mac OS X 10.8.2

OS X Crash Log Symbolication

你离开我真会死。 提交于 2019-12-03 12:59:57
问题 I cannot symbolicate OS X (not iOS) crash logs from testers and users using XCode 4.6 . The crash logs cannot be dragged into the organizer, and the organizer does not show any crash logs from ~/Library/Logs/DiagnosticReports/, though some logs are in that directory. Didier Malenfant commented on a previous thread XCode not importing OS X crash log that The bottom line is quite simple. As of now (Xcode 4.6), OS X crash logs cannot be imported into Xcode. Only iOS ones. Is this the current

Google Firebase - how to delete Crash reports?

你离开我真会死。 提交于 2019-12-03 12:27:37
问题 Have I finally gone blind or is there not an obvious way to delete Firebase Crash reports through the Google Firebase web console? My Android app is successfully logging reports but now I have a flood of "development crashes" that are eating up a lot of my view in the console. It makes it very difficult to find actual beta user crashes (especially since I also can't seem to filter the crashes by date/time). Any help is much appreciated. 回答1: The best thing you can do for the long term is to

Forcing crash symbolication in crashes organizer and Xcode 7

痞子三分冷 提交于 2019-12-03 11:29:50
问题 Currently, my crash organizer looks as follows. I have not really worked with crash logs before, but to me the crashes do not look symbolicated. I am unable to find where the app has crashed and for what reason. In addition, when I open the stack trace in the project, nothing is highlighted and I cannot tell and which line it crashed in the file. My question is: is there a way to symbolicate all these crashes from within the organizer, or must it be done through terminal? Thanks. 回答1: What

Selector name found in current argument registers: isEqual:

陌路散爱 提交于 2019-12-03 10:34:35
问题 I am looking for some assistance with squashing a bug in an OSX app that i just can't work out. I am getting a logged error of: Selector name found in current argument registers: isEqual: But i can't for the life of me work out where it's coming from as the log is very unhelpful. Also i can't reproduce this on my own test systems, but it seems to be happening quite a lot on some of the beta testers machines. This only seems to happen on 10.9. Here is the log file for the crash: Incident

EXC_BREAKPOINT (SIGTRAP) for App Review Team. Not Reproducible

雨燕双飞 提交于 2019-12-03 09:56:23
So, my App (iOS, Swift 2.2, Xcode 7.3) got rejected by Beta App Review team because it crahsed on launch. UPDATE Got an answer from the App Review Team...it's only crashing on iPad, not on iPhone. The thing is that I can't reproduce this crash. Not even when testing on my 3 physical devices (iPhone 4S, iPhone6 and iPad Air) with a clean install nor update through TestFlight Internal Testing (so exactly the same build & archive as App Review Team is reviewing) Extract of crash log (received from App Review Team) (symbolicated): Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes:

Accessing iOS crash report from iOS app

半腔热情 提交于 2019-12-03 08:51:14
问题 There are quite a few tutorials on how to access crash reports using a computer, but what I would like my app to do is scan for crash reports (from itself) on startup--so that users can use my app to send me their reports. Is this possible? 回答1: PLCrashReporter is an open source crash reporting framework that can be added to an iOS App. Reports are generated in protobuf encoded format, which should allow an app to upload these reports to a server. 回答2: Take a look at these few resources that

How to debug Android ANR?

梦想与她 提交于 2019-12-03 07:26:49
问题 My Android app gets a lot of ANR reports lately in the Google Play console. Since this started to happen when I included Google Analytics in the app, I strongly suspect Analytics to cause it. Problem is that I know how to debug a crash using the stack trace. But I'm not sure about how to debug an ANR. I guess that an ANR means that the main thread is blocked somewhere. But how to know where it is blocked? See below one of the typical ANR I got lately. How to interpret it and start figuring