Thanks David. I'll probably be tied up on other issues for 1-3 days but I will give this a try when I can. Regards, Jason -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of David Walthall Sent: Wednesday, November 01, 2006 11:03 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] boost filesystem Aubrey, Jason wrote:
Hi,
When I run the following program it runs successfully but throws an exception during shutdown. I don't know why, but it seems that the call to boost::filesystem::file_size() is corrupting memory somehow. This example only shows the call to file_size() but I think I've seen similar trouble with other calls within boost::filesystem.
Am I doing something wrong here or is this a bug?
Regards, Jason Aubrey
Jason,
When something like this happens, I have a function that checks all of
the heap for corruption errors. If you place enough calls to this
function, you can use it to find where the corruption happens.
David
#include