[Bug 24287] New: stl_test crashes

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 6 00:54:21 CDT 2010


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

           Summary: stl_test crashes
           Product: Wine
           Version: 1.3.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: msvcp
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


I thought it'd be fun to try an STL test suite on Wine, so I did:
  sh winetricks vc2005express
  cd ~/.wine/drive_c
  wget http://petef.22web.net/cpp/stltest-1.00.tar.gz
  tar -xzvf stltest-1.00.tar.gz
  chmod +w -R stltest
  cd stltest
  wget http://kegel.com/wine/stltest.patch
  patch -p1 < stltest.patch
  cd ~/"drive_c/Program Files/Microsoft Visual Studio 8/Common7/Tools"
  wine cmd
and then, in cmd,
  vsvars32
  cd \stltest
  nmake vc.mak

I then copied the resulting stl_test.exe{,.manifest} to a fresh wineprefix,
unsullied by installing Visual C++ or its runtimes, and ran it.  
Crashed on the very first test case as follows (according to +relay,+seh):

0009:Call msvcp90.?length@?$char_traits at D@std@@SAIPBD at Z(0046170c) ret=0040966d
0009:Call ntdll.strlen(0046170c "Results of accum1_test:") ret=7ed1b92c
0009:Ret  ntdll.strlen() retval=00000017 ret=7ed1b92c
0009:Ret  msvcp90.?length@?$char_traits at D@std@@SAIPBD at Z() retval=00000017
ret=0040966d
trace:seh:raise_exception code=c0000005 flags=0 addr=0x40967b ip=0040967b
tid=0009
...
wine: Unhandled page fault on read access to 0x90909094 at address 0x40967b
(thread 0009), starting debugger...

'winetricks vcrun2005' works around this, and the executable produces
the same results as on Vista then.

Annoyingly, regardless of /Zi or /Z7, I didn't get a good stack dump
out of winedbg :-(

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