http://bugs.winehq.org/show_bug.cgi?id=27692
Summary: msvcp90/string test crashes when built with gcc 4.6.0 Product: Wine Version: 1.3.23 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: msvcp AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Unhandled exception: page fault on read access to 0x00000017 in 32-bit code (0x7ebc60b3). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7ebc60b3 ESP:0033fa88 EBP:00000003 EFLAGS:00010246( R- -- I Z- -P- ) EAX:7ef2f305 EBX:7ec14ff4 ECX:0033fc68 EDX:00000000 ESI:00000003 EDI:00000003 Stack dump: 0x0033fa88: 7ef31a21 7ef31a21 0033fbd8 7ebc5246 0x0033fa98: 0033fc84 7ef31a21 00000007 7ec14ff4 0x0033faa8: 0033fc84 7ec14ff4 0033fc84 7ebc54f4 0x0033fab8: 0033fc84 7ef31a21 00000000 7ef33ff4 0x0033fac8: 7ebc3d68 00000003 0033fc84 7ef2f305 0x0033fad8: 0033fc68 00000000 00000003 00000003 Backtrace: =>0 0x7ebc60b3 MSVCP_basic_string_char_compare_substr_substr+0x33(this=0x33fc68, pos=0, num=0x3, compare=0x3, off=0x3, count=0x3) [/home/austin/wine-git/dlls/msvcp90/string.c:1034] in msvcp90 (0x00000003) 1 0x7ef2f305 func_string+0x1624() in msvcp90_test (0x0033fc84) 2 0x0011042e (0x7ef32528) 0x7ebc60b3 MSVCP_basic_string_char_compare_substr_substr+0x33 [/home/austin/wine-git/dlls/msvcp90/string.c:1034] in msvcp90: movl 0x14(%ebp),%eax 1034 if(compare->size < off)
works with gcc 4.4.5, though. Compiling with -Wno-fomit-frame-pointer doesn't help.
http://bugs.winehq.org/show_bug.cgi?id=27692
--- Comment #1 from Austin English austinenglish@gmail.com 2011-07-07 20:09:33 CDT --- Improved by http://source.winehq.org/git/wine.git/commitdiff/99cdacb93b7d5ccfb4219c8ccbd...
but still crashes for me: austin@aw21 ~/wine-git/dlls/msvcp90/tests $ make string.ok ../../../tools/runtest -q -P wine -M msvcp90.dll -T ../../.. -p msvcp90_test.exe.so string.c && touch string.ok fixme:actctx:parse_depend_manifests Could not find dependent assembly L"microsoft.vc90.crt" (9.0.20718.0) string.c:523: Test failed: ret = 4294967295 wine: Unhandled privileged instruction at address 0x110466 (thread 0009), starting debugger... Unhandled exception: privileged instruction in 32-bit code (0x00110466). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:00110466 ESP:0032fd78 EBP:7ef28cd8 EFLAGS:00210212( R- -- I -A- - ) EAX:00000001 EBX:00000006 ECX:00000000 EDX:7ef2b7c4 ESI:0032fe68 EDI:7efa53bb Stack dump: 0x0032fd78: 7ef23d99 7ef2aff4 7ef2aed8 00000006 0x0032fd88: 0032fe68 7ef27a36 7ef28cd8 001103f0 0x0032fd98: 00000006 00000000 00000000 00000000 0x0032fda8: 00000000 00000000 00000000 00000000 0x0032fdb8: 00000000 00000000 00000000 001103f0 0x0032fdc8: 7ef2aed8 001103f0 656e0030 00000000 Backtrace: =>0 0x00110466 (0x7ef28cd8) 0x00110466: outsl (%esi),%dx
http://bugs.winehq.org/show_bug.cgi?id=27692
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2011-07-08 12:04:06 CDT --- Now fixed by http://source.winehq.org/git/wine.git/commitdiff/23dd500a64ebc160fdea787e983...
austin@aw21 ~/wine-git/dlls/msvcp90/tests $ make test ../../../tools/runtest -q -P wine -M msvcp90.dll -T ../../.. -p msvcp90_test.exe.so misc.c && touch misc.ok fixme:actctx:parse_depend_manifests Could not find dependent assembly L"microsoft.vc90.crt" (9.0.20718.0) ../../../tools/runtest -q -P wine -M msvcp90.dll -T ../../.. -p msvcp90_test.exe.so string.c && touch string.ok fixme:actctx:parse_depend_manifests Could not find dependent assembly L"microsoft.vc90.crt" (9.0.20718.0)
:)
http://bugs.winehq.org/show_bug.cgi?id=27692
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-07-08 13:47:24 CDT --- Closing bugs fixed in 1.3.24.