From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 651A03858D32 for ; Mon, 22 Aug 2022 10:47:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 651A03858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=jguk.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jguk.org Received: by mail-wr1-x434.google.com with SMTP id a4so12695455wrq.1 for ; Mon, 22 Aug 2022 03:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=60dro0+jVk/SYHNSHiU6TWT1nJazfbYF9axOJ5ox1tQ=; b=C0eQsLfvlaoMOq4KYidSYZQ6fH3cfntLdwJ5b0GF1Ysg554/9P2yGxakaj7jb5pJCq UqXQSRJtROjcq6l+Ld4WGVFMdP1e3cXlj8rlM8Hq6TSJR0OflcuMSbSaDoI0KJbsJyi7 jTGWJH3O7YR5AQcTQqbzqttektz5BE5lpjNbaC3JJUf4ru6COkvNodQHyay42JaYHBrG 9H6OItx6AP9zeym4CoGuw7kCJc7JvGfNZoUgN2OCKDLIWSSFK8IZg37qVyfgLcsA/u98 KW5xtl/Ni5+XhMUJTpt204+xT0rDeghFVMASpAGk8jhTCWlizStyKMi+rad3bcW/70aI M9kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=60dro0+jVk/SYHNSHiU6TWT1nJazfbYF9axOJ5ox1tQ=; b=rDi9PN4oYO3GIbO+f2+ZawTLqDMjCkPtXpz6phV/tdJrYEmTGp1U3b6zK+qIEIjfNf hEw66CVw4aaP2dLQq1cdBvFURFti6Eu23zd2m2ucMNz/sUMlTQrSoWlz8g9NkCRWRKjD OD78quV0uFFMOBFU4KYkVIGbzYd9oHx6P/p1puSDN+QgD34jgCyv0p9iMjEUy+5zgnTG d2x51wgX8cFW4RNjWHrSJh8vORq4TPTEXaFUinaMaOZ5yOnqBxMVm8eu+YPmjO6Ha0Ho xcuFm4fAa0fPMT1ronkowLwm7XOViBeEsz62GrggC3kTKx4203MSxSHgI3d5WvmkZoMs LWnA== X-Gm-Message-State: ACgBeo2XNePDn7iafwvA4//ZAV/TC9Pv/Rqi+gVcUZOJyfEMv/7RHI6M 09EtbnsvodXCh7kP5KL/iWumJw== X-Google-Smtp-Source: AA6agR5NS4LOaH+Kg7msjdyGVXtdQRyMPg/uDH0MLeTeUnz889TOcsJCuABQn1H4XI0AD8GZBEtivg== X-Received: by 2002:a05:6000:1e0e:b0:225:4e27:b806 with SMTP id bj14-20020a0560001e0e00b002254e27b806mr4159071wrb.605.1661165251103; Mon, 22 Aug 2022 03:47:31 -0700 (PDT) Received: from [192.168.0.12] (cpc87345-slou4-2-0-cust172.17-4.cable.virginm.net. [81.101.252.173]) by smtp.gmail.com with ESMTPSA id g1-20020adffc81000000b0022520aba90asm11495553wrr.107.2022.08.22.03.47.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Aug 2022 03:47:30 -0700 (PDT) Message-ID: <34136fcb-da3c-f8f7-d091-ec1c8b3c187e@jguk.org> Date: Mon, 22 Aug 2022 11:47:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: ld-linux-x86-64 core file SIGSEGV Content-Language: en-GB To: Florian Weimer Cc: libc-help@sourceware.org References: <87a67w6aqn.fsf@oldenburg.str.redhat.com> <87o7wczhgi.fsf@oldenburg.str.redhat.com> From: Jonny Grant In-Reply-To: <87o7wczhgi.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2022 10:47:34 -0000 On 22/08/2022 11:43, Florian Weimer wrote: > * Jonny Grant: > >> I got it to load the debug symbol using "file" command you >> mentioned. Unfortunately backtrace still empty. The debug symbols >> /usr/lib/debug/.build-id/61/ef896a699bb1c2e4e231642b2e1688b2f1a61e.debug >> are only 592,952 bytes >> >> I would probably just prefer if binaries weren't separated from their >> debug symbols. Do you know any distributions that don't strip symbols >> from glibc? > > I'm not sure if this is caused by debuginfo separation. I run into GDB > when I use my own custom-built glibc with unstripped debuginfo. > > Anyway, you can probably use eu-unstrip from elfutils to undo the > debuginfo separation. > > Thanks, > Florian That's a good tip than you. I did use objdump -d on the ld.so, but couldn't spot anything similar to what I saw in "layout asm" from gdb. Is it ever possible to match up disassembly with the gdb core disassembly this way? Cheers, Jonny