[Bug 24287] stl_test crashes in first test case, in cout << "Results"

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 6 10:23:59 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24287

Dan Kegel <dank at kegel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|stl_test crashes            |stl_test crashes in first
                   |                            |test case, in cout <<
                   |                            |"Results"

--- Comment #2 from Dan Kegel <dank at kegel.com> 2010-09-06 10:23:59 CDT ---
I rebuilt everything with /Z7, and copied stl_test.* to the pristine
wineprefix, and now I do get a symbolic stack dump.

To build just the one test case, do
  cl /MD /EHsc /Z7 /DMAIN accum1.cpp

Running that in wine fails with
Backtrace:
=>0 0x00401cfb std::operator<<<std::char_traits<char> >+0x4b(_Ostr=0x7ee6bf20,
_Val="Results of accum1_test:") [c:\program files\microsoft visual studio
8\vc\include\ostream:744] in accum1 (0x0032fe08)
  1 0x004012bd main+0x3c(__formal=0x7ee6bf20, __formal=0x40664c)
[c:\stltest\accum1.cpp:15] in accum1 (0x0032fe5c)

Line 744 of ostream is
        streamsize _Pad = _Ostr.width() <= 0 || _Ostr.width() <= _Count
                ? 0 : _Ostr.width() - _Count;

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list