From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19779 invoked by alias); 5 Apr 2012 08:07:18 -0000 Received: (qmail 19769 invoked by uid 22791); 5 Apr 2012 08:07:15 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Apr 2012 08:07:03 +0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/52839] double free or corruption running tr1/.../default_weaktoshared.exe Date: Thu, 05 Apr 2012 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00328.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52839 --- Comment #15 from Alan Modra 2012-04-05 08:06:30 UTC --- Many hours later one of my 32-bit tests failed, but I'm relieved to say it was only the pthread_once bug. #0 0x0fbd839c in raise () from /lib/power7/libc.so.6 #1 0x0fbda034 in abort () from /lib/power7/libc.so.6 #2 0x0fd9f480 in uw_init_context_1 (context=context@entry=0xf2dce8f8, outer_cfa=outer_cfa@entry=0xf2dcecf0, outer_ra=0xff20f98) at /home/amodra/src/gcc-current/libgcc/unwind-dw2.c:1502 #3 0x0fd9fb7c in _Unwind_RaiseException (exc=0x1002c360) at /home/amodra/src/gcc-current/libgcc/unwind.inc:88 #4 0x0ff20f98 in __cxxabiv1::__cxa_throw (obj=0x1002c380, tinfo=, dest=) at /home/amodra/src/gcc-current/libstdc++-v3/libsupc++/eh_throw.cc:78 #5 0x10000d24 in std::tr1::__throw_bad_weak_ptr () at /home/amodra/build/gcc-current/powerpc-linux/libstdc++-v3/include/tr1/shared_ptr.h:76 #6 0x10000e9c in _M_add_ref_lock (this=0x10021f60) at /home/amodra/build/gcc-current/powerpc-linux/libstdc++-v3/include/tr1/shared_ptr.h:244 #7 __shared_count (__r=..., this=) at /home/amodra/build/gcc-current/powerpc-linux/libstdc++-v3/include/tr1/shared_ptr.h:494 #8 __shared_ptr (__r=..., this=) at /home/amodra/build/gcc-current/powerpc-linux/libstdc++-v3/include/tr1/shared_ptr.h:586 #9 shared_ptr (__r=..., this=) at /home/amodra/build/gcc-current/powerpc-linux/libstdc++-v3/include/tr1/shared_ptr.h:1015 #10 thread_hammer (opaque_weak=0x1002db44) at /home/amodra/src/gcc-current/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:132 #11 0x0fd5749c in start_thread () from /lib/power7/libpthread.so.0 #12 0x0fc92160 in clone () from /lib/power7/libc.so.6