Subject: pkg/32675: sysutils/dvd+rw-tools dumps core
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <hira@po6.nsk.ne.jp>
List: pkgsrc-bugs
Date: 01/31/2006 15:20:00
>Number:         32675
>Category:       pkg
>Synopsis:       sysutils/dvd+rw-tools dumps core
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 31 15:20:00 +0000 2006
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 3.99.15
>Organization:
>Environment:
System: NetBSD firefly.localdomain 3.99.15 NetBSD 3.99.15 (X32) #28: Tue Jan 31 17:10:57 JST 2006 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/X32 i386
Architecture: i386
Machine: i386
>Description:
	dvd+rw-tools-6.0 dumps core on NetBSD/i386 (-current and
	STABLE).  The previous version (in pkgsrc-2005Q4) works fine.

# cd /somewhere
# growisofs -Z /dev/rcd0d -J -R .
Executing 'mkisofs -J -R . | builtin_dd of=/dev/rcd0d obs=32k seek=0'
[snip]
[1]   Abort trap (core dumped) growisofs -Z /dev/rcd0d -J -R .
# gdb /usr/pkg/bin/growisofs growisofs.core
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...
Core was generated by `growisofs'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /usr/lib/libm387.so.0...done.
Loaded symbols for /usr/lib/libm387.so.0
Reading symbols from /usr/lib/libm.so.0...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/lib/libgcc_s.so.1
Reading symbols from /usr/lib/libpthread.so.0...done.
Loaded symbols for /usr/lib/libpthread.so.0
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
#0  0xbba4768b in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbba4768b in kill () from /usr/lib/libc.so.12
#1  0xbbad3def in abort () from /usr/lib/libc.so.12
#2  0xbbb02831 in pthread__sa_start () from /usr/lib/libpthread.so.0
#3  0xbbb05bd0 in pthread_init () from /usr/lib/libpthread.so.0
#4  0xbbb060a1 in pthread_create () from /usr/lib/libpthread.so.0
#5  0x0804f3c3 in __thread_create (func=0x804ff40 <reader>, arg=0x4) at mp.h:47
#6  0x0805069a in builtin_dd (infd=4, outfd=5, outoff=0) at growisofs.c:1932
#7  0x08050c6f in pipe_mkisofs_up (mkisofs_argv=0x8060000, infd=3, outfd=5,
    outoff=0) at growisofs.c:2037
#8  0x080514ce in main (argc=6, argv=0xbfbfe9d8) at growisofs.c:2762
#9  0x0804955a in ___start ()
(gdb)

>How-To-Repeat:
	see above

>Fix:
	Sorry, I don't know.