Operating System - Linux
1755240 Members
4932 Online
108831 Solutions
New Discussion юеВ

**** Issues with Debugging on HP-UX - Itanium ***** Error accessing memory address : Not owner

 
Anurag_7
Advisor

**** Issues with Debugging on HP-UX - Itanium ***** Error accessing memory address : Not owner

Hi All.....

We are facing issues while trying to debug our application.

We get an error as follows

Cannot insert breakpoint 2:
Error accessing memory address 0x205f63b6: Not owner.


GDB Session was as follows

=====================================
Reading symbols from /u02/wmpso/CMLA2004R2DEV/opt/app/wmprd/lib/libdalt.sl...
done.
Reading symbols from /usr/lib/hpux32/libnss_files.so.1...done.

warning: The Unwind info header section .IA_64_unwind_hdr is missing
Skipping this library /usr/lib/hpux32/libcl.so.1.

0x60000000c0337310:0 in __ksleep+0x30 () from /usr/lib/hpux32/libc.so.1
(gdb)
directory /builds/cmla2004r2IA/base/invmgmt/PkPackCase/server
Source directories searched: /builds/cmla2004r2IA/base/invmgmt/PkPackCase/server:/builds/cmla2004r2IA/base:/builds/cmla2004r2IA/cust:$cdir:$cwd
(gdb) break PkPackCaseCreateImpl.cpp:77
(gdb) cont
Continuing.
warning: Invalid breakpoint address (00000000205f63b0:6)

Cannot insert breakpoint 2:
Error accessing memory address 0x205f63b6: Not owner.


============================================

Please guide

 

 

 

Moved from HP-UX Technical Documentation to HP-UX > languages

2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: **** Issues with Debugging on HP-UX - Itanium ***** Error accessing memory address : Not owner

Shalom,

ipcs

displays shared memory and the owner. If for example root owns it and a user needs access, you need to use ipcrm to remove it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Anurag_7
Advisor

Re: **** Issues with Debugging on HP-UX - Itanium ***** Error accessing memory address : Not owner

It gives me this error ALWAYS when i try to debug any of the binaries. I have not been able to debug anything so far. I don't think i m trying to acces rooot's memory. I got the error "Error accessing memory address 0x205f9246: Not owner" and this never appears in the output of ipcs.

Also, i m not trying to debug any shared library so even doing a chatr is not helping. Please guide.