From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31500 invoked by alias); 9 Jan 2013 16:31:39 -0000 Received: (qmail 30936 invoked by uid 48); 9 Jan 2013 16:30:59 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug nptl/14484] sem_timedwait always return -1 with errno 110 (ETIMEDOUT). Date: Wed, 09 Jan 2013 16:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Severity Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00054.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14484 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID Severity|critical |normal --- Comment #14 from Andreas Schwab 2013-01-09 16:30:57 UTC --- You define errno as a local variable in the delay function, thus your program has undefined behaviour. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.