From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25574 invoked by alias); 9 Jul 2012 16:14:01 -0000 Received: (qmail 25514 invoked by uid 22791); 9 Jul 2012 16:13:59 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Jul 2012 16:13:47 +0000 From: "mh-sourceware at glandium dot org" To: glibc-bugs@sources.redhat.com Subject: [Bug dynamic-link/14341] Dynamic linker crash when DT_JMPREL and DT_REL{,A} are not contiguous Date: Mon, 09 Jul 2012 16:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: mh-sourceware at glandium dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00049.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14341 --- Comment #3 from Mike Hommey 2012-07-09 16:13:46 UTC --- (In reply to comment #2) > Can you please use the recently released 2.16? > > Can you please update Version in this issue to reflect the true version you > areusing. > > We already knew about this failure and fixed it on April 10th as part of: > http://sourceware.org/bugzilla/show_bug.cgi?id=13967 > > I may have missed something, but I expected this to be fixed. I'm using the version that's including that fix, but it still crashes. The following fixes it (which, in practice, mostly reverts 96154cd892c614f13f32996ce75df1442641fb5b) : --- glibc-2.16.0/elf/dynamic-link.h 2012-06-30 21:12:34.000000000 +0200 +++ glibc-2.16.0.fixed/elf/dynamic-link.h 2012-07-09 10:35:50.579168312 +0200 @@ -280,7 +280,8 @@ \ if (ranges[0].start + ranges[0].size == (start + size)) \ ranges[0].size -= size; \ - if (! ELF_DURING_STARTUP && ((do_lazy) || ranges[0].size == 0)) \ + if ((! ELF_DURING_STARTUP && ((do_lazy) || ranges[0].size == 0)) || \ + (ranges[0].start + ranges[0].size != start)) \ { \ ranges[1].start = start; \ ranges[1].size = size; \ -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.