Subject: Re: pkg/32675 (sysutils/dvd+rw-tools dumps core)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: pkgsrc-bugs
Date: 02/01/2006 11:55:02
The following reply was made to PR pkg/32675; it has been noted by GNATS.

From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@netbsd.org
Cc: hira@po6.nsk.ne.jp
Subject: Re: pkg/32675 (sysutils/dvd+rw-tools dumps core)
Date: Wed, 1 Feb 2006 12:52:06 +0100

 On Wed,  1 Feb 2006 10:45:02 +0000 (UTC)
 Kouichirou Hiratsuka <hira@po6.nsk.ne.jp> wrote:
 
 >  (gdb) bt
 >  #0  0xbda530bb in kill () from /usr/lib/libc.so.12
 >  #1  0xbdad423b in abort () from /usr/lib/libc.so.12
 >  #2  0xbdb00805 in pthread__sa_start () from /usr/lib/libpthread.so.0
 >  #3  0xbdb03b68 in pthread_init () from /usr/lib/libpthread.so.0
 >  #4  0xbdb04039 in pthread_create () from /usr/lib/libpthread.so.0
 >  #5  0x0804ec57 in __thread_create (func=0x804f590 <reader>, arg=0x4)
 >  #at mp.h:41 6  0x0804fc1a in builtin_dd (infd=4, outfd=5, outoff=0)
 >  #at growisofs.c:1932 7  0x08050147 in pipe_mkisofs_up
 >  #(mkisofs_argv=0x805f000, infd=3, outfd=5,
 >      outoff=0) at growisofs.c:2037
 >  #8  0x080508c1 in main (argc=6, argv=0xbfbfe974) at growisofs.c:2762
 >  #9  0x080494f6 in ___start ()
 >  (gdb) quit
 >  # pkg_info | grep dvd+rw-tools
 >  dvd+rw-tools-6.0nb1 Tools for writing DVD+R[W] disks
 >  #
 >  
 
 Please try this patch: http://www.xtrarom.org/growisofs.diff
 
 Before this patch it crashed with an assertion about ret == 0, located
 on lib/libpthread/pthread.c (line 173)... strange that did not happen
 on my previous tests.
 
 #ifdef PTHREAD_MLOCK_KLUDGE
         ret = mlock(&pthread__deadqueue, sizeof(pthread__deadqueue));
         pthread__assert(ret == 0);
 #endif
 
 With the new patch I've just burned a DVD-RW without any problem.
 
 Total translation table size: 0
 Total rockridge attributes bytes: 0
 Total directory bytes: 0
 Path table size(bytes): 10
 Max brk space used 172a4
 661796 extents written (1292 MB)
 builtin_dd: 661808*2KB out @ average 1.9x1385KBps
 /dev/rcd1d: flushing cache
 /dev/rcd1d: reloading tray
 nocturno#