From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: -readnow crash Rust regression [Re: [RFA v2 3/4] Convert Rust to use discriminated unions]
Date: Wed, 11 Apr 2018 07:04:00 -0000 [thread overview]
Message-ID: <20180411070402.GA16230@host1.jankratochvil.net> (raw)
In-Reply-To: <87lgduo3om.fsf@tromey.com>
On Wed, 11 Apr 2018 04:52:09 +0200, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> Jan> ./gdb/gdb -batch -readnow /tmp/rustgdbbug/a/b/rustdoc-1.24.0-2.fc27.x86_64.debug
> Jan> Segmentation fault
>
> Try this:
>
> https://sourceware.org/ml/gdb-patches/2018-03/msg00600.html
Still crashing:
#0 __strrchr_avx2 () at ../sysdeps/x86_64/multiarch/strrchr-avx2.S:54
#1 0x0000000000aaff44 in rust_last_path_segment (path=0x0) at rust-lang.c:44
#2 0x00000000008ca07d in quirk_rust_enum (type=0x4c53b80, objfile=0x3089a00) at dwarf2read.c:10076
#3 0x00000000008ca3cd in rust_union_quirks (cu=0x30fc820) at dwarf2read.c:10101
#4 0x00000000008cab85 in process_full_comp_unit (per_cu=0x3149f10, pretend_language=language_minimal) at dwarf2read.c:10289
#5 0x00000000008c7cfa in process_queue (dwarf2_per_objfile=0x329f5d0) at dwarf2read.c:9501
#6 0x00000000008b4edb in dw2_do_instantiate_symtab (per_cu=0x3149f10) at dwarf2read.c:2888
#7 0x00000000008b4fd2 in dw2_instantiate_symtab (per_cu=0x3149f10) at dwarf2read.c:2909
#8 0x00000000008b9566 in dw2_expand_all_symtabs (objfile=0x3089a00) at dwarf2read.c:4147
Jan
next prev parent reply other threads:[~2018-04-11 7:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-22 20:30 [RFA v2 0/4] variants and variant parts Tom Tromey
2018-02-22 20:30 ` [RFA v2 3/4] Convert Rust to use discriminated unions Tom Tromey
2018-02-26 6:50 ` Joel Brobecker
2018-02-27 23:23 ` Pedro Alves
2018-02-28 0:23 ` Tom Tromey
2018-04-10 20:36 ` -readnow crash Rust regression [Re: [RFA v2 3/4] Convert Rust to use discriminated unions] Jan Kratochvil
2018-04-11 2:52 ` Tom Tromey
2018-04-11 7:04 ` Jan Kratochvil [this message]
2018-04-11 19:49 ` Tom Tromey
2018-04-12 18:10 ` Tom Tromey
2018-04-12 18:45 ` Keith Seitz
2018-02-22 20:30 ` [RFA v2 4/4] Handle DW_TAG_variant_part and DW_TAG_variant Tom Tromey
2018-02-26 6:56 ` Joel Brobecker
2018-02-26 16:16 ` Tom Tromey
2018-02-22 20:30 ` [RFA v2 1/4] Sign-extend non-bit-fields in unpack_bits_as_long Tom Tromey
2018-02-26 6:45 ` Joel Brobecker
2018-02-22 20:30 ` [RFA v2 2/4] Initial support for variant parts Tom Tromey
2018-02-26 6:49 ` Joel Brobecker
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=20180411070402.GA16230@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tom@tromey.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