Questions tagged [sigabrt]

SIGABRT is a Unix signal sent when a program abnormally stops, often leading to a crash.

The abort signal is received by a program in case of abnormal behavior. If the signal is not caught by the program, it leads to an application crash.

Sources:

844 questions
286
votes
13 answers

When does a process get SIGABRT (signal 6)?

What are the scenarios where a process gets a SIGABRT in C++? Does this signal always come from within the process or can this signal be sent from one process to another? Is there a way to identify which process is sending this signal?
Shree
  • 4,627
  • 6
  • 37
  • 49
87
votes
12 answers

Saving custom Swift class with NSCoding to UserDefaults

I am currently trying to save a custom Swift class to NSUserDefaults. Here is the code from my Playground: import Foundation class Blog : NSObject, NSCoding { var blogName: String? override init() {} required init(coder aDecoder:…
The Lone Coder
  • 3,062
  • 4
  • 20
  • 35
81
votes
3 answers

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 Run again, and it works fine. Until I repeat the…
Beau Nouvelle
  • 6,962
  • 3
  • 39
  • 54
57
votes
6 answers

How to stop 'uninterruptible' process on Linux?

I have a VirtualBox process hanging around which I tried to kill (KILL/ABORT) but without success. The parent pid is 1 (init). top shows the process as D which is documented as "uninterruptible sleep". strace shows up nothing. How can I get rid of…
Tilo Prütz
  • 1,766
  • 3
  • 16
  • 27
50
votes
3 answers

Android app crashes with SIGABRT Signal 6 only while Eclipse debugging

I have an app that runs perfectly fine on a device without a debugger attached. However, I have a problem when debugging in Eclipse: When the main thread is suspended for about 10 seconds or more (for example after hitting a breakpoint), the main…
zyamys
  • 1,609
  • 1
  • 21
  • 23
41
votes
1 answer

How to track down cause of SIGABRT

I'm showing the code to this problem for example purposes, but really my question is: how am I supposed to track down and understand SIGABRT errors? I read this question: sigabrt with no error message, however I don't think this pertains to my…
owen gerig
  • 6,165
  • 6
  • 52
  • 91
30
votes
2 answers

Can one use libSegFault.so to get backtraces for SIGABRT?

The magic incantation LD_PRELOAD=/lib/libSegFault.so someapp runs someapp with libSegFault.so providing backtrace information on a SIGSEGV as described in many different places. Other than using signal(7)-like approaches to cause SIGABRT to invoke…
Rhys Ulerich
  • 1,242
  • 1
  • 12
  • 28
25
votes
2 answers

iOS Swift how to debug SIGABRT :"fatal error: call of deleted method" from a CocoaPod?

I have an app which uses SlideMenuControllerSwift. I've modified some code to see how to present different panels, then rolled back my changes. When running the project I get SIGABRT fatal error: call of deleted method in console when…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
22
votes
3 answers

This class is not key value coding-compliant for the key cancel

I keep getting this error: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key cancel.' I'm…
Ethan
  • 223
  • 1
  • 2
  • 4
20
votes
12 answers

setValue:forUndefinedKey:]:

FinalViewWithSending *newView = [[FinalViewWithSending alloc]initWithNibName:@"FinalViewWithSending" bundle:nil]; newView.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; [self presentModalViewController:newView animated:YES]; //it…
Szwedo
  • 354
  • 1
  • 3
  • 15
18
votes
2 answers

Fatal signal 6 (SIGABRT) code=-6 on first launch

I am getting a Fatal signal 6 (SIGABRT) error when trying to run my app on a Nexus 10 with 4.4.2. It works on every other device I've tried including my Nexus 7 (2) with 4.4.2 I don't think it's aproblem with the code as I've tried putting…
danieltnbaker
  • 181
  • 1
  • 1
  • 7
17
votes
3 answers

Xcode error - Thread 1: signal SIGABRT

I am creating a simple RSS application and I am not that good in Objective-c. The application will always build successful and there is no errors or warnings, in the UITableView which reads the RSS, whenever i press the cells it will terminate and…
Hassan Tavari
  • 201
  • 1
  • 2
  • 6
16
votes
5 answers

Objective C, Thread 1 Program Received Signal SIGABRT

I am trying to compile and run a simple tutorial for an Objective C app using Interface Builder. I am using Xcode 4.0.2 and simulating on iOS (iPhone)…
eric.mitchell
  • 8,817
  • 12
  • 54
  • 92
14
votes
7 answers

iPhone app not starting on simulator, no errors

I'm having a problem where my (simple) iOS app builds fine, says running but on the simulator I just get a blank screen. In xCode, it still says "Running XXXX on iPhone 5.0 Simulator" but also give a "Thread 1: signal SIGABRT"; There are no readable…
Richard Williams
  • 337
  • 1
  • 5
  • 12
13
votes
9 answers

App crashes while loading with error in main.m

I'm trying to recover an app that I accidentally deleted and managed to do it through the organizer, however, now when I try to run it on the simulator or iphone, it crashes with an error popping up in the main.m file: int main(int argc, char…
cory ginsberg
  • 2,907
  • 6
  • 25
  • 37
1
2 3
56 57