Boost C++ Libraries: Ticket #12567: boost::filesystem::path::generic crashes on Windows while attempting to build a network share path https://svn.boost.org/trac10/ticket/12567 <p> I'm attempting to check whether a file on a shared path exists. The path is an unaccessible RDC share on WinXP. </p> <p> Code snippet: </p> <pre class="wiki">bool fileOk = boost::filesystem::exists(i_pFileName, ec) &amp;&amp; boost::filesystem::is_regular_file(i_pFileName, ec); </pre><p> pFileName is a const char*, value </p> <pre class="wiki">\\tsclient\E\floating_Jasper.cap </pre><p> That specific path is inaccessible. </p> <p> I can't post the whole call stack because of company policy, but the faulting boost frames are as follows: </p> <pre class="wiki">0:000&gt; kb ChildEBP RetAddr Args to Child WARNING: Stack unwind information not available. Following frames may be wrong. 0012f2f8 78ac872d e06d7363 00000001 00000003 kernel32!RaiseException+0x52 0012f330 02785a5f 0012f354 027939fc 7d335a21 MSVCR100!CxxThrowException+0x45 0012f3b8 02786a5a 0012f460 0012f48c 00000000 boost_filesystem_vc100_mt_1_60!boost::filesystem::path::generic+0xc1f 0012f418 00b47169 0012f460 0012f48c 00000000 boost_filesystem_vc100_mt_1_60!boost::filesystem::detail::status+0x5a </pre><p> I'd expect this to return an error code and not crash. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12567 Trac 1.4.3