From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28252 invoked by alias); 24 Oct 2011 20:03:59 -0000 Received: (qmail 28240 invoked by uid 22791); 24 Oct 2011 20:03:59 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_XA X-Spam-Check-By: sourceware.org Received: from usmamail.tilera.com (HELO USMAMAIL.TILERA.COM) (206.83.70.75) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Oct 2011 20:03:45 +0000 Received: from [10.7.0.51] (10.9.0.23) by USMAExch2.tad.internal.tilera.com (10.3.0.33) with Microsoft SMTP Server id 14.0.694.0; Mon, 24 Oct 2011 16:03:44 -0400 Message-ID: <4EA5C49B.5000302@tilera.com> Date: Mon, 24 Oct 2011 21:06:00 -0000 From: Jeff Kenton User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Subject: GDB problems with pthread_join() Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00176.txt.bz2 I have gdb-7.1 mostly working on our two processors (one is 32-bit, the other 64-bit). With a trivial pthread program running under GDB with no breakpoints set, it runs to completion on one machine (32-bit) but hangs on the other with: Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 0xaaab54f200 (LWP 721)] 0x000000aaaab09e58 in pthread_join (threadid=733018911232, thread_return=0x0) at pthread_join.c:89 The SIGTRAP could be GDB's hook into the pthread library but I'm not sure. Other SIGTRAPs succeed happily (traced with set debug infrun 1). Any clues? Anyone seen this before? Thoughts besides "sounds nasty and you'll have to figure it out yourself"? Thanks. --jeff