From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14788 invoked by alias); 7 Oct 2006 01:56:19 -0000 Received: (qmail 14473 invoked by uid 48); 7 Oct 2006 01:56:11 -0000 Date: Sat, 07 Oct 2006 01:56:00 -0000 Message-ID: <20061007015611.14472.qmail@sourceware.org> From: "ian at airs dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20061007015233.3318.ian@airs.com> References: <20061007015233.3318.ian@airs.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug linuxthreads/3318] Overriding free which clobbers data and calls pthread_getspecific can get bad value (linuxthreads) 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-10/txt/msg00032.txt.bz2 List-Id: ------- Additional Comments From ian at airs dot com 2006-10-07 01:56 ------- Created an attachment (id=1357) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1357&action=view) Test case This test case crashes for me on i686-pc-linux-gnu running Fedora Core 4 with glibc-2.3.6-3 when I set the environment variable LD_ASSUME_KERNEL to 2.4.19. In the __libc_free routine, pthread_getspecific returns garbage. This isn't the simplest possible test case--it's a modification of the NPTL test case. The call to abort winds up hanging as the pthread code waits for a lock, so I put in an alarm to get the program to actually exit. The hang is probably due to the bug I reported in bugzilla PR 2948, which has been fixed in the mainline sources. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3318 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.