http://bugs.winehq.org/show_bug.cgi?id=4482
Summary: msvcrt: Serious Sam First Encounter demo still crashes Product: Wine Version: CVS Platform: Other URL: http://files.seriouszone.com/catdisplay.php?catid=36 OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: xerox_xerox2000@yahoo.co.uk
Hi, there was already a bug report about this (bug 3528) but i now get a different crash , so the issue still doesn't seem to be fixed. After installation and trying to run Serious Sam the _first_ time i get: wine: Unhandled page fault on read access to 0x54bbadc2 at address 0x54bbadc2 (thread 001e), starting debugger... WineDbg starting on pid 0x3e Unhandled exception: page fault on read access to 0x54bbadc2 in 32-bit code (0x54bbadc2). In 32 bit mode. Register dump: CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033 EIP:54bbadc2 ESP:7fc5fae4 EBP:7fc5fc10 EFLAGS:00010216( - 00 -RIAP1) EAX:7ff7a306 EBX:7f965524 ECX:00000000 EDX:7ff7a304 ESI:7ff7a306 EDI:7fc50064 Stack dump: 0x00000000: 00000000 00000000 00000000 00000000 0x00000010: 00000000 00000000 00000000 00000000 0x00000020: 00000000 00000000 00000000 00000000 0x00000030: 00000000 00000000 00000000 00000000 0x00000040: 00000000 00000000 00000000 00000000 0x00000050: 00000000 00000000 00000000 00000000 Backtrace: =>1 0x54bbadc2 (0x54bbadc2) 2 0x7f95e833 MSVCRT_vsnprintf(str=0x7fefc678, len=0x100, format=0x604c7538, valist=0x7fc5fc84) [/LFS/winecvs/wine/dlls/msvcrt/wcs.c:743] in msvcrt (0x7f95e833) 3 0x600c76c9 ??5@YAAAVCTStream@@AAV0@AAVCTString@@@Z+0x419 in engine (0x600c76c9) 4 0x604b20b1 in game (+0x120b1) (0x604b20b1) 5 0x604b2202 in game (+0x12202) (0x604b2202) 6 0x604b9613 in game (+0x19613) (0x604b9613) 7 0x00420f69 in serioussam (+0x20f69) (0x00420f69) 8 0x00421872 in serioussam (+0x21872) (0x00421872) 9 0x00422a80 in serioussam (+0x22a80) (0x00422a80) 10 0x00423828 in serioussam (+0x23828) (0x00423828) 11 0x00425c70 EntryPoint+0x134 in serioussam (0x00425c70) 12 0x7b8648fb start_process+0xd3(arg=0x0) [/LFS/winecvs/wine/dlls/kernel/process.c:1027] in kernel32 (0x7b8648fb) 13 0xb7f5276f wine_switch_to_stack+0x17 in libwine.so.1 (0xb7f5276f)
I don't know for sure that this is a bug in _vsnprintf.I've put a few extra traces in it, and attach the output hereafter. Maybe someone who's familiar with might see something suspicious
Note it runs fine with native msvcrt, and the bug is only present when i start Serious Sam the first time.