[Bug gdb/33481] GDB crashes upon target remote :1234 for ppc64le guest vm
vishalc at linux dot ibm.com
sourceware-bugzilla@sourceware.org
Wed Sep 24 12:13:22 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33481
--- Comment #1 from Vishal Chourasia <vishalc at linux dot ibm.com> ---
Following backtrace was collected using coredumpctl
(i) (gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007f3c50d93f63 in __pthread_kill_internal (threadid=<optimized out>,
signo=11) at pthread_kill.c:89
#2 0x00007f3c50d39f3e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3 0x000055d18810bbe2 in handle_fatal_signal (sig=sig@entry=11) at
../../gdb/event-top.c:1039
#4 0x000055d18810be57 in handle_sigsegv (sig=11) at ../../gdb/event-top.c:1089
#5 <signal handler called>
#6 __strlen_evex () at ../sysdeps/x86_64/multiarch/strlen-evex-base.S:81
#7 0x000055d1886fe213 in xstrdup (s=0x0) at ../../libiberty/xstrdup.c:33
#8 0x000055d1883aa9e6 in solib_find_1 (in_pathname=<optimized out>,
in_pathname@entry=0x0, fd=fd@entry=0x7ffeec234cd4,
is_solib=is_solib@entry=true) at ../../gdb/solib.c:179
#9 0x000055d1883ab293 in solib_find (in_pathname=in_pathname@entry=0x0,
fd=fd@entry=0x7ffeec234cd4) at ../../gdb/solib.c:407
#10 0x000055d1883ab301 in solib_bfd_open (pathname=pathname@entry=0x0) at
../../gdb/solib.c:440
#11 0x000055d1883a4356 in enable_break (info=0x55d1955c01f0, from_tty=1) at
../../gdb/solib-svr4.c:2333
#12 svr4_solib_create_inferior_hook (from_tty=1) at ../../gdb/solib-svr4.c:3057
#13 0x000055d188180261 in post_create_inferior (from_tty=from_tty@entry=1) at
../../gdb/infcmd.c:275
#14 0x000055d1881a8296 in start_remote (from_tty=1) at ../../gdb/infrun.c:3834
#15 0x000055d188326817 in remote_target::start_remote_1
(this=this@entry=0x55d194aa8850, from_tty=from_tty@entry=1,
extended_p=extended_p@entry=0) at ../../gdb/remote.c:5350
#16 0x000055d188327036 in remote_target::start_remote (this=0x55d194aa8850,
from_tty=1, extended_p=0) at ../../gdb/remote.c:5441
#17 remote_target::open_1 (name=0x55d1945aeade ":1234", from_tty=1,
extended_p=0) at ../../gdb/remote.c:6313
#18 0x000055d188434644 in open_target (args=0x55d1945aeade ":1234", from_tty=1,
command=<optimized out>) at ../../gdb/target.c:838
#19 0x000055d188007d28 in cmd_func (cmd=<optimized out>, args=<optimized out>,
from_tty=<optimized out>) at ../../gdb/cli/cli-decode.c:2748
#20 0x000055d188445f15 in execute_command (p=<optimized out>,
p@entry=0x55d1945aead0 "", from_tty=<optimized out>) at ../../gdb/top.c:570
#21 0x000055d18810c500 in command_handler (command=0x55d1945aead0 "") at
../../gdb/event-top.c:613
#22 0x000055d18810e439 in command_line_handler (rl=...) at
../../gdb/event-top.c:849
#23 0x000055d18810ce66 in gdb_rl_callback_handler (rl=0x55d194d85ed0 "target
remote :1234") at ../../gdb/event-top.c:288
#24 0x00007f3c51bd6155 in rl_callback_read_char () at ../callback.c:302
#25 0x000055d18810cfce in gdb_rl_callback_read_char_wrapper_sjlj () at
../../gdb/event-top.c:197
#26 0x000055d18810d193 in gdb_rl_callback_read_char_wrapper_noexcept () at
../../gdb/event-top.c:240
#27 gdb_rl_callback_read_char_wrapper (client_data=<optimized out>) at
../../gdb/event-top.c:252
#28 0x000055d188488fb0 in stdin_event_handler (error=<optimized out>,
client_data=0x55d1945ae1f0) at ../../gdb/ui.c:154
#29 0x000055d188705e26 in gdb_wait_for_event (block=block@entry=1) at
../../gdbsupport/event-loop.cc:694
#30 0x000055d188706b8c in gdb_do_one_event (mstimeout=mstimeout@entry=-1) at
../../gdbsupport/event-loop.cc:263
#31 0x000055d1881f880a in start_event_loop () at ../../gdb/main.c:402
#32 captured_command_loop () at ../../gdb/main.c:466
#33 0x000055d1881fb9f5 in captured_main (data=0x7ffeec235750) at
../../gdb/main.c:1343
#34 gdb_main (args=args@entry=0x7ffeec235790) at ../../gdb/main.c:1362
#35 0x000055d187eca776 in main (argc=2, argv=0x7ffeec2358e8) at
../../gdb/gdb.c:38
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list