From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17180 invoked by alias); 23 Jan 2011 22:38:24 -0000 Received: (qmail 17171 invoked by uid 22791); 23 Jan 2011 22:38:23 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_DZ,TW_KD,TW_ZB X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Jan 2011 22:38:16 +0000 From: "bz-glibc at kdzbn dot homelinux.net" To: glibc-bugs@sources.redhat.com Subject: [Bug nptl/12403] futex issues with --enable-kernel=2.6.22 to 2.6.28 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: bz-glibc at kdzbn dot homelinux.net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com 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 Date: Mon, 24 Jan 2011 05:17:00 -0000 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: 2011-01/txt/msg00084.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12403 Bryan Kadzban changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz-glibc at kdzbn dot | |homelinux.net --- Comment #5 from Bryan Kadzban 2011-01-23 22:38:12 UTC --- I'm seeing this as well. I've tracked it down to a bug in the cleanup code in pthread_rwlock_timedwrlock.S (causing a stack imbalance just before "retq") -- it uses __ASSUME_PRIVATE_FUTEX when deciding whether or not to clean up after the local variables (and saved register) created for __ASSUME_FUTEX_CLOCK_REALTIME. When these two are set differently, "retq" jumps off into never-never-land. There's a related bug in pthread_rwlock_timedrdlock.S, which emits the wrong CFI directives, but I don't think this will affect runtime. (Could be wrong though; I don't know a lot about CFI.) Attached is a patch that fixes both issues; with this, all crashing in the testsuite is gone. -- 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.