Re: Growisofs seg faults with DVD-RAM. Anybody else seen this?

From: Carl Delsey (cdelsey_at_qwest.net)
Date: 07/30/05

  • Next message: Dru: "any backup utilities for ACLs?"
    Date: Sat, 30 Jul 2005 10:51:07 -0700
    To: freebsd-questions@freebsd.org
    
    

    On Sat, Jul 30, 2005 at 03:54:25PM +0930, Greg 'groggy' Lehey wrote:
    > On Friday, 29 July 2005 at 22:50:13 -0700, Carl Delsey wrote:
    > > I'm wondering if anybody else has seen this problem, and if you've
    > > found some other workaround for it? Or alternatively, you still have
    > > the problem and my patch would be useful to you. :-)
    >
    > Is this a workaround or a fix? The latter is obviously preferable.
    > Also, does this only affect FreeBSD, or is it general? In the former
    > case, contact the maintainer (mail address in the Makefile); in the
    > latter, contact the project.

    It's a fix ... just not as elegant as I would like. Looking through the
    code some more, it looks like it's a general problem. I'll try to get ahold
    of the maintainer and get this fixed in the distribution.

    In the meantime, if anybody needs a solution now, I'm including the patch
    here.

    <patch>
    --- growisofs.c Tue Aug 24 16:02:29 2004
    +++ growisofs.c Sat Jul 30 10:35:45 2005
    @@ -2043,7 +2044,9 @@
             fcntl ((fd),F_SETFD,f|FD_CLOEXEC); } while (0)
         CLOSEONEXEC(in_fd);
         CLOSEONEXEC(out_fd);
    - CLOSEONEXEC(ioctl_fd);
    + if ((ioctl_handle) && (ioctl_handle != INVALID_HANDLE)) /*the fd might already have been closed*/
    + { CLOSEONEXEC(ioctl_fd);
    + }
     #undef CLOSEONEXEC
     
         if (!dry_run && (poor_man || next_session==0)) /* unmount media */
    </patch>
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Dru: "any backup utilities for ACLs?"

    Relevant Pages

    • Re: Microsoft Security Bulletin MS03-010 - 331953
      ... No patch for NT4, workaround is to place the system behind a firewall. ... What about internal threats? ... > The Microsoft Security Response Center has released Microsoft Security ...
      (microsoft.public.win2000.security)
    • Re: IE6 form POST operation sporadic after sp KB832894 install
      ... We have configured our Apache 1.3.x web server to turn ... # The following directives modify normal HTTP response ... after I installed the latest IE patch and I cannot seem to ... I believe that his workaround fixes the problem for us. ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: Problem with locked down IIS and viewing PDFs
      ... Have you applied the patch with MS02-18? ... As for a workaround, you need to set RemoveServerHeader=0 in the URLScan.ini ... > when we go to view PDF documents on the site we get the following error: ... > Microsoft site to no avail. ...
      (microsoft.public.inetserver.iis.security)
    • Re: [git head] X86_PAT & mprotect
      ... On Sat, May 10, 2008 at 6:05 AM, Venki Pallipadi ... I like your modified patch. ... Split up the patch into two parts as the pci part was unrelated to mprotect ... Some versions of X used the mprotect workaround to change caching type from ...
      (Linux-Kernel)
    • Re: [PATCH] i2c.h: Fix another gcc 4.0 compile failure
      ... >> A. Daplas has recently done a workaround for this on another header ... >> patch below is also attached since I'm not sure formatting survives ... >i2c_transferfunction itself should be changed (not just the header ...
      (Linux-Kernel)