From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24521 invoked by alias); 15 Mar 2012 15:03:16 -0000 Received: (qmail 24502 invoked by uid 22791); 15 Mar 2012 15:03:14 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Mar 2012 15:03:02 +0000 From: "ppluzhnikov at google dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/13845] Infrequent random stop in futex_wait using printf inside alarm signal handler Date: Thu, 15 Mar 2012 15:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppluzhnikov at google dot com 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: CC 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: 2012-03/txt/msg00207.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13845 Paul Pluzhnikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppluzhnikov at google dot | |com --- Comment #5 from Paul Pluzhnikov 2012-03-15 15:01:35 UTC --- (In reply to comment #4) > No "Only thread safe functions should be used in the alarm signal handler" That statement would be incorrect. The correct statement reads: "only async-signal-safe functions can be used inside asynchronous signal handler". http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html This fact is the "ABC" of signal handling, surely *everybody* knows that? -- 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.