This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/21559] New: ../../gdb/regcache.c:1087: internal-error: void regcache_raw_supply(regcache, int, const void): Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.
- From: "andrew at ishiboo dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 08 Jun 2017 22:47:07 +0000
- Subject: [Bug gdb/21559] New: ../../gdb/regcache.c:1087: internal-error: void regcache_raw_supply(regcache, int, const void): Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21559
Bug ID: 21559
Summary: ../../gdb/regcache.c:1087: internal-error: void
regcache_raw_supply(regcache, int, const void):
Assertion `regnum >= 0 && regnum <
regcache->descr->nr_raw_registers' failed.
Product: gdb
Version: 8.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: andrew at ishiboo dot com
Target Milestone: ---
Running gdb 8.0 on a RHEL6 VM:
$ uname -a
Linux hostname 2.6.32-504.38.1.el6.x86_64 #1 SMP Sun Oct 4 13:43:08 EDT 2015
x86_64 x86_64 x86_64 GNU/Linux
Produced the following output:
../../gdb/regcache.c:1087: internal-error: void regcache_raw_supply(regcache,
int, const void): Assertion `regnum >= 0 && regnum <
regcache->descr->nr_raw_registers' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
Dumping the stack from the core file produces:
(gdb) where
#0 0x0000003fc3e32625 in raise () from /lib64/libc.so.6
#1 0x0000003fc3e33e05 in abort () from /lib64/libc.so.6
#2 0x000000000078267e in dump_core() ()
#3 0x0000000000782af7 in internal_vproblem(internal_problem*, char const*,
int, char const*, __va_list_tag*) ()
#4 0x0000000000782b6f in internal_verror(char const*, int, char const*,
__va_list_tag*) ()
#5 0x0000000000641e26 in internal_error(char const*, int, char const*, ...) ()
#6 0x0000000000712883 in regcache_raw_supply(regcache*, int, void const*) ()
#7 0x000000000046c6f8 in amd64_linux_fetch_inferior_registers(target_ops*,
regcache*, int) ()
#8 0x0000000000754802 in delegate_fetch_registers(target_ops*, regcache*, int)
()
#9 0x0000000000768aa8 in target_fetch_registers(regcache*, int) ()
#10 0x0000000000479622 in ps_lgetregs ()
#11 0x00007f1f6252fb58 in __td_ta_lookup_th_unique () from
/lib64/libthread_db.so.1
#12 0x00007f1f6252fd8a in td_ta_map_lwp2thr () from /lib64/libthread_db.so.1
#13 0x0000000000479c7c in thread_from_lwp(ptid_t) ()
#14 0x000000000047a4b1 in try_thread_db_load_1(thread_db_info*) ()
#15 0x000000000047a7df in try_thread_db_load(char const*, int) ()
#16 0x000000000047aab1 in try_thread_db_load_from_sdir() ()
#17 0x000000000047acbf in thread_db_load_search() ()
#18 0x000000000047ae41 in thread_db_load() ()
#19 0x000000000047af72 in check_for_thread_db() ()
#20 0x000000000047b007 in thread_db_new_objfile(objfile*) ()
#21 0x00000000006e2434 in observer_new_objfile_notification_stub(void const*,
void const*) ()
#22 0x00000000006e1802 in generic_observer_notify(observer_list*, void const*)
()
#23 0x00000000006e24c7 in observer_notify_new_objfile(objfile*) ()
#24 0x000000000073c478 in symbol_file_add_with_addrs(bfd*, char const*,
enum_flags<symfile_add_flag>, section_addr_info*, enum_flags<objfile_flag>,
objfile*) ()
#25 0x000000000073c61e in symbol_file_add_from_bfd(bfd*, char const*,
enum_flags<symfile_add_flag>, section_addr_info*, enum_flags<objfile_flag>,
objfile*)
()
#26 0x0000000000721c66 in solib_read_symbols(so_list*,
enum_flags<symfile_add_flag>) ()
#27 0x0000000000722490 in solib_add(char const*, int, int) ()
#28 0x0000000000458a77 in enable_break(svr4_info*, int) ()
#29 0x000000000045a655 in svr4_solib_create_inferior_hook(int) ()
#30 0x0000000000722e70 in solib_create_inferior_hook(int) ()
#31 0x000000000068e11e in post_create_inferior(target_ops*, int) ()
#32 0x00000000006920a0 in setup_inferior(int) ()
#33 0x00000000006920e6 in attach_post_wait(char const*, int,
attach_post_wait_mode) ()
#34 0x00000000006922af in attach_command_continuation(void*, int) ()
#35 0x00000000005d4556 in do_my_continuations_1(continuation**, int) ()
#36 0x00000000005d45e1 in do_my_continuations(continuation**, int) ()
#37 0x00000000005d46d9 in do_all_inferior_continuations(int) ()
#38 0x000000000068b4a5 in inferior_event_handler(inferior_event_type, void*) ()
#39 0x000000000069be0e in fetch_inferior_event(void*) ()
#40 0x000000000068b43f in inferior_event_handler(inferior_event_type, void*) ()
#41 0x00000000006a653e in infrun_async_inferior_event_handler(void*) ()
#42 0x000000000064c4e3 in check_async_event_handlers() ()
#43 0x000000000064ae53 in gdb_do_one_event() ()
#44 0x000000000064aefa in start_event_loop() ()
#45 0x00000000006c1cbb in captured_command_loop(void*) ()
#46 0x000000000064e9ef in catch_errors(int (*)(void*), void*, char const*,
return_mask) ()
#47 0x00000000006c30d0 in captured_main(void*) ()
#48 0x00000000006c30f9 in gdb_main(captured_main_args*) ()
#49 0x000000000040a817 in main ()
(gdb) up
#6 0x0000000000712883 in regcache_raw_supply(regcache*, int, void const*) ()
(gdb) info registers
rax 0x0 0
rbx 0x2a648 173640
rcx 0xffffffffffffffff -1
rdx 0x6 6
rsi 0x2a8ed 174317
rdi 0x2a8ed 174317
rbp 0x7ffe49d38630 0x7ffe49d38630
rsp 0x7ffe49d38600 0x7ffe49d38600
r8 0xffffffff 4294967295
r9 0x7f1f63a70700 139772792604416
r10 0x8 8
r11 0x206 518
r12 0x7ffe49d39720 140730137024288
r13 0x7ffe49d39500 140730137023744
r14 0x0 0
r15 0x0 0
rip 0x712883 0x712883 <regcache_raw_supply(regcache*, int, void
const*)+135>
eflags 0x206 [ PF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
--
You are receiving this mail because:
You are on the CC list for the bug.