From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126115 invoked by alias); 11 Apr 2018 07:04:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 126093 invoked by uid 89); 11 Apr 2018 07:04:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Apr 2018 07:04:06 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 56EC4406F890; Wed, 11 Apr 2018 07:04:05 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-55.ams2.redhat.com [10.36.116.55]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE4062166BAD; Wed, 11 Apr 2018 07:04:04 +0000 (UTC) Date: Wed, 11 Apr 2018 07:04:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: -readnow crash Rust regression [Re: [RFA v2 3/4] Convert Rust to use discriminated unions] Message-ID: <20180411070402.GA16230@host1.jankratochvil.net> References: <20180222203018.23551-1-tom@tromey.com> <20180222203018.23551-4-tom@tromey.com> <20180410203650.GA2496@host1.jankratochvil.net> <87lgduo3om.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lgduo3om.fsf@tromey.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-04/txt/msg00210.txt.bz2 On Wed, 11 Apr 2018 04:52:09 +0200, Tom Tromey wrote: > >>>>> "Jan" == Jan Kratochvil 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