FROM : Jonas Oberschweiber
DATE : Tue Jul 18 22:17:39 2006
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
DATE : Tue Jul 18 22:17:39 2006
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
| Related mails | Author | Date |
|---|---|---|
| Jonas Oberschweibe… | Jul 18, 22:17 | |
| Jonas Oberschweibe… | Jul 18, 23:55 | |
| j o a r | Jul 18, 23:58 | |
| Jonas Oberschweibe… | Jul 19, 00:04 |






Cocoa mail archive

