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
-2
votes
3 answers

Swift signal SIGABRT error

Here's the code: func setupData() { clearData() let delegate = UIApplication.shared.delegate as? AppDelegate if let context = delegate?.persistentContainer.viewContext { let mark =…
-2
votes
1 answer

Swift 3 - Thread 1: Signal SIGABRT

I am attempting to change views in the simulator via a button click but keep getting the error: Thread 1: signal SIGABRT I am aware that this usually occurs when there is a disconnect with outlets or actions but I have checked and they all seem to…
DBDB91
  • 21
  • 4
-2
votes
1 answer

Thread 1 Signal SIGABRT iOS

import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { …
-2
votes
1 answer

Get error Thread 1 SIGABRT

I'm using CoreData in my app. Now add a new entry and try to save it. I don't know why but it fails with Thread 1: signal SIGABRT This is my saving part: var error: NSError? = nil if !context.save(&error) { abort() } It crashes…
-2
votes
2 answers

extracting a string from a text field I get "Thread 1: signal SIGABRIT" if the character before the extract is a number

I am using Tesseract to scan a driving license, and I want to pre-populate some fields using the extracted information. The format of the license goes: WILLS MATTHEW DAVID ... etc My code (which I will add at the bottom) works if I am looking for…
-2
votes
1 answer

Application crashes in Xcode while trying to put an "UITableViewCell" method. Shows THREAD 1: signal SIGABRT

So i am trying to put an UITableViewCell cellForRowAtIndexPath method in my ViewController.h file. (I am trying to make a "todo-list" application with a few viewControllers). But when I execute the app into the iOS simulator, it crashes and gives…
-3
votes
1 answer

signal SIGABRT in segue from button

I have a problem. I made a segue from button to view controller and I get this error. I have been finding for 4 hours, but here is similar problems, not as mine. This is my error This is description from the console
-3
votes
1 answer

Swift 4.0 Tesseract OCR SIGABRT error

Im trying to implement Tesseract within a project on Swift 4.0 but am getting a SIGABRT error which is completely divorced from any @IBActions or Outlets The instantiation of the Tesseract object is giving me the issue let tesseract =…
-3
votes
1 answer

xcode swift Thread 1: signal SIGABRT/display url data from retrieved website info

I have 2 questions. 1. I keep getting signal SIGABRT and I don't know the issue. There questions didn't help. Project below! 2. When I get data from a website(mine) how would I display it in my table? Thanks. Download: https://ufile.io/2sso0
-3
votes
1 answer

SIGABRT error due to getline(cin,s)

This code works fine on my pc but showing SIGABRT on online judge(Spoj).why? i think problem is with getline it got accepted when i used: input format: 52 + 81 = machula or 5machula + 81 = 133 string…
-3
votes
2 answers

Sigabrt error in c programing

plz help me to remove SIBABRT error for the following code,plz suggest me why this error occurs even after getting correct output #include #include int main() { char x[25],y[25]; int…
-3
votes
1 answer

NSUser Defaults

I have tried an answer which doesn't work: Swift Saving user NSUser Defaults. My problem is that i want to save : var myDict = [Int:String]() permanently using NSUser defaults. My code is : let userDefaults =…
-3
votes
1 answer

how to use two CollectionView on same view controller scroll one by one

I would try to set to the collection view on the same view controller, but at runtime it shows the error of signal SIGABRT error so please tell me what can I do to add to the collection view on the same view controller?
Siddharth Shah
  • 382
  • 4
  • 22
-3
votes
2 answers

Prime number (SIGSEGV)

This is a very famous problem on SPOJ where you need to find prime numbers in a given range so the thing is the range lies from 1 to 1000000000.But every time i allocate an array of 1000000000 size it will give me a sigsegv error or a sigabrt…
navroze
  • 35
  • 1
  • 6
-4
votes
1 answer

SIGABRT error in my code in c++

I am getting SIGABRT error in my code. Can anyone tell me from where it might be coming? Here's my code: #include using namespace std; int main() { int t; cin>>t; while(t--) { int n; cin>>n; …
1 2 3
56
57