Boost Users :
Subject: Re: [Boost-users] [filesystem] path destructor crash
From: Patrick Steele (steele.patrick_at_[hidden])
Date: 2013-09-04 07:43:34
thanks for the help. I tried using _SECURE_SCL=1 and _SECURE_SCL=0 but
still got the same crash.
I see that other variables currently being used in the debug build of my
Do you think that any of these might be the problem?
On 4 September 2013 09:04, Pekka Seppänen <
> On 4.9.2013 10:45, Patrick Steele wrote:
>> Bump. Does anyone have any idea why this code is causing a crash please?
>> msvcr110d.dll!operator delete(void * pUserData) Line 52 C++
>> * _Ptr, unsigned int __formal) Line 586 C++
>> >::deallocate(wchar_t * _Ptr, unsigned int _Count) Line 888 C++
>> >::_Tidy(bool _Built, unsigned int _Newsize) Line 2265 C++
>> >() Line 965 C++
> just guessing, but make sure you're using binary compatible versions of
> built Boost libraries and your application.
> It could be that you're building your app eg. with _SECURE_SCL=0 (or any
> flag that modifies runtime behaviour) but Boost with _SECURE_SCL=1 (which
> is the default for debug builds). Or vice versa.
> That would explain why the crash occurs in the string destructor; you're
> constucting it without additional debug checking (= in your app), but when
> destructor is called (= in filesystem), it expects the additional
> information/members/data to be there (but it isn't) that it tries to tidy.
> -- Pekka
> Boost-users mailing list
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net