NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/40574: netbsd-4 builds fail on netbsd-5 hosts (nbmtree issues)



>Number:         40574
>Category:       bin
>Synopsis:       netbsd-4 builds fail on netbsd-5 hosts (nbmtree issues)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 07 18:15:00 +0000 2009
>Originator:     Adrian Portelli
>Release:        5.0_BETA
>Organization:
>Environment:
5.0_BETA (amd64)
>Description:
I upgraded my build box to netbsd-5 and have started to try and do some
builds of the netbsd-4{,-0} branches.  All the builds fail at the same
point regardless of architecture (sparc,sparc64,amd64,i386).  With a
little bit of digging I think it's mtree that's causing the segfault.
If I manually run the command and replace 'nbmtree' with just 'mtree' it
works fine.

gdb on the core file from nbmtree gives up the following if it helps:

Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ffd9c838a in strlen () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ffd9c838a in strlen () from /usr/lib/libc.so.12
#1  0x00007f7ffd9c10cd in __vfprintf_unlocked () from /usr/lib/libc.so.12
#2  0x00007f7ffd9c21e4 in vfprintf () from /usr/lib/libc.so.12
#3  0x00007f7ffd9bd4de in printf () from /usr/lib/libc.so.12
#4  0x000000000040521c in dump_nodes ()
#5  0x00000000004050aa in main ()
(gdb)


>How-To-Repeat:
Try to build a netbsd-4* release on a netbsd-5* host.

Don't know if the same issue exists on a netbsd-5* i386 host.
>Fix:



Home | Main Index | Thread Index | Old Index