public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "mehmetgelisin at aol dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug symtab/27333] [dwarf-5] abort on unhandled DW_TAG_type_unit in process_psymtab_comp_unit
Date: Fri, 10 Sep 2021 19:39:28 +0000	[thread overview]
Message-ID: <bug-27333-4717-jX3tVIALPW@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-27333-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=27333

Mehmet gelisin <mehmetgelisin at aol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mehmetgelisin at aol dot com

--- Comment #12 from Mehmet gelisin <mehmetgelisin at aol dot com> ---
0x000055befb1f0966 in cmdpy_function (command=0x6110001d2d00,
args=0x55befd892b20 "", from_tty=1) at
/home/smarchi/src/binutils-gdb/gdb/python/py-cmd.c:141 http://www-look-4.com/
#36 0x000055befa256cb4 in cmd_func (cmd=0x6110001d2d00, args=0x0, from_tty=1)
at /home/smarchi/src/binutils-gdb/gdb/cli/cli-decode.c:2181
#37 0x000055befb9c2ace in execute_command (p=0x60200005109b
http://www.compilatori.com/  "", from_tty=1) at
/home/smarchi/src/binutils-gdb/gdb/top.c:668
#38 0x000055befa858fca in command_handler (command=0x602000051090 "lx-symbols
") at http://www.wearelondonmade.com/ 
/home/smarchi/src/binutils-gdb/gdb/event-top.c:589
#39 0x000055befa859cc5 in command_line_handler (rl=...) at 
http://www.jopspeech.com/ /home/smarchi/src/binutils-gdb/gdb/event-top.c:774
#40 0x000055befa856f93 in gdb_rl_callback_handler (rl=0x602000051010
"lx-symbols ") at /home/smarchi/src/binutils-gdb/gdb/event-top.c:219
#41 0x000055befbda9a4d in rl_callback_read_char () at  http://joerg.li/
/home/smarchi/src/binutils-gdb/readline/readline/callback.c:281
#42 0x000055befa8569d4 in gdb_rl_callback_read_char_wrapper_noexcept () at
/home/smarchi/src/binutils-gdb/gdb/event-top.c:177 http://connstr.net/ 
#43 0x000055befa856c02 in gdb_rl_callback_read_char_wrapper
(client_data=0x60f000000310) at
/home/smarchi/src/binutils-gdb/gdb/event-top.c:194
#44 0x000055befa85856c in stdin_event_handler (error=0,
http://embermanchester.uk/  client_data=0x60f000000310) at
/home/smarchi/src/binutils-gdb/gdb/event-top.c:516
#45 0x000055befcec2717 in handle_file_event (file_ptr=0x606000069260,
ready_mask=1) at /home/smarchi/src/binutils-gdb/gdbsupport/event-loop.cc:575
http://www.slipstone.co.uk/ 
#46 0x000055befcec2f58 in gdb_wait_for_event (block=1) at
/home/smarchi/src/binutils-gdb/gdbsupport/event-loop.cc:701
#47 0x000055befcec0cf6 in gdb_do_one_event () at
/home/smarchi/src/binutils-gdb/gdbsupport/event-loop.cc:237
http://www.logoarts.co.uk/ 
#48 0x000055befadfda4e in start_event_loop () at
/home/smarchi/src/binutils-gdb/gdb/main.c:347
#49 0x000055befadfde7d in captured_command_loop () at
/home/smarchi/src/binutils-gdb/gdb/main.c:407 
#50 0x000055befae02861 in captured_main (data=0x7ffe0a28ab80) at 
http://www.acpirateradio.co.uk/ /home/smarchi/src/binutils-gdb/gdb/main.c:1234
#51 0x000055befae02944 in gdb_main (args=0x7ffe0a28ab80) at
/home/smarchi/src/binutils-gdb/gdb/main.c:1249
#52 0x000055bef9c3e442 in main (argc=2, argv=0x7ffe0a28acf8) at
/home/smarchi/src/binutils-gdb/gdb/gdb.c:32 https://waytowhatsnext.com/

So we are executing the CIE of this FDE:

(top-gdb) p *fde
$4 = {
  cie = 0x621000f84bb0, https://www.webb-dev.co.uk/ 
  initial_location = 0xffffffff81b33180,
  address_range = 0xf,
  instructions = 0x7fab8d86db08 <error: Cannot access memory at address
0x7fab8d86db08>,
  end = 0x7fab8d86db08 <error: Cannot access memory at address 0x7fab8d86db08>,
  eh_frame_p = 0 '\000' http://www.iu-bloomington.com/ 
}

It's really strange that top-gdb can't access the memory of the program we are
supposed to be executing:

(top-gdb) p insn_ptr
$9 = (const gdb_byte *) 0x7fab8d86da86 <error: Cannot access memory at address
0x7fab8d86da86> https://komiya-dental.com/
(top-gdb) p fde.cie.initial_instructions 
$10 = (const gdb_byte *) 0x7fab8d86da85 <error: Cannot access memory at address
0x7fab8d86da85>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2021-09-10 19:39 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 11:55 [Bug symtab/27333] New: [dwarf-5] ERROR: Couldn't load cpexprs-debug-types into GDB (eof) vries at gcc dot gnu.org
2021-02-03 12:54 ` [Bug symtab/27333] " vries at gcc dot gnu.org
2021-02-03 12:55 ` [Bug symtab/27333] [dwarf-5] abort on unhandled DW_TAG_type_unit in process_psymtab_comp_unit vries at gcc dot gnu.org
2021-02-03 13:05 ` vries at gcc dot gnu.org
2021-02-05 12:31 ` vries at gcc dot gnu.org
2021-02-05 16:47 ` cvs-commit at gcc dot gnu.org
2021-02-05 16:48 ` vries at gcc dot gnu.org
2021-03-06  6:28 ` brobecker at gnat dot com
2021-03-06  6:34 ` cvs-commit at gcc dot gnu.org
2021-06-27 17:56 ` ahmedsayeed1982 at yahoo dot com
2021-08-19  6:01 ` ucelsanicin at yahoo dot com
2021-08-27 18:01 ` ribevi6798 at enamelme dot com
2021-09-02 11:07 ` donipah907 at mtlcz dot com
2021-09-02 11:14 ` mark at klomp dot org
2021-09-06  9:09 ` focixujo at livinginsurance dot co.uk
2021-09-10 19:39 ` mehmetgelisin at aol dot com [this message]
2021-09-22 10:10 ` diheto5497 at secbuf dot com
2021-09-26 13:31 ` tes.vik1986 at gmail dot com
2021-09-28  0:48 ` marlenesanchez231+jaime at gmail dot com
2021-10-09 11:00 ` gulsenenginar at aol dot com
2021-10-10 16:10 ` oficaj3 at gmail dot com
2021-10-18 19:58 ` ahmedsayeed1982 at hotmail dot com
2021-10-19  7:14 ` progonsaytu at gmail dot com
2021-10-23 13:47 ` fiteva5725 at bomoads dot com
2021-10-24 10:02 ` glassmtech at ukr dot net
2021-11-06 21:12 ` paneki8601 at dukeoo dot com
2021-11-13 19:33 ` tesaso8237 at funboxcn dot com
2021-11-16 19:04 ` xecana8007 at funboxcn dot com
2021-11-16 19:08 ` xecana8007 at funboxcn dot com
2021-11-16 19:12 ` xecana8007 at funboxcn dot com
2021-11-16 19:15 ` xecana8007 at funboxcn dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27333-4717-jX3tVIALPW@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).