crash-reports

Start a service from Thread.UncaughtExceptionHandler?

匆匆过客 提交于 2019-11-30 17:27:55
问题 I'm trying to setup a global exception handling service as mentioned in this answer. This approach sounds logical because after a crash, the code in my custom Thread.UncaughtExceptionHandler may not execute successfully, either because the application may not be in a stable state or because there may not be enough time before the process is killed by the OS. Unfortunately, this approach doesn't seem to work because the service launches in the same process so it, too, is killed. How can I

EXC_BAD_ACCESS in UIWebView

三世轮回 提交于 2019-11-30 10:24:49
问题 I just downloaded the crash reports for one of my iPhone apps from iTunes Connect. The most common crash has a trace like the following: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0xa1b1c1db Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x3030e6f4 objc_msgSend + 16 1 UIKit 0x30ebebee -[UIWebView webView:resource:didFinishLoadingFromDataSource:] 2 UIKit 0x30ebe5ca -[UIWebViewWebViewDelegate webView:resource:didFinishLoadingFromDataSource:] 3

Crash logs generated by iPhone Simulator?

安稳与你 提交于 2019-11-30 10:14:07
问题 Are there any crash logs generated by iPhone Simulator? the Simulator crashes a lot but not leaving any traces in Console... the crash log will be useful. 回答1: The console will show the NSLog() output from an app running in the simulator. The crash logs are saved to file. I have found some in my home directory under ~/Library/Logs/DiagnosticReports/ They have a file extension of .crash Something I haven't yet figured out is how to get them to generate even if the debugger grabs the EXC_BAD

Springboard crashing when adding a lot of triggers to UNUserNotificationCenter

烂漫一生 提交于 2019-11-30 09:59:12
Save yourselves from hours of debugging, because I've just wasted 2 weeks after bug hunting mysterious app crashes. It turns out, if you're adding a lot o (see answer for more details) notification requests to the UNUserNotificationCenter , it will abruptly crash the Springboard. I haven't found a way around this yet, as the same code worked fine for iOS 9 and below. You can't seem to bulk-add notification requests like before either. Following is the crash I receive every single time (and so does hundreds of app users). Any idea what I could do instead of going back to using

Get stack trace of a crash on Windows without installing Visual Studio? (C++)

自闭症网瘾萝莉.ら 提交于 2019-11-30 09:50:25
I have an C++ application, that crashes on a computer of some person on the other end of the world. There's no way for me to simulate it or get the same computer. The person is no developer, so I cannot really ask him to install Visual Studio or something. I have pretty deep debug logs, but they didn't reveal anything usable. Is there a tool, that could generate the stack trace of the application at the moment of the crash? Such thing is available inside OSX, but seems that Windows doesn't have it. You can use procdump. It can be setup as a debugger to automatically create dumps for crashing

How do you view TestFlight crash logs?

喜欢而已 提交于 2019-11-30 08:49:00
I have submitted my app to TestFlight and i have deliberately made the app on my device crash, but i don't see where i can see these crash logs. BTW i want to see other people's crash logs on the app, not the one in the settings menu. Anyone know? In Xcode 6.3 crash logs have moved into Organizer window. It might take some time and a restart of the crashed apps for the logs to show. Well, I'm not sure if this will help, but it helped for me: Go to iTunesConnect -> My Apps and choose your app. Then in Versions section scroll to Version Release and check one of radio buttons ( Automatically

How do I symbolicate a copy/pasted crash report?

谁都会走 提交于 2019-11-30 07:26:59
I have a user who is experiencing a crash using the app store version of an iPhone app. The crash is not reported via iTunes connect and the user is unable to sync with iTunes and get me the .crash file (they don't have a computer). The user is, however, able to copy and paste the crash report from the phone under "Settings > general > about > Diagnostics & usage data". I took this users copied crash report and manually pasted it into a text file and renamed it with the .crash extension. When I import this manually created .crash report into XCode's Organizer, I am not able to symbolicate it.

Google Play console reporting crashes from unreleased applications

时光怂恿深爱的人放手 提交于 2019-11-30 04:44:00
I would like to share a situation I am facing analysing the new features at Google Play console and try to find a solution for it. As many of you may already know, Google has released updates at Google Play console and introduced Android vitals. One of the good particularities is that now the session ANRs & Crashes shows all ANRs & crashes collected from Android devices whose users have opted in to automatically share usage and diagnostics data (during phone first setup). However, I am seeing crash reports from unreleased applications. I mean, from a developer version that hasn't been

zz_moto_actionbar_bkg.xml resource error on Droid

徘徊边缘 提交于 2019-11-30 04:14:59
I am getting strange crash reports from Droid X and Droid Pro. android.content.res.Resources$NotFoundException: File res/drawable/zz_moto_actionbar_bkg.xml from drawable resource ID #0x10803a8 at android.content.res.Resources.loadDrawable(Resources.java:1735) at android.content.res.Resources.getDrawable(Resources.java:596) at android.view.View.setBackgroundResource(View.java:7542) at com.android.internal.app.AlertController.setBackground(AlertController.java:719) at com.android.internal.app.AlertController.setupView(AlertController.java:424) at com.android.internal.app.AlertController

iPhone app “has active assertions beyond permitted time”

余生长醉 提交于 2019-11-30 01:35:47
I'm trying to make sense of some crash logs I received for my iPhone app. The main thing that I can see that's useful is: Application Specific Information: MyMoodTrack[144] has active assertions beyond permitted time: {( <SBProcessAssertion: 0x73c6480> identifier: Suspending process: MyMoodTrack[144] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:26 preventSuspend preventThrottleDownCPU preventThrottleDownUI )} This reads to me as if the process has been killed because it was taking too long to start up. Does this sound right? It only happens when the user does not have an