Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751189AbVLHGxG (ORCPT ); Thu, 8 Dec 2005 01:53:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751192AbVLHGxF (ORCPT ); Thu, 8 Dec 2005 01:53:05 -0500 Received: from mail3.aventail.com ([64.94.142.143]:3086 "HELO mail3.aventail.com") by vger.kernel.org with SMTP id S1751189AbVLHGxE (ORCPT ); Thu, 8 Dec 2005 01:53:04 -0500 Message-ID: <4397D844.8060903@aventail.com> Date: Wed, 07 Dec 2005 22:52:52 -0800 From: Steve Work User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: Multi-thread corefiles broken since April Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1934 Lines: 54 Coredumps from programs with more than one thread show garbage information for all threads except the primary. The problem was introduced with: http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5df240826c90afdc7956f55a004ea6b702df9203 on Apr 16 ("fix crash in entry.S restore_all") and is still present in current builds. "kill -SEGV" this program and "info threads" the resulting corefile to see the problem: #include static void* thread_sleep(void* x) { while (1) sleep(30); } int main(int c, char** v) { const static int tcount = 5; pthread_t thr[tcount]; int i; for (i=0; i