|
Boost Users : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-08-01 02:00:21
William Lederer wrote:
> In compiling and testing the 'first.cpp' program from the example
> directory of the program_options directory, the program fails with the
> message:
>
> *** glibc detected *** ./first: free(): invalid pointer:
> 0x00000000005104e8 ***
>
> I built g++ version 4.1.0 and received the same result.
>
> The hardware is AMD opteron 64 bit, the OS is Linux fedora core 4.
>
> I had upgraded the compiler earlier to 4.0.3, and all other
> compiles/execution work fine and also tried 4.1.0 gcc. Nonetheless, I
> cannot shake the notion that this might be related to the compiler.
>
> Are there any ideas regarding what I might try next?
Well, try on 32-bit box ;-) You can also run the program under valgrind,
that will be more useful in spotting the problem then glibc.
- 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