|
Boost Users : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-09-08 02:48:25
Matt Schuckmann wrote:
> At some point many of my applications that use the boost.program_options
> libraries started crashing when they attempt to print the options
> descriptions
> i.e.
> cout << opt_desc;
>
> I believe the problem started when we upgraded to boost 1.33.1 from
> 1.32.0 and were using MSVC 7.1.
> I'm not trying to figure out the problem using boost 1.33.1 using MSVC
> 8.0.
>
> Here is the deal if I run the debug version of one of my apps with the
> standard --help option it runs fine. If I run the release version part
> of the help message is displayed but then the application crashes
>
> If I attempt to debug the problem by launching the debug version of
> application from the MS debugger I get a debug assertion failed in
> xstring in a _SCL_SECURE_VALIDATE_RANGE check on operator += (basically
> the new secure checked iterators MS had introduced are complaining about
> an out of range iterator). Looking at the call stack the problem
> stemmed from line 361 of options_description.cpp (the format_paragraph
> function).
That specific issue is fixed in CVS HEAD (and RC_1_34_0) quite some time
ago. Can you try that version and let me know if the problem is gone?
- Volodya
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