This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading]


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]