Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost 1.39.0 program options.
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-12-07 01:49:59


Sunil Thomas wrote:

> Hi,
>
> Has any one else had a *glibc error (invalid free/delete issue)* pointing
> to boost_program-options in
> boost 1.39.0? Program exits with glibc error (double free; although nothing
> obvious stands out). Running
> valgrind hasn't really helped a lot. Is this a known boost issue in 1.39.0?

Could you provide the exact error message, including any backtraces? If you
get a similar error under valgrind, also provide complete error message from
it.

>
> I am using non-multithreaded versions of the boost libs:
> program-options, regex, iostreams, python,
> filesystem, system, date_time, unit_test_framework, and multithreaded
> version only for boost lib: thread.

This is non-starter. You should use MT versions of everything. Please make sure
you link to MT versions of *every* boost library, and that every source file
in your project is compiled with the -pthread option. Only then see if the
issue reproduces.

- 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