Your message dated Tue, 31 Oct 2006 03:17:22 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#396296: fixed in dvd+rw-tools 7.0-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dvd+rw-tools
Version: 7.0-2
Tags: patch

On Mon, Oct 30, 2006 at 06:12:23PM -0500, Doug Chapman wrote:
> On Mon, 2006-10-30 at 16:04 -0700, dann frazier wrote:
> > On Mon, Oct 30, 2006 at 05:39:49PM -0500, Doug Chapman wrote:
> > > FYI, on RHEL5 growisofs (which is used for DVD writing) is broken for
> > > ia64.  Not sure how many of you do DVD writing on your ia64 systems but
> > > if you do need it I have a fixed version of dvd+rw-tools available.
[snip]
> > I'd like to see if this affects Debian - got a pointer to the patch and a
> > description of the issue?
> > 
> 
> Dan,
> 
> I was able to reproduce at least part of this even on the standard
> upstream dvd+rw-tools so I imagine debian will have the problem as well.
> The initial problem is it cannot allocate enough space when it tries to
> mmap a buffer:
> 
> # growisofs -Z /dev/dvdrw=RHEL5-Server-20060830.1-ia64-DVD.iso
> :-( unable to anonymously mmap 16777216: Resource temporarily
> unavailable

Debian has 7.0, and I've verified that this portion of the patch is
included.

> Then I hit the next problem, it fails when it tries to create threads
> since it is trying to set a very small stack size for each thread
> (likely related to the previous issue) so I write a quick ugly patch for
> that one myself.  I don't really like the patch but it is the best I can
> do with the current code base

This patch is missing from Debian, so I am filing a bug for it.

> I am attaching the patch, it includes both fixes above.

Below is the portion of the patch that is not yet included in
Debian. I have not reproduced this issue on Debian because I don't
have a DVD burner.

Thanks Doug (bcc'd)

--- dvd+rw-tools-6.1/mp.h.old   2006-10-30 16:41:41.000000000 -0500
+++ dvd+rw-tools-6.1/mp.h       2006-10-30 17:18:45.000000000 -0500
@@ -31,15 +31,19 @@
 #include <sched.h>
 #include <semaphore.h>
 #include <stdlib.h>
+#include <limits.h>
 
 #define THR_TYPE int
 
 static void *__thread_create(int (*func)(void *),void *arg)
 { pthread_t h;
   pthread_attr_t attr;
+  size_t stack_sz;
+
+  stack_sz = (PTHREAD_STACK_MIN > 64*1024) ? PTHREAD_STACK_MIN : 64*1024;
 
     if (pthread_attr_init(&attr)==0 &&
-       pthread_attr_setstacksize(&attr,64*1024)==0 &&
+       pthread_attr_setstacksize(&attr,stack_sz)==0 &&
        pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 &&
        pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 )
        return (void *)h;



--- End Message ---
--- Begin Message ---
Source: dvd+rw-tools
Source-Version: 7.0-3

We believe that the bug you reported is fixed in the latest version of
dvd+rw-tools, which is due to be installed in the Debian FTP archive:

dvd+rw-tools_7.0-3.diff.gz
  to pool/main/d/dvd+rw-tools/dvd+rw-tools_7.0-3.diff.gz
dvd+rw-tools_7.0-3.dsc
  to pool/main/d/dvd+rw-tools/dvd+rw-tools_7.0-3.dsc
dvd+rw-tools_7.0-3_i386.deb
  to pool/main/d/dvd+rw-tools/dvd+rw-tools_7.0-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated dvd+rw-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 31 Oct 2006 12:08:00 +0100
Source: dvd+rw-tools
Binary: dvd+rw-tools
Architecture: source i386
Version: 7.0-3
Distribution: unstable
Urgency: medium
Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
Changed-By: Daniel Baumann <[EMAIL PROTECTED]>
Description: 
 dvd+rw-tools - DVD+-RW/R tools
Closes: 396296
Changes: 
 dvd+rw-tools (7.0-3) unstable; urgency=medium
 .
   * Added patch from Doug Chapman prepared by Dann Frazier <[EMAIL PROTECTED]> 
to
     fixes a threading issue on ia64 (Closes: #396296).
Files: 
 f67313ca70638099e1dd715ecf132237 639 utils optional dvd+rw-tools_7.0-3.dsc
 0c78eb13c5b692470a75788fbfd017d1 16851 utils optional 
dvd+rw-tools_7.0-3.diff.gz
 f7927eb2fc8f103bad62d3c4dbda9c99 144740 utils optional 
dvd+rw-tools_7.0-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFRy90+C5cwEsrK54RAmIyAKDPjZnLJPdrjg2j9m8hWEb74jRN/ACgkzPq
M/IqiMY0296Y9l5WZMP9DOM=
=jquN
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to