Re: libc_r: threaded application could stuck in accept(2)

From: Daniel Eischen (eischen_at_pcnet.com)
Date: 05/30/03

  • Next message: Narvi: "Re: HEADS UP! Major commits in the tree coming soon"
    Date: Fri, 30 May 2003 12:24:39 -0400 (EDT)
    To: Enache Adrian <enache@rdslink.ro>
    
    

    On Fri, 30 May 2003, Enache Adrian wrote:

    > On Fri, May 30, 2003 at 05:35:41PM +0300, Ruslan Ermilov wrote:
    > > We had a bug in our threaded application that would mistakenly close
    > > the descriptor 0, and this triggers a bug in libc_r which I will try
    > > to describe below.
    > ...
    > > Some important notes: this bug is only applicable to descriptors
    > > 0 - 2 (stdio set), and might have something to do with the code
    > > in uthread_fd.c. If you remove two lines that free the descriptor
    > > 0 in the attached test case, the bug won't manifest itself.
    >
    > please have a look at
    >
    > http://www.freebsd.org/cgi/query-pr.cgi?pr=51535

    Yes, and PR 49087 also. If someone (Ruslan?) wants to commit them,
    go ahead. They are probably applicable to -stable also.

    -- 
    Dan Eischen
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Narvi: "Re: HEADS UP! Major commits in the tree coming soon"

    Relevant Pages

    • cvs-src summary for June 14-21
      ... Intel PRO/10GbE driver MFC'ed ... Max responded, saying that since the script only adds lines to the output, ... Max later backed out the commit. ... Bruce Evans fixed a bug that allowed users to crash the system by ...
      (freebsd-current)
    • cvs-src summary for November 22-29
      ... It is intended to help the FreeBSD community keep up with the fast-paced ... You can get old summaries, and an HTML version of this one, at ... objectors to any commit. ... Important bug fixes ...
      (freebsd-current)
    • Re: GTK update problems
      ... This upgrade seems to have broken many packages. ... > This probably reflects a bug in the program. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Update: Re: GTK update problems
      ... In my case, multi-gnome-terminal failed to start, leaving an error message in .xsession-errors. ... It seems to breaks totem, which issues many copies of the following error message: ... > This probably reflects a bug in the program. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Bizarre index creation - something wrong?
      ... antique, archaic, bygone, cast-off, crumbling, dated, decayed, done, ... Note that the commit; ... before and after the DDL. ... "This bug has been hijacked for something different to the problem I ...
      (comp.databases.oracle.server)