[Bug other/27156] SIGSEGV in operator delete() / wrong-code?
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Wed May 10 22:37:00 GMT 2006
------- Comment #12 from pluto at agmk dot net 2006-05-10 22:36 -------
following reduced testcase works with libstdc++ and segv with stlport.
#include <list>
#include <vector>
struct A { };
int main()
{
std::list< A* > l;
std::vector< A* > v( l.end(), l.end() );
return 0;
}
g++ testDrv.cpp -o testDrv -pthread -O2 -fstrict-aliasing -Wall
./testDrv
g++ testDrv.cpp -o testDrv -I/usr/include/stlport -pthread \
-O2 -fstrict-aliasing -Wall -nodefaultlibs -lstlport -lc
./testDrv
*** glibc detected *** ./testDrv: free(): invalid pointer: 0x00002b96b71fb1c0
it looks like a stlport bug.
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27156
More information about the Gcc-bugs
mailing list