From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: alex@halogen-dg.com Newsgroups: gmane.emacs.bugs Subject: bug#2563: rgrep killing emacs Date: Sun, 15 Mar 2009 08:35:34 +0200 (EET) Message-ID: References: <87hc29jnov.fsf@cyd.mit.edu> <87sklg3q1l.fsf@cyd.mit.edu> Reply-To: alex@halogen-dg.com, 2563@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Trace: ger.gmane.org 1237099494 20070 80.91.229.12 (15 Mar 2009 06:44:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Mar 2009 06:44:54 +0000 (UTC) Cc: 2563@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 15 07:46:10 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lik6o-0002Ry-Vu for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Mar 2009 07:46:07 +0100 Original-Received: from localhost ([127.0.0.1]:47818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lik5S-0004cp-TA for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Mar 2009 02:44:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lik4c-0003gp-II for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 02:43:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lik4X-0003d9-Qd for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 02:43:49 -0400 Original-Received: from [199.232.76.173] (port=35728 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lik4X-0003cy-9n for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 02:43:45 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41560) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lik4W-00081R-E3 for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 02:43:44 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2F6hgXq009387; Sat, 14 Mar 2009 23:43:42 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2F6e5nb008318; Sat, 14 Mar 2009 23:40:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: alex@halogen-dg.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 15 Mar 2009 06:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2563 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2563-submit@emacsbugs.donarmstrong.com id=B2563.12370989498019 (code B ref 2563); Sun, 15 Mar 2009 06:40:05 +0000 Original-Received: (at 2563) by emacsbugs.donarmstrong.com; 15 Mar 2009 06:35:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from appserver.halogen.kharkov.ua (vhost.halogen.kharkov.ua [195.24.252.42]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2F6ZhOL008013 for <2563@emacsbugs.donarmstrong.com>; Sat, 14 Mar 2009 23:35:45 -0700 Original-Received: (qmail 1510 invoked from network); 15 Mar 2009 06:35:43 -0000 Original-Received: from dom.koval.kharkov.ua (HELO ws101.ltsp) (alex@halogen-dg.com@194.187.155.162) by vhost.halogen.kharkov.ua with ESMTPA; 15 Mar 2009 06:35:43 -0000 X-X-Sender: alex@avk.koval.kharkov.ua In-Reply-To: <87sklg3q1l.fsf@cyd.mit.edu> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 15 Mar 2009 02:43:49 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26336 Archived-At: On Sat, 14 Mar 2009, Chong Yidong wrote: > Could you please show the results of the following commands: > > f 24 > p reason > xtype > xstring > Those are Emacs specific---to use them, you need to run gdb from within > the Emacs src directory. Aha, so it reads .gdbinit. Understand. Done (I've also re-executed emacs and included bt again): Core was generated by `/home/alex/emacstest/bin/emacs -Q'. Program terminated with signal 6, Aborted. [New process 10537] #0 0xffffe424 in __kernel_vsyscall () SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = xterm Breakpoint 1 at 0x81ca02d: file emacs.c, line 432. Breakpoint 2 at 0x81eab1a: file sysdep.c, line 1144. (gdb) f 24 #24 0x082ad582 in exec_sentinel (proc=144902356, reason=145516011) at process.c:6752 6752 internal_condition_case_1 (read_process_output_call, (gdb) p reason $1 = 145516011 (gdb) xtype Lisp_String (gdb) xstring $2 = (struct Lisp_String *) 0x8ac65e8 "\360\237\321\200\320\265\321\200\321\213\320\262\320\260\320\275\320\270\320\265\n" (gdb) bt #0 0xffffe424 in __kernel_vsyscall () #1 0xb7487406 in kill () from /lib/libc.so.6 #2 0x081ca022 in fatal_error_signal (sig=6) at emacs.c:403 #3 #4 0xffffe424 in __kernel_vsyscall () #5 0xb7487406 in kill () from /lib/libc.so.6 #6 0x081ca042 in abort () at emacs.c:432 #7 0x080ef4d2 in multibyte_chars_in_text ( ptr=0xbfde7fa5 "\360\237\321\200\320\265\321\200\321\213\320\262\320\260\320\275\320\270\320\265\177\336\277\330\335\a\b\001", nbytes=25) at character.c:622 #8 0x080ef2e6 in chars_in_text ( ptr=0xbfde7fa0 "Grep \360\237\321\200\320\265\321\200\321\213\320\262\320\260\320\275\320\270\320\265\177\336\277\330\335\a\b\001", nbytes=25) at character.c:601 #9 0x081faf12 in insert_1 (string=0x2929
, nbytes=25, inherit=1, prepare=0, before_markers=0) at insdel.c:832 #10 0x0807d4ed in message_dolog ( m=0xbfde7fa0 "Grep \360\237\321\200\320\265\321\200\321\213\320\262\320\260\320\275\320\270\320\265\177\336\277\330\335\a\b\001", nbytes=25, nlflag=1, multibyte=1) at xdisp.c:7770 #11 0x0807deb2 in message3 (m=145514939, nbytes=25, multibyte=1) at xdisp.c:8005 #12 0x082511c3 in Fmessage (nargs=2, args=0xbfde80d4) at editfns.c:3382 #13 0x0825b3f8 in Ffuncall (nargs=3, args=0xbfde80d0) at eval.c:3025 #14 0x0829fb8a in Fbyte_code (bytestr=142199779, vector=143429004, maxdepth=64) at bytecode.c:678 #15 0x0825bcc9 in funcall_lambda (fun=145327484, nargs=3, arg_vector=0xbfde83e4) at eval.c:3231 #16 0x0825b779 in Ffuncall (nargs=4, args=0xbfde83e0) at eval.c:3090 #17 0x0829fb8a in Fbyte_code (bytestr=142186451, vector=145404468, maxdepth=32) at bytecode.c:678 #18 0x0825bcc9 in funcall_lambda (fun=145329012, nargs=2, arg_vector=0xbfde86e4) at eval.c:3231 #19 0x0825b779 in Ffuncall (nargs=3, args=0xbfde86e0) at eval.c:3090 #20 0x0825acb8 in Fapply (nargs=2, args=0xbfde8780) at eval.c:2532 #21 0x0825b072 in apply1 (fn=145525385, arg=141933957) at eval.c:2796 #22 0x082aa7cc in read_process_output_call (fun_and_args=141933949) at process.c:5149 #23 0x082591a2 in internal_condition_case_1 (bfun=0x82aa7a9 , arg=141933949, handlers=138953065, hfun=0x82ad3a2 ) at eval.c:1559 #24 0x082ad582 in exec_sentinel (proc=144902356, reason=145516011) at process.c:6752 #25 0x082ad756 in status_notify (deleting_process=0x0) at process.c:6856 #26 0x082a9c59 in wait_reading_process_output (time_limit=0, microsecs=999611, read_kbd=-1, do_display=1, wait_for_cell=138909897, wait_proc=0x0, just_wait_proc=0) at process.c:4676 #27 0x081d34c5 in kbd_buffer_get_event (kbp=0xbfde8d64, used_mouse_menu=0x0, end_time=0xbfde8f98) at keyboard.c:4089 #28 0x081d16e3 in read_char (commandflag=0, nmaps=0, maps=0x0, prev_event=138909945, used_mouse_menu=0x0, end_time=0xbfde8f98) at keyboard.c:3055 ---Type to continue, or q to quit--- #29 0x0827f4de in read_filtered_event (no_switch_frame=0, ascii_required=0, error_nonascii=0, input_method=0, seconds=8) at lread.c:704 #30 0x0827f769 in Fread_event (prompt=138909897, inherit_input_method=138909897, seconds=8) at lread.c:818 #31 0x0825b544 in Ffuncall (nargs=4, args=0xbfde9090) at eval.c:3050 #32 0x0829fb8a in Fbyte_code (bytestr=137380227, vector=137380244, maxdepth=40) at bytecode.c:678 #33 0x0825bcc9 in funcall_lambda (fun=137380164, nargs=1, arg_vector=0xbfde93a4) at eval.c:3231 #34 0x0825b779 in Ffuncall (nargs=2, args=0xbfde93a0) at eval.c:3090 #35 0x0829fb8a in Fbyte_code (bytestr=145526995, vector=145527532, maxdepth=16) at bytecode.c:678 #36 0x0825a6cd in Feval (form=145182821) at eval.c:2381 #37 0x08258f50 in internal_lisp_condition_case (var=138909897, bodyform=145182821, handlers=145182837) at eval.c:1456 #38 0x082a0831 in Fbyte_code (bytestr=145526627, vector=145529724, maxdepth=96) at bytecode.c:868 #39 0x0825bcc9 in funcall_lambda (fun=145530356, nargs=2, arg_vector=0xbfde9af4) at eval.c:3231 #40 0x0825b779 in Ffuncall (nargs=3, args=0xbfde9af0) at eval.c:3090 #41 0x0829fb8a in Fbyte_code (bytestr=139378547, vector=145306812, maxdepth=112) at bytecode.c:678 #42 0x0825bcc9 in funcall_lambda (fun=145055668, nargs=3, arg_vector=0xbfde9e24) at eval.c:3231 #43 0x0825b779 in Ffuncall (nargs=4, args=0xbfde9e20) at eval.c:3090 #44 0x0825acb8 in Fapply (nargs=2, args=0xbfde9ec0) at eval.c:2532 #45 0x0825b072 in apply1 (fn=140077529, arg=145138397) at eval.c:2796 #46 0x082554da in Fcall_interactively (function=140077529, record_flag=138909945, keys=138948332) at callint.c:390 #47 0x0825b544 in Ffuncall (nargs=4, args=0xbfdea160) at eval.c:3050 #48 0x0825b111 in call3 (fn=139074505, arg1=140077529, arg2=138909945, arg3=138909897) at eval.c:2874 #49 0x081de26e in Fcommand_execute (cmd=140077529, record_flag=138909945, keys=138909897, special=138909897) at keyboard.c:10421 #50 0x081de5d1 in Fexecute_extended_command (prefixarg=138909897) at keyboard.c:10534 #51 0x0825b4ea in Ffuncall (nargs=2, args=0xbfdea390) at eval.c:3044 #52 0x08256e4a in Fcall_interactively (function=138949305, record_flag=138909897, keys=138948332) at callint.c:870 #53 0x0825b544 in Ffuncall (nargs=4, args=0xbfdea650) at eval.c:3050 #54 0x0825b111 in call3 (fn=139074505, arg1=138949305, arg2=138909897, arg3=138909897) at eval.c:2874 #55 0x081de26e in Fcommand_execute (cmd=138949305, record_flag=138909897, keys=138909897, special=138909897) at keyboard.c:10421 #56 0x081cf781 in command_loop_1 () at keyboard.c:1899 #57 0x08259076 in internal_condition_case (bfun=0x81cdfe1 , handlers=138953065, hfun=0x81cd9b9 ) at eval.c:1511 #58 0x081cdd3a in command_loop_2 () at keyboard.c:1357 #59 0x08258b36 in internal_catch (tag=138949089, func=0x81cdd17 , arg=138909897) at eval.c:1247 #60 0x081cdcf0 in command_loop () at keyboard.c:1336 #61 0x081cd5ca in recursive_edit_1 () at keyboard.c:951 #62 0x081cd736 in Frecursive_edit () at keyboard.c:1013 #63 0x081cbe6f in main (argc=2, argv=0xbfdeaf64) at emacs.c:1852 Lisp Backtrace: "message" (0xbfde80d4) ---Type to continue, or q to quit--- "compilation-handle-exit" (0xbfde83e4) "compilation-sentinel" (0xbfde86e4) "read-event" (0xbfde9094) "sit-for" (0xbfde93a4) "byte-code" (0xbfde9620) "compilation-start" (0xbfde9af4) "rgrep" (0xbfde9e24) "call-interactively" (0xbfdea164) "execute-extended-command" (0xbfdea394) "call-interactively" (0xbfdea654) (gdb) > > Thanks.