This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/17300] New: crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!)
- From: "dilyan.palauzov at aegee dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 22 Aug 2014 04:11:12 +0000
- Subject: [Bug cli/17300] New: crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!)
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17300
Bug ID: 17300
Summary: crash in non-stop mode with continue -a &
(readline_callback_read_char() called with no
handler!)
Product: gdb
Version: 7.8
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: dilyan.palauzov at aegee dot org
(gdb) show pagination
State of pagination is off.
(gdb) set non-stop on
(gdb) attach NUM &
Attaching to program: ...
Reading symbols from ...
(gdb) interrupt -a &
(gdb) [Thread 0x7fd9786a7700 (LWP 5740)] #2 stopped.
0x00007fd97938c009 in do_sigwait () from /lib64/libpthread.so.0
[Thread 0x7fd97ef97740 (LWP 5738)] #1 stopped.
0x00007fd978997633 in select () from /lib64/libc.so.6
c -a & <-- note, I enter continue -a & even thought the prompt is not here,
in order to avoid possibly repeating interrupt -a &
Continuing.
(gdb) <RET>
Continuing.
<RET>
readline: readline_callback_read_char() called with no handler!
/usr/sbin/gdb: line 1: 5803 Aborted (core dumped)
EDITOR=/usr/bin/emacs /usr/bin/gdb --silent "$@"
And the backtrace:
#0 0x00007fa84fcf1655 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa84fcf2ad8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007fa8529603f3 in rl_callback_read_char () from
/usr/lib/libreadline.so.6
No symbol table info available.
#3 0x000000000067ebc9 in rl_callback_read_char_wrapper (client_data=<optimized
out>) at ../../gdb-7.8/gdb/event-top.c:167
No locals.
#4 0x00000000006829c1 in process_event () at
../../gdb-7.8/gdb/event-loop.c:343
event_ptr = <optimized out>
proc = 0x689610 <handle_file_event>
data = {
ptr = 0x0,
integer = 0
}
#5 0x000000000068b287 in gdb_do_one_event () at
../../gdb-7.8/gdb/event-loop.c:407
event_source_head = 0
current = 3
#6 0x000000000068ff1e in start_event_loop () at
../../gdb-7.8/gdb/event-loop.c:432
ex = {
reason = 0,
error = GDB_NO_ERROR,
message = 0x0
}
result = 0
#7 0x00000000006892b3 in captured_command_loop (data=data@entry=0x0) at
../../gdb-7.8/gdb/main.c:302
No locals.
#8 0x00000000006909ca in catch_errors (func=func@entry=0x6892a0
<captured_command_loop>, func_args=func_args@entry=0x0,
errstring=errstring@entry=0x8b9d29 "", mask=mask@entry=RETURN_MASK_ALL) at
../../gdb-7.8/gdb/exceptions.c:506
val = 0
exception = {
reason = 0,
error = GDB_NO_ERROR,
message = 0x0
}
saved_uiout = 0x1f4d580
#9 0x0000000000691726 in captured_main (data=data@entry=0x7fff4e8f9740) at
../../gdb-7.8/gdb/main.c:1155
context = 0x7fff4e8f9740
argc = <optimized out>
argv = <optimized out>
quiet = 1
set_args = 0
inhibit_home_gdbinit = 0
symarg = 0x7fff4e8fb8d2 "/usr/sbin/aegee-milter"
execarg = 0x7fff4e8fb8d2 "/usr/sbin/aegee-milter"
pidarg = 0x0
corearg = 0x0
pid_or_core_arg = 0x0
cdarg = 0x0
ttyarg = 0x0
print_help = 0
print_version = 0
print_configuration = 0
cmdarg_vec = 0x0
cmdarg_p = 0x0
dirarg = 0x1da9f60
dirsize = <optimized out>
ndir = <optimized out>
system_gdbinit = 0x0
home_gdbinit = 0x1f31760 "/root/.gdbinit"
local_gdbinit = 0x0
i = <optimized out>
save_auto_load = <optimized out>
objfile = <optimized out>
pre_stat_chain = 0x8e7a00 <sentinel_cleanup.lto_priv>
#10 0x00000000006909ca in catch_errors (func=func@entry=0x690a40
<captured_main>, func_args=func_args@entry=0x7fff4e8f9740,
errstring=errstring@entry=0x8b9d29 "", mask=mask@entry=RETURN_MASK_ALL) at
../../gdb-7.8/gdb/exceptions.c:506
val = 0
exception = {
reason = 0,
error = GDB_NO_ERROR,
message = 0x0
}
saved_uiout = 0xb9a5c0 <def_uiout>
#11 0x000000000069196b in gdb_main (args=args@entry=0x7fff4e8f9740) at
../../gdb-7.8/gdb/main.c:1163
No locals.
#12 0x0000000000457bb5 in main (argc=<optimized out>, argv=<optimized out>) at
../../gdb-7.8/gdb/gdb.c:33
args = {
argc = 3,
argv = 0x7fff4e8f9848,
interpreter_p = 0x882b99 "console"
}
--
You are receiving this mail because:
You are on the CC list for the bug.