Hello,

I don't know why, but this scenario crashes for me with gcc 4.7.0
rubenvb on Windows 8 x64:
"#include <fstream>
struct Testfile
{
std::fstream t;
}
int main()
{
Testfile t;
}"

backtrace:

#0 6FCB8F96 ?? () (??:??)
#1 004013ED __tmainCRTStartup()
(/home/ruben/mingw-w64/toolchain/src/mingw-w64/tags/v2.0.3/mingw-w64-crt/crt/crtexe.c:307)
#2 75C0DE7D ?? () (??:??)
#3 77AE4B54 ?? () (??:??)
#4 77AE4B27 ?? () (??:??)
#5 ?? ?? () (??:??)

When using "Step Into" with GDB 7.4.1 till it crashes, it stops here:
<fstream>
basic_fstream()
: __iostream_type(), _M_filebuf()
{ this->init(&_M_filebuf); }

Thanks,

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to