From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25058 invoked by alias); 26 Jun 2007 11:37:07 -0000 Received: (qmail 25050 invoked by uid 22791); 26 Jun 2007 11:37:06 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 26 Jun 2007 11:37:04 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3AA4E9829A; Tue, 26 Jun 2007 11:37:03 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 1B09D98299; Tue, 26 Jun 2007 11:37:03 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I39LU-0005L4-DW; Tue, 26 Jun 2007 07:36:32 -0400 Date: Tue, 26 Jun 2007 11:37:00 -0000 From: Daniel Jacobowitz To: Bram Kuijper Cc: gdb@sourceware.org Subject: Re: "failed to find valid object file", but which object file? (using static libraries) Message-ID: <20070626113632.GA20208@caradoc.them.org> Mail-Followup-To: Bram Kuijper , gdb@sourceware.org References: <4680D290.8020303@rug.nl> <20070626112126.GA19752@caradoc.them.org> <4680F947.9000700@rug.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4680F947.9000700@rug.nl> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00297.txt.bz2 On Tue, Jun 26, 2007 at 01:32:23PM +0200, Bram Kuijper wrote: > Daniel Jacobowitz wrote: > > On Tue, Jun 26, 2007 at 10:47:12AM +0200, Bram Kuijper wrote: > >> Is there any way to find _which_ object file has failed to be read in? > > One from memory, not from disk. Usually this will be linux-gate.so.1 > > or something like that; a virtual DSO provided by the kernel. > > I'm not sure why it would fail. What platform and kernel version? > > Ubuntu Gutsy Gibbon, 2.6.22-6-generic i686 GNU/Linux. > > Since Gutsy Gibbon is still in beta, it might be indeed the cause of all > trouble. Should I downgrade to a previous kernel version or is there any other > solution? No, you should figure out why GDB has failed :-) You'd have to debug it, though. The error message indicates that either reading from memory has failed or else the image found there was surprising somehow. If you run with "set debug target 1", do any errors show up? -- Daniel Jacobowitz CodeSourcery