• 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
GDB "Cannot access memory at address <address>"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB "Cannot access memory at address <address>"


  • Subject: GDB "Cannot access memory at address <address>"
  • From: "Roger Persson" <email@hidden>
  • Date: Mon, 16 Oct 2006 00:28:59 +0200

During debugging, when I step gdb reports the following.

"Cannot access memory at address 0xcb0ca10b
Cannot access memory at address 0xcb0ca113"

This is limited to only the portion of the code running from a thread.

I haven't bother about this message before now. However, since I got
other malfunctions in gdb (fix and continue) I want to check all
possible errors.

I think it has to do with XCode quering gdb for a stack trace. Because
when I print the backtrace manually, I get the same error.

(gdb) backtrace
#0  -[MyObject someFunction:info:context:] ...
#1  0x00028418 in MyFunctionTwo ...
#2  0x000128dc in MyFunctionOne ...
Cannot access memory at address 0xcb0ca10b
Cannot access memory at address 0xcb0ca113

Why can't the memory be accessed?
How can I fix this so all memory can be accessed (and gdb will display
all frames in the current thread)?
Possible the most important question; may this have any relationship
with my broken "fix and continue", or should I just ignore this error?

Thanks for any hints.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: GDB "Error fixing MyObject.m: In function '-myMessage' argument 'self' changed from type 'class MyObject *' to type '<unknown type>', which is not supported"
  • Next by Date: Re: Pointers and arrays
  • Previous by thread: GDB "Error fixing MyObject.m: In function '-myMessage' argument 'self' changed from type 'class MyObject *' to type '<unknown type>', which is not supported"
  • Next by thread: Unicode in programs
  • Index(es):
    • Date
    • Thread