Re: Corruption in C++ constructor

Jonathan Wakely <[email protected]>
Newsgroups gmane.comp.gcc.help,gmane.comp.gdb.devel
Message-ID <CAH6eHdRh2g5-pWf_+ahX27N4pfit0XtmPhn-4WPg6sTCFfJctA@mail.gmail.com>
On 14 August 2014 17:18, navin p wrote:
> Is this a corruption , how do i debug this ?

You can try rebuilding your code with -D_GLIBCXX_DEBUG compiler
option, which turns on debugging checks in the C++ standard library.
That might reveal a bug in your code.

You could also try using the sanitizer features in recent versions of GCC.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.