bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] Stack overflow in vi mode when repeating dd


From: Andreas Henriksson
Subject: [Bug-readline] Stack overflow in vi mode when repeating dd
Date: Tue, 10 Jul 2012 16:08:54 +0200

Hello,

Apologies if this bug has already been reported. :)

To reproduce the crash, in vi mode, type
<ESC>dd.

I discovered the problem in bash, and confirmed that it was a readline
problem with a minimal example. My readline version is 6.2.002 (as
distributed in Arch Linux, if it helps).

(gdb) bt -15
#139734 0xb7f75e43 in _rl_dispatch () from /usr/lib/libreadline.so.6
#139735 0xb7f780c9 in rl_domove_motion_callback () from
/usr/lib/libreadline.so.6
#139736 0xb7f78c68 in rl_vi_delete_to () from /usr/lib/libreadline.so.6
#139737 0xb7f75a40 in _rl_dispatch_subseq () from /usr/lib/libreadline.so.6
#139738 0xb7f75e43 in _rl_dispatch () from /usr/lib/libreadline.so.6
#139739 0xb7f780c9 in rl_domove_motion_callback () from
/usr/lib/libreadline.so.6
#139740 0xb7f78c68 in rl_vi_delete_to () from /usr/lib/libreadline.so.6
#139741 0xb7f75a40 in _rl_dispatch_subseq () from /usr/lib/libreadline.so.6
#139742 0xb7f75e43 in _rl_dispatch () from /usr/lib/libreadline.so.6
#139743 0xb7f7707c in rl_vi_redo () from /usr/lib/libreadline.so.6
#139744 0xb7f75a40 in _rl_dispatch_subseq () from /usr/lib/libreadline.so.6
#139745 0xb7f75e43 in _rl_dispatch () from /usr/lib/libreadline.so.6
#139746 0xb7f76063 in readline_internal_char () from /usr/lib/libreadline.so.6
#139747 0xb7f76575 in readline () from /usr/lib/libreadline.so.6
#139748 0x08048561 in main ()

(the sequence repeats until the stack is full)

//Andreas



reply via email to

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