From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26967 invoked by alias); 17 May 2011 18:58:12 -0000 Received: (qmail 26959 invoked by uid 22791); 17 May 2011 18:58:11 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 May 2011 18:57:57 +0000 Received: from kpbe20.cbf.corp.google.com (kpbe20.cbf.corp.google.com [172.25.105.84]) by smtp-out.google.com with ESMTP id p4HIvsoU005501 for ; Tue, 17 May 2011 11:57:55 -0700 Received: from yia28 (yia28.prod.google.com [10.243.65.28]) by kpbe20.cbf.corp.google.com with ESMTP id p4HIuf75025108 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 17 May 2011 11:57:53 -0700 Received: by yia28 with SMTP id 28so385481yia.35 for ; Tue, 17 May 2011 11:57:53 -0700 (PDT) Received: by 10.150.113.21 with SMTP id l21mr785914ybc.259.1305658673149; Tue, 17 May 2011 11:57:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.11.17 with HTTP; Tue, 17 May 2011 11:57:23 -0700 (PDT) In-Reply-To: <20110517170849.GA2463@host1.jankratochvil.net> References: <20091006214556.GA12955@host0.dyn.jankratochvil.net> <20110517170849.GA2463@host1.jankratochvil.net> From: Paul Pluzhnikov Date: Tue, 17 May 2011 18:58:00 -0000 Message-ID: Subject: Re: [patch] Fix GNU/Linux core open: Can't read pathname for load map: Input/output error. To: Jan Kratochvil Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes 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 X-SW-Source: 2011-05/txt/msg00389.txt.bz2 On Tue, May 17, 2011 at 10:08 AM, Jan Kratochvil wrote: > On Tue, 17 May 2011 03:06:11 +0200, Paul Pluzhnikov wrote: >> I see this all the time, and it causes end-user confusion. > > (a) > The fix should be in glibc and not in gdb but it was rejected in glibc. In this particular case I believe Ulrich may be correct in rejecting the patch. > (b) > Loading libraries for a core file from the inferior solist stored in the = core > file does not work anyway. =A0If you have a crashed application with memo= ry > corruption commonly the inferior solist is also corrupted, While it's very possible for solist in the inferior to be corrupted, I've never actually seen this happen in practice, and I do regularly look at core dumps. I wonder what makes corrupt solist in the inferior common for you. > The right approach is to map symbols for libraries according to their > build-ids (when available). But until then, IWBN to not issue a warning in the common case. --=20 Paul Pluzhnikov