From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116880 invoked by alias); 23 Dec 2016 20:44:09 -0000 Mailing-List: contact libc-stable-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: List-Archive: Sender: libc-stable-owner@sourceware.org Received: (qmail 116869 invoked by uid 89); 23 Dec 2016 20:44:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.2 spammy=impacting, HTo:U*libc-stable X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-qt0-f176.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:organization:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=b+6uOu9duENqIs6xW3gpb04021Jsag2j8mglPcT6tzk=; b=HwA4X0jdyKEO7UZc7RIZLNLYMMRR+GyNf9T+ioNtZkNHWjJx/XRUw/1iy3aFSmAb0u rX58HU9Xe5Xq0M46SVykeV1Oukv1ArOGeQHGdtZMKTyimL7W8yBemRC9WliFBo/RKyDa GscNm++me7kYTid+YRhvAzvd0dUNddTRPHDE9G/A5ovxhKYDDz8kcX0aSkUkytb0SZHE IYrNcPAnuJHY3lWda/+5NZJezzmix5B+HWAf/pF8RYCPHJHWg8qyKHgAzwUZN1thxbt1 Zul16bIVuV0aiFj/DPrr2C0f4rFgz7RPXJV5+AvSZuVe6mJIIaYlzmg3LXi9uUzB8NWL Dw0g== X-Gm-Message-State: AIkVDXLNnbRrpmkPX8M4aPI1jA+x7161Dc4ZmZH3lyzwrDM/RNUxFgUwkvi0Nf0H6vmQdFvf X-Received: by 10.237.49.7 with SMTP id 7mr13118299qtg.186.1482525835846; Fri, 23 Dec 2016 12:43:55 -0800 (PST) To: Libc-stable Mailing List From: Carlos O'Donell Subject: [2.24 COMMITTED] Bug 11941: ld.so: Improper assert map->l_init_called in dlclose Organization: Red Hat Message-ID: <35f3bd4a-401b-eb0d-adca-d96e08c14402@redhat.com> Date: Fri, 01 Jan 2016 00:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-12/txt/msg00002.txt.bz2 We are seeing this in Fedora 25 based on glibc 2.24, and it is impacting kerberos authentication for ssh. commit a0cd7851a79cccf6e8e21962862ea8fe0bca5114 Author: Carlos O'Donell Date: Fri Dec 23 13:30:22 2016 -0500 Bug 11941: ld.so: Improper assert map->l_init_called in dlclose There is at least one use case where during exit a library destructor might call dlclose() on a valid handle and have it fail with an assertion. We must allow this case, it is a valid handle, and dlclose() should not fail with an assert. In the future we might be able to return an error that the dlclose() could not be completed because the opened library has already been unloaded and destructors have run as part of exit processing. For more details see: https://www.sourceware.org/ml/libc-alpha/2016-12/msg00859.html (cherry picked from commit 57707b7fcc38855869321f8c7827bfe21d729f37) -- Cheers, Carlos.