Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Help with dbx
@ 1996-01-19  5:00 Anthony Lee
  1996-02-08  5:00 ` Paul Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Lee @ 1996-01-19  5:00 UTC (permalink / raw)


Dear all,

I have a program which core dumps and when I run dbx on the binary
and code I get this strange result and I cannot work out where the
program is falling over.  This is the result:

97-ws_sdt:/>sudo dbx /usr/local/sacs/bin/subpoll /core
dbx version 3.11.6
Type 'help' for help.
Core file created by program "subpoll"

signal Segmentation fault at
warning: PC value 0x3220303220303220 not valid, trying RA

warning: RA value 0x3220303220303220 not valid, trying text start

warning: text start 0x120000000 not valid, trying data start

warning: Using data start as a text address -- traceback will not work
> [., 0x140000000]      call_pal        cflush
(dbx) where
   0 (noname)() [0x11ffffffc]
(dbx) quit
\x1a

What is happening?  Have my program really trash the stack?

Why can't I get "where" to tell me the line number where the program
crash?


Anthony Lee        These are my opinions and not SEQEB.
SEQEB                                            
150 Charlotte Street                   ..--  __o 
Brisbane                          ....--   _ \<,_               
Qld 4000                         ____     (_)/ (_)                       
Australia
voice:+61 7 3407 4541            Death to the Daleks!!!!
fax:  +61 7 3407 4607
email: AL012@svtstu.seqeb.gov.au




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help with dbx
  1996-01-19  5:00 Help with dbx Anthony Lee
@ 1996-02-08  5:00 ` Paul Henderson
  1996-02-08  5:00   ` Jeff Diewald
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Henderson @ 1996-02-08  5:00 UTC (permalink / raw)


Looks like the program is not compiled with the -g flag. Usually, when
noname is the function stopped at, this is the case, since dbx has no
table info to find out where the program dumped.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help with dbx
  1996-02-08  5:00 ` Paul Henderson
@ 1996-02-08  5:00   ` Jeff Diewald
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Diewald @ 1996-02-08  5:00 UTC (permalink / raw)



In article <4fdeil$rs5@zk2nws.zko.dec.com>, Paul Henderson <pgh> writes:
|>Looks like the program is not compiled with the -g flag. Usually, when
|>noname is the function stopped at, this is the case, since dbx has no
|>table info to find out where the program dumped.
|>

The new versions of the Ladebug debugger have support for debugging
programs that are not compiled with the -g (-g2) flag.  Depending on 
what has been done with the symbol table information, this new support
may be able to tell you a little more about where you are at.  Of
course, if you strip the symbol table, there's not a lot we can do.
-------------------------------------------------------------------------
Jeff Diewald			EASYNET:   VIRRUS::DIEWALD
Ladebug group			INTERNET:  diewald@zko.dec.com
Digital Equipment Corp.

Note: I don't read every article in this group.  If you have debugger 
questions, I may be able to get you an answer.  You're much more likely
to get an answer if you put "Ladebug" somewhere in your subject line.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-02-08  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-19  5:00 Help with dbx Anthony Lee
1996-02-08  5:00 ` Paul Henderson
1996-02-08  5:00   ` Jeff Diewald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox