From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18775 invoked by alias); 4 Jun 2014 20:21:12 -0000 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 Received: (qmail 18551 invoked by uid 89); 4 Jun 2014 20:21:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mailrelay012.isp.belgacom.be Received: from mailrelay012.isp.belgacom.be (HELO mailrelay012.isp.belgacom.be) (195.238.6.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Jun 2014 20:21:07 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAJJ+j1NR88Iy/2dsb2JhbAANTIcdwAgBgSeDGQEBAQQjVhALGAICJgICVwaIWqsod6VqF4EqjSgHgnWBSwEDpTOLUw Received: from 50.194-243-81.adsl-dyn.isp.belgacom.be (HELO [192.168.1.11]) ([81.243.194.50]) by relay.skynet.be with ESMTP; 04 Jun 2014 22:21:04 +0200 Subject: Re: debugging link_map corruption From: Philippe Waroquiers To: Maule Mark Cc: "gdb@sourceware.org" In-Reply-To: <1401888987.45670.YahooMailNeo@web165002.mail.bf1.yahoo.com> References: <1401888987.45670.YahooMailNeo@web165002.mail.bf1.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 04 Jun 2014 20:21:00 -0000 Message-ID: <1401913266.2222.7.camel@soleil> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00012.txt.bz2 On Wed, 2014-06-04 at 06:36 -0700, Maule Mark wrote: > Tried this on libc-help, no response, so trying gdb ... > > I have a heavily threaded program linked against many (~50) shared libraries which occasionally experiences memory corruption > such that the link_map list gets trashed rendering the core mostly undebuggable. I'm looking for ways to debug these sorts > of problems. My operating environment is Linux. Already tried Valgrind ? Philippe