Your message dated Thu, 1 Dec 2005 15:44:12 +0100
with message-id <[EMAIL PROTECTED]>
and subject line g++-3.4: mt_allocator + threads + dlclose = crash
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Feb 2005 17:00:28 +0000
>From [EMAIL PROTECTED] Thu Feb 03 09:00:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dep.oprit.rug.nl [129.125.36.9] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CwkLD-00010B-00; Thu, 03 Feb 2005 09:00:27 -0800
Received: from wza.digitalbrains.com (flits102-221.flits.rug.nl 
[129.125.102.221])
        by dep.oprit.rug.nl (8.12.10.Beta2/8.12.10.Beta2) with ESMTP id 
j13GxtAM023979;
        Thu, 3 Feb 2005 17:59:55 +0100 (MET)
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Walter Doekes <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /usr/bin/g++-3.4: mt_allocator + threads + dlclose = crash
X-Mailer: reportbug 3.2
Date: Thu, 03 Feb 2005 17:59:54 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: g++-3.4
Version: 3.4.3-6
Severity: important
File: /usr/bin/g++-3.4

The g++ package is built with --enable-libstdcxx-allocator=mt
This can cause a program to segfault when a thread finishes
that had referenced data in an unloaded dynamic library.

See more info here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19265

This problem does not occur with:
g++-3.3 on my debian box
g++-3.4 on a FreeBSD machine that wasn't configured with
        --enable-libstdcxx-allocator=mt

So it's not g++ that is broken per se, but the debian configuration is.

See a crash testcase here:
http://dc.selwerd.nl/dlcrash.tar.bz2

/walter

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-wza-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages g++-3.4 depends on:
ii  gcc-3.4                     3.4.3-6      The GNU C compiler
ii  gcc-3.4-base                3.4.3-6      The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libstdc++6-dev              3.4.3-6      The GNU Standard C++ Library v3 (d

-- no debconf information

---------------------------------------
Received: (at 293466-done) by bugs.debian.org; 1 Dec 2005 14:44:15 +0000
>From [EMAIL PROTECTED] Thu Dec 01 06:44:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de ([130.149.17.13] ident=root)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EhpfT-0000kO-Ex
        for [EMAIL PROTECTED]; Thu, 01 Dec 2005 06:44:15 -0800
Received: from mailhost.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.17.13])
        by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id PAA26561
        for <[EMAIL PROTECTED]>; Thu, 1 Dec 2005 15:44:13 +0100 (MET)
Received: from localhost (localhost [127.0.0.1])
        by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id 01B0DF2B2
        for <[EMAIL PROTECTED]>; Thu,  1 Dec 2005 15:44:13 +0100 (MET)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
 by localhost (bueno [127.0.0.1]) (amavisd-new, port 10224) with ESMTP
 id 00823-32 for <[EMAIL PROTECTED]>;
 Thu,  1 Dec 2005 15:44:12 +0100 (MET) 13935
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
        by mailhost.cs.tu-berlin.de (Postfix) with ESMTP
        for <[EMAIL PROTECTED]>; Thu,  1 Dec 2005 15:44:12 +0100 (MET)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id jB1EiC1k022379;
        Thu, 1 Dec 2005 15:44:12 +0100 (MET)
From: Matthias Klose <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 1 Dec 2005 15:44:12 +0100
To: [EMAIL PROTECTED]
Subject: Re: g++-3.4: mt_allocator + threads + dlclose = crash
X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Version: 3.4.4-10

Starting with version 3.4.4-10, gcc-3.4 is configured to use the
standard allocator (not using the mt allocator anymore).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to