From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: gdb debug core file? Date: Thu, 05 May 2016 19:10:43 +0300 Message-ID: <83vb2sh4e4.fsf@gnu.org> References: <20160505144951.GA25823@dstar.dstar.net> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462464686 30974 80.91.229.3 (5 May 2016 16:11:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 May 2016 16:11:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 05 18:11:25 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ayLs3-000640-Nc for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2016 18:11:24 +0200 Original-Received: from localhost ([::1]:54257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayLrz-0001NJ-GW for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2016 12:11:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayLrX-00017j-P1 for help-gnu-emacs@gnu.org; Thu, 05 May 2016 12:10:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayLrL-0002Uc-7N for help-gnu-emacs@gnu.org; Thu, 05 May 2016 12:10:45 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayLrL-0002Qw-45 for help-gnu-emacs@gnu.org; Thu, 05 May 2016 12:10:39 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3624 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ayLrE-0004Ia-AC for help-gnu-emacs@gnu.org; Thu, 05 May 2016 12:10:32 -0400 In-reply-to: <20160505144951.GA25823@dstar.dstar.net> (message from stanton arch on Thu, 5 May 2016 10:49:51 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109887 Archived-At: > Date: Thu, 5 May 2016 10:49:51 -0400 > From: stanton arch > > The program I was trying to debug is threaded, and I found that if I > do an "info threads" inside of gdb then I can't view the backtrace of > the corefile anymore, even running outside of emacs: > > Program terminated with signal SIGABRT, Aborted. > #0 0xbb1bfed7 in _lwp_kill () from /usr/lib/libc.so.12 > (gdb) info threads > No threads. > (gdb) bt > Invalid selected thread. > (gdb) What version of GDB is that? If it's the latest, perhaps you should report this to the GDB mailing list, where you will have the definitive answer about whether this is a GDB or Emacs bug. Thanks.