Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6527: Segmentation fault from program_options with intel compiler and openmp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-22 23:04:29
#6527: Segmentation fault from program_options with intel compiler and openmp
-------------------------------------------------------+--------------------
Reporter: Ryan Scott Davis <rsdavis@â¦> | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords: program_options intel openmp
-------------------------------------------------------+--------------------
Comment (by anonymous):
I see something similar with gcc4.7 and boost 1.49.
{{{
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff772b427 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0x00007ffff772b427 in ?? () from /usr/lib/x86_64-linux-
gnu/libstdc++.so.6
#1 0x0000000000b04229 in std::_Rb_tree_iterator<std::string>::operator--
(this=0x7fffffffd7a0)
at /usr/include/c++/4.7/bits/stl_tree.h:203
#2 0x0000000000aedba8 in std::_Rb_tree<std::string, std::string,
std::_Identity<std::string>, std::less<std::string>,
std::allocator<std::string> >::_M_insert_unique<std::string const&>
(this=0x10aab10, __v=...)
at /usr/include/c++/4.7/bits/stl_tree.h:1295
#3 0x0000000000ad6d3f in std::set<std::string, std::less<std::string>,
std::allocator<std::string> >::insert (
this=0x10aab10, __x=...) at /usr/include/c++/4.7/bits/stl_set.h:415
#4 0x0000000000cf00dd in boost::program_options::store (options=...,
xm=..., utf8=false)
at libs/program_options/src/variables_map.cpp:98
#5 ...
}}}
I need to do some more investigation but this code has worked fine in gcc
4.6 and with boost 1.47.
Jamie
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6527#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC