Package: emacs;
Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>
Date: Fri, 12 Aug 2011 23:31:01 UTC
Severity: normal
Found in version 24.0.50
Done: Eric Hanchrow <eric.hanchrow <at> gmail.com>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: Eric Hanchrow <eric.hanchrow <at> gmail.com> To: 9290 <at> debbugs.gnu.org Subject: bug#9290: 24.0.50; TAB in shell buffer hangs emacs Date: Fri, 12 Aug 2011 16:28:46 -0700
This is emacs that I built from git, commit 34a854d: Author: Chong Yidong <cyd <at> stupidchicken.com> Date: Wed Aug 10 12:03:56 2011 New function `string-mark-left-to-right' for handling LRMs. ... Here's what I did: * Started emacs with -Q * typed M-x s h e l l RET c d SPC ~ / D o w n l o a d s RET (I happen to have two files in ~/Downloads, named "bug (1).patch" and "bug (2).patch") * typed l s SPC - l SPC b u g \ TAB At this point emacs hung. I broke into the debugger and got this backtrace: (gdb) bt full #0 0x00000000005b2e93 in exec_byte_code (bytestr=44001857, vector=0, maxdepth=<value optimized out>, args_template=53, nargs=4, args=0x0) at bytecode.c:568 count = 12 op = 119 stack = { pc = 0x2a30a21 "\210\202\036", byte_string = 16368865, byte_string_start = 0x2a309f0 "\212\300\301!\210`)`\301\211\212\003b\210`\003W\203H", constants = 44180517, next = 0x7fffabbc56d0 } top = (Lisp_Object *) 0x7fffabbc54d0 result = <value optimized out> #1 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 41071026 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = { next = 0x7fffabbc5770, function = 0x7fffabbc5638, args = 0x7fffabbc5640, nargs = 0, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc5640 i = <value optimized out> #2 0x00000000005b3c82 in exec_byte_code (bytestr=<value optimized out>, vector=41071765, maxdepth=<value optimized out>, args_template=1, nargs=4, args=0x0) at bytecode.c:785 count = 12 op = 44239392 stack = { pc = 0x2a30b0a "\211\205\312", byte_string = 16370033, byte_string_start = 0x2a30b08 "\b \211\205\312", constants = 41071765, next = 0x7fffabbc5850 } top = (Lisp_Object *) 0x7fffabbc5638 result = <value optimized out> #3 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 41071170 funcar = <value optimized out> numargs = 1 val = <value optimized out> backtrace = { next = 0x7fffabbc58f0, function = 0x7fffabbc57e0, args = 0x7fffabbc57e8, nargs = 1, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc57e8 i = <value optimized out> #4 0x00000000005b3c82 in exec_byte_code (bytestr=<value optimized out>, vector=40263589, maxdepth=<value optimized out>, args_template=0, nargs=4, args=0x0) at bytecode.c:785 count = 12 op = 44239392 stack = { pc = 0x2a31dc3 "\2053", byte_string = 40118241, byte_string_start = 0x2a31dc0 "\306\b!\2053", constants = 40263589, next = 0x7fffabbc5c00 } top = (Lisp_Object *) 0x7fffabbc57e0 result = <value optimized out> #5 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 41173669 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = { next = 0x7fffabbc59f0, function = 0x7fffabbc5970, args = 0x7fffabbc5978, nargs = 0, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc5978 i = <value optimized out> #6 0x000000000057bc54 in eval_sub (form=<value optimized out>) at eval.c:2329 vals = <value optimized out> sa_must_free = 0 numargs = 119 argvals = {4, 12033270, 40704829, 44129256, 40704824, -1, 4, 4} args_left = 11898530 i = <value optimized out> fun = <value optimized out> val = <value optimized out> original_fun = <value optimized out> original_args = 18271766 funcar = <value optimized out> backtrace = { next = 0x7fffabbc5ca0, function = 0x7fffabbc5a28, args = 0x7fffabbc5970, nargs = 1, debug_on_exit = 0 } #7 0x000000000057d208 in internal_catch (tag=<value optimized out>, func=0x57b560 <eval_sub>, arg=18271782) at eval.c:1247 c = { tag = 12034530, val = 11898530, next = 0x7fffabbc5ff0, gcpro = 0x0, jmp = {{ __jmpbuf = {41189765, -2186803897768346038, 140736074636192, 0, 4611686018428436480, 1, -2186803897564922294, 2186988722479431242}, __mask_was_saved = 0, __saved_mask = { __val = {5462331, 1550284130, 4611686018427389952, 4611686018427404288, 5462414, 44115568, 41008289, 41008288, 5626596, 4294967296, 11741904, 4, 11958546, 2, 8616184, 4611686018427389952} } }}, backlist = 0x7fffabbc5ca0, handlerlist = 0x7fffabbc6e80, lisp_eval_depth = 10, pdlcount = 12, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7fffabbc5c00 } #8 0x00000000005b346c in exec_byte_code (bytestr=<value optimized out>, vector=41189765, maxdepth=<value optimized out>, args_template=0, nargs=4, args=0x0) at bytecode.c:966 v1 = 44239392 count = 12 op = 119 stack = { pc = 0x2a31d85 "\207", byte_string = 40118529, byte_string_start = 0x2a31d80 "\300\301\302D\215\207", constants = 41189765, next = 0x7fffabbc5dc0 } top = (Lisp_Object *) 0x7fffabbc5ba0 result = <value optimized out> #9 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 12034530 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = { next = 0x7fffabbc5e60, function = 0x7fffabbc5d10, args = 0x7fffabbc5d18, nargs = 0, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc5d18 i = <value optimized out> #10 0x00000000005b3c82 in exec_byte_code (bytestr=<value optimized out>, vector=14990437, maxdepth=<value optimized out>, args_template=0, nargs=4, args=0x0) at bytecode.c:785 count = 4 op = 44239392 stack = { pc = 0x2a3559e "`\bGZ\310 ]\211`{\002\205\210", byte_string = 16309569, byte_string_start = 0x2a35588 "\306\211\030\031\306\211\032\033\306\211\034\035\016 \036 \016!\036!\307 `\bGZ\310 ]\211`{\002\205\210", constants = 14990437, next = 0x7fffabbc6170 } top = (Lisp_Object *) 0x7fffabbc5d10 result = <value optimized out> #11 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 16095237 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = { next = 0x7fffabbc5f60, function = 0x7fffabbc5ee0, args = 0x7fffabbc5ee8, nargs = 0, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc5ee8 i = <value optimized out> #12 0x000000000057bc54 in eval_sub (form=<value optimized out>) at eval.c:2329 vals = <value optimized out> sa_must_free = 0 numargs = 119 argvals = {44001854, 43940049, 0, 0, 140736074633488, 5803141, 11738648, 38988049} args_left = 11898530 i = <value optimized out> fun = <value optimized out> val = <value optimized out> original_fun = <value optimized out> original_args = 18271734 funcar = <value optimized out> backtrace = { next = 0x7fffabbc6210, function = 0x7fffabbc5f98, args = 0x7fffabbc5ee0, nargs = 1, debug_on_exit = 0 } #13 0x000000000057d208 in internal_catch (tag=<value optimized out>, func=0x57b560 <eval_sub>, arg=18271750) at eval.c:1247 c = { tag = 12034482, val = 11898530, next = 0x7fffabbc6d70, gcpro = 0x0, jmp = {{ __jmpbuf = {17171429, -2186803899456553398, 140736074637584, 0, 4611686018428436480, 1, -2186803897650905526, 2186988722479431242}, __mask_was_saved = 0, __saved_mask = { __val = {73, 11898530, 5736375, 41269344, 0, 140736074637776, 140736074637488, 73, 4611686018428436480, 1, 5979207, 11898530, 11898530, 11898530, 4611686018428436480, 1} } }}, backlist = 0x7fffabbc6210, handlerlist = 0x7fffabbc6e80, lisp_eval_depth = 7, pdlcount = 4, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x7fffabbc6170 } #14 0x00000000005b346c in exec_byte_code (bytestr=<value optimized out>, vector=17171429, maxdepth=<value optimized out>, args_template=0, nargs=4, args=0x0) at bytecode.c:966 v1 = 44239392 count = 4 op = 119 stack = { pc = 0x2a35555 "\207", byte_string = 16309921, byte_string_start = 0x2a35550 "\300\301\302D\215\207", constants = 17171429, next = 0x7fffabbc63c0 } top = (Lisp_Object *) 0x7fffabbc6110 result = <value optimized out> #15 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 12034434 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = { next = 0x7fffabbc6300, function = 0x7fffabbc6378, args = 0x7fffabbc6380, nargs = 0, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc6380 i = <value optimized out> #16 0x0000000000578ccd in run_hook_with_args (nargs=1, args=0x7fffabbc6378, funcall=0x57a410 <Ffuncall>) at eval.c:2715 global_vals = <value optimized out> sym = 44114034 val = 44239392 ret = 11898530 #17 0x000000000057a950 in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:2991 fun = <value optimized out> original_fun = 12067506 funcar = <value optimized out> numargs = 1 val = <value optimized out> backtrace = { next = 0x7fffabbc6460, function = 0x7fffabbc6370, args = 0x7fffabbc6378, nargs = 1, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc6378 i = <value optimized out> #18 0x00000000005b3c82 in exec_byte_code (bytestr=<value optimized out>, vector=44254757, maxdepth=<value optimized out>, args_template=0, nargs=4, args=0x0) at bytecode.c:785 count = 4 op = 44239392 stack = { pc = 0x26d1b7b "\207", byte_string = 39938017, byte_string_start = 0x26d1b78 "\300\301!\207", constants = 44254757, next = 0x7fffabbc6560 } top = (Lisp_Object *) 0x7fffabbc6370 result = <value optimized out> #19 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 44147970 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = { next = 0x7fffabbc6600, function = 0x7fffabbc64e0, args = 0x7fffabbc64e8, nargs = 0, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc64e8 i = <value optimized out> #20 0x00000000005b3c82 in exec_byte_code (bytestr=<value optimized out>, vector=0, maxdepth=<value optimized out>, args_template=31, nargs=4, args=0x0) at bytecode.c:785 count = 4 op = 44239392 stack = { pc = 0xa8dcf0 "\211:\203Z", byte_string = 9499649, byte_string_start = 0xa8dccf "\211\302=\204\037", constants = 9499685, next = 0x7fffabbc6870 } top = (Lisp_Object *) 0x7fffabbc64e0 result = <value optimized out> #21 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 14146418 funcar = <value optimized out> numargs = 2 val = <value optimized out> backtrace = { next = 0x7fffabbc6710, function = 0x7fffabbc6788, args = 0x7fffabbc6790, nargs = 2, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc6790 i = <value optimized out> #22 0x000000000057ad84 in run_hook_wrapped_funcall (nargs=44001857, args=0x2a30a21) at eval.c:2630 tmp = 44147970 ret = 119 #23 0x0000000000578ccd in run_hook_with_args (nargs=3, args=0x7fffabbc6788, funcall=0x57ad60 <run_hook_wrapped_funcall>) at eval.c:2715 global_vals = <value optimized out> sym = 14146274 val = 44239392 ret = 11898530 #24 0x000000000057a950 in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:2991 fun = <value optimized out> original_fun = 12067602 funcar = <value optimized out> numargs = 3 val = <value optimized out> backtrace = { next = 0x7fffabbc6910, function = 0x7fffabbc6780, args = 0x7fffabbc6788, nargs = 3, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc6788 i = <value optimized out> #25 0x00000000005b3c82 in exec_byte_code (bytestr=<value optimized out>, vector=9499997, maxdepth=<value optimized out>, args_template=0, nargs=4, args=0x0) at bytecode.c:785 count = 4 op = 44239392 stack = { pc = 0xa8dc0a "\211:\203y", byte_string = 9499961, byte_string_start = 0xa8dc05 "\302\303\304\305#\211:\203y", constants = 9499997, next = 0x0 } top = (Lisp_Object *) 0x7fffabbc6780 result = <value optimized out> #26 0x000000000057a63d in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3070 fun = 44001857 original_fun = 12428642 funcar = <value optimized out> numargs = 0 val = <value optimized out> backtrace = { next = 0x7fffabbc6b50, function = 0x7fffabbc6988, args = 0x7fffabbc6990, nargs = 0, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc6990 i = <value optimized out> #27 0x000000000057b197 in apply1 (fn=12428642, arg=<value optimized out>) at eval.c:2745 ret_ungc_val = 119 #28 0x0000000000576a3a in Fcall_interactively (function=12428642, record_flag=11898530, keys=11944773) at callint.c:379 funval = <value optimized out> events = 28 specs = 11898530 filter_specs = 11898530 teml = <value optimized out> up_event = 11898530 enable = 11898530 speccount = 3 next_event = <value optimized out> prefix_arg = 11898530 string = <value optimized out> tem = <value optimized out> i = <value optimized out> nargs = <value optimized out> prompt1 = '\0' <repeats 33 times>, " ", '\0' <repeats 65 times> arg_from_tty = <value optimized out> key_count = 1 record_then_fail = <value optimized out> save_this_command = 12428642 save_last_command = 11937730 save_this_original_command = 12428642 save_real_this_command = 12428642 #29 0x000000000057a893 in Ffuncall (nargs=<value optimized out>, args=<value optimized out>) at eval.c:3016 fun = <value optimized out> original_fun = <value optimized out> funcar = <value optimized out> numargs = 3 val = <value optimized out> backtrace = { next = 0x0, function = 0x7fffabbc6bc0, args = 0x7fffabbc6bc8, nargs = 3, debug_on_exit = 0 } internal_args = (Lisp_Object *) 0x7fffabbc6bc8 i = <value optimized out> #30 0x000000000057aa94 in call3 (fn=<value optimized out>, arg1=<value optimized out>, arg2=44239392, arg3=119) at eval.c:2809 ret_ungc_val = 119 args = {12083714, 12428642, 11898530, 11898530} #31 0x00000000005140b6 in command_loop_1 () at keyboard.c:1572 cmd = <value optimized out> keybuf = {36, 9202320, 4611686018427389952, 4611686018427404288, 140736074642480, 140736074642488, 140736074640672, 5748694, 139961012549836, 139960099274775, 44108294, 140736074640496, 140736074640888, 139961012554512, 0, 139961105556472, 139961106661376, 4237741, 139961012604888, 4216336, 4294967296, 4294968226, 0, 140736074640616, 2881252304, 11898530, 64, 12338784, 4294967295, 12182294} i = <value optimized out> prev_modiff = 107 prev_buffer = (struct buffer *) 0x2757840 #32 0x000000000057d0ee in internal_condition_case (bfun=0x513cd0 <command_loop_1>, handlers=11950642, hfun=0x515280 <cmd_error>) at eval.c:1493 val = <value optimized out> c = { tag = 11898530, val = 11898530, next = 0x7fffabbc6ee0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 2186989585141333578, 12338784, 4294967295, 140736074642480, 140736074642488, -2186803899339112886, 2186988722455838282}, __mask_was_saved = 0, __saved_mask = { __val = {0, 139961012576832, 139961106661376, 0, 4294967295, 0, 8583192, 12338784, 4294967295, 140736074642480, 140736074642488, 0, 139961104654842, 4294967297, 0, 139961106805592} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 11950642, var = 11898530, chosen_clause = 11898530, tag = 0x7fffabbc6d70, next = 0x0 } #33 0x0000000000513ade in command_loop_2 (ignore=<value optimized out>) at keyboard.c:1156 val = 119 #34 0x000000000057d208 in internal_catch (tag=<value optimized out>, func=0x513ac0 <command_loop_2>, arg=11898530) at eval.c:1247 c = { tag = 11946434, val = 11898530, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 2186989585141333578, 12338784, 4294967295, 140736074642480, 140736074642488, -2186803899288781238, 2186988722479431242}, __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 0, 0, 0, 0, 0, 0, 384, 344, 0, 0, 0, 0, 5742886, 7176220696} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #35 0x0000000000515550 in recursive_edit_1 () at keyboard.c:1135 val = <value optimized out> #36 0x00000000005156a4 in Frecursive_edit () at keyboard.c:820 buffer = 11898530 #37 0x00000000005011f2 in main (argc=2, argv=0x7fffabbc7438) at emacs.c:1705 dummy = 140736074642488 stack_bottom_variable = 0 '\0' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 8720000, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x7f4b36c75f27 "\203\300\001\017\204\310\375\377\377H\203\303\002H\203\305\bL9\353u\313\017\037" heapexec = "EMACS_HEAP_EXEC=true" Lisp Backtrace: "pcomplete-parse-comint-arguments" (0xabbc5640) "pcomplete-parse-arguments" (0xabbc57e8) 0x27442a0 PVEC_COMPILED "funcall" (0xabbc5970) "pcomplete-completions" (0xabbc5d18) 0xf59800 PVEC_COMPILED "funcall" (0xabbc5ee0) "pcomplete-completions-at-point" (0xabbc6380) "run-hook-with-args-until-success" (0xabbc6378) "comint-completion-at-point" (0xabbc64e8) "completion--capf-wrapper" (0xabbc6790) "run-hook-wrapped" (0xabbc6788) "completion-at-point" (0xabbc6990) "call-interactively" (0xabbc6bc8) (gdb) xbacktrace "pcomplete-parse-comint-arguments" (0xabbc5640) "pcomplete-parse-arguments" (0xabbc57e8) 0x27442a0 PVEC_COMPILED "funcall" (0xabbc5970) "pcomplete-completions" (0xabbc5d18) 0xf59800 PVEC_COMPILED "funcall" (0xabbc5ee0) "pcomplete-completions-at-point" (0xabbc6380) "run-hook-with-args-until-success" (0xabbc6378) "comint-completion-at-point" (0xabbc64e8) "completion--capf-wrapper" (0xabbc6790) "run-hook-wrapped" (0xabbc6788) "completion-at-point" (0xabbc6990) "call-interactively" (0xabbc6bc8) (gdb) In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-08-11 on rampage.sea Windowing system distributor `The X.Org Foundation', version 11.0.10402000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m <tab> <return> Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.