From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Dominik Newsgroups: gmane.emacs.devel Subject: Re: [bug]org-mode with flyspell-mode freezes emacs Date: Mon, 16 Oct 2006 11:01:16 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161058074 3378 80.91.229.2 (17 Oct 2006 04:07:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Oct 2006 04:07:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 17 06:07:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GZgF4-0005wO-Gp for ged-emacs-devel@m.gmane.org; Tue, 17 Oct 2006 06:07:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZgF3-000344-Fe for ged-emacs-devel@m.gmane.org; Tue, 17 Oct 2006 00:07:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GZOLm-0000as-8n for emacs-devel@gnu.org; Mon, 16 Oct 2006 05:01:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GZOLf-0000Wx-Nn for emacs-devel@gnu.org; Mon, 16 Oct 2006 05:01:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZOLe-0000W7-Rs for emacs-devel@gnu.org; Mon, 16 Oct 2006 05:01:27 -0400 Original-Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GZOUh-0006jD-Nf; Mon, 16 Oct 2006 05:10:48 -0400 Original-Received: from nb-dominik2.science.uva.nl [146.50.22.167] by imap.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.38). id k9G91Mq03925; Mon, 16 Oct 2006 11:01:22 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: Original-To: rms@gnu.org X-Mailer: Apple Mail (2.624) X-Virus-Scanned: by amavisd-new X-Mailman-Approved-At: Tue, 17 Oct 2006 00:05:17 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60807 Archived-At: Apologies for my previous message in which I said I could not reproduce this error under gdb. This was a mistake on my side, caused by an alias expansion of the command emacs that make "gdb emacs" refer to emacs 21 instead of Emacs 22. Anyway, I do now have a backtrace for this problem. Can anyone extract something useful from this? Thanks. - Carsten (gdb) run -l test test.org Starting program: /Users/dominik/bin/ne -l test test.org Reading symbols for shared libraries ++++. done ^C Program received signal SIGINT, Interrupt. 0x00157454 in validate_interval_range (object=20860132, begin=0xbfffd8e8, end=0xbfffd8e8, force=0) at textprop.c:135 135 CHECK_NUMBER_COERCE_MARKER (*end); (gdb) backtrace #0 0x00157454 in validate_interval_range (object=20860132, begin=0xbfffd8e8, end=0xbfffd8e8, force=0) at textprop.c:135 #1 0x001573c4 in validate_interval_range (object=20860132, begin=0xbfffd8e8, end=0xbfffd8e8, force=0) at textprop.c:129 #2 0x00158274 in Ftext_properties_at (position=432, object=20860128) at textprop.c:590 #3 0x0015830c in Fget_text_property (position=432, prop=-1073751832, object=-1073751832) at textprop.c:611 #4 0x0015a7b0 in text_property_stickiness (prop=58879617, pos=0, buffer=20860132) at textprop.c:1789 #5 0x00156284 in adjust_for_invis_intang (pos=20860132, test_offs=0, adj=20860132, test_intang=2729760) at intervals.c:1989 #6 0x00156540 in set_point_both (buffer=0x13e4ce4, charpos=20860128, bytepos=20860132) at intervals.c:2112 #7 0x000e8558 in search_command (string=28183443, bound=432, noerror=58720825, count=0, direction=0, RE=0, posix=0) at search.c:1008 #8 0x00114d54 in Ffuncall (nargs=432, args=0x1) at eval.c:3003 #9 0x00142110 in Fbyte_code (bytestr=17315416, vector=1, maxdepth=1) at bytecode.c:679 #10 0x001152e8 in funcall_lambda (fun=1, nargs=0, arg_vector=0x3800239) at eval.c:3180 #11 0x00114e88 in Ffuncall (nargs=432, args=0x1) at eval.c:3050 #12 0x00142110 in Fbyte_code (bytestr=17315416, vector=1, maxdepth=1) at bytecode.c:679 #13 0x001152e8 in funcall_lambda (fun=1, nargs=0, arg_vector=0x3800239) at eval.c:3180 #14 0x00114e88 in Ffuncall (nargs=432, args=0x1) at eval.c:3050 #15 0x00142110 in Fbyte_code (bytestr=17315416, vector=1, maxdepth=1) at bytecode.c:679 #16 0x001152e8 in funcall_lambda (fun=1, nargs=0, arg_vector=0x3800239) at eval.c:3180 #17 0x00114e88 in Ffuncall (nargs=432, args=0x1) at eval.c:3050 #18 0x00114604 in run_hook_with_args (nargs=0, args=0x1, cond=28183443) at eval.c:2652 #19 0x00114410 in Frun_hooks (nargs=432, args=0x1b0) at eval.c:2515 #20 0x00114d18 in Ffuncall (nargs=432, args=0x38109e1) at eval.c:2996 #21 0x00114850 in call1 (fn=432, arg1=432) at eval.c:2774 #22 0x00112860 in internal_condition_case (bfun=0xa9040 , handlers=58720825, hfun=0xa9080 ) at eval.c:1477 #23 0x000a9160 in safe_run_hooks (hook=432) at keyboard.c:2131 #24 0x000a8584 in command_loop_1 () at keyboard.c:1875 #25 0x00112860 in internal_condition_case (bfun=0xa7364 , handlers=58767017, hfun=0xa6a84 ) at eval.c:1477 #26 0x000a6f48 in command_loop_2 () at keyboard.c:1326 #27 0x00112218 in internal_catch (tag=432, func=0xa6f08 , arg=58720777) at eval.c:1218 #28 0x000a6ea0 in command_loop () at keyboard.c:1305 #29 0x000a66c0 in recursive_edit_1 () at keyboard.c:1003 #30 0x000a6878 in Frecursive_edit () at keyboard.c:1064 #31 0x000a52e0 in main (argc=1601296, argv=0x2d0210) at emacs.c:1794 On Oct 15, 2006, at 6:20, Richard Stallman wrote: > On Thu Oct 12 10:51:51 2006 +0100, Carsten Dominik wrote: > > I can reproduce this under Emacs 22, but I have not been able to > figure out what is causing this, because Emacs hangs so that it > cannot > even be stopped with C-g. > > It seems to be caused by links which contain hidden and intangible > text. > > Don't really know where to go from here. > > - Carsten > > > Can you run Emacs under GDB, stop it while it is in this loop, > and send us the backtrace? > > As a next step, you could follow the advice in etc/DEBUG about > investigating an infinite loop. This information could probably enable > someone else to debug the Emacs bug. > > For others' information, the initial bug report: > > From: Leo > > Starting emacs with "emacs -q -l test test.org". Then press "C-x > ]". Emacs will freeze. > > "test" and "test.org" are attached. > > Tested on GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version > 2.8.20) > of 2006-10-04 running under fedora core 5. > > > (setq inhibit-startup-message t) > (add-hook 'text-mode-hook > (lambda nil > (flyspell-mode t))) > (add-to-list 'auto-mode-alist '("\\.org" . org-mode)) > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477