* [Bug breakpoints/17174] infrun.c:4400: internal-error: process_event_stop_test: Assertion `ecs->event_thread->control.exception_resume_breakpoint != NULL' failed.
2014-07-18 11:09 [Bug breakpoints/17174] New: infrun.c:4400: internal-error: process_event_stop_test: Assertion `ecs->event_thread->control.exception_resume_breakpoint != NULL' failed jan.kratochvil at redhat dot com
` (2 preceding siblings ...)
2015-01-08 20:54 ` jan.kratochvil at redhat dot com
@ 2020-11-09 12:12 ` szotsaki at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: szotsaki at gmail dot com @ 2020-11-09 12:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17174
Ákos Szőts <szotsaki at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |szotsaki at gmail dot com
--- Comment #6 from Ákos Szőts <szotsaki at gmail dot com> ---
Can be reproduced with GDB 9.2.
Error message in this version:
../../gdb/infrun.c:6068: internal-error: void
process_event_stop_test(execution_control_state*): Assertion
`ecs->event_thread->control.exception_resume_breakpoint != NULL' failed.
Backtrace:
#0 0x00007fddc08d2a37 in __GI___poll (fds=0x56496d68d930, nfds=4,
timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x0000564968c6fe5f in poll (__timeout=-1, __nfds=<optimized out>,
__fds=<optimized out>) at /usr/include/bits/poll2.h:46
#2 gdb_wait_for_event (block=1) at ../../gdb/event-loop.c:769
#3 gdb_wait_for_event (block=block@entry=1) at ../../gdb/event-loop.c:744
#4 0x0000564968c732d4 in gdb_do_one_event () at ../../gdb/event-loop.c:346
#5 gdb_do_one_event () at ../../gdb/event-loop.c:294
#6 0x0000564968eb1007 in gdb_readline_wrapper (prompt=<optimized out>) at
../../gdb/top.c:1076
#7 0x0000564968ed6508 in defaulted_query(const char *, char, typedef
__va_list_tag __va_list_tag *) (ctlstr=<optimized out>, defchar=0 '\000',
args=<optimized out>) at /usr/include/c++/10/bits/basic_string.h:2299
#8 0x0000564968ed68ab in query (ctlstr=<optimized out>) at
../../gdb/utils.c:966
#9 0x0000564968ed6ebe in internal_vproblem(internal_problem *, const char *,
int, const char *, typedef __va_list_tag __va_list_tag *)
(problem=0x56496952b940 <_ZL22internal_error_problem.lto_priv.0>,
file=<optimized out>, line=6068,
fmt=<optimized out>, ap=<optimized out>) at
/usr/include/c++/10/bits/basic_string.h:2299
#10 0x0000564968c96bea in internal_verror (ap=0x7ffe369c08b0,
fmt=0x5649690cb083 "%s: Assertion `%s' failed.", line=<optimized out>,
file=<optimized out>) at ../../gdb/utils.c:445
#11 internal_error (file=<optimized out>, line=<optimized out>,
fmt=0x5649690cb083 "%s: Assertion `%s' failed.") at
../../gdb/gdbsupport/errors.c:55
#12 0x0000564968ce86ae in process_event_stop_test (ecs=0x7ffe369c0e80) at
../../gdb/gdbarch.c:2531
#13 0x0000564968ceb85a in handle_inferior_event (ecs=<optimized out>) at
../../gdb/infrun.c:5154
#14 0x0000564969091f09 in fetch_inferior_event(void*) [clone .constprop.0]
(client_data=<optimized out>) at ../../gdb/infrun.c:3743
#15 0x0000564968c6fde6 in gdb_wait_for_event (block=0) at
../../gdb/event-loop.c:857
#16 gdb_wait_for_event (block=block@entry=0) at ../../gdb/event-loop.c:744
#17 0x0000564968c7329f in gdb_do_one_event () at ../../gdb/event-loop.c:321
#18 gdb_do_one_event () at ../../gdb/event-loop.c:294
#19 0x0000564968d26f35 in start_event_loop () at ../../gdb/event-loop.c:370
#20 captured_command_loop () at ../../gdb/main.c:359
#21 0x0000564968b072b5 in captured_main (data=0x7ffe369c0fe0) at
../../gdb/main.c:1259
#22 gdb_main (args=0x7ffe369c0fe0) at ../../gdb/main.c:1263
#23 main (argc=<optimized out>, argv=<optimized out>) at ../../gdb/gdb.c:40
Full bt before frame 12:
#12 0x0000564968ce86ae in process_event_stop_test (ecs=0x7ffe369c0e80) at
../../gdb/gdbarch.c:2531
init_frame = <optimized out>
current_id = <optimized out>
stop_pc_sal = <optimized out>
frame = 0x56496a0dac90
gdbarch = 0x56496a002c00
jmp_buf_pc = 140729814617728
what = {main_action = <optimized out>, call_dummy = STOP_NONE,
is_longjmp = false}
__PRETTY_FUNCTION__ = <optimized out>
#13 0x0000564968ceb85a in handle_inferior_event (ecs=<optimized out>) at
../../gdb/infrun.c:5154
free_values = {m_value = 0x56496fee8f00}
stop_soon = <optimized out>
#14 0x0000564969091f09 in fetch_inferior_event(void*) [clone .constprop.0]
(client_data=<optimized out>) at ../../gdb/infrun.c:3743
maybe_restore_traceframe = <optimized out>
maybe_restore_thread = {{m_dummy = {<No data fields>}, m_item =
{m_thread = 0x0, m_inf = 0x0, m_selected_frame_id = {stack_addr = 0, code_addr
= 0, special_addr = 0, stack_status = FID_STACK_INVALID, code_addr_p = 0,
special_addr_p = 0, artificial_depth = 0},
m_selected_frame_level = 0, m_was_stopped = false}}, m_instantiated = false}
--Type <RET> for more, q to quit, c to continue without paging--c
save_exec_dir = <optimized out>
finish_ptid = <optimized out>
defer_delete_threads = {<scope_exit_base<scope_exit<void (*)()> >> =
{m_released = false}, m_exit_function = 0x564968cd9090
<delete_just_stopped_threads_infrun_breakpoints()>}
scope_exit_3690 = <optimized out>
finish_state =
{<scope_exit_base<detail::forward_scope_exit<void(ptid_t), finish_thread_state,
void(ptid_t)> >> = {m_released = false}, m_bind_function =
{<std::_Weak_result_type<void (*)(ptid_t)>> =
{<std::_Weak_result_type_memfun<void (*)(ptid_t), false>> =
{<std::_Weak_result_type_impl<void (*)(ptid_t)>> = {<No data fields>}, <No data
fields>}, <No data fields>}, _M_f = 0x564968ea63b0
<finish_thread_state(ptid_t)>, _M_bound_args = std::tuple containing = {[1] =
{m_pid = 12999, m_lwp = 12999, m_tid = 0}}}}
defer_bpstat_clear = {<scope_exit_base<scope_exit<void (*)()> >> =
{m_released = false}, m_exit_function = 0x564968b7d5f0
<bpstat_clear_actions()>}
ecss = {ptid = {m_pid = 12999, m_lwp = 12999, m_tid = 0}, event_thread
= 0x56496a9c3290, ws = {kind = TARGET_WAITKIND_STOPPED, value = {integer = 5,
sig = GDB_SIGNAL_TRAP, related_pid = {m_pid = 5, m_lwp = 0, m_tid = 0},
execd_pathname = 0x5 <error: Cannot access memory at address 0x5>,
syscall_number = 5}}, stop_func_filled_in = 0, stop_func_start = 0,
stop_func_end = 0, stop_func_name = 0x0, wait_some_more = 0,
hit_singlestep_breakpoint = 0}
ecs = 0x7ffe369c0e80
cmd_done = 0
waiton_ptid = {m_pid = -1, m_lwp = 0, m_tid = 0}
save_ui = <optimized out>
#15 0x0000564968c6fde6 in gdb_wait_for_event (block=0) at
../../gdb/event-loop.c:857
i = <optimized out>
mask = <optimized out>
file_ptr = <optimized out>
num_found = <optimized out>
file_ptr = <optimized out>
num_found = <optimized out>
__PRETTY_FUNCTION__ = <optimized out>
timeout = <optimized out>
select_timeout = <optimized out>
timeout_p = <optimized out>
__d0 = <optimized out>
__d1 = <optimized out>
__d0 = <optimized out>
__d1 = <optimized out>
__d0 = <optimized out>
__d1 = <optimized out>
i = <optimized out>
mask = <optimized out>
mask = <optimized out>
__d = <optimized out>
__d = <optimized out>
__d = <optimized out>
#16 gdb_wait_for_event (block=block@entry=0) at ../../gdb/event-loop.c:744
file_ptr = <optimized out>
num_found = <optimized out>
__PRETTY_FUNCTION__ = <optimized out>
timeout = <optimized out>
select_timeout = <optimized out>
timeout_p = <optimized out>
__d0 = <optimized out>
__d1 = <optimized out>
__d0 = <optimized out>
__d1 = <optimized out>
__d0 = <optimized out>
__d1 = <optimized out>
i = <optimized out>
mask = <optimized out>
mask = <optimized out>
__d = <optimized out>
__d = <optimized out>
__d = <optimized out>
#17 0x0000564968c7329f in gdb_do_one_event () at ../../gdb/event-loop.c:321
res = <optimized out>
number_of_sources = <optimized out>
current = 2
event_source_head = <optimized out>
number_of_sources = <optimized out>
current = <optimized out>
res = <optimized out>
#18 gdb_do_one_event () at ../../gdb/event-loop.c:294
event_source_head = 1
res = <optimized out>
#19 0x0000564968d26f35 in start_event_loop () at ../../gdb/event-loop.c:370
result = 0
#20 captured_command_loop () at ../../gdb/main.c:359
ui = 0x5649695d0e00
#21 0x0000564968b072b5 in captured_main (data=0x7ffe369c0fe0) at
../../gdb/main.c:1259
context = 0x7ffe369c0fe0
context = <optimized out>
ex = <optimized out>
#22 gdb_main (args=0x7ffe369c0fe0) at ../../gdb/main.c:1263
No locals.
#23 main (argc=<optimized out>, argv=<optimized out>) at ../../gdb/gdb.c:40
args = {argc = 2, argv = 0x7ffe369c1108, interpreter_p = 0x5649690cb004
"console"}
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread