[filesystem] crash under cygwin

I have a latest cygwin installation (1-5-23-2) with the latest boost package (1.33.1-2). With the following test case... #include <boost/filesystem/operations.hpp> int main(int argc, char** argv) { boost::filesystem::path path1("/etc"); // ok boost::filesystem::path path2("/tmp"); // boom! } ...I'm seeing a crash when the second path object is created... 6 [sig] test 1652 C:\cygwin\home\admin\test.exe: *** fatal error - called with threadlist_ix -1 Hangup This problem didn't crop up until recently, but after rolling back to an earlier version of cygwin the problem persisted. To further confuse things, the problem does not occur on a different machine running the same cygwin version. I have run cygwin diagnostics (cygcheck), and everything reports OK. At this point I'm not sure if this is a cygwin issue or a boost issue or a machine specific issue, so I am posting to both groups in an effort to try and isolate the problem. What additional information should I be trying to gather? Thanks, Brian

Brian wrote:
I have a latest cygwin installation (1-5-23-2) with the latest boost package (1.33.1-2). With the following test case...
#include <boost/filesystem/operations.hpp>
int main(int argc, char** argv) { boost::filesystem::path path1("/etc"); // ok boost::filesystem::path path2("/tmp"); // boom! }
...I'm seeing a crash when the second path object is created...
I also tested it on the following environment: - cygwin 1.5.23-2 - gcc-g++ 3.4.4-3 - boost 1.33.1-2 The result was a crash. But it worked correctly if it links with the library built by bjam. I think that it is a cause that the version of gcc-g++ package used to build boost and the present version are different. Regards, Takeshi Mouri

Thanks Takeshi, I was starting to suspect this may be the case as well, but had not yet accessed the other machine on which this works to confirm the version of gcc/g++ installed there. -Brian -----Original Message----- From: boost-bounces@lists.boost.org on behalf of Takeshi Mouri Sent: Sun 12/31/2006 12:43 AM To: boost@lists.boost.org Subject: Re: [boost] [filesystem] crash under cygwin Brian wrote:
I have a latest cygwin installation (1-5-23-2) with the latest boost package (1.33.1-2). With the following test case...
#include <boost/filesystem/operations.hpp>
int main(int argc, char** argv) { boost::filesystem::path path1("/etc"); // ok boost::filesystem::path path2("/tmp"); // boom! }
...I'm seeing a crash when the second path object is created...
I also tested it on the following environment: - cygwin 1.5.23-2 - gcc-g++ 3.4.4-3 - boost 1.33.1-2 The result was a crash. But it worked correctly if it links with the library built by bjam. I think that it is a cause that the version of gcc-g++ package used to build boost and the present version are different. Regards, Takeshi Mouri _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Brian Hassink
-
Takeshi Mouri