JSA986
JSA986

Reputation: 5936

Thread 1 received signal SIGABART error

Im getting the following error when hitting the email button in my application on the simulator. Im using the same code form a previous application so the code must be ok

int main(int argc, char *argv[])

@autoreleasepool {
    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

Im having trouble interpreting what this means, the debugger says

argc = (int)1
argv = (char**) 0Xbffff594
*argv = char 0xbffff6b8/users/library/apllications/5.1/applications/FBA888AA-xxxxxx

In thread 1

0x0028b626  <+1163>  xor    %eax,%eax
0x951929c6  <+0010>  jae    0x951929d6 <__pthread_kill+26>

I have rebooted machine, still same error

Could anyone offer any advice?

Upvotes: 0

Views: 2827

Answers (3)

user3780698
user3780698

Reputation: 1

It looks like you may have a connection broken. You should double check all your connections in Interface Builder.

Re-connect your connection or delete the connection.

Upvotes: 0

user3780698
user3780698

Reputation: 1

Add this line to your App-delegate in .h file

@property (strong, nonatomic) UIViewController *viewController;    

and this line to your App-delegate .m file

@synthesize viewController = _viewController;

Upvotes: 0

Saiful
Saiful

Reputation: 1911

Add this line to your App-delegate in .h file@property (strong, nonatomic) ViewController *viewController;

and this line to your App-delegate .m file @synthesize viewController = _viewController;

Upvotes: 2

Related Questions