Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
4.1.3
-
None
-
None
-
Windows XP, VS71, stdcxx 4.1.3 config: 15d
Description
On Windows i tried to compile a simple program like this:
#include <iostream>
int main(void)
{
std::cerr << "Hello World: << 123 << std::endl;
return 0;
}
this crashes at the operator<< with the integer, because ios_base::_C_usr = 0x00000020 which for sure is wrong. Is it uninitialized? i set a breakpoint in the ios_base constructor, but it was never called, but this may be a shared library issue. May one will need to initialize in DllMain or something....
after the crash i'm in ios_base::_C_tie where you try to call _C_usr->_C_tie