From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: trouble debugging emacs lately Date: Fri, 11 Sep 2015 09:14:15 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441955700 24586 80.91.229.3 (11 Sep 2015 07:15:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2015 07:15:00 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 11 09:14:47 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZaIXm-0000nr-I2 for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2015 09:14:46 +0200 Original-Received: from localhost ([::1]:54558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaIXm-0004yJ-3I for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2015 03:14:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaIXe-0004xj-0X for emacs-devel@gnu.org; Fri, 11 Sep 2015 03:14:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaIXZ-0003NZ-1l for emacs-devel@gnu.org; Fri, 11 Sep 2015 03:14:37 -0400 Original-Received: from mx2.bahnhof.se ([213.80.101.12]:56079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaIXY-0003N0-RM for emacs-devel@gnu.org; Fri, 11 Sep 2015 03:14:32 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx2-reinject (Postfix) with ESMTP id 33CA5407B9 for ; Fri, 11 Sep 2015 09:14:30 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF1) Original-Received: from mf1.bahnhof.se ([127.0.0.1]) by localhost (mf1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QV1iZVE3Ekea for ; Fri, 11 Sep 2015 09:14:25 +0200 (CEST) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf1.bahnhof.se (Postfix) with ESMTP id 93188330B02 for ; Fri, 11 Sep 2015 09:14:25 +0200 (CEST) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 4E6CB4E2E58 for ; Fri, 11 Sep 2015 07:14:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dDK0Y_O8HjQu for ; Fri, 11 Sep 2015 09:14:15 +0200 (CEST) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 65F3A4E2E3F for ; Fri, 11 Sep 2015 09:14:15 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189829 Archived-At: Lately my Emacs hangs a lot, for no apparent reason. Since I always run Emacs under gdb, I thought I could debug this problem. However, gdb refuses to be useful with this particular hang. I signal the Emacs process with ctrl-c in the debugger as usual. Usually you can do a stack trace with bt and figure out what is wrong. In this case, I do get the gdb prompt, but the main thread is still running, and I can't really do anything useful. I've tried interrupting the thread and so on, but the thread is still running. Does anybody recognize this behavior, and can recommend a way forward? -- Joakim Verona