Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Beginning iOS 5 Application Development
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning iOS 5 Application Development
This is the forum to discuss the Wrox book Beginning iOS 5 Application Development by Wei-Meng Lee; ISBN: 978-1-1181-4425-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iOS 5 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 10th, 2012, 01:08 PM
Registered User
Points: 40, Level: 1
Points: 40, Level: 1 Points: 40, Level: 1 Points: 40, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 - Using Views, PG 51

I am getting SIGABRT error? What is that? Initially the code was doing alright after some minor glitch about declarations.

This is what was reflected on:
Thread 1 under 0_pthread_kill(Thread View):
Code:
0x916779bc  <+0000>  mov    $0x80148,%eax
0x916779c1  <+0005>  call   0x9167949a <_sysenter_trap>
0x916779c6  <+0010>  jae    0x916779d6 <__pthread_kill+26>Thread 1: Program received signal "SIGABRT"
0x916779c8  <+0012>  call   0x916779cd <__pthread_kill+17>
0x916779cd  <+0017>  pop    %edx
0x916779ce  <+0018>  mov    0x1aa6f64f(%edx),%edx
0x916779d4  <+0024>  jmp    *%edx
0x916779d6  <+0026>  ret    
0x916779d7  <+0027>  nop   

Thread 1 under 14UIApplicationMain(Thread View): 
0x0001297f  <+0891>  mov    %eax,(%esp)
0x00012982  <+0894>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x00012987  <+0899>  mov    %eax,%esi
0x00012989  <+0901>  mov    0x69940e(%edi),%eax
0x0001298f  <+0907>  mov    0x68db46(%edi),%ecx
0x00012995  <+0913>  lea    0x525009(%edi),%edx
0x0001299b  <+0919>  mov    %edx,0x8(%esp)
0x0001299f  <+0923>  mov    %ecx,0x4(%esp)
0x000129a3  <+0927>  mov    %eax,(%esp)
0x000129a6  <+0930>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x000129ab  <+0935>  mov    0x68df86(%edi),%ecx
0x000129b1  <+0941>  mov    %ebx,0x18(%esp)
0x000129b5  <+0945>  lea    0x6a6c56(%edi),%edx
0x000129bb  <+0951>  mov    %edx,0x14(%esp)
0x000129bf  <+0955>  mov    %eax,0xc(%esp)
0x000129c3  <+0959>  mov    %esi,0x8(%esp)
0x000129c7  <+0963>  mov    %ecx,0x4(%esp)
0x000129cb  <+0967>  mov    -0x18(%ebp),%eax
0x000129ce  <+0970>  mov    %eax,(%esp)
0x000129d1  <+0973>  movl   $0x641,0x10(%esp)
0x000129d9  <+0981>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x000129de  <+0986>  mov    0x699476(%edi),%eax
0x000129e4  <+0992>  mov    0x68db72(%edi),%ecx
0x000129ea  <+0998>  mov    %ecx,0x4(%esp)
0x000129ee  <+1002>  mov    %eax,(%esp)
0x000129f1  <+1005>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x000129f6  <+1010>  mov    0x68df92(%edi),%ecx
0x000129fc  <+1016>  mov    %eax,0x8(%esp)
0x00012a00  <+1020>  mov    %ecx,0x4(%esp)
0x00012a04  <+1024>  mov    -0x10(%ebp),%esi
0x00012a07  <+1027>  mov    %esi,(%esp)
0x00012a0a  <+1030>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x00012a0f  <+1035>  mov    0x6d0fbe(%edi),%ebx
0x00012a15  <+1041>  test   %al,%al
0x00012a17  <+1043>  je     0x12a2c <UIApplicationMain+1064>
0x00012a19  <+1045>  mov    0x68dbb6(%edi),%eax
0x00012a1f  <+1051>  mov    %ebx,0x8(%esp)
0x00012a23  <+1055>  mov    %eax,0x4(%esp)
0x00012a27  <+1059>  mov    %ebx,(%esp)
0x00012a2a  <+1062>  jmp    0x12a69 <UIApplicationMain+1125>
0x00012a2c  <+1064>  mov    0x68dc0a(%edi),%eax
0x00012a32  <+1070>  mov    %eax,0x4(%esp)
0x00012a36  <+1074>  mov    %esi,(%esp)
0x00012a39  <+1077>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x00012a3e  <+1082>  mov    0x68dcba(%edi),%ecx
0x00012a44  <+1088>  mov    %ecx,0x4(%esp)
0x00012a48  <+1092>  mov    %eax,(%esp)
0x00012a4b  <+1095>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x00012a50  <+1100>  mov    0x68df96(%edi),%ecx
0x00012a56  <+1106>  mov    %eax,0x8(%esp)
0x00012a5a  <+1110>  mov    %ecx,0x4(%esp)
0x00012a5e  <+1114>  mov    %ebx,(%esp)
0x00012a61  <+1117>  movl   $0x1,0xc(%esp)
0x00012a69  <+1125>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x00012a6e  <+1130>  mov    0x68db22(%edi),%eax
0x00012a74  <+1136>  mov    %eax,0x4(%esp)
0x00012a78  <+1140>  mov    -0x14(%ebp),%eax
0x00012a7b  <+1143>  mov    %eax,(%esp)
0x00012a7e  <+1146>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x00012a83  <+1151>  mov    0x6d0fbe(%edi),%eax
0x00012a89  <+1157>  mov    0x68df9a(%edi),%ecx
0x00012a8f  <+1163>  mov    %ecx,0x4(%esp)
0x00012a93  <+1167>  mov    %eax,(%esp)
0x00012a96  <+1170>  call   0x4ad8b2 <dyld_stub_objc_msgSend>
0x00012a9b  <+1175>  xor    %eax,%eaxThread 1: Program received signal "SIGABRT"
0x00012a9d  <+1177>  add    $0x2c,%esp
0x00012aa0  <+1180>  pop    %esi
0x00012aa1  <+1181>  pop    %edi
0x00012aa2  <+1182>  pop    %ebx
0x00012aa3  <+1183>  pop    %ebp
0x00012aa4  <+1184>  ret    

Thread 1 under 15Main(Thread View):
//
//  main.m
//  UsingViews
//
//  Created by Joe Shamuraq on 11/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "UsingViewsAppDelegate.h"

int main(int argc, char *argv[])
{
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([UsingViewsAppDelegate class]));Thread 1: Program received signal "SIGABRT"
    }
}

Last edited by teamstar; March 10th, 2012 at 01:15 PM..
Reply With Quote
  #2 (permalink)  
Old March 11th, 2012, 08:51 AM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

Need to see some code.

You should check your .xib connections to see if your "declaration" glitch might have resulted in connections being disconnected (IBOutlets no longer pointing to their respective interface elements), and messages being sent to disconnected outlets.

Bob
Reply With Quote
The Following User Says Thank You to thepianoguy For This Useful Post:
acegyver (August 30th, 2012)
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 3 - Using Views, PG 51 teamstar BOOK: Beginning iOS 5 Application Development 6 March 10th, 2012 07:35 AM
Chapter 5 Using Image Views... kenfordboise BOOK: Beginning Android Application Development 19 February 28th, 2012 09:27 AM
Chapter 4 - Switching Views tfiPadn00b BOOK: Beginning iPad Application Development 5 December 20th, 2010 11:01 AM
PG 51 INTERSECT to EXISTS Monchkrit BOOK: Professional Microsoft SQL Server 2008 Programming 0 July 23rd, 2010 09:40 AM



All times are GMT -4. The time now is 10:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.