From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29802 invoked by alias); 25 Oct 2012 14:08:24 -0000 Received: (qmail 29606 invoked by uid 48); 25 Oct 2012 14:08:00 -0000 From: "matz at suse dot de" To: glibc-bugs@sources.redhat.com Subject: [Bug dynamic-link/12561] ld.so: dlclose() can remove required local scope elements of NODELETE linkmaps Date: Thu, 25 Oct 2012 14:08: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: normal X-Bugzilla-Who: matz at suse dot de X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC 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-10/txt/msg00238.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12561 Michael Matz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at suse dot de --- Comment #6 from Michael Matz 2012-10-25 14:07:57 UTC --- I really can't make up my mind right now if Andreas' patch is a fix for this issue, or just hides it. The testcase here needed NODELETE libraries to force some deps to stay around. Andreas' patch has this in it: + * elf/dl-close.c (_dl_close_worker): Reset private search list if + it wasn't used. ... + else if (new_list != NULL) + { + /* We didn't change the scope array, so reset the search + list. */ + imap->l_searchlist.r_list = NULL; + imap->l_searchlist.r_nlist = 0; So, what happens if we _do_ have changed the scope array, or used the private search list? In other words, could the testcase from this report be extended to make this happen and retrigger the bug, or is it fixed for good? -- 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.