Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 05-15-2009, 03:40 AM   #1 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 18
Send a message via AIM to uncharteddev
Default SIGABRT?!?!?!?!?

I just installed 3.0 and everytime I run something on the device I get a SIGABRT message right of the bat. Any ideas?
uncharteddev is offline   Reply With Quote
Old 05-29-2009, 10:23 PM   #2 (permalink)
Member
 
Join Date: Mar 2009
Location: Near an Apple Store
Posts: 22
Default RE: SIG_ERROR

This is an Xcode error... not your code. I am having the same problem and am fixing it now. I will let you know what to do if no one else knows before then. You can fix it yourself or wait for the patch from Apple. Hope this helps.

Desert Sun
__________________
Desert Sun is offline   Reply With Quote
Old 07-15-2009, 03:23 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: Switzerland
Posts: 57
Default

Quote:
Originally Posted by Desert Sun View Post
This is an Xcode error... not your code. I am having the same problem and am fixing it now. I will let you know what to do if no one else knows before then. You can fix it yourself or wait for the patch from Apple. Hope this helps.

Desert Sun
Do you allready have an idea? I got the same problem. How can I fix it?

Its interesting if I run it line by line the code works... if not it gives this error message...

Thanks in advance
Markus
Maechi is offline   Reply With Quote
Old 07-15-2009, 03:44 PM   #4 (permalink)
Member
 
Join Date: Mar 2009
Location: Near an Apple Store
Posts: 22
Default Sorry

Sorry but my developer frientd was helping me but then i have not been able to contact him... somehow I have fixed it on my computer If I can get in contact with him I will definitely post the results here.
__________________
Desert Sun is offline   Reply With Quote
Old 07-16-2009, 01:45 AM   #5 (permalink)
Registered Member
 
GhostDog's Avatar
 
Join Date: Mar 2009
Location: Convict Hill
Posts: 80
Default

I've fixed these several times by: cleaning all targets, shutting down xcode, softbooting my device (home+off switch), restart xcode, recompile and run. Make sure the device has a green light in the organizer too. Other than that it's witchcraft to me.
__________________
Play Pocket Rocks!



4 out of 5 professional pirates prefer it over scurvy!
GhostDog is offline   Reply With Quote
Old 07-16-2009, 06:36 AM   #6 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: Switzerland
Posts: 57
Default

Quote:
Originally Posted by GhostDog View Post
I've fixed these several times by: cleaning all targets, shutting down xcode, softbooting my device (home+off switch), restart xcode, recompile and run. Make sure the device has a green light in the organizer too. Other than that it's witchcraft to me.
What do you mean with cleaning all targets? I did everything else, but it didnt help...

Last edited by Maechi; 07-16-2009 at 06:47 AM.
Maechi is offline   Reply With Quote
Old 07-16-2009, 07:51 PM   #7 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 18
Default

Hi Maechi...

Today I just had the same problem with this error. It was the first time I have experienced this. I have tried to Clean All Targets, power down my iPhone and Mac, etc... but nothing helped. The error was showing up when I was switching views (XIBs)... turned Out that I was getting this because of a [super Dealloc]?! I still did not figure out why and because of what this was happening exactly, cause when I removed the [super dealloc] and made deallocs by hand the problem did not occur... so in my case it looks like something was deallocated that shouldn't be...
theM is offline   Reply With Quote
Old 03-15-2010, 04:53 PM   #8 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 12
Default HELP

Quote:
Originally Posted by theM View Post
Hi Maechi...

Today I just had the same problem with this error. It was the first time I have experienced this. I have tried to Clean All Targets, power down my iPhone and Mac, etc... but nothing helped. The error was showing up when I was switching views (XIBs)... turned Out that I was getting this because of a [super Dealloc]?! I still did not figure out why and because of what this was happening exactly, cause when I removed the [super dealloc] and made deallocs by hand the problem did not occur... so in my case it looks like something was deallocated that shouldn't be...
Could you please tell me from where i need to delete the Dealloc? i have same error when i try to swith XIBs. From which .m should i delete it? from the one that is the main or the second one?
HElp
MrGreatTutorials is offline   Reply With Quote
Old 08-10-2010, 03:32 PM   #9 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 1
Default My issue was xib renaming

Mine was a simple issue of case sensitivity... i had renamed the classes because I wanted and uppercase letter where I had a lower case letter. I did not however change the xib file to match... this affected my code in the info section in interface designer the class is listed that represents the xib file... it was still lowercase... fixed that and change the case of the xib file name just to keep it uniform... that fixed the error for me.

So it could be as simple as incorrect case... it worked in simulator just fine... but not on a device.

-Ben
bencall is offline   Reply With Quote
Old 08-13-2010, 01:16 AM   #10 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 2
Default

For SIGABRT errors, run in debug until the program crashes. Then, there should be a little black button with the text "GDB" in yellow over it above your code editor in your mini-debugging bar. Click it, and it will bring up your debugger console. This should show the sig-abort report, possibly an alert stating that it was caused by an unhandled thrown exception, the stack trace of all nested function calls, and above that, one or more messages dealing with what specifically went wrong.

I don't know what is wrong with the actual startup error, but it could be very likely you changed the name of some class in your code that was referenced by your xib files, and didn't change the references in Interface Builder.
themidgethotel is offline   Reply With Quote
Old 08-13-2010, 01:29 AM   #11 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 2
Default

Another heads up, that's exactly the problem I had. I had renamed both the default app delegate and default view classes given in the startup OpenGL project, and never updated the references in Interface Builder.

I kept getting a GDP Exeption that my glView property/outlet (because the default view type was changed, and so didn't exist anymore) could not be key-value coded, or something like that. It was dynamically typed so it never threw a compiler error. Also, I had renamed glView to gameView, and it didn't update in IB. God, I hate Apple.

Anyway, if that is your case, you have to go to interface builder and change the "Class" in "Identity" of each invalid object. Then, make sure all connections are valid and correct.
themidgethotel is offline   Reply With Quote
Old 09-07-2010, 08:42 AM   #12 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 5
Default SIGABRT error

wenever i run my application i get SIGABRT error and also NSException can anyone help me???
LeenaTekani is offline   Reply With Quote
Old 09-07-2010, 09:01 AM   #13 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
Default

another possibility is that backgrounder (a cydia app to allow multitasking) cause it. So open backgrounder and add a "ovverride" to your app, so SIGABTR will be not appear the next time.


99% is not your case, but i want to say it, because maybe someone in fucture will have this problem (as me )
__________________
dany_dev is offline   Reply With Quote
Old 09-08-2010, 04:06 AM   #14 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 5
Default SIGABRT error

still getting error SIGABRT and NSException in windows application on saving data.
LeenaTekani is offline   Reply With Quote
Old 09-27-2010, 11:49 PM   #15 (permalink)
breathing
 
Join Date: Aug 2010
Posts: 48
Default

fixed my SIGABRT problem today by fixing a view link in interface builder. thanks themidgethotel
sl4ter is offline   Reply With Quote
Old 10-06-2010, 03:13 AM   #16 (permalink)
Registered Member
 
Sarah Hastings's Avatar
 
Join Date: Sep 2010
Posts: 19
Default

These sorts of errors are very common. I think you guys are right, it is the due to the changed names, and classes which mismanage the references and creates problems with interface builder.
Sarah Hastings is offline   Reply With Quote
Old 01-03-2011, 03:38 PM   #17 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 1
Default SIGABRT when referring to a font incorrectly

I'd just completed the 'hello world' tutorial and kept getting SIGABRT errors. I checked the spelling of all variables and terms and it wouldn't work.

Then I changed the font from "Futura-MediumItalic" (used in the tutorial) to "Helvetica" and it finally worked. Somehow I must have deactivated the font...I use FontExplorerX Pro, maybe this was the problem...

Hope this helps some of you.

Cheers
Lefiesh
Lefiesh is offline   Reply With Quote
Old 01-04-2011, 12:33 AM   #18 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 57
Default

Try to restart your iPhone

Quote:
Originally Posted by Lefiesh View Post
I'd just completed the 'hello world' tutorial and kept getting SIGABRT errors. I checked the spelling of all variables and terms and it wouldn't work.

Then I changed the font from "Futura-MediumItalic" (used in the tutorial) to "Helvetica" and it finally worked. Somehow I must have deactivated the font...I use FontExplorerX Pro, maybe this was the problem...

Hope this helps some of you.

Cheers
Lefiesh
PuchkoffDevelopment is offline   Reply With Quote
Old 01-19-2011, 09:36 PM   #19 (permalink)
Registered Member
 
Twimfy's Avatar
 
Join Date: Mar 2009
Location: UK
Posts: 36
Send a message via MSN to Twimfy Send a message via Skype™ to Twimfy
Default

I only ever get this error when the app is calling on something that is missing from resources.

e.g I have an (IBAction) which plays a sound but the sound is no longer part of the app.

Check all of your called resources in your code and make sure they're still in your xcode project. Even images used in Interface builder can produce a SIGARBT.

It's an annoying error because 9/10 times the debugger doesn't tell you what's wrong.
Twimfy is offline   Reply With Quote
Old 01-20-2011, 01:59 AM   #20 (permalink)
Hollingtech Software LLC
 
hollingtech's Avatar
 
Join Date: Jan 2011
Location: Jackson, MS
Posts: 17
Default Crude Fix

I know there is probably a better way to do this with breakpoints, but I always like to use NSLog statements to narrow down the point that is causing the failure. A lot of times it is something simple like releasing something too many times, or trying to access something that has already been released.
__________________
Check out our newest app, SpectaRuler™
Recently featured on Apple's New and Noteworthy and What's Hot Utilities lists!

http://www.spectaruler.com
http://itunes.apple.com/us/app/spect...404900564?mt=8
hollingtech is offline   Reply With Quote
Old 10-19-2011, 05:53 PM   #21 (permalink)
Programium
 
chandhooguy's Avatar
 
Join Date: Oct 2011
Posts: 5
Default .XIB!!!

Well....
This also happened to me. Whenever I ran the app, the simulator crashed and the debugger said: Program received SIGABRT
In the bold, I noticed an object that I previously deleted. So I went all into my files, but could not find it. It turned out that the object in the IB was still linked with my old methods and things that I already deleted.
Hope this works for u too!
__________________
-Programium
chandhooguy is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 286
18 members and 268 guests
2WeeksToGo, ADY, apatsufas, dacapo, Dani77, Fritzer, ghost, HDshot, headkaze, iDifferent, mer10, mystic.purple, Rudy, smethorst, stoneage, superg, tathaastu, Zool
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,878
Threads: 89,224
Posts: 380,732
Top Poster: BrianSlick (7,129)
Welcome to our newest member, olga2000
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:41 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0