Package: emacs24-nox Version: 24.5+1-6+b1
Followup-For: Bug #810383 Dear Maintainer, * What led up to the situation? emacs hung up with 100% CPU usage while editing a bash script. * What exactly did you do (or not do) that was effective (or ineffective)? 1. Open the following bash script. foo.sh ====== #!/bin/bash if $# != awk -F, -f by_state.awk $* ====== NOTE: There is no "newline" at the end of this script. 2. Move a cursor to point to "i" at the beginning of line 3. * What was the outcome of this action? emacs hung up. * What outcome did you expect instead? emacs didn't hang up * additional information - The reproducibility is 100%. - The backtrace is similar to what Sergey reported very much. ===== #1 0x00000000004f3853 in mark_object (arg=<optimized out>) at alloc.c:6195^M #2 0x00000000004f3853 in mark_object (arg=<optimized out>) at alloc.c:6195^M #3 0x00000000004f393c in mark_object (arg=<optimized out>) at alloc.c:6308^M #4 0x00000000004f393c in mark_object (arg=<optimized out>) at alloc.c:6308^M #5 0x00000000004f393c in mark_object (arg=<optimized out>) at alloc.c:6308^M #6 0x00000000004f3853 in mark_object (arg=<optimized out>) at alloc.c:6195^M #7 0x00000000004f3ae4 in mark_object (arg=<optimized out>) at alloc.c:6095^M #8 0x00000000004f3853 in mark_object (arg=<optimized out>) at alloc.c:6195^M #9 0x00000000004f3d0e in mark_vectorlike (ptr=0x1059578) at alloc.c:5849^M #10 0x00000000004f382a in mark_object (arg=<optimized out>) at alloc.c:6181^M #11 0x00000000004f3853 in mark_object (arg=<optimized out>) at alloc.c:6195^M #12 0x00000000004f393c in mark_object (arg=<optimized out>) at alloc.c:6308^M #13 0x00000000004f3ae4 in mark_object (arg=<optimized out>) at alloc.c:6095^M #14 0x00000000004f3853 in mark_object (arg=<optimized out>) at alloc.c:6195^M #15 0x00000000004f3d0e in mark_vectorlike (ptr=0xc09078) at alloc.c:5849^M ... #1754 0x00000000004f393c in mark_object (arg=<optimized out>) at alloc.c:6308^M #1755 0x00000000004f3860 in mark_object (arg=<optimized out>) at alloc.c:6196^M #1756 0x00000000004f393c in mark_object (arg=<optimized out>) at alloc.c:6308^M #1757 0x00000000004f3d0e in mark_vectorlike (ptr=ptr@entry=0xafd3a8 <buffer_defaults>) at alloc.c:5849^M #1758 0x00000000004f3db2 in mark_buffer (buffer=<optimized out>) at alloc.c:5900^M #1759 0x00000000004f41d3 in Fgarbage_collect () at alloc.c:5592^M #1760 0x000000000054189a in maybe_gc () at lisp.h:4563^M #1761 exec_byte_code (bytestr=<optimized out>, vector=28562157, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x1d25671) at bytecode.c:961^M #1762 0x000000000050c957 in funcall_lambda (fun=140722811537456, nargs=nargs@entry=0, arg_vector=0x1d25671, arg_vector@entry=0x7ffc953187c0) at eval.c:2978^M #1763 0x000000000050cc5b in Ffuncall (nargs=1, args=args@entry=0x7ffc953187b8) at eval.c:2872^M #1764 0x0000000000541483 in exec_byte_code (bytestr=<optimized out>, vector=13292141, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x1d05d61) at bytecode.c:916^M #1765 0x000000000050c957 in funcall_lambda (fun=140722811537872, nargs=nargs@entry=0, arg_vector=0x1d05d61, arg_vector@entry=0x7ffc95318920) at eval.c:2978^M #1766 0x000000000050cc5b in Ffuncall (nargs=1, args=args@entry=0x7ffc95318918) at eval.c:2872^M #1767 0x0000000000541483 in exec_byte_code (bytestr=<optimized out>, vector=31445173, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x1d584f1) at bytecode.c:916^M #1768 0x000000000050c957 in funcall_lambda (fun=140722811538576, nargs=nargs@entry=0, arg_vector=0x1d584f1, arg_vector@entry=0x7ffc95318aa8) at eval.c:2978^M #1769 0x000000000050cc5b in Ffuncall (nargs=1, args=0x7ffc95318aa0) at eval.c:2872^M #1770 0x000000000050c36c in eval_sub (form=form@entry=32641062) at eval.c:2154^M #1771 0x000000000050af9b in internal_catch (tag=16826386, func=0x50bcd0 <eval_sub>, arg=32641062) at eval.c:1112^M #1772 0x00000000005427d0 in exec_byte_code (bytestr=<optimized out>, vector=13267813, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=5, args=<optimized out>, args@entry=0x1d585f1) at bytecode.c:1097^M #1773 0x000000000050c957 in funcall_lambda (fun=140722811538928, nargs=nargs@entry=5, arg_vector=0x1d585f1, arg_vector@entry=0x7ffc95318d78) at eval.c:2978^M #1774 0x000000000050cc5b in Ffuncall (nargs=6, args=args@entry=0x7ffc95318d70) at eval.c:2872^M #1775 0x0000000000541483 in exec_byte_code (bytestr=<optimized out>, vector=13268053, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, args=<optimized out>, args@entry=0x1d515f1) at bytecode.c:916^M #1776 0x000000000050c957 in funcall_lambda (fun=140722811539312, nargs=nargs@entry=1, arg_vector=0x1d515f1, arg_vector@entry=0x7ffc95318ed8) at eval.c:2978^M #1777 0x000000000050cc5b in Ffuncall (nargs=2, args=args@entry=0x7ffc95318ed0) at eval.c:2872^M #1778 0x0000000000541483 in exec_byte_code (bytestr=<optimized out>, vector=14150797, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x1d4ed71) at bytecode.c:916^M #1779 0x000000000050c957 in funcall_lambda (fun=140722811540048, nargs=nargs@entry=0, arg_vector=0x1d4ed71, arg_vector@entry=0x7ffc95319048) at eval.c:2978^M #1780 0x000000000050cc5b in Ffuncall (nargs=1, args=0x7ffc95319040) at eval.c:2872^M #1781 0x000000000050c36c in eval_sub (form=form@entry=32641430) at eval.c:2154^M #1782 0x000000000050f75e in internal_lisp_condition_case (var=<optimized out>, bodyform=32641430, handlers=<optimized out>) at eval.c:1317^M #1783 0x000000000054288f in exec_byte_code (bytestr=<optimized out>, vector=14151021, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, args=<optimized out>, args@entry=0x1d4eef1) at bytecode.c:1162^M #1784 0x000000000050c957 in funcall_lambda (fun=140722811540592, nargs=nargs@entry=1, arg_vector=0x1d4eef1, arg_vector@entry=0x7ffc95319410) at eval.c:2978^M #1785 0x000000000050cc5b in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7ffc95319408) at eval.c:2872^M #1786 0x000000000050e1b4 in Fapply (nargs=3, args=0x7ffc95319408) at eval.c:2293^M #1787 0x000000000050cd3a in Ffuncall (nargs=<optimized out>, args=args@entry=0x7ffc95319400) at eval.c:2792^M #1788 0x0000000000541483 in exec_byte_code (bytestr=<optimized out>, vector=18460901, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0xf1d261) at bytecode.c:916^M #1789 0x000000000050c957 in funcall_lambda (fun=140722811540944, nargs=nargs@entry=0, arg_vector=0xf1d261, arg_vector@entry=0x7ffc95319550) at eval.c:2978^M #1790 0x000000000050cc5b in Ffuncall (nargs=1, args=args@entry=0x7ffc95319548) at eval.c:2872^M #1791 0x0000000000541483 in exec_byte_code (bytestr=<optimized out>, vector=17459581, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at bytecode.c:916^M ---Type <return> to continue, or q <return> to quit---^M #1792 0x000000000050c8bf in funcall_lambda (fun=17456269, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7ffc953197f8) at eval.c:3044^M #1793 0x000000000050cc5b in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7ffc953197f0) at eval.c:2872^M #1794 0x000000000050e1b4 in Fapply (nargs=2, args=0x7ffc953197f0) at eval.c:2293^M #1795 0x000000000050cd3a in Ffuncall (nargs=<optimized out>, args=args@entry=0x7ffc953197e8) at eval.c:2792^M #1796 0x0000000000541483 in exec_byte_code (bytestr=<optimized out>, vector=9502325, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:916^M #1797 0x000000000050c183 in eval_sub (form=form@entry=9502246) at eval.c:2187^M #1798 0x000000000050f75e in internal_lisp_condition_case (var=<optimized out>, bodyform=9502246, handlers=<optimized out>) at eval.c:1317^M #1799 0x000000000054288f in exec_byte_code (bytestr=<optimized out>, vector=9502013, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at bytecode.c:1162^M #1800 0x000000000050c8bf in funcall_lambda (fun=9501933, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7ffc95319be8) at eval.c:3044^M #1801 0x000000000050cc5b in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7ffc95319be0) at eval.c:2872^M #1802 0x000000000050cf7a in call1 (fn=<optimized out>, arg1=arg1@entry=17456309) at eval.c:2610^M #1803 0x000000000049f1e8 in timer_check_2 (idle_timers=<optimized out>, timers=<optimized out>) at keyboard.c:4515^M #1804 timer_check () at keyboard.c:4582^M #1805 0x000000000049f589 in readable_events (flags=1) at keyboard.c:3448^M #1806 0x00000000004a0988 in get_input_pending (flags=flags@entry=1) at keyboard.c:6766^M #1807 0x00000000004a39e8 in detect_input_pending_run_timers (do_display=do_display@entry=true) at keyboard.c:9895^M #1808 0x000000000054ba2c in wait_reading_process_output (time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=11819890, wait_proc=wait_proc@entry=0x0, ^M just_wait_proc=0) at process.c:4702^M #1809 0x0000000000414063 in sit_for (timeout=<optimized out>, reading=reading@entry=true, display_option=display_option@entry=1) at dispnew.c:5867^M #1810 0x00000000004a489b in read_char (commandflag=1, map=map@entry=32612230, prev_event=11819890, used_mouse_menu=used_mouse_menu@entry=0x7ffc9531a3bb, end_time=end_time@entry=0x0) at keyboard.c:2810^M #1811 0x00000000004a5b3d in read_key_sequence (keybuf=keybuf@entry=0x7ffc9531a490, prompt=11819890, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, ^M fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9089^M #1812 0x00000000004a7860 in command_loop_1 () at keyboard.c:1453^M #1813 0x000000000050b0b7 in internal_condition_case (bfun=bfun@entry=0x4a7660 <command_loop_1>, handlers=<optimized out>, hfun=hfun@entry=0x49e940 <cmd_error>) at eval.c:1348^M #1814 0x000000000049a17e in command_loop_2 (ignore=ignore@entry=11819890) at keyboard.c:1178^M #1815 0x000000000050af9b in internal_catch (tag=11866834, func=func@entry=0x49a160 <command_loop_2>, arg=11819890) at eval.c:1112^M #1816 0x000000000049e527 in command_loop () at keyboard.c:1157^M #1817 recursive_edit_1 () at keyboard.c:778^M #1818 0x000000000049e868 in Frecursive_edit () at keyboard.c:849^M #1819 0x000000000040a774 in main (argc=<optimized out>, argv=0x7ffc9531a7f8) at emacs.c:1642^M ===== -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages emacs24-nox depends on: ii emacs24-bin-common 24.5+1-6+b1 ii libacl1 2.2.52-2 ii libasound2 1.0.29-1 ii libc6 2.21-6 ii libdbus-1-3 1.10.6-1 ii libglib2.0-0 2.46.2-3 ii libgnutls30 3.4.8-2 ii libgpm2 1.20.4-6.1+b2 ii libselinux1 2.4-3 ii libtinfo5 6.0+20151024-2 ii libxml2 2.9.3+dfsg1-1 ii zlib1g 1:1.2.8.dfsg-2+b1 emacs24-nox recommends no packages. Versions of packages emacs24-nox suggests: pn emacs24-common-non-dfsg <none> -- no debconf information