Subject: bin/21020: /sbin/dump fails in traverse.c:mapdirs()
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/05/2003 17:58:16
>Number:         21020
>Category:       bin
>Synopsis:       /sbin/dump fails in traverse.c:mapdirs()
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 05 00:29:02 PST 2003
>Originator:     Geoff C. Wing
>Release:        NetBSD 1.6Q (2003/04/05)
Geoff Wing : <>
Rxvt Stuff : <>
Zsh Stuff  : <>
System: NetBSD 1.6Q NetBSD 1.6Q (SPARKLES) #0: Sat Apr 5 17:25:19 EST 2003 i386
Architecture: i386
Machine: i386
	dump is segfaulting always for me after UFS2 update.
	segfault occurs on return from mapdirs() and the stack is trashed.

	% /sbin/dump -4u -f /tmp/foo /var
	DUMP: Found /dev/rwd0f on /var in /etc/fstab
	DUMP: Date of this level 4 dump: Sat Apr  5 17:55:38 2003
	DUMP: Date of last level 2 dump: Thu Apr  3 03:00:03 2003
	DUMP: Dumping /dev/rwd0f (/var) to /tmp/foo
	DUMP: Label: none
	DUMP: mapping (Pass I) [regular files]
	DUMP: mapping (Pass II) [directories]
	[1]   Segmentation fault      /sbin/dump -4u -f /tmp/foo /var

	Note, it won't fail if it compares with the epoch.
	See above
	? still looking