[Bug 45194] Painkiller Multiplayer demo (Dreamcatcher) 1.0 crashes at start (overflow in game engine time calculation)

WineHQ Bugzilla wine-bugs at winehq.org
Fri Feb 26 06:48:11 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=45194

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEEDINFO                    |RESOLVED
            Summary|Painkiller game crashes at  |Painkiller Multiplayer demo
                   |start                       |(Dreamcatcher) 1.0 crashes
                   |                            |at start (overflow in game
                   |                            |engine time calculation)

--- Comment #26 from Anastasius Focht <focht at gmx.net> ---
Hello Henri,

--- quote ---
It's not a divide by zero.  Take a look at the stack dump, the divisor at esp+4
is not zero.

This happens when your uptime is too high: rdtsc returns a 64-bit result but
result of division must fit in a 32-bit register.  That's why I said a reboot
will fix it.
--- quote ---

my bad, I missed that part. Thanks for the correction.

EDX = 0x00554a30 is indeed too large.

The demo was probably never patched (re-released) again but the real game.

https://www.pcgamingwiki.com/wiki/Painkiller

Protection ID scan for documentation:

--- snip ---
-=[ ProtectionID v0.6.9.0 DECEMBER]=-
(c) 2003-2017 CDKiLLER & TippeX
Build 24/12/17-21:05:42
Ready...

Scanning -> C:\Program Files
(x86)\DreamCatcher\PainkillerMultiplayerDemo\Bin\painkillerdemo.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 1167360 (011D000h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x40F2B4AF -> Mon 12th Jul 2004 15:56:31 (GMT)
[TimeStamp] 0x40F2B4AF -> Mon 12th Jul 2004 15:56:31 (GMT) | PE Header | - |
Offset: 0x00000120 | VA: 0x00400120 | -
[TimeStamp] 0x40F2B4AF -> Mon 12th Jul 2004 15:56:31 (GMT) | DebugDirectory | -
| Offset: 0x000447F4 | VA: 0x004447F4 | -
[LoadConfig] Struct determined as v2 (Expected size 72 | Actual size 72)
[!] Executable uses SEH Tables (/SAFESEH) (253 calculated 253 recorded... 0
invalid addresses) 
[File Heuristics] -> Flag #1 : 00000100000000000000000000000000 (0x04000000)
[Entrypoint Section Entropy] : 6.52 (section #0) ".text   " | Size : 0x420CB
(270539) byte(s)
[DllCharacteristics] -> Flag : (0x0000) -> NONE
[SectionCount] 5 (0x5) | ImageSize 0x122000 (1187840) byte(s)
[VersionInfo] Company Name : People Can Fly
[VersionInfo] Product Name : Painkiller
[VersionInfo] Product Version : 1.0.0.0
[VersionInfo] File Description : Painkiller
[VersionInfo] File Version : 0.0.1.5
[VersionInfo] Original FileName : PainGame.exe
[VersionInfo] Internal Name : PainGame.exe
[VersionInfo] Legal Copyrights : (c) People Can Fly.  All rights reserved.
[ModuleReport] [IAT] Modules -> Engine.dll | KERNEL32.dll | USER32.dll |
GDI32.dll | comdlg32.dll | WINSPOOL.DRV | ADVAPI32.dll | SHELL32.dll |
COMCTL32.dll | SHLWAPI.dll | OLEAUT32.dll | WS2_32.dll
[ModuleReport] [DelayImport] Modules -> OLEACC.dll
[Debug Info] (record 1 of 1) (file offset 0x447F0)
Characteristics : 0x0 | TimeDateStamp : 0x40F2B4AF (Mon 12th Jul 2004 15:56:31
(GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0)
Type : 2 (0x2) -> CodeView | Size : 0x58 (88) 
AddressOfRawData : 0x4F760 | PointerToRawData : 0x4F760
CvSig : 0x53445352 | SigGuid DFCC8F5B-44B6-462E-8424798D4993EC86
Age : 0x1 (1) | Pdb :
c:\painkiller\Game\Bin\ObjectsRelease\PainEditor\PainEditor.pdb
[CompilerDetect] -> Visual C++ 7.1 (Visual Studio 2003)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 0.847 Second(s) [00000034Fh (847) tick(s)] [506 of 580 scan(s)
done]
--- snip ---

Marking 'INVALID' then since this is a bug in the game demo.

Regards

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