incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Duft (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-287) 15d ios_base->_C_usr causes crash on windows
Date Thu, 14 Sep 2006 09:35:22 GMT
15d ios_base->_C_usr causes crash on windows
--------------------------------------------

                 Key: STDCXX-287
                 URL: http://issues.apache.org/jira/browse/STDCXX-287
             Project: C++ Standard Library
          Issue Type: Bug
          Components: 27. Input/Output
    Affects Versions: 4.1.3
         Environment: Windows XP, VS71, stdcxx 4.1.3 config: 15d
            Reporter: Markus Duft


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....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message