Questions tagged [crash]

A crash is the result of an unrecoverable error that causes the program to stop completely.

A crash is the result of an unrecoverable error that causes the program to stop completely. During software development, crashes can be avoided by implementing proper error and exception handling.

Another common source of crashes is improper memory management, especially for programming languages like or , that don't have a fully fledged automatic garbage collector, that detects no longer used memory automatically, and feeds it back as available.

13257 questions
67
votes
18 answers

Is there any way a C/C++ program can crash before main()?

Is there any way a program can crash before main()?
Thi
  • 2,297
  • 7
  • 26
  • 36
62
votes
6 answers

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 immediately crashes with the following message. I had…
vikkyhacks
  • 3,190
  • 9
  • 32
  • 47
60
votes
20 answers

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 crashes with no error Happens when working with TextInput. I…
Narek Malkhasyan
  • 1,332
  • 1
  • 12
  • 22
60
votes
10 answers

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() of Snackbar.make()). What do I put…
Kelvin Kellner
  • 746
  • 1
  • 6
  • 15
60
votes
9 answers

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, every two days or so, the server just shuts down…
Tom
  • 4,467
  • 17
  • 59
  • 91
59
votes
3 answers

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 class Test : Form { public Test() { …
Yanick Rochon
  • 51,409
  • 25
  • 133
  • 214
57
votes
7 answers

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 crashed all my static data is getting lost and…
Techfist
  • 4,314
  • 6
  • 22
  • 32
57
votes
2 answers

-[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 @interface Class1 : NSObject { NSString…
Shamsudheen TK
  • 30,739
  • 9
  • 69
  • 102
56
votes
9 answers

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 inline text on a mail and allow the user to send…
Mobilewits
  • 1,743
  • 4
  • 21
  • 34
55
votes
15 answers

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 calls from UserDetailViewController.m class to…
Francis F
  • 3,157
  • 3
  • 41
  • 79
54
votes
5 answers

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 "symbol stub for: -[_UIHostedTextServiceSession…
user2776543
53
votes
12 answers

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 the alert, but when it's being dismissed, the…
Guig
  • 9,891
  • 7
  • 64
  • 126
52
votes
14 answers

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: [0 nan]' *** First throw call stack: ( 0 …
sbondaryev
  • 839
  • 6
  • 10
52
votes
7 answers

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?
qiz
  • 869
  • 1
  • 9
  • 14
51
votes
7 answers

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 very rarely and I'm not able to find out how to…
Vladimir Grigorov
  • 10,903
  • 8
  • 60
  • 70