[Bug gdb/33532] [gdb] FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: reach-(_dl _debug_state|dl_main): reach (the program exited)
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Fri Oct 10 14:25:32 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33532
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Backtrace at point of "Cannot access memory":
(gdb) bt
#0 0x00007ffff7443631 in __cxxabiv1::__cxa_throw (obj=0x339c5d0,
tinfo=0x1a31f18 <typeinfo for gdb_exception_error>,
dest=0x19d9c86 <gdb_exception_error::~gdb_exception_error()>)
at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:81
#1 0x00000000019d931a in throw_it(return_reason, errors, const char *, typedef
__va_list_tag __va_list_tag *) (reason=RETURN_ERROR, error=MEMORY_ERROR,
fmt=0x1ab8646 "%s", ap=0x7fffffffd1e0)
at /data/vries/gdb/src/gdbsupport/common-exceptions.cc:203
#2 0x00000000019d941f in throw_verror (error=MEMORY_ERROR,
fmt=0x1ab8646 "%s", ap=0x7fffffffd1e0)
at /data/vries/gdb/src/gdbsupport/common-exceptions.cc:211
#3 0x00000000019d953b in throw_error (error=MEMORY_ERROR, fmt=0x1ab8646 "%s")
at /data/vries/gdb/src/gdbsupport/common-exceptions.cc:226
#4 0x000000000073239c in memory_error (err=TARGET_XFER_E_IO, memaddr=976088)
at /data/vries/gdb/src/gdb/corefile.c:134
#5 0x0000000000732489 in read_memory_object (object=TARGET_OBJECT_MEMORY,
memaddr=976088, myaddr=0x7fffffffd3e0 "\020\324\377\377\377\177", len=8)
at /data/vries/gdb/src/gdb/corefile.c:156
#6 0x0000000000732500 in read_memory (memaddr=976088,
myaddr=0x7fffffffd3e0 "\020\324\377\377\377\177", len=8)
at /data/vries/gdb/src/gdb/corefile.c:169
#7 0x00000000007328d9 in read_memory_typed_address (addr=976088,
type=0x33c0550) at /data/vries/gdb/src/gdb/corefile.c:269
#8 0x0000000000e97887 in svr4_solib_ops::read_r_map (this=0x339c4b0,
debug_base=976080) at /data/vries/gdb/src/gdb/solib-svr4.c:849
#9 0x0000000000e99086 in svr4_solib_ops::current_sos_direct (this=0x339c4b0,
info=0x7ffff0035e70) at /data/vries/gdb/src/gdb/solib-svr4.c:1424
#10 0x0000000000e9949f in svr4_solib_ops::current_sos_1 (this=0x339c4b0,
info=0x7ffff0035e70) at /data/vries/gdb/src/gdb/solib-svr4.c:1491
#11 0x0000000000e995cc in svr4_solib_ops::current_sos (this=0x339c4b0)
at /data/vries/gdb/src/gdb/solib-svr4.c:1516
#12 0x0000000000eb3f47 in update_solib_list (from_tty=0)
at /data/vries/gdb/src/gdb/solib.c:778
#13 0x0000000000eb4959 in solib_add (pattern=0x0, from_tty=0, readsyms=1)
at /data/vries/gdb/src/gdb/solib.c:958
#14 0x0000000000e9bdb9 in svr4_solib_ops::enable_break (this=0x339c4b0,
info=0x7ffff0035e70, from_tty=0)
at /data/vries/gdb/src/gdb/solib-svr4.c:2530
#15 0x0000000000e9df0c in svr4_solib_ops::create_inferior_hook (
this=0x339c4b0, from_tty=0) at /data/vries/gdb/src/gdb/solib-svr4.c:3349
#16 0x0000000000eb62a3 in solib_create_inferior_hook (from_tty=0)
at /data/vries/gdb/src/gdb/solib.c:1326
#17 0x0000000000a2f3af in post_create_inferior (from_tty=0,
set_pspace_solib_ops=true) at /data/vries/gdb/src/gdb/infcmd.c:269
#18 0x0000000000a2fb40 in run_command_1 (args=0x0, from_tty=0,
run_how=RUN_NORMAL) at /data/vries/gdb/src/gdb/infcmd.c:479
#19 0x0000000000a2fd07 in run_command (args=0x0, from_tty=0)
at /data/vries/gdb/src/gdb/infcmd.c:510
#20 0x00000000006b88a2 in do_simple_func (args=0x0, from_tty=0, c=0x30bb860)
at /data/vries/gdb/src/gdb/cli/cli-decode.c:94
#21 0x00000000006bf03f in cmd_func (cmd=0x30bb860, args=0x0, from_tty=0)
at /data/vries/gdb/src/gdb/cli/cli-decode.c:2826
#22 0x0000000000fc0f80 in execute_command (p=0x7fffffffe642 "", from_tty=0)
at /data/vries/gdb/src/gdb/top.c:564
#23 0x0000000000b38991 in catch_command_errors (
command=0xfc092e <execute_command(char const*, int)>,
arg=0x7fffffffe63f "run", from_tty=0, do_bp_actions=true)
at /data/vries/gdb/src/gdb/main.c:510
#24 0x0000000000b38c53 in execute_cmdargs (cmdarg_vec=0x7fffffffe000,
file_type=CMDARG_FILE, cmd_type=CMDARG_COMMAND, ret=0x7fffffffdf30)
at /data/vries/gdb/src/gdb/main.c:609
#25 0x0000000000b3a556 in captured_main_1 (context=0x7fffffffe1f0)
at /data/vries/gdb/src/gdb/main.c:1349
#26 0x0000000000b3a7fb in captured_main (context=0x7fffffffe1f0)
at /data/vries/gdb/src/gdb/main.c:1372
#27 0x0000000000b3a8fc in gdb_main (args=0x7fffffffe1f0)
at /data/vries/gdb/src/gdb/main.c:1401
#28 0x0000000000416dd5 in main (argc=12, argv=0x7fffffffe328)
at /data/vries/gdb/src/gdb/gdb.c:38
(gdb)
...
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list