views:

234

answers:

1

Hello,

I have 2 applications that I use with Aquatic Prime. One is an application just with the Aquatic Prime framework, and the other is an application that I've been working on that has been incorporated with the Aquatic Prime framework. The first application I mentioned before has its SDK set to 10.5 with the architecture to 32-bit. The second application I made has its SDK that is set to 10.6 (which it has to since I need NSRunningApplication) and its architecture to 32-bit. Now my question is, whenever I debug my first application it works perfectly fine, but with my second it gives me this interrupted error right after Running. What's going wrong? I've tried doing some breakpoints like "objc-exception-throw" but all it says is stopped at breakpoint 1. I need 10.6 in my application, but I also need Aquatic Prime. Can anyone help me solve this problem?

Ok here's the one from the stack trace which I have no idea how to read:

0x91cdff11  <+0000>  push   %ebp
0x91cdff12  <+0001>  mov    %esp,%ebp
0x91cdff14  <+0003>  sub    $0x28,%esp
0x91cdff17  <+0006>  mov    %ebx,-0xc(%ebp)
0x91cdff1a  <+0009>  mov    %esi,-0x8(%ebp)
0x91cdff1d  <+0012>  mov    %edi,-0x4(%ebp)
0x91cdff20  <+0015>  call   0x91cdff25 <objc_exception_throw+20>
0x91cdff25  <+0020>  pop    %ebx
0x91cdff26  <+0021>  mov    0x8(%ebp),%esi
0x91cdff29  <+0024>  lea    0xe4cbb8b(%ebx),%edi
0x91cdff2f  <+0030>  mov    0x4(%edi),%eax
0x91cdff32  <+0033>  test   %eax,%eax
0x91cdff34  <+0035>  jne    0x91cdff3b <objc_exception_throw+42>
0x91cdff36  <+0037>  call   0x91ce4f53 <set_default_handlers>
0x91cdff3b  <+0042>  mov    %esi,(%esp)
0x91cdff3e  <+0045>  nop    
0x91cdff3f  <+0046>  nopl   0x0(%eax)
0x91cdff43  <+0050>  mov    %esi,(%esp)
0x91cdff46  <+0053>  call   *0x4(%edi)
0x91cdff49  <+0056>  lea    0xfd44(%ebx),%eax
0x91cdff4f  <+0062>  mov    %eax,(%esp)
0x91cdff52  <+0065>  call   0x91ce4e1f <_objc_fatal>

The the GDB tells me its all good:

run [Switching to process 990] Running… 2009-10-14 15:20:33.233 ApplicationName[990:a0f] init

Sincerely,

Kevin

A: 

I have a similar problem, my project won't compile.

Here is the error I get :

"_OBJC_CLASS_$_AquaticPrime", referenced from:

__objc_classrefs__DATA@0 in AppController.o

ld: symbol(s) not found

collect2: ld returned 1 exit status

Can anyone help ?

BS0D
That's not similar at all. Please ask a separate question.
Peter Hosey