🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #861

ptrace errors for Sun4, gdb 3.5

#861
From: edg%galileo.Berkeley.EDU
Date: Sun, 25 Feb 1990 02:47
19 lines
1057 bytes
I am debugging a g++ program which causes a seg fault.  After the
segmentation fault, the "where" command causes a ptrace error:

Program received signal 11, Segmentation fault
totalSize__9SpaceWalkR6Galaxy ($this=(SpaceWalk *) 0xf7fff568, galaxy=(Galaxy &)
 (0x0 &) = ptrace: I/O error.
Cannot read memory: address 0x0 out of bounds.
(gdb) where
#0  totalSize__9SpaceWalkR6Galaxy ($this=(SpaceWalk *) 0xf7fff568, galaxy=(Galax
y &) (0x0 &) = ptrace: I/O error.
Cannot read memory: address 0x0 out of bounds.
---------

I am using:

Sun4, OS 4.0.3c.
gdb 3.5, g++ 1.36.4, gcc 1.37.1, libg++ 1.36.4

    -Ed
Technical Details
Message-ID: <9002250247.AA02352@galileo.berkeley.edu.CosmicSuns>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!JADE.BERKELEY.EDU!edg%galileo.Berkeley.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!JADE.BERKELEY.EDU!edg%galileo.Berkeley.EDU
From: edg%galileo.Berkeley.EDU@JADE.BERKELEY.EDU
Newsgroups: gnu.gdb.bug
Subject: ptrace errors for Sun4, gdb 3.5
Message-ID: <9002250247.AA02352@galileo.berkeley.edu.CosmicSuns>
Date: 25 Feb 90 02:47:25 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 19