bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2563: rgrep killing emacs


From: alex
Subject: bug#2563: rgrep killing emacs
Date: Sat, 7 Mar 2009 11:18:13 +0200 (EET)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)


Hello Chong,

On Wed, 4 Mar 2009, Chong Yidong wrote:

1. Run rgrep (some long like finding some text in homedir)
2. Run rgrep again (previous is not finished)
3. rgrep asks: "A grep process is running; kill it? (y or n)". If I
answer
   yes,
   Fatal error (6)zsh: abort (core dumped)  emacs -Q -nw

I can't reproduce this.  Could you build with debugging symbols, and
without optimization (CFLAGS="-g" ./configure), and post the backtrace?


I did:

export CFLAGS=g ./configure --enable-debug=yes

BTW, I found, that if I do:
 unset LANG

then I can not reproduce this error.

at the moment LANG=ru_RU.UTF-8

Bt:

#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb73c3406 in kill () from /lib/libc.so.6
#2  0x081ca022 in fatal_error_signal (sig=6) at emacs.c:403
#3  <signal handler called>
#4  0xffffe424 in __kernel_vsyscall ()
#5  0xb73c3406 in kill () from /lib/libc.so.6
#6  0x081ca042 in abort () at emacs.c:432
#7  0x080ef4d2 in multibyte_chars_in_text (
    ptr=0xbff21905 "?237?200е?200?213вание\031??a\b\001", nbytes=25) at 
character.c:622
#8  0x080ef2e6 in chars_in_text (
    ptr=0xbff21900 "Grep ?237?200е?200?213вание\031??a\b\001", nbytes=25)
    at character.c:601
#9  0x081faf12 in insert_1 (string=0x46b2 <Address 0x46b2 out of bounds>, 
nbytes=25, inherit=1,
    prepare=0, before_markers=0) at insdel.c:832
#10 0x0807d4ed in message_dolog (m=0xbff21900 "Grep 
?237?200е?200?213вание\031??a\b\001",
    nbytes=25, nlflag=1, multibyte=1) at xdisp.c:7770
#11 0x0807deb2 in message3 (m=140201731, nbytes=25, multibyte=1) at xdisp.c:8005
#12 0x082511c3 in Fmessage (nargs=2, args=0xbff21a34) at editfns.c:3382
#13 0x0825b3f8 in Ffuncall (nargs=3, args=0xbff21a30) at eval.c:3025
#14 0x0829fb8a in Fbyte_code (bytestr=145537523, vector=145539188, maxdepth=64) 
at bytecode.c:678
#15 0x0825bcc9 in funcall_lambda (fun=145539468, nargs=3, 
arg_vector=0xbff21d44) at eval.c:3231
#16 0x0825b779 in Ffuncall (nargs=4, args=0xbff21d40) at eval.c:3090
#17 0x0829fb8a in Fbyte_code (bytestr=145538619, vector=145539532, maxdepth=32) 
at bytecode.c:678
#18 0x0825bcc9 in funcall_lambda (fun=145539700, nargs=2, 
arg_vector=0xbff22044) at eval.c:3231
#19 0x0825b779 in Ffuncall (nargs=3, args=0xbff22040) at eval.c:3090
#20 0x0825acb8 in Fapply (nargs=2, args=0xbff220e0) at eval.c:2532
#21 0x0825b072 in apply1 (fn=145501177, arg=141859501) at eval.c:2796
#22 0x082aa7cc in read_process_output_call (fun_and_args=141859509) at 
process.c:5149
#23 0x082591a2 in internal_condition_case_1 (bfun=0x82aa7a9 
<read_process_output_call>, arg=141859509,
    handlers=138953065, hfun=0x82ad3a2 <exec_sentinel_error_handler>) at 
eval.c:1559
#24 0x082ad582 in exec_sentinel (proc=145366164, reason=140202435) 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=997329, 
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=0xbff226c4, used_mouse_menu=0x0, 
end_time=0xbff228f8)
    at keyboard.c:4089
#28 0x081d16e3 in read_char (commandflag=0, nmaps=0, maps=0x0, 
prev_event=138909945,
    used_mouse_menu=0x0, end_time=0xbff228f8) at keyboard.c:3055
#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=0xbff229f0) 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=0xbff22d04) at eval.c:3231
#34 0x0825b779 in Ffuncall (nargs=2, args=0xbff22d00) at eval.c:3090
#35 0x0829fb8a in Fbyte_code (bytestr=145502691, vector=145503324, maxdepth=16) 
at bytecode.c:678
#36 0x0825a6cd in Feval (form=141809365) at eval.c:2381
#37 0x08258f50 in internal_lisp_condition_case (var=138909897, 
bodyform=141809365, handlers=141809349)
    at eval.c:1456
#38 0x082a0831 in Fbyte_code (bytestr=145502323, vector=145505484, maxdepth=96) 
at bytecode.c:868
#39 0x0825bcc9 in funcall_lambda (fun=145506116, nargs=2, 
arg_vector=0xbff23454) at eval.c:3231
#40 0x0825b779 in Ffuncall (nargs=3, args=0xbff23450) at eval.c:3090
#41 0x0829fb8a in Fbyte_code (bytestr=139266779, vector=144926364, 
maxdepth=112) at bytecode.c:678
#42 0x0825bcc9 in funcall_lambda (fun=144872084, nargs=3, 
arg_vector=0xbff23784) at eval.c:3231
#43 0x0825b779 in Ffuncall (nargs=4, args=0xbff23780) at eval.c:3090
#44 0x0825acb8 in Fapply (nargs=2, args=0xbff23820) at eval.c:2532
#45 0x0825b072 in apply1 (fn=140077529, arg=141817125) 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=0xbff23ac0) 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=0xbff23cf0) 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=0xbff23fb0) 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 <command_loop_1>, 
handlers=138953065,
    hfun=0x81cd9b9 <cmd_error>) at eval.c:1511
#58 0x081cdd3a in command_loop_2 () at keyboard.c:1357
#59 0x08258b36 in internal_catch (tag=138949089, func=0x81cdd17 
<command_loop_2>, 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=0xbff248c4) at emacs.c:1852


Thank you.

--
Alex V. Koval
http://alex.koval.kharkov.ua/
http://www.halogen-dg.com/
http://www.djwarehouse.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]