Questions tagged [crash]
A crash is the result of an unrecoverable error that causes the program to stop completely.
crash
13,352
questions
769
votes
30
answers
336k
views
How do I obtain crash-data from my Android application?
How can I get crash data (stack traces at least) from my Android application? At least when working on my own device being retrieved by cable, but ideally from any instance of my application running ...
692
votes
31
answers
501k
views
How to automatically generate a stacktrace when my program crashes
I am working on Linux with the GCC compiler. When my C++ program crashes I would like it to automatically generate a stacktrace.
My program is being run by many different users and it also runs on ...
562
votes
36
answers
1.0m
views
Node.js heap out of memory
Today I ran my script for filesystem indexing to refresh RAID files index and after 4h it crashed with following error:
[md5:] 241613/241627 97.5%
[md5:] 241614/241627 97.5%
[md5:] 241625/...
347
votes
32
answers
109k
views
What is the easiest way to make a C++ program crash?
I'm trying to make a Python program that interfaces with a different crashy process (that's out of my hands). Unfortunately the program I'm interfacing with doesn't even crash reliably! So I want to ...
323
votes
5
answers
188k
views
Xcode - But... Where are our archives?
I've submitted three versions of my app onto the App Store using the Build and Archive commands. But... Where are those archives?
I've just learnt that I just need them to be able to read crashlogs....
233
votes
24
answers
254k
views
Android Room - simple select query - Cannot access database on the main thread
I am trying a sample with Room Persistence Library.
I created an Entity:
@Entity
public class Agent {
@PrimaryKey
public String guid;
public String name;
public String email;
...
191
votes
10
answers
150k
views
How do I prevent node.js from crashing? try-catch doesn't work
From my experience, a php server would throw an exception to the log or to the server end, but node.js just simply crashes. Surrounding my code with a try-catch doesn't work either since everything is ...
190
votes
17
answers
419k
views
How to get Android crash logs?
I have an app that is not in the market place (signed with a debug certificate), but would like to get crash log data, whenever my application crashes. Where can I find a log of why my app crashed?
145
votes
26
answers
265k
views
Android Studio - How to increase Allocated Heap Size
I've been using Android Studio for 3 months now and one of the apps I started on it has become fairly large. The memory usage indicated at the bottom right of the program says my allocated heap is ...
111
votes
6
answers
33k
views
Do NSUserDefaults persist through an Update to an app in the Appstore?
Is this the case? Do NSUserDefaults get reset when you submit an update to an app on the App Store, or are they reset?
My app is crashing when updated but not crashing when downloaded fully - so I'm ...
106
votes
6
answers
40k
views
Android 7 Native Crash: libc.so tgkill
I'm seeing this native crash with the following stack trace.
This happens in Android 7.0 & 7.1 only. Nothing new has been added to the app, which has been in production for a few years, but with ...
101
votes
17
answers
66k
views
Crashlytics is not sending Crash report from iPhone
I've setup the Crashlytics in my one iOS application and installed the application on a real device. My Crashlytics Dashboard is displaying that, I've successfully added the app. However, it's not ...
99
votes
1
answer
2k
views
GMSGroundOverlay animating - should I be using a CATiledLayer?
I am experimenting with the Google Maps for iOS SDK latest version 1.2.1.2944 to animate a GMSGroundOverlay. The user has control over the image sequence, so using an animated UIImage isn't a ...
96
votes
2
answers
5k
views
How to fix: android.app.RemoteServiceException without any message (not related to Bad Notification or Broadcast)
I have an android.app.RemoteServiceException (RSE) but without any message.
I get the following crash report on Google Play Console. When I get a RSE due to a bad Notification or Broadcast I get the ...
95
votes
7
answers
46k
views
ViewController respondsToSelector: message sent to deallocated instance (CRASH)
Ok, here is the deal, I hate putting out questions about my debugging and crashes. Because I usually handle them myself, but I just cannot get my way around this, even after viewing multiple questions ...
93
votes
2
answers
80k
views
Android App crashes without any logcat or any exception
Good day.I have very weird situation.The app crashes on some point but not as it usually will crash.The app goes back to previous activity or completelly quiting the application without showing the ...
92
votes
4
answers
25k
views
presentViewController: crash on iOS <6 (AutoLayout)
This is a weird crash I am getting. The crash happens when I press a button that goes to a certain ViewController. The line which it crashes on is:
DestinationInformationViewController *info = [[...
89
votes
12
answers
75k
views
Assertion failure in -[UITableView _endCellAnimationsWithContext:]
Hopefully this will be a quick fix. I have been trying to figure out the error that i keep getting. The error is listed below and the appdelagate is below that.
Any help is appreciated.
Thanks
...
86
votes
8
answers
17k
views
Xcode 8 build crash on iOS 9.2 and below
When I build my app with Xcode 8 GM Seed and run it on an iOS 9.2 below device OR simulator, I get strange EXC_BAD_ACCESS crashes during app startup or a few seconds after the app launched. The crash ...
81
votes
3
answers
20k
views
iOS app crashing every other launch, can't find error
First time I launch the app, everything seems to run fine. I'll hit the stop button, do some work and when I go to launch it again, it seems to crash before it can even load anything.
Press stop, hit ...
80
votes
8
answers
23k
views
Android App Bundle introduces Resource Not found crash in Android app
By using Android's new Android App Bundle, I have received a Resource Not Found error in 2 of my Google Play Store apps.
Here is the stacktrace from fabric for one of the apps:
Unable to start ...
77
votes
9
answers
31k
views
iOS app crashes, xcode says 'Lost connection to X's iPhone' when debugging
My app crashes and I need some advice to find and fix the problem. It is not a device or cable problem because it happens with all devices and not only when debugging. Xcode won't stop on an exception ...
76
votes
16
answers
67k
views
What is LLDB RPC Server ? When does it crash in Xcode? Why it crashes?
I am getting a message in my debugger:
The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach ...
75
votes
7
answers
27k
views
Cmd crashes with exit code 1 after uninstalling anaconda
Problem description
I got this problem in my Win10 Pro Machine. I uninstalled Anaconda because it gaves me problem with Jupyter notebook and reinstalled it. But since then I'm unable to access ...
73
votes
9
answers
16k
views
Are disk sector writes atomic?
Clarified Question:
When the OS sends the command to write a sector to disk is it atomic? i.e. Write of new data succeeds fully or old data is left intact should the power fail immediately following ...
72
votes
10
answers
96k
views
Android Fatal Signal 11
In the app I'm developing on Android, I keep getting a Fatal Signal 11 error.
I think it's something to do with the way that I'm accessing the memory but I can't figure out what is causing it.
Here's ...
70
votes
6
answers
7k
views
How to crash R?
Is there a simple way to trigger a crash in R? This is for testing purposes only, to see how a certain program that uses R in the background reacts to a crash and help determine if some rare problems ...
70
votes
3
answers
32k
views
Android ActivityThread.reportSizeConfigurations causes app to freeze with black screen and then crash
I have a crash in my app. It happens for a lot of users and its multiple places in ActivityThread.java method reportSizeConfigurations. I dont know what this is used for, and why it freezes.
The ...
70
votes
1
answer
136k
views
What are hs_err_pid.log files generated when Tomcat crashes?
Are any specific settings required on the Java tab of Tomcat configuration tool in order to generate a hs_err_pid.log file?
What is the default location of the hs_err_pid.log file? Can this location ...
70
votes
3
answers
4k
views
Is this "should not happen" crash an AMD Fusion CPU bug?
My company has started having a number of customers call in because our program is crashing with an access violation on their systems.
The crash happens in SQLite 3.6.23.1, which we ship as part of ...
67
votes
18
answers
17k
views
Is there any way a C/C++ program can crash before main()?
Is there any way a program can crash before main()?
65
votes
20
answers
100k
views
React Native app crashes without any error log
React Native app crashing without any error log. No output on "react-native log-android" terminal, no red screen with error, Android emulator just crashes. Tried running with Expo, again ...
62
votes
6
answers
26k
views
Why does my Eclipse Indigo crash on Ubuntu 13.04 with Oracle JDK 64bit?
I installed jdk and eclipse on to Ubuntu 13.04. It stays open till I create a project and type some basic but then suddenly within a minute when I click somewhere like javadoc or Ctrl+Space, it ...
62
votes
10
answers
51k
views
Making a Snackbar Without a View?
I want to show a snackbar as soon as the user opens the Google Maps activity, but the thing is that there's no views in the activity to use as the first parameter of the activity (in the findViewById()...
60
votes
9
answers
250k
views
Apache server keeps crashing, "caught SIGTERM, shutting down"
This just started happening three weeks or so ago. The content of my website hasn't changed, it's just a phpBB forum using MySQL as a back end.
Nothing has changed in well over a year but recently, ...
59
votes
3
answers
125k
views
C# : "A first chance exception of type 'System.InvalidOperationException'"
Working on a class assignment in C#, I came across a program crash without any error (except what's written in VS2010's debug window). Here is the typical code causing the crash :
public partial ...
58
votes
2
answers
41k
views
-[MyClassName copyWithZone:] unrecognized selector sent to instance
My application crashed with the reason:
-[MyClassName copyWithZone:] unrecognized selector sent to instance
I have two classes. Let's say Class1 and Class2.
Class1 looks like:
Class1.h
@...
58
votes
15
answers
46k
views
Simultaneous accesses to 0x1c0a7f0f8, but modification requires exclusive access error on Xcode 9 beta 4
my project uses both Objective-C and Swift code. When a user logs in, it calls a set of apis for user preference, I have a DataCoordinator.swift class which schedules the API operation and I make this ...
58
votes
7
answers
48k
views
Android App Restarts upon Crash/force close
My android app is getting restarted after force close, through my entire application which consist of 20 activities, I am relying on static data created on a main activity. So once the app is getting ...
56
votes
9
answers
56k
views
iOS crash log catch, debug info.. Catch and send via email to the Dev team
Recently we came across a situation where we wanted to see the debug info from the app which a user has on his device. So, what I am looking for is a way to find the log on the device, paste it as ...
54
votes
5
answers
106k
views
malloc: *** error: incorrect checksum for freed object - object was probably modified after being freed
I have a big problem with my iOS App: it crashes sometimes without detailed debug error.
The stack trace is empty. These are the only two lines in the stack trace:
crash start in UIApplicationMain at ...
53
votes
12
answers
43k
views
Present UIAlertController on top of everything regardless of the view hierarchy
I'm trying to have an helper class that presents an UIAlertController. Since it's a helper class, I want it to work regardless of the view hierarchy, and with no information about it. I'm able to show ...
53
votes
7
answers
18k
views
App killed by SIGKILL when changing privacy settings
My iOS app accesses the user's Photos with ALAssetsLibrary. When I change the privacy settings for the app (Settings → Privacy → Photos), the app gets killed by system (SIGKILL). Is this a bug?
52
votes
14
answers
9k
views
git-gui command crashes on macOS Sierra
After update to macOS Sierra, git-gui command crashes with an error:
Wish[23862:202062] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: ...
51
votes
7
answers
36k
views
What does 8badf00d mean?
Sometimes my iPhone application crashes with a weird crashlog, that reads exception code is 0x8badf00d. The stacktraces show random snapshots of app execution, but nothing suspicious. This happens ...
50
votes
4
answers
3k
views
C# 4.0 Compiler Crash
This code sample is not able to be compiled. Any work arounds out there?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
...
49
votes
3
answers
47k
views
How do I use PDB files
I have heard using PDB files can help diagnose where a crash occurred.
My basic understanding is that you give Visual studio the source file, the pdb file and the crash information (from Dr Watson?)
...
49
votes
3
answers
33k
views
App shutdown with EXC_RESOURCE, WAKEUPS exception on iOS 8 GM
Does anyone know what this kind of exception is on iOS 8?
=== from crash report ===
Exception Type: EXC_RESOURCE
Exception Subtype: WAKEUPS
Exception Message: (Limit 150/sec) Observed 206/sec over ...
48
votes
3
answers
18k
views
iPhone app under test crashes after a few days
I am new to making iPhone apps and this is my first attempt.
I have made a simple app which has two buttons in it. One button opens a URL and the other opens a Pop-up window.
I am yet to enroll as ...
46
votes
2
answers
18k
views
In App Purchase Crashes on [[SKPaymentQueue defaultQueue] addPayment:payment]
My In-App-Purchases work. I present a ModalView with a "Buy" UIButton. You click the button and the In App Purchase goes through the process. You can even do it several times in a row.
The problem ...