From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23762 invoked by alias); 17 Jul 2008 21:42:10 -0000 Received: (qmail 23754 invoked by uid 22791); 17 Jul 2008 21:42:10 -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; Thu, 17 Jul 2008 21:41:47 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 21BEA80001; Thu, 17 Jul 2008 21:41:46 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E952C982C3; Thu, 17 Jul 2008 21:41:45 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KJbEP-0007aW-6w; Thu, 17 Jul 2008 17:41:45 -0400 Date: Thu, 17 Jul 2008 21:42:00 -0000 From: Daniel Jacobowitz To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org Subject: Re: [RFC] Detect loops in the solib chain Message-ID: <20080717214145.GB21465@caradoc.them.org> Mail-Followup-To: Thiago Jung Bauermann , gdb-patches@sourceware.org References: <20080717205721.GA19882@caradoc.them.org> <1216329299.12209.21.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1216329299.12209.21.camel@localhost.localdomain> User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2008-07/txt/msg00352.txt.bz2 On Thu, Jul 17, 2008 at 06:14:59PM -0300, Thiago Jung Bauermann wrote: > For my own education: it looks to me that this customer won the lottery > two times here (one for pointing to a link map fake entry, and the other > for it to be circular). How often can this happen in practice? Beats me, but my guess is more often than you think - the value you need for it to be circular is readily available. For instance something that shifts the pointer by a word will make us load l_prev when we wanted l_next. They definitely did lose the lottery twice though :-) -- Daniel Jacobowitz CodeSourcery