[Bug 43573] Sony Xperia Companion 1.7.x crashes on start (' kernel32.SetFileCompletionNotificationModes' is a stub)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 20 03:54:47 CDT 2017


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
         Resolution|---                         |DUPLICATE
          Component|-unknown                    |kernel32
             Status|UNCONFIRMED                 |RESOLVED
            Summary|Sony Xperia Companion       |Sony Xperia Companion 1.7.x
                   |crashes on start            |crashes on start
                   |                            |('kernel32.SetFileCompletio
                   |                            |nNotificationModes' is a
                   |                            |stub)

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

dupe of bug 38960

The app uses I/O completion ports.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Sony/Xperia Companion

$ WINEDEBUG=+tid,+seh,+relay wine ./XperiaCompanion.exe >> log.txt 2>&1
...
0040:Call KERNEL32.CreateNamedPipeW(0622cc30
L"\\\\.\\pipe\\mojo.63.64.12711946314033619234",40080003,00000000,00000001,00001000,00001000,00001388,00000000)
ret=020a94fa
0040:Ret  KERNEL32.CreateNamedPipeW() retval=000002d0 ret=020a94fa
0040:Call KERNEL32.CreateFileW(0622cc30
L"\\\\.\\pipe\\mojo.63.64.12711946314033619234",c0000000,00000000,0033e744,00000003,40100000,00000000)
ret=020a9588
0040:Ret  KERNEL32.CreateFileW() retval=000002d4 ret=020a9588
0040:Call KERNEL32.ConnectNamedPipe(000002d0,00000000) ret=020a95e5
005f:Call KERNEL32.CreateIoCompletionPort(000002cc,0000023c,0622fb8c,00000001)
ret=00ff19cc
0040:Ret  KERNEL32.ConnectNamedPipe() retval=00000000 ret=020a95e5
0040:Call KERNEL32.GetLastError() ret=020a962a
0040:Ret  KERNEL32.GetLastError() retval=00000217 ret=020a962a
...
005f:Ret  KERNEL32.CreateIoCompletionPort() retval=0000023c ret=00ff19cc
...
005f:Call
KERNEL32.GetQueuedCompletionStatus(0000023c,06e3e55c,06e3e538,06e3e548,000493ba)
ret=00ff157d
005f:Ret  KERNEL32.GetQueuedCompletionStatus() retval=00000001 ret=00ff157d
...
005f:Call KERNEL32.GetProcAddress(7b420000,0379bc6c
"SetFileCompletionNotificationModes") ret=020a44e7
005f:Ret  KERNEL32.GetProcAddress() retval=7b432ee0 ret=020a44e7
005f:Call KERNEL32.GetProcAddress(7b420000,0379bcec "CancelIoEx") ret=020a44f6
005f:Ret  KERNEL32.GetProcAddress() retval=7b42e740 ret=020a44f6
...
005f:Call KERNEL32.SetFileCompletionNotificationModes(000002d0,00000001)
ret=020a4959
...
005f:fixme:file:SetFileCompletionNotificationModes 0x2d0 1 - stub
...
005f:Ret  KERNEL32.SetFileCompletionNotificationModes() retval=00000000
ret=020a4959
...
005f:Call KERNEL32.OutputDebugStringA(0622db48
"[0820/104257:FATAL:raw_channel_win.cc(589)] Check failed:
g_vista_or_higher_functions.Get().SetFileCompletionNotificationModes(
handle_.get().handle, FILE_SKIP_COMPLETION_PORT_ON_SUCCESS). \n") ret=00fb207a
005f:trace:seh:raise_exception code=40010006 flags=0 addr=0x7b446223
ip=7b446223 tid=005f
005f:trace:seh:raise_exception  info[0]=000000bf
005f:trace:seh:raise_exception  info[1]=0622db48
005f:trace:seh:raise_exception  eax=7b43499d ebx=06e3db00 ecx=00000008
edx=06e3d954 esi=06e3db34 edi=06e3db04
005f:trace:seh:raise_exception  ebp=06e3d998 esp=06e3d934 cs=6e30023
ds=f752002b es=6e3002b fs=6e30063 gs=6e3006b flags=00200212
005f:trace:seh:call_stack_handlers calling handler at 0x7b48d3f8 code=40010006
flags=0
005f:trace:seh:__regs_RtlUnwind code=40010006 flags=2
005f:trace:seh:__regs_RtlUnwind eax=00000000 ebx=7b48d394 ecx=06e3d940
edx=06e3d940 esi=06e3d9d4 edi=7b48d394
005f:trace:seh:__regs_RtlUnwind ebp=06e3d468 esp=06e3d438 eip=7b48d37d cs=0023
ds=002b fs=0063 gs=006b flags=00200202
005f:trace:seh:__regs_RtlUnwind calling handler at 0x7bc8e336 code=40010006
flags=2
005f:trace:seh:__regs_RtlUnwind handler at 0x7bc8e336 returned 1
005f:Ret  KERNEL32.OutputDebugStringA() retval=00000000 ret=00fb207a
...
005f:trace:seh:raise_exception code=80000003 flags=0 addr=0xfe6429 ip=00fe642a
tid=005f
005f:trace:seh:raise_exception  info[0]=00000000
005f:trace:seh:raise_exception  info[1]=00000000
005f:trace:seh:raise_exception  info[2]=00000000
005f:trace:seh:raise_exception  eax=06e3db00 ebx=06e3e038 ecx=00000000
edx=000000be esi=06e3e044 edi=06e3e040
005f:trace:seh:raise_exception  ebp=06e3df78 esp=06e3db30 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200246
005f:trace:seh:call_stack_handlers calling handler at 0x7bcad785 code=80000003
flags=0
005f:Call KERNEL32.UnhandledExceptionFilter(06e3d634) ret=7bcad7c0
--- snip ---

-> Wine-Staging patchset:
https://github.com/wine-compholio/wine-staging/tree/master/patches/kernel32-SetFileCompletionNotificationModes

ProtectionID scan:

--- snip ---
-=[ ProtectionID v0.6.8.5 DECEMBER]=-
(c) 2003-2017 CDKiLLER & TippeX
Build 24/12/16-13:09:21
Ready...
Scanning -> C:\Program Files\Sony\Xperia Companion\XperiaCompanion.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 5029248 (04CBD80h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x592EAAEC -> Wed 31st May 2017 11:37:16 (GMT)
[TimeStamp] 0x592EAAEC -> Wed 31st May 2017 11:37:16 (GMT) | PE Header | - |
Offset: 0x00000178 | VA: 0x00400178 | -
[TimeStamp] 0x592EAAEC -> Wed 31st May 2017 11:37:16 (GMT) | DebugDirectory | -
| Offset: 0x003EF4D4 | VA: 0x007F04D4 | -
[TimeStamp] 0x592EAAEC -> Wed 31st May 2017 11:37:16 (GMT) | DebugDirectory | -
| Offset: 0x003EF4F0 | VA: 0x007F04F0 | -
[TimeStamp] 0x592EAAEC -> Wed 31st May 2017 11:37:16 (GMT) | DebugDirectory | -
| Offset: 0x003EF50C | VA: 0x007F050C | -
[TimeStamp] 0x592EAAEC -> Wed 31st May 2017 11:37:16 (GMT) | DebugDirectory | -
| Offset: 0x003EF528 | VA: 0x007F0528 | -
-> File Appears to be Digitally Signed @ Offset 04CB000h, size : 0D80h / 03456
byte(s)
[!] Executable uses SEH Tables (/SAFESEH) (2240 calculated 2196 recorded... 33
invalid addresses) 
[!]    * table may be compressed / encrypted *
[File Heuristics] -> Flag #1 : 00000100000001001101000000000100 (0x0404D004)
[Entrypoint Section Entropy] : 6.52 (section #0) ".text   " | Size : 0x394ADC
(3754716) byte(s)
[DllCharacteristics] -> Flag : (0x8140) -> ASLR | DEP | TSA
[SectionCount] 7 (0x7) | ImageSize 0x4D6000 (5070848) byte(s)
[VersionInfo] Company Name : Sony
[VersionInfo] Product Name : Xperia Companion
[VersionInfo] Product Version : 1.7.2.0
[VersionInfo] File Description : Xperia Companion
[VersionInfo] File Version : 1.7.2.0
[VersionInfo] Original FileName : XperiaCo.exe
[VersionInfo] Internal Name : XperiaCo.exe
[VersionInfo] Legal Copyrights : Copyright (C) 2016
[ModuleReport] [IAT] Modules -> BugSplat.dll | KERNEL32.dll | USER32.dll |
GDI32.dll | COMDLG32.dll | ADVAPI32.dll | SHELL32.dll | ole32.dll |
icloudfetch.dll | libxt.dll | libcef.dll | CFGMGR32.dll | SETUPAPI.dll |
libmicrohttpd-dll.dll | CRYPT32.dll | WS2_32.dll | WININET.dll | IPHLPAPI.DLL |
WINHTTP.dll | RPCRT4.dll | SHLWAPI.dll | MFPlat.DLL | MFReadWrite.dll |
gdiplus.dll
[Debug Info] (record 1 of 4) (file offset 0x3EF4D0)
Characteristics : 0x0 | TimeDateStamp : 0x592EAAEC (Wed 31st May 2017 11:37:16
(GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0)
Type : 2 (0x2) -> CodeView | Size : 0x78 (120) 
AddressOfRawData : 0x400120 | PointerToRawData : 0x3FF120
CvSig : 0x53445352 | SigGuid 27655E86-299A-4A26-BFEE59B2CCBA2AA3
Age : 0x2 (2) | Pdb : C:\Users\Niklas\Documents\GitHub\sonycompanion\Sony
Companion\Win32\Release\XperiaCompanion.pdb
[Debug Info] (record 2 of 4) (file offset 0x3EF4EC)
Characteristics : 0x0 | TimeDateStamp : 0x592EAAEC (Wed 31st May 2017 11:37:16
(GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0)
Type : 12 (0xC) -> Undocumented | Size : 0x14 (20) 
AddressOfRawData : 0x400198 | PointerToRawData : 0x3FF198
[Debug Info] (record 3 of 4) (file offset 0x3EF508)
Characteristics : 0x0 | TimeDateStamp : 0x592EAAEC (Wed 31st May 2017 11:37:16
(GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0)
Type : 13 (0xD) -> Undocumented | Size : 0x3E4 (996) 
AddressOfRawData : 0x4001AC | PointerToRawData : 0x3FF1AC
[Debug Info] (record 4 of 4) (file offset 0x3EF524)
Characteristics : 0x0 | TimeDateStamp : 0x592EAAEC (Wed 31st May 2017 11:37:16
(GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0)
Type : 14 (0xE) -> Undocumented | Size : 0x0 (0) 
AddressOfRawData : 0x0 | PointerToRawData : 0x0
[CdKeySerial] found "SerialNumber" @ VA: 0x003A98A8 / Offset: 0x003A88A8
[CdKeySerial] found "SerialNumber" @ VA: 0x003C211D / Offset: 0x003C111D
[CdKeySerial] found "SerialNumber" @ VA: 0x003C21CF / Offset: 0x003C11CF
[CdKeySerial] found "Unregistered" @ VA: 0x003EE9C8 / Offset: 0x003ED9C8
[CompilerDetect] -> Visual C++ 14.0 (Visual Studio 2015)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 1.986 Second(s) [0000003F6h (1014) tick(s)] [506 of 580 scan(s)
done]
--- snip ---

$ sha1sum XperiaCompanion.exe 
b1ae802d52d7f7bf0913434c67252060424be3a8  XperiaCompanion.exe

$ du -sh XperiaCompanion.exe 
48M    XperiaCompanion.exe

$ wine --version
wine-2.15

Regards

*** This bug has been marked as a duplicate of bug 38960 ***

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