This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: ostringstream: problems with str() function


On Thu, Aug 24, 2006 at 04:36:22PM +0200, Jordan, Laszlo (GE Healthcare) wrote:
> >  I had a crash in our software, which occured randomly. The valgrind logs
> >  and the stack trace pointed to a code snippet, which uses ostringstream
> >  for data conversion....
> >  The problem occured with gcc 3.4.2 and 3.4.4 compilers with -O2
> >  optimization...

> >  valgrind tool signs the following problems:
> >  ==5443== Conditional jump or move depends on uninitialised value(s)
> >  ==5443==    at 0x11CD3445: std::string::string(std::string const&) (in
> >  /usr/lib64/libstdc++.so.6.0.7)

On Thu, Aug 24, 2006 at 09:48:10PM +0200, FÖLDY Lajos wrote:
> probably a library version mismatch, libstdc++.so.6.0.7 belongs to GCC 
> 4.1.0.

Good catch.  I guess that resolves the issue (and explains why others
have failed to duplicate it).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]