From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes Date: Sat, 06 Oct 2012 13:00:59 +0200 Message-ID: <83lifj7tlg.fsf@gnu.org> References: <80vcep2v3z.fsf@somewhere.org> <83txu87vlp.fsf@gnu.org> <80391srlog.fsf@somewhere.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1349521312 28232 80.91.229.3 (6 Oct 2012 11:01:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2012 11:01:52 +0000 (UTC) Cc: 12579@debbugs.gnu.org To: Fabrice Niessen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 06 13:01:58 2012 Return-path: Envelope-to: geb-bug-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 1TKS8r-0008DH-4U for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 13:01:57 +0200 Original-Received: from localhost ([::1]:45895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKS8l-0005qQ-59 for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 07:01:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKS8i-0005qK-Ch for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 07:01:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKS8g-0000Ak-Ue for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 07:01:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKS8g-0000Ag-RD for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 07:01:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TKS8w-00083T-CV for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 07:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Oct 2012 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12579 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 12579-submit@debbugs.gnu.org id=B12579.134952130430939 (code B ref 12579); Sat, 06 Oct 2012 11:02:02 +0000 Original-Received: (at 12579) by debbugs.gnu.org; 6 Oct 2012 11:01:44 +0000 Original-Received: from localhost ([127.0.0.1]:57674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKS8a-00082u-OB for submit@debbugs.gnu.org; Sat, 06 Oct 2012 07:01:44 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:48453) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKS8T-00082Y-O1 for 12579@debbugs.gnu.org; Sat, 06 Oct 2012 07:01:38 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MBG00100WJUDS00@a-mtaout20.012.net.il> for 12579@debbugs.gnu.org; Sat, 06 Oct 2012 13:01:11 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBG00197X9Y7F70@a-mtaout20.012.net.il>; Sat, 06 Oct 2012 13:01:10 +0200 (IST) In-reply-to: <80391srlog.fsf@somewhere.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65255 Archived-At: > From: "Fabrice Niessen" > Cc: 12579@debbugs.gnu.org > Date: Sat, 06 Oct 2012 11:31:43 +0200 > > Eli Zaretskii wrote: > >> _Often_ Emacs is just blocked, and C-g can't help me. I simply have to kill > >> Emacs from the Task Manager. > > > > Next time when this happens, instead of killing Emacs, attach GDB to > > it and show us the backtrace you get in all threads. > > It happened now, once again. > > I attached GDB to it. Or do I have to say that I attached the process to GDB? > > --8<---------------cut here---------------start------------->8--- > GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special) > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i686-cygwin". > For bug reporting instructions, please see: > . > Attaching to process 7368 > [New Thread 7368.0x18ec] > [New Thread 7368.0x1878] > [New Thread 7368.0xdb8] > [New Thread 7368.0x1248] > [New Thread 7368.0xfd0] > [New Thread 7368.0x3d0] > [New Thread 7368.0x1a04] > [New Thread 7368.0x155c] > Reading symbols from /cygdrive/c/Program Files/emacs-24.1/bin/emacs.exe...done. > (gdb) continue > Continuing. Do NOT type "continue" at this point, if you attached GDB to Emacs that appears to be hung. Just "thread apply all backtrace" will do. You do need to type "continue" when you attach GDB to Emacs that's crashed, and see an abort dialog. In this case, wait for the GDB prompt after you type "continue", and _then_ type "thread apply all backtrace". > As you can see (?), it got no information after I typed "thread apply all > backtrace". Because Emacs is again running, since you gave the "continue" command, and GDB cannot get control. In the case where you see the abort dialog, typing "continue" stops Emacs again when it gets a fatal signal. But if Emacs hangs, there's no fatal signal, so typing "continue" just lets Emacs continue its infinite loop. > (gdb) Can't attach to process. > warning: File "/cygdrive/c/Program Files/Emacs-24.2/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". > ^C(gdb) Quit > quit > --8<---------------cut here---------------end--------------->8--- > > But you see I wasn't more successful... Maybe you understand what goes wrong? It can't attach, because another instance of GDB already is attached. > I guess that I couldn't attach twice GDB processes to Emacs. But what about > the warning "auto-loading has been declined by your `auto-load safe-path' set > to `$debugdir:$datadir/auto-load'"? This is a nuisance with latest GDB versions. I have this in my ~/.gdbinit to countermand that: set auto-load safe-path / > > Here's the culprit: > > > >> #13 0x010431b7 in die (msg=0x1537030 "assertion failed: > >> buffer->base_buffer->indirections > 0", file=0x1535810 "buffer.c", > > Do you have enough hints with that already? No. But someone else might.