From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Niessen Newsgroups: gmane.emacs.bugs Subject: bug#19606: 24.4; Emacs hangs when editing a 5-line Org file Date: Fri, 16 Jan 2015 12:27:16 +0100 Organization: My Googlest Message-ID: <867fwnynhn.fsf@example.com> References: <86mw5kktly.fsf@example.com> <86lhl32a5e.fsf@example.com> <83oapz3o89.fsf@gnu.org> <54B82BF2.8050504@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421407699 25187 80.91.229.3 (16 Jan 2015 11:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2015 11:28:19 +0000 (UTC) Cc: 19606-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Eli Zaretskii , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Jan 16 12:28:14 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 1YC54Y-0004td-GE for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jan 2015 12:28:14 +0100 Original-Received: from localhost ([::1]:55125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC54X-0001I1-OB for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jan 2015 06:28:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC54S-0001FS-6y for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 16 Jan 2015 06:28:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YC54R-0000IY-5h for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 16 Jan 2015 06:28:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC54M-0000HJ-N0; Fri, 16 Jan 2015 06:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YC54M-0007Rv-BZ; Fri, 16 Jan 2015 06:28:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: Fabrice Niessen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org, emacs-orgmode-mXXj517/zsQ@public.gmane.org Resent-Date: Fri, 16 Jan 2015 11:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.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-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B19606.142140765728597 (code B ref 19606); Fri, 16 Jan 2015 11:28:02 +0000 Original-Received: (at 19606) by debbugs.gnu.org; 16 Jan 2015 11:27:37 +0000 Original-Received: from localhost ([127.0.0.1]:58500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YC53x-0007RB-8x for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 16 Jan 2015 06:27:37 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:46613 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YC53v-0007Qt-Ac for 19606-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 16 Jan 2015 06:27:35 -0500 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 8E73950018B; Fri, 16 Jan 2015 12:27:29 +0100 (CET) X-Url: http://www.MyGooglest.com/fni X-Archive: encrypt In-Reply-To: (Eli Zaretskii's message of "Fri, 16 Jan 2015 10:24:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.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-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:98413 Archived-At: Eli Zaretskii wrote: >> Date: Fri, 16 Jan 2015 00:06:58 +0300 >> From: Dmitry Gutov >> CC: 19606-ubl+/3LiMTaZdePnXv/OxA@public.gmane.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) OK, so I just reproduced the problem once again, then: - tried to C-g in Emacs: impossible! - launched GDB - source ~/.gdbinit - thread 1 - thread apply all backtrace Still, the backtrace is not as long as normal, and I don't get any GDB prompt anymore! I tried to C-c in the shell window, as well without success... What can I do to provide you with more context? Best regards, Fabrice