[Bug 11121] Night Watch crashes on startup (StarForce v3, loader: section SizeOfRawData vs. FileAlignment violation, zero padding of section remainder wipes out code executed at runtime)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Oct 17 04:23:25 CDT 2020


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|https://www.fileplanet.com/ |https://web.archive.org/web
                   |archive/p-56695/Night-Watch |/20201017090011/https://fil
                   |-Updated-Demo/download      |es.lonebullet.com/night-wat
                   |                            |ch/demos/night-watch-update
                   |                            |d.zip

--- Comment #22 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

revisiting, obviously still present.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/NightWatch/Run

$ wine ./NWatch.exe
...
wine: Unhandled page fault on write access to 00000000 at address 0090A810
(thread 0024), starting debugger...
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code
(0x0090a810).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0090a810 ESP:0031f99c EBP:00000000 EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:7a3f2528 ECX:7a3f2528 EDX:0000005f
 ESI:7a3f2528 EDI:00000000
...
Backtrace:
=>0 0x0090a810 in nwatch (+0x50a810) (0x00000000)
0x0090a810: addb        %al,0x0(%eax)
Modules:
Module  Address                 Debug info      Name (40 modules)
PE        320000-  341000       Deferred        sechost
PE        350000-  3a6000       Deferred        setupapi
PE        3b0000-  3ba000       Deferred        version
PE        3c0000-  3f3000       Deferred        usp10
PE        400000-  afc000       Export          nwatch
PE        b00000-  c22000       Deferred        comctl32
PE        c30000-  e07000       Deferred        user32
PE        e10000-  e79000       Deferred        rpcrt4
PE        e80000-  e93000       Deferred        imm32
PE        ea0000-  f85000       Deferred        ole32
PE        f90000-  fcf000       Deferred        combase
PE        fd0000-  fff000       Deferred        gdpfile
PE       1000000- 1068000       Deferred        lifestudioheadapi
PE       1070000- 10eb000       Deferred        msvcp71
PE       1160000- 1241000       Deferred        oleaut32
PE       1250000- 12fc000       Deferred        winmm
PE       1300000- 131c000       Deferred        msacm32
PE       1320000- 134d000       Deferred        d3d9
PE       1350000- 13e4000       Deferred        fmod
PE       13f0000- 13fe000       Deferred        wsock32
PE       1400000- 140c000       Deferred        imagehlp
PE       1410000- 146b000       Deferred        dbghelp
PE       1950000- 1976000       Deferred        uxtheme
PE       24f0000- 2506000       Deferred        mmdevapi
PE       2510000- 254b000       Deferred        dsound
PE      10000000-10031000       Deferred        advapi32
PE      7a840000-7a844000       Deferred        opengl32
PE      7b000000-7b099000       Deferred        kernelbase
PE      7b600000-7b806000       Deferred        kernel32
PE      7bc00000-7bc7f000       Deferred        ntdll
...
Threads:
process  tid      prio (all id:s are in hex)
00000020 (D) C:\Program Files (x86)\NightWatch\Run\NWatch.exe
        00000024    0 <==
...
--- snip ---

Adding links to snapshots via Internet Archive:

From: https://www.lonebullet.com/file/demos/night-watch-updated/4173

https://web.archive.org/web/20201017090011/https://files.lonebullet.com/night-watch/demos/night-watch-updated.zip

--- snip ---
$ unzip -l night-watch-updated.zip 
Archive:  night-watch-updated.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
480145214  06-22-2006 17:28   Night_Watch_DEMO_english.exe
---------                     -------
480145214                     1 file
--- snip ---

https://web.archive.org/web/20201017090407/https://files.lonebullet.com/night-watch/cracks/night-watch-v101-english-no-cdfixed-exe.rar
(pass: 'lonebullet')

Wine source:

https://source.winehq.org/git/wine.git/blob/0c249e6125fc9dc6ee86b4ef6ae0d9fa2fc6291b:/dlls/ntdll/unix/virtual.c#l2148

$ sha1sum night-watch-updated.zip
d524c349bb58ea8249eb60bead58ee608de5ad31  night-watch-updated.zip

$ du -sh night-watch-updated.zip
445M    night-watch-updated.zip

$ wine --version
wine-5.19-167-g0c249e6125f

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