Boost C++ Libraries: Ticket #4567: exists method core-dumps https://svn.boost.org/trac10/ticket/4567 <p> string dir; exists( dir ); --&gt; This coredumps in the following scenario on Linux </p> <p> Say, an existing dir ("/home/user1" ). Now, this has a dir (say, "dir1" ) mounted from windows (thru Samba). Just for clarification - the actual dir exists on Windows that is mounted on Linux. </p> <p> If we write </p> <p> dir = "/home/user1<br />dir1"; exists( dir ); --&gt; crashes </p> <p> However, if we have dir = "/home<br />user1"; exists( dir ); DOES not cause a crash </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4567 Trac 1.4.3 rao_anant@… Wed, 18 Aug 2010 21:08:38 GMT <link>https://svn.boost.org/trac10/ticket/4567#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4567#comment:1</guid> <description> <p> The backslashes didn't get printed correctly. So, I'm using BS for backslash ("\") (the Windows dir symbol). There will be two blackslahes that causes the crash. </p> <p> dir = "/home/user1BSBSdir1"; exists( dir ); --&gt; crashes </p> <p> However, if we have dir = "/homeBSBSuser1"; exists( dir ); DOES not cause a crash </p> <p> For any clarifications, you can contact me by email given. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 18 Aug 2010 21:10:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4567#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4567#comment:2</guid> <description> <p> My email addr: rao_anant @ yahoo.com </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Tue, 31 May 2011 15:40:29 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/4567#comment:3 https://svn.boost.org/trac10/ticket/4567#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> I'm wondering if this is a Samba bug, rather than a Boost.Filesystem bug. </p> <p> Unfortunately, I don't know anything about Samba, so that makes it very difficult to test. </p> <p> If you could run your test program under a debugger and let me know where (i.e. what line in what function) the crash is occurring, that might help. </p> <p> Thanks, </p> <p> --Beman </p> Ticket Beman Dawes Fri, 26 Dec 2014 09:01:08 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4567#comment:4 https://svn.boost.org/trac10/ticket/4567#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> This ticket is being closed because there has been no response to the request for more information. </p> <p> If anyone is still experiencing the reported problem, please open a new ticket. Please supply a sample program that exhibits the crash, and describe the steps needed to reproduce the problem. </p> <p> Thanks, </p> <p> --Beman </p> Ticket