• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Address of pointer just changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Header Files Copied into App Bundle - Why?
  • Next by Date: Anyone using the PostgreSQL framework from P3 Consulting
  • Previous by thread: Re: Prepending to fixed length
  • Next by thread: Re: Address of pointer just changes
  • Index(es):
    • Date
    • Thread