[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] rlwrap using readline-6.3 segfaults after pressing "r[PgU
From: |
Shlomi Fish |
Subject: |
[Bug-readline] rlwrap using readline-6.3 segfaults after pressing "r[PgUp][PgUp]" on Mageia Linux x86-64 6/Cauldron |
Date: |
Sun, 30 Aug 2015 10:28:48 +0300 |
Hi all,
* readline-6.3 from source
* An Intel Core i3 machine running Mageia Linux x86-64 6/Cauldron.
* Building with:
./configure --prefix="$HOME/apps/readline-TO_DEL" --with-curses=yes \
--enable-multibyte
config.h attached.
* Running "rlwrap cat" and pressing r[PgUp][PgUp] causes rlwrap to crash. Also
see:
http://bugs.python.org/issue24958
* attached is a reproducing INPUTRC file.
The bt full is:
<<<<<<<<<<<<<<<<
Program received signal SIGSEGV, Segmentation fault.
_rl_dispatch_callback (cxt=0x0) at ../readline.c:728
728 if ((cxt->flags & KSEQ_DISPATCHED) == 0)
(gdb) bt full
#0 _rl_dispatch_callback (cxt=0x0) at ../readline.c:728
nkey = <optimized out>
r = <optimized out>
#1 0x00007ffff79bef8e in rl_callback_read_char () at ../callback.c:188
line = <optimized out>
eof = <optimized out>
jcode = <optimized out>
olevel = {{__jmpbuf = {0, 2652806187036419427, 4207536,
140737488343168, 0, 0, 2652806187210483043,
2652824570613179747}, __mask_was_saved = 0, __saved_mask = {
__val = {0 <repeats 16 times>}}}}
#2 0x0000000000405549 in main_loop () at main.c:552
byte_read = 27 '\033'
nfds = 1
readfds = {fds_bits = {1, 0 <repeats 15 times>}}
writefds = {fds_bits = {0 <repeats 16 times>}}
nread = 1
buf =
"address@hidden",
'\000' <repeats 26 times>, ",\265\336\367\377\177\000\000\001", '\000' <repeats
17 times>,
"\001\000\000\000\000\000\230\377;address@hidden@\034\337\367\377\177\000\000\000U\000\000\005\000\000\000\277\000\000\000;\212\000\000\000\003\034\177\025\004\000\001\000\021\023\032\000\022\017\027\026",
'\000' <repeats 23 times>... timeoutstr = 0x4184d1 "forever" old_raw_prompt =
0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>
new_output_minus_prompt = 0xfffffffe3e7ffb07 <error: Cannot access memory at
address 0xfffffffe3e7ffb07> promptlen = 0 leave_prompt_alone = -1
no_signals_blocked = {__val = {0 <repeats 16 times>}} seen_EOF = 0
select_timeout = {tv_sec = 0, tv_nsec = 40000000} select_timeoutptr = 0x0
immediately = {tv_sec = 0, tv_nsec = 0} wait_a_little = {tv_sec = 0, tv_nsec =
40000000} forever = 0x0
__FUNCTION__ = "main_loop"
__PRETTY_FUNCTION__ = "main_loop"
#3 0x00000000004035de in main (argc=2, argv=0x7fffffffd088) at main.c:181
command_name = 0x6210e0 "cat"
(gdb)
>>>>>>>>>>>>>>>>>>>>>>>
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Chuck Norris has 99 problems including a bitch. Summer Glau has exactly 98
problems.
— http://www.shlomifish.org/humour/bits/facts/Summer-Glau/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
config.h
Description: Text Data
_inputrc
Description: Binary data
- [Bug-readline] rlwrap using readline-6.3 segfaults after pressing "r[PgUp][PgUp]" on Mageia Linux x86-64 6/Cauldron,
Shlomi Fish <=