From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30312 invoked by alias); 25 May 2012 22:16:58 -0000 Received: (qmail 30301 invoked by uid 22791); 25 May 2012 22:16:57 -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; Fri, 25 May 2012 22:16:42 +0000 From: "ja11sop at yahoo dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53490] Segmentation Fault when accessing std::set Date: Fri, 25 May 2012 22:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ja11sop at yahoo dot co.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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-05/txt/msg02519.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53490 --- Comment #5 from Jamie Allsop 2012-05-25 22:16:41 UTC --- (In reply to comment #2) > I only tried briefly but couldn't reproduce a crash with boost 1.47, will try > later with boost 1.49 For clarity I should say I just tried with a vanilla build of 1.47 and get essentially the same backtrace here. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7933427 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) bt #0 0x00007ffff7933427 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #1 0x0000000000464233 in std::_Rb_tree_iterator::operator-- (this=0x7fffffffdc60) at /usr/include/c++/4.7/bits/stl_tree.h:203 #2 0x0000000000462db0 in std::_Rb_tree, std::less, std::allocator >::_M_insert_unique (this=0x6a4540, __v=...) at /usr/include/c++/4.7/bits/stl_tree.h:1295 #3 0x0000000000461c2b in std::set, std::allocator >::insert ( this=0x6a4540, __x=...) at /usr/include/c++/4.7/bits/stl_set.h:415 #4 0x000000000047afb5 in boost::program_options::store (options=..., xm=..., utf8=false) at libs/program_options/src/variables_map.cpp:98 #5 0x0000000000460480 in store_properties (argc=2, argv=0x7fffffffe0b0) at program_options_test.cpp:31 #6 0x00000000004607db in main (argc=1, argv=0x7fffffffe1c8) at program_options_test.cpp:64 (gdb)