Subject: [Boost-bugs] [Boost C++ Libraries] #7292: exception thread_resource_error throw by boost_thread not seen exe (gcc-mingw-4.6.0)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-26 19:07:48
#7292: exception thread_resource_error throw by boost_thread not seen exe (gcc-
mingw-4.6.0)
------------------------------+---------------------------------------------
Reporter: viboes | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.51.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
The following throw exception
{{{
boost::throw_exception(thread_resource_error(system::errc::resource_deadlock_would_occur,
"boost thread: trying joining itself"));
}}}
thrown by boost_thread when a thread tries to join itself is not seen by
the executable associated to the test thread__join_p.test
{{{
gcc.link ..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.exe
testing.capture-output
..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-mingw-4.6.0\debug
\threading-multi\thread__join_p.run
====== BEGIN OUTPUT ======
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error>
>'
what(): boost thread: trying joining itself: Trop de fichiers ouverts
pour un partage
EXIT STATUS: 3
====== END OUTPUT ======
set PATH=d:\boost\trunk\bin.v2\libs\chrono\build\gcc-mingw-4.6.0\debug
\threading-multi;d:\boost\trunk\bin.v2\libs\system\build\gcc-
mingw-4.6.0\debug\threading-multi;d:\boost\trunk\bin.v2\libs\thread\build
\gcc-mingw-4.6.0\debug\threading-
multi;c:\MINGW\gcc-4.6.0S\bin;c:\MINGW\gcc-4.6.0S\lib;c:\MINGW\gcc-4.6.0S\lib32;c:\MINGW\gcc-4.6.0S\lib64;%PATH%
"..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.exe" >
"..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.output" 2>&1
set status=%ERRORLEVEL%
echo. >> "..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.output"
echo EXIT STATUS: %status% >>
"..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.output"
if %status% EQU 0 (
copy "..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.output"
"..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.run"
)
set verbose=0
if %status% NEQ 0 (
set verbose=1
)
if %verbose% EQU 1 (
echo ====== BEGIN OUTPUT ======
type "..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-
mingw-4.6.0\debug\threading-multi\thread__join_p.output"
echo ====== END OUTPUT ======
)
exit %status%
...failed testing.capture-output
..\..\..\bin.v2\libs\thread\test\thread__join_p.test\gcc-mingw-4.6.0\debug
\threading-multi\thread__join_p.run...
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7292> 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:10 UTC