public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/18351] New: Reproducible Segmentation fault running target after 'layout regs' executed
@ 2015-04-28 21:25 proto0x0 at gmail dot com
2015-07-02 14:15 ` [Bug tui/18351] " palves at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: proto0x0 at gmail dot com @ 2015-04-28 21:25 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18351
Bug ID: 18351
Summary: Reproducible Segmentation fault running target after
'layout regs' executed
Product: gdb
Version: 7.9
Status: NEW
Severity: normal
Priority: P2
Component: tui
Assignee: unassigned at sourceware dot org
Reporter: proto0x0 at gmail dot com
Target Milestone: ---
Flags: security?
Platform: Linux -redacted- 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST
2015 x86_64 GNU/Linux
Version: GDB 7.9
The following sequence reliably triggers a SIGSEGV and a core dump on GDB 7.9:
./gdb [any program]
(gdb) layout regs
(gdb) r
Segmentation fault (core dumped)
Backtrace of coredump:
#0 0x00007f44e31c4f15 in malloc_consolidate () from /usr/lib/libc.so.6
#1 0x00007f44e31c5c68 in _int_free () from /usr/lib/libc.so.6
#2 0x00000000006b1af5 in ?? ()
#3 0x000000000057f245 in val_print ()
#4 0x00000000005a16c4 in ?? ()
#5 0x00000000005a4df9 in default_print_registers_info ()
#6 0x00000000004ed0a2 in ?? ()
#7 0x00000000004ed57b in tui_show_registers ()
#8 0x00000000004ea422 in ?? ()
#9 0x0000000000687fe9 in select_frame ()
#10 0x000000000068809f in get_selected_frame ()
#11 0x00000000005cff27 in get_current_arch ()
#12 0x00000000004e9d55 in tui_get_begin_asm_address ()
#13 0x00000000004f1e6f in tui_display_main ()
#14 0x00000000005f86cd in observer_notify_new_objfile ()
#15 0x0000000000594d1b in ?? ()
#16 0x0000000000695509 in solib_read_symbols ()
#17 0x0000000000695955 in solib_add ()
#18 0x0000000000490e98 in ?? ()
#19 0x00000000005a2da5 in post_create_inferior ()
#20 0x00000000005a3493 in ?? ()
#21 0x000000000067f57c in execute_command ()
#22 0x00000000005c40a5 in ?? ()
#23 0x00000000005c4734 in ?? ()
#24 0x00007f44e4c6f25e in rl_callback_read_char () from
/usr/lib/libreadline.so.6
#25 0x00000000005c4109 in ?? ()
#26 0x00000000005c4153 in stdin_event_handler ()
#27 0x00000000005c2f25 in ?? ()
#28 0x00000000005c31b8 in gdb_do_one_event ()
#29 0x00000000005c329e in start_event_loop ()
#30 0x00000000005bd073 in ?? ()
#31 0x00000000005ba425 in catch_errors ()
#32 0x00000000005be0be in ?? ()
#33 0x00000000005ba425 in catch_errors ()
#34 0x00000000005be42b in gdb_main ()
#35 0x000000000045dd15 in main ()
Reproduced on `/bin/true`, `/bin/false`, `/bin/cat` and programs compiled with
-ggdb (i.e. this seems to apply to any binary).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tui/18351] Reproducible Segmentation fault running target after 'layout regs' executed
2015-04-28 21:25 [Bug tui/18351] New: Reproducible Segmentation fault running target after 'layout regs' executed proto0x0 at gmail dot com
@ 2015-07-02 14:15 ` palves at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: palves at redhat dot com @ 2015-07-02 14:15 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18351
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |palves at redhat dot com
Resolution|--- |FIXED
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Can't reproduce this with master. The backtrace looks similar to others we
fixed after 7.9, so I think this is fixed. Please reopen if you can reproduce
it with current master (soon to branch for 7.10).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-02 14:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28 21:25 [Bug tui/18351] New: Reproducible Segmentation fault running target after 'layout regs' executed proto0x0 at gmail dot com
2015-07-02 14:15 ` [Bug tui/18351] " palves at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).