Address of pointer just changes
Address of pointer just changes
- Subject: Address of pointer just changes
- From: Jonas Oberschweiber <email@hidden>
- Date: Tue, 18 Jul 2006 22:17:39 +0200
Hi,
In the header file of one of my classes (a NSView subclass, contained
in a NSScrollView) I have an instance variable: NSMutableArray
*changeViews.
At first the changeViews pointer points to 0x301610, which is
correct, but when the app has fully started and I scroll the
NSScrollView and my NSView subclass trys to redraw itself and trys to
access changeViews, it just points to 0x1 and the application
terminates with a EXC_BAD_ACCESS. I've done some debugging and I can
tell that at the end of the last of my functions changeViews still
points to 0x301610. When I continue to Step Into, I get as far as
"asm dyld_stub__spin_lock 0x90196380:1" and then it says: "Xcode
could not locate source file: cpu_capabilities.h (line: 179)". At
this point, changeViews is still 0x301610. When I now hit Continue
and try to scroll, the application terminates with EXC_BAD_ACCESS,
the debugger shows up and Memory Viewer says changeViews points to 0x1.
I really have no idea what to do now.
Best Regards
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden