Subject: [Boost-bugs] [Boost C++ Libraries] #12914: Program using BOOST_LOG_TRIVIAL exits with code 255
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-19 20:30:00
#12914: Program using BOOST_LOG_TRIVIAL exits with code 255
-------------------------------------------------+-------------------------
Reporter: itsbriany@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: Boost 1.64.0 | Component: log
Version: Boost 1.63.0 | Severity: Problem
Keywords: log BOOST_LOG_TRIVIAL exit code |
runtime error |
-------------------------------------------------+-------------------------
OS: Windows 10
Build: x64 Debug with Static Linkage and Runtime
Boost Version: 1.63.0
Compiler: MSVC 19.10.25017.0
I am simply trying to run an example from BOOST_LOG_TRIVIAL which I have
attached.
The x64 Debug program compiles and links fine, but terminates immediately
at runtime with code 255 (The error log is posted below).
According to MSDN, exit code 255 describes the following:
ERROR_EA_LIST_INCONSISTENT
255 (0xFF)
The extended attributes are inconsistent.
Previously, I had BOOST_LOG_TRIVIAL running fine with Visual Studio 2015
using the MSVC 14.0 toolchain.
However, I recently upgraded to Visual Studio 2017 which ships with the
new MSVC toolchain 14.10.
I am also compiling my program with /MTd (for the debug build) and /MT
(for the release build) flags for static runtime.
Boost log and its dependencies were built with the following:
%BOOST_ROOT%\b2.exe -j 8 link=static runtime-link=static threading=multi
address-model=64
x64 Debug Log:
'BuildDebugging.exe' (Win32): Loaded
'C:\Users\itsbriany\Documents\Projects\CmakeDebugging\build\Debug\BuildDebugging.exe'.
Symbols loaded.
'BuildDebugging.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
Cannot find or open the PDB file.
'BuildDebugging.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'.
Cannot find or open the PDB file.
'BuildDebugging.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
Cannot find or open the PDB file.
The program '[19568] BuildDebugging.exe' has exited with code 255 (0xff).
I was wondering if anyone knows why this is happening.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12914> 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-03-19 20:33:33 UTC