[Bug 45922] 32-bit Black Desert Online 1.0.4.x client crashes on startup ( custom imports resolver can' t cope with some ucrtbase functions being forwarded to ntdll)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 18 15:31:24 CDT 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Fixed by SHA1|                            |c99d14d04de1e3958b6f293f794
                   |                            |22a40367308ba
         Resolution|---                         |FIXED
            Summary|Black Desert Online 1.0.4.x |32-bit Black Desert Online
                   |crashes on startup (custom  |1.0.4.x client crashes on
                   |imports resolver can't cope |startup (custom imports
                   |with some ucrtbase          |resolver can't cope with
                   |functions being forwarded   |some ucrtbase functions
                   |to ntdll)                   |being forwarded to ntdll)
             Status|NEW                         |RESOLVED

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

this is fixed by commits: 

*
https://source.winehq.org/git/wine.git/commitdiff/4d0a008e5d0f5984fa6c8088cbe0f0be3702dace
*
https://source.winehq.org/git/wine.git/commitdiff/32b94e6b2d4956e60f211020b15faa4244f92332
*
https://source.winehq.org/git/wine.git/commitdiff/98eb7171e1d61ec24d337d11b672373dfac19db8
*
https://source.winehq.org/git/wine.git/commitdiff/66b38682ebc8e1e4e280a06210042f3ca0567bda
*
https://source.winehq.org/git/wine.git/commitdiff/c69de2c27c0002ca9ccd227d3a6c2e69f68c7eef
*
https://source.winehq.org/git/wine.git/commitdiff/48dbb1786195167b862a6e8c163adb52e4801e18
*
https://source.winehq.org/git/wine.git/commitdiff/f43ae5e8034c1c9afd339e1aa1be8d013eb0f68b
*
https://source.winehq.org/git/wine.git/commitdiff/c99d14d04de1e3958b6f293f79422a40367308ba

Thanks Piotr

--- snip ---
...
002d:Call KERNEL32.GetPrivateProfileStringW(02a75d90 L"SERVICE",02a75e04
L"nationType",02a12b34 L"",0032c78c,00000100,0721a558 L"c:/program files
(x86)/black desert online/service.ini") ret=00cc9dfb
002d:Ret  KERNEL32.GetPrivateProfileStringW() retval=00000001 ret=00cc9dfb
002d:Call ucrtbase._errno() ret=00c8b48e
002d:Ret  ucrtbase._errno() retval=00165df8 ret=00c8b48e
002d:Call ucrtbase.memset(0032c3f4,00000000,00000080) ret=00c8b4a5
002d:Ret  ucrtbase.memset() retval=0032c3f4 ret=00c8b4a5
002d:Call ucrtbase.iswspace(00000030) ret=00c8b4bf
002d:Ret  ucrtbase.iswspace() retval=00000000 ret=00c8b4bf
002d:Call ucrtbase.wcstol(0032c3f4 L"0",0032c3f0,0000000a) ret=00c8b513
002d:Ret  ucrtbase.wcstol() retval=00000000 ret=00c8b513
002d:Call KERNEL32.GetPrivateProfileStringW(0032c9d0 L"NA",02a75de0
L"AUTHENTIC_DOMAIN",02a12b34 L"",0032c78c,00000100,0721a558 L"c:/program files
(x86)/black desert online/service.ini") ret=00cc9e44
002d:Ret  KERNEL32.GetPrivateProfileStringW() retval=0000000e ret=00cc9e44
002d:Call KERNEL32.WideCharToMultiByte(00000000,00000000,0032c78c
L"49.236.159.195",0000000f,0032c68c,00000100,00000000,00000000) ret=00cc9e86
002d:Ret  KERNEL32.WideCharToMultiByte() retval=0000000f ret=00cc9e86
002d:Call ucrtbase.memcpy(038e2af8,0032c68c,0000000e) ret=005e11e9
002d:Ret  ucrtbase.memcpy() retval=038e2af8 ret=005e11e9
002d:Call KERNEL32.GetPrivateProfileStringW(0032c9d0 L"NA",02a75e30
L"AUTHENTIC_PORT",02a12b34 L"",0032c78c,00000100,0721a558 L"c:/program files
(x86)/black desert online/service.ini") ret=00cc9efd
002d:Ret  KERNEL32.GetPrivateProfileStringW() retval=00000004 ret=00cc9efd
002d:Call ucrtbase._wtoi(0032c78c L"8888") ret=00cc9f0a
002d:Ret  ucrtbase._wtoi() retval=000022b8 ret=00cc9f0a  
...
--- snip ---

The next problem is another XIGNCODE3 protection scheme incompatibility
(reports 'Failed to init security').

$ wine --version
wine-3.18-105-g63cd3de5e8

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