Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Tom Tromey <tromey@redhat.com>,
	gdb-patches@sourceware.org, ccoutant@google.com,
		saugustine@google.com
Subject: Re: Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading]
Date: Mon, 30 Apr 2012 01:37:00 -0000	[thread overview]
Message-ID: <CADPb22SpOkSM7Lehn3c1i=2_nSEvmDx48bQZ-iP5BUuxB0YtXQ@mail.gmail.com> (raw)
In-Reply-To: <20120429090455.GA9848@host2.jankratochvil.net>

On Sun, Apr 29, 2012 at 2:04 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Fri, 27 Apr 2012 00:22:19 +0200, Doug Evans wrote:
>> 2012-04-26  Doug Evans  <dje@google.com>
>>
>>       * dwarf2read.c (die_hash, die_eq): Move definitions (prep work
>>       for Fission patch).
>
>  Running gdb/testsuite/gdb.ada/array_bounds.exp ...
>  PASS: gdb.ada/array_bounds.exp: compilation bar.adb
> -PASS: gdb.ada/array_bounds.exp: print itable'first
> +FAIL: gdb.ada/array_bounds.exp: running to bar.adb:24 in runto (GDB internal error)
> +ERROR: Couldn't run array_bounds/bar
>
> Program terminated with signal 6, Aborted.
> #0  0x00007f6943dc6215 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> [...]
> #5  0x00000000006c1f06 in internal_error (file=0x894861 "dwarf2read.c", line=3686, string=0x8942a0 "%s: Assertion `%s' failed.") at utils.c:880
> #6  0x000000000062200d in init_and_read_dies_worker (this_cu=0x24e8fa0, use_existing_cu=0, keep=1, die_reader_func=0x623602 <load_partial_comp_unit_reader>, data=0x0) at dwarf2read.c:3686
> #7  0x0000000000622be1 in init_cu_and_read_dies (this_cu=0x24e8fa0, use_existing_cu=0, keep=1, die_reader_func=0x623602 <load_partial_comp_unit_reader>, data= 0x0) at dwarf2read.c:3936
> #8  0x00000000006236b5 in load_partial_comp_unit (this_cu=0x24e8fa0) at dwarf2read.c:4308
> #9  0x00000000006337ab in find_partial_die (offset=..., cu=0x25324b0) at dwarf2read.c:11181
> #10 0x0000000000633991 in fixup_partial_die (part_die=0x23ef510, cu=0x25324b0) at dwarf2read.c:11265
> #11 0x0000000000624a33 in add_partial_subprogram (pdi=0x23ef510, lowpc=0x7fff495ee7c0, highpc=0x7fff495ee7c8, need_pc=0, cu=0x25324b0) at dwarf2read.c:4854
> #12 0x0000000000623bc8 in scan_partial_symbols (first_die=0x232ec10, lowpc=0x7fff495ee7c0, highpc=0x7fff495ee7c8, need_pc=0, cu=0x25324b0) at dwarf2read.c:4407
> #13 0x00000000006231ec in process_psymtab_comp_unit_reader (reader=0x7fff495ee850, info_ptr=0x7f69436d566c <Address 0x7f69436d566c out of bounds>, comp_unit_die=0x232e320, has_children=1, data=0x0) at dwarf2read.c:4125
> #14 0x0000000000622b19 in init_and_read_dies_worker (this_cu=0x24e8fa0, use_existing_cu=0, keep=0, die_reader_func= 0x622eda <process_psymtab_comp_unit_reader>, data=0x0) at dwarf2read.c:3895
> #15 0x0000000000622be1 in init_cu_and_read_dies (this_cu=0x24e8fa0, use_existing_cu=0, keep=0, die_reader_func=0x622eda <process_psymtab_comp_unit_reader>, data=0x0) at dwarf2read.c:3936
> #16 0x0000000000623373 in process_psymtab_comp_unit (this_cu=0x24e8fa0) at dwarf2read.c:4178
> #17 0x00000000006235a3 in dwarf2_build_psymtabs_hard (objfile=0x246b280) at dwarf2read.c:4269
> #18 0x0000000000620a0d in dwarf2_build_psymtabs (objfile=0x246b280) at dwarf2read.c:3133
> #19 0x000000000050b453 in read_psyms (objfile=0x246b280) at elfread.c:1449
> #20 0x000000000059307e in require_partial_symbols (objfile=0x246b280, verbose=0) at psymtab.c:92
> #21 0x0000000000598f6b in syms_from_objfile (objfile=0x246b280, addrs=0x21ae470, offsets=0x0, num_offsets=0, add_flags=8) at symfile.c:1001
>
> It happens on Fedora 15 and 16 i386/x86_68.  Feel free to request more info.
>
>
> Thanks,
> Jan

I can't recreate this on my fc16 box, though I see the issue.
What gcc are you using?


  reply	other threads:[~2012-04-30  0:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 18:58 [RFA 2/3] Initial Fission support, rewrite DIE reading Doug Evans
2012-04-25 14:58 ` Doug Evans
2012-04-26 21:52 ` Tom Tromey
2012-04-26 23:05   ` Doug Evans
2012-04-29  9:17     ` Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading] Jan Kratochvil
2012-04-30  1:37       ` Doug Evans [this message]
2012-04-30  2:05         ` Jan Kratochvil
2012-04-30 17:09           ` Doug Evans
2012-04-30 17:19             ` Jan Kratochvil
2012-04-30 18:09               ` Doug Evans
2012-05-02 23:19             ` Crash on new testcase gdb.dwarf2/pr13961.exp [Re: Crash regression for gdb.ada/*.exp] Jan Kratochvil
2012-05-03  6:54               ` Doug Evans
2012-07-19  8:17             ` Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading] Andreas Schwab
2012-07-19 16:18               ` dje

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='CADPb22SpOkSM7Lehn3c1i=2_nSEvmDx48bQZ-iP5BUuxB0YtXQ@mail.gmail.com' \
    --to=dje@google.com \
    --cc=ccoutant@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=saugustine@google.com \
    --cc=tromey@redhat.com \
    /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