Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10381: Boost log mutex lock failure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-25 10:38:44
#10381: Boost log mutex lock failure
-------------------------------+---------------------
Reporter: anonymous | Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Comment (by mirous):
I'm having the same problem. My environment is debian testing, x86_64, gcc
4.9.1, libboost 1.55.
I stripped down the code to this minimum, main.cpp:
{{{
#include <boost/log/trivial.hpp>
#include <boost/log/utility/setup/console.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
namespace logging = boost::log;
int main(int argc, char *argv[])
{
logging::add_console_log();
logging::add_common_attributes();
BOOST_LOG_TRIVIAL(info) << "Application starting..";
}
}}}
Compiled with
{{{
gcc -Wall -O2 -g -std=c++11 -DBOOST_LOG_DYN_LINK -o main main.cpp -lstdc++
-lboost_log -lpthread -lboost_thread -lboost_system
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10381#comment:3> 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:17 UTC