You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Markus Duft (JIRA)" <ji...@apache.org> on 2006/09/14 11:35:22 UTC
[jira] Created: (STDCXX-287) 15d ios_base->_C_usr causes crash on
windows
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
[jira] Updated: (STDCXX-287) 15d ios_base->_C_usr causes crash on
windows
Posted by "Markus Duft (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-287?page=all ]
Markus Duft updated STDCXX-287:
-------------------------------
sorry, wasn't really a bug... i now somehow made it by setting some defines and recompiling everything several times ;o)
> 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....
> after the crash i'm in ios_base::_C_tie where you try to call _C_usr->_C_tie
--
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
[jira] Closed: (STDCXX-287) 15d ios_base->_C_usr causes crash on
windows
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-287?page=all ]
Martin Sebor closed STDCXX-287.
-------------------------------
Resolution: Cannot Reproduce
> 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....
> after the crash i'm in ios_base::_C_tie where you try to call _C_usr->_C_tie
--
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
[jira] Updated: (STDCXX-287) 15d ios_base->_C_usr causes crash on
windows
Posted by "Markus Duft (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-287?page=all ]
Markus Duft updated STDCXX-287:
-------------------------------
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
was:
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....
> 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....
> after the crash i'm in ios_base::_C_tie where you try to call _C_usr->_C_tie
--
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