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#19606: 24.4; Emacs hangs when editing a 5-line Org file Date: Fri, 16 Jan 2015 10:24:51 +0200 Message-ID: <83mw5j2kvg.fsf@gnu.org> References: <86mw5kktly.fsf@example.com> <86lhl32a5e.fsf@example.com> <83oapz3o89.fsf@gnu.org> <54B82BF2.8050504@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421396721 14064 80.91.229.3 (16 Jan 2015 08:25:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2015 08:25:21 +0000 (UTC) Cc: 19606@debbugs.gnu.org, fni-news@pirilampo.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 16 09:25:17 2015 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 1YC2DT-0001gl-Fa for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jan 2015 09:25:15 +0100 Original-Received: from localhost ([::1]:54474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC2DS-0006YS-UL for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jan 2015 03:25:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC2DO-0006Vt-Nb for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2015 03:25:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YC2DK-0003ik-Lb for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2015 03:25:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC2DG-0003X7-8P; Fri, 16 Jan 2015 03:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YC2DF-0002vk-VV; Fri, 16 Jan 2015 03:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Fri, 16 Jan 2015 08:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19606 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 19606-submit@debbugs.gnu.org id=B19606.142139668511236 (code B ref 19606); Fri, 16 Jan 2015 08:25:01 +0000 Original-Received: (at 19606) by debbugs.gnu.org; 16 Jan 2015 08:24:45 +0000 Original-Received: from localhost ([127.0.0.1]:58392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YC2Cy-0002v9-12 for submit@debbugs.gnu.org; Fri, 16 Jan 2015 03:24:44 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:40501) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YC2Cv-0002uw-IW for 19606@debbugs.gnu.org; Fri, 16 Jan 2015 03:24:42 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NI900O00FXJ9A00@mtaout25.012.net.il> for 19606@debbugs.gnu.org; Fri, 16 Jan 2015 10:20:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NI900E5IGHGX1A0@mtaout25.012.net.il>; Fri, 16 Jan 2015 10:20:04 +0200 (IST) In-reply-to: <54B82BF2.8050504@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:98405 Archived-At: > Date: Fri, 16 Jan 2015 00:06:58 +0300 > From: Dmitry Gutov > CC: 19606@debbugs.gnu.org > > On 01/15/2015 09:14 PM, Eli Zaretskii wrote: > > > But you didn't even show the backtrace from the main (a.k.a. "Lisp") > > thread. Your backtrace is from thread 15, whereas the main thread is > > thread 1. > > The output is from 'thread apply all backtrace', AFAICS. No, the output is only from threads 15 and 14. The command "thread apply all backtrace" was indeed issued, but Emacs crashed or exited abnormally while producing the Lisp-level backtrace for thread 14: [Inferior 1 (process 1204) exited with code 01] (gdb) The program being debugged exited while in a function called from GDB. Evaluation of the expression containing the function (backtrace_top) will be abandoned. Therefore that command didn't produce backtraces of the rest of the threads. The backtraces shown are not interesting: thread 15 is a thread created by Windows for attaching the debugger, so it doesn't belong to Emacs; and thread 14 is the file-notification thread started by w32notify.c, which simply sleeps waiting for file events. So the interesting information from the main thread is not presented, and it's therefore impossible to tell where and why Emacs hanged. Typing "thread 1" explicitly right after attaching to the process might have produce the C-level backtrace for the main thread. It is a good thing to do in any case when attaching to Emacs process that's in trouble. > On the other hand, it's not 'bt full' or `xbacktrace', which > report-emacs-bug asks to call. "xbacktrace" is automatically called after the C-level backtrace, when you start GDB from the Emacs's src directory, where .gdbinit file arranges for that. That's why you see this part in the OP: Lisp Backtrace: "redisplay_internal (C function)" (0x1407e78) "redisplay" (0x88f254) "sit-for" (0x88f3a8) "flyspell-check-word-p" (0x88f4f8) "byte-code" (0x88f610) "flyspell-post-command-hook" (0x88f844)