[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segmentation fault in std::vector...

> From: "Thomas Schwere" <schwere@xxxxxxx.ch>
> Date: Mon, 30 Jun 2003 18:59:18 +0200

> in our application we are using the vector class of the c++ stl. after a few
> hours a segmentation fault happens somewhere in the vector class (see core
> dump below). did anyone experienced similar problems in the stl? we also see
> that the free memory decreases step by step. Maybe there is a memory leak
> within the stl?

Do you have a small program that exhibits this behavior?
Otherwise it could be tricky to track down.

> There are also some inconsistency while loading the shared library
> /lib/libstdc++-2.so.3 (see below). any ideas?

I know there's special instructions for getting gdb to
understand the right location of shared libraries, but I forget;
I'll have to pass on this.

brgds, H-P