segfault in ofstream destructor
Rob Willis
rob@e-critical.com
Wed Jun 14 19:34:00 GMT 2000
When i try running the following trivial program, i'm getting a segfault
at:
g++-v3/bits/std_fstream.h:
~basic_ofstream()
{
delete _M_streambuf; // seg faults here
...
}
The program:
#include <fstream>
int main()
{
std::ofstream ofs;
}
Compiled with:
c++ -g test.cpp
I am using the gcc snapshot: egcs-20000612.tar.gz
configure --prefix=/usr/local --enable-libstdcxx-v3
--enable-languages=c++
Running on a PIII/600 with Redhat 6.2.
Any ideas??
-Rob
--
Rob Willis
rob@e-critical.com
760-822-1439
More information about the Libstdc++
mailing list