From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathan Trapuzzano Newsgroups: gmane.emacs.bugs Subject: bug#15778: 24.3; cperl-mode causes emacs to lock up Date: Fri, 01 Nov 2013 08:16:24 -0400 Message-ID: <87mwlob9lz.fsf@nbtrap.com> References: <871u30cqtq.fsf@nbtrap.com> <83mwlobb0i.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1383308240 26132 80.91.229.3 (1 Nov 2013 12:17:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2013 12:17:20 +0000 (UTC) Cc: 15778@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 13:17:24 2013 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 1VcDfC-00063v-Ei for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2013 13:17:18 +0100 Original-Received: from localhost ([::1]:37867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcDfB-0004IL-Vs for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2013 08:17:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcDf3-0004I7-0K for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2013 08:17:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcDex-0007Lt-00 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2013 08:17:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcDew-0007Lp-Sb for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2013 08:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VcDew-0004TE-5s for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2013 08:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nathan Trapuzzano Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2013 12:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15778-submit@debbugs.gnu.org id=B15778.138330819417142 (code B ref 15778); Fri, 01 Nov 2013 12:17:02 +0000 Original-Received: (at 15778) by debbugs.gnu.org; 1 Nov 2013 12:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:56804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VcDeT-0004SP-Di for submit@debbugs.gnu.org; Fri, 01 Nov 2013 08:16:34 -0400 Original-Received: from oproxy4-pub.mail.unifiedlayer.com ([74.220.216.66]:46942) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VcDeR-0004SC-7I for 15778@debbugs.gnu.org; Fri, 01 Nov 2013 08:16:32 -0400 Original-Received: (qmail 26252 invoked by uid 0); 1 Nov 2013 12:16:29 -0000 Original-Received: from unknown (HELO host393.hostmonster.com) (66.147.240.193) by oproxy4.mail.unifiedlayer.com with SMTP; 1 Nov 2013 12:16:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbtrap.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=Y9YvMGM/DA/WMAQ8i7lPrsFMFi1XeFqXcYZHmVMTwz4=; b=segdNScF/QLv+bMSqFHKmPIJBzFMBg8pb5szY1tzWR8D+Jcsjymdkywc+5Z4zYFQmn+Ta1SSJnrZWQQvcXDqZ364LMnA6zY7zy+OsQ5XPV0L3J0rY4CKorOh4wnKaMdf; Original-Received: from [50.90.253.209] (port=42608 helo=Nathan-GNU) by host393.hostmonster.com with esmtpsa (TLSv1:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1VcDeO-0004pd-LJ; Fri, 01 Nov 2013 06:16:29 -0600 In-Reply-To: <83mwlobb0i.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Nov 2013 13:46:05 +0200") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-Identified-User: {1585:host393.hostmonster.com:nbtrapco:nbtrap.com} {sentby:smtp auth 50.90.253.209 authed with nbtrap@nbtrap.com} 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:79851 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: > Please attach a debugger and show the backtrace. The file etc/DEBUG > explains how to look for a place that infloops, perhaps you could > follow that and provide a more detailed information. There's an infinite loop somewhere in exec_byte_code. I've attached the backtrace at the point. Moreover, sending emacs a SIGUSR2 does invoke the lisp debugger with the following message: Debugger entered--entering a function: * #[0 "\301\300\302\"\207" [(0 1) set-match-data evaporate] 3 "\n\n(fn)"]() * funcall(#[0 "\301\300\302\"\207" [(0 1) set-match-data evaporate] 3 "\n\n(fn)"]) jit-lock-fontify-now(1111 1611) jit-lock-function(1111) redisplay_internal\ \(C\ function\)() If this is not enough, I can try to look into it more later. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=gdb.txt #0 0x00000000005555e1 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=11780242, nargs=nargs@entry=0, args=, args@entry=0x0) at bytecode.c:919 #1 0x0000000000526532 in funcall_lambda (fun=9582789, nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fff22a126a8) at eval.c:3023 #2 0x00000000005268d9 in Ffuncall (nargs=, args=) at eval.c:2838 #3 0x00000000005269ce in funcall_nil (nargs=, args=) at eval.c:2340 #4 0x00000000005255a9 in run_hook_with_args (nargs=3, args=0x7fff22a126a0, funcall=funcall@entry=0x5269c5 ) at eval.c:2525 #5 0x000000000052563e in Frun_hook_with_args (nargs=, args=) at eval.c:2386 #6 0x000000000052670a in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fff22a12698) at eval.c:2770 #7 0x00000000005555e1 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=0, nargs=nargs@entry=0, args=, args@entry=0x7fff22a12878) at bytecode.c:919 #8 0x0000000000526328 in funcall_lambda (fun=52111949, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fff22a12878) at eval.c:2957 #9 0x00000000005268d9 in Ffuncall (nargs=, args=) at eval.c:2838 #10 0x0000000000525e43 in eval_sub (form=form@entry=51776198) at eval.c:2131 #11 0x0000000000528a29 in internal_lisp_condition_case (var=, bodyform=51776198, handlers=) at eval.c:1300 #12 0x000000000055626b in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=2048, nargs=nargs@entry=2, args=, args@entry=0x7fff22a12c28) at bytecode.c:1169 #13 0x0000000000526328 in funcall_lambda (fun=9604621, nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fff22a12c28) at eval.c:2957 #14 0x00000000005268d9 in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7fff22a12c20) at eval.c:2838 #15 0x00000000005555e1 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=1028, nargs=nargs@entry=1, args=, args@entry=0x7fff22a12e58) at bytecode.c:919 #16 0x0000000000526328 in funcall_lambda (fun=9604205, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fff22a12e58) at eval.c:2957 #17 0x00000000005268d9 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fff22a12e50) at eval.c:2838 #18 0x0000000000525367 in internal_condition_case_n (bfun=0x52654e , nargs=nargs@entry=2, args=args@entry=0x7fff22a12e50, handlers=11780290, hfun=hfun@entry=0x4302f0 ) at eval.c:1413 #19 0x000000000042db6a in safe_call (nargs=nargs@entry=2, func=) at xdisp.c:2498 #20 0x000000000042db99 in safe_call1 (fn=, arg=) at xdisp.c:2514 #21 0x000000000042dd26 in handle_fontified_prop (it=0x7fff22a13e90) at xdisp.c:3701 #22 0x00000000004319df in handle_stop (it=it@entry=0x7fff22a13e90) at xdisp.c:3265 #23 0x0000000000438b1a in next_element_from_buffer (it=0x7fff22a13e90) at xdisp.c:8021 #24 0x000000000043528a in get_next_display_element (it=it@entry=0x7fff22a13e90) at xdisp.c:6676 #25 0x00000000004395f4 in display_line (it=it@entry=0x7fff22a13e90) at xdisp.c:19296 #26 0x000000000043bb30 in try_window (window=window@entry=11869221, pos=..., flags=flags@entry=1) at xdisp.c:16208 #27 0x000000000044bc68 in redisplay_window (window=window@entry=11869221, just_this_one_p=just_this_one_p@entry=1) at xdisp.c:15734 #28 0x000000000044d024 in redisplay_window_1 (window=window@entry=11869221) at xdisp.c:13756 #29 0x0000000000525114 in internal_condition_case_1 (bfun=bfun@entry=0x44cffb , arg=11869221, handlers=11995558, hfun=hfun@entry=0x41f157 ) at eval.c:1355 #30 0x0000000000440bfb in redisplay_internal () at xdisp.c:13412 #31 0x00000000004418e3 in redisplay () at xdisp.c:12647 #32 0x00000000004ca1fa in read_char (commandflag=1, map=map@entry=53179974, prev_event=11780242, used_mouse_menu=used_mouse_menu@entry=0x7fff22a177fb, end_time=end_time@entry=0x0) at keyboard.c:2557 #33 0x00000000004cb810 in read_key_sequence (keybuf=keybuf@entry=0x7fff22a178c0, bufsize=bufsize@entry=30, prompt=, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:9057 #34 0x00000000004cce4b in command_loop_1 () at keyboard.c:1431 #35 0x0000000000524ff7 in internal_condition_case (bfun=bfun@entry=0x4ccb53 , handlers=11839970, hfun=hfun@entry=0x4c51b1 ) at eval.c:1331 #36 0x00000000004c0a1f in command_loop_2 (ignore=ignore@entry=11780242) at keyboard.c:1158 #37 0x0000000000524ece in internal_catch (tag=11835698, func=func@entry=0x4c0a05 , arg=11780242) at eval.c:1097 #38 0x00000000004c09b7 in command_loop () at keyboard.c:1137 #39 0x00000000004c4d3d in recursive_edit_1 () at keyboard.c:776 #40 0x00000000004c5017 in Frecursive_edit () at keyboard.c:840 #41 0x00000000004c0464 in main (argc=, argv=0x7fff22a17be8) at emacs.c:1590 Lisp Backtrace: "font-lock-fontify-region" (0x22a126a8) "run-hook-with-args" (0x22a126a0) 0x31b2a48 PVEC_COMPILED "funcall" (0x22a12870) "jit-lock-fontify-now" (0x22a12c28) "jit-lock-function" (0x22a12e58) "redisplay_internal (C function)" (0xb22638) A debugging session is active. Inferior 1 [process 9463] will be detached. Quit anyway? (y or n) Not confirmed. --=-=-=--