Subject: crash in rdump & gdb not working
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
List: netbsd-bugs
Date: 11/17/1993 15:21:53
Hi,

I have stumbled across two fairly serious problems IMHO:

My version of rdump crashes with a seg fault:

rype# rdump 6bdsf 126 45000 6000 skarv.uninett.no:/dev/rmt/0mn /usr
  DUMP: Date of this level 6 dump: Wed Nov 17 15:17:33 1993
  DUMP: Date of last level 0 dump: Mon Nov  8 20:20:19 1993
  DUMP: Dumping /dev/rwd0f (/usr) to /dev/rmt/0mn on host skarv.uninett.no
  DUMP: mapping (Pass I) [regular files]
  DUMP: SIGSEGV()  ABORTING!
IOT trap
rype# 

Anyone seen this?

It also gets hard debugging this, as gdb apparently won't have anything to
do with this program, and instead picks /sbin/rdump as target of debugging,
no matter what I tell it:

rype# pwd
/usr/src/sbin/dump
rype# gdb ./rdump
/sbin/rdump has no symbol-table; symbols discarded.
(gdb) quit
rype# gdb
(gdb) exec-file rdump
(gdb) symbol-file rdump
/sbin/rdump has no symbol-table; symbols discarded.
(gdb) symbol-file ./rdump
/sbin/rdump has no symbol-table; symbols discarded.
(gdb) quit
rype# gdb
(gdb) i vers
GDB 3.5, Copyright (C) 1989 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
(gdb) quit
rype# 

Maybe it's time to upgrade GDB to a more recent version?

- Havard

------------------------------------------------------------------------------