From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13730 invoked by alias); 7 May 2006 18:37:47 -0000 Received: (qmail 13716 invoked by uid 48); 7 May 2006 18:37:40 -0000 Date: Sun, 07 May 2006 18:37:00 -0000 Message-ID: <20060507183740.13715.qmail@sourceware.org> From: "batneil at thebatcave dot org dot uk" To: glibc-bugs@sources.redhat.com In-Reply-To: <20060507135630.2644.batneil@thebatcave.org.uk> References: <20060507135630.2644.batneil@thebatcave.org.uk> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug nptl/2644] Race condition during unwind code after thread cancellation X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00056.txt.bz2 List-Id: ------- Additional Comments From batneil at thebatcave dot org dot uk 2006-05-07 18:37 ------- Thanks for the quick response. Your solution does sound better, I'm just rebuilding to check that it works as expected. The compiler I'm using is GCC 3.4.3; to be precise, it's version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4). If it's of any use, the first piece of code I quoted matches that from the libpthread.so.0 that comes from the glibc-2.3.4-2 package on Red Hat EL 4. I'm building with rpmbuild at the moment, but from what I can tell the CFLAGS are set to '-march=i686 -DNDEBUG=1 -g -O3'. Please let me know if you need more details on the configuration. It seems to me that although not all compilers necessarily will plant code that is unsafe, it is at least valid for them to do so from the current source. -- http://sourceware.org/bugzilla/show_bug.cgi?id=2644 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.