[Bug 42827] Canon MP Navigator EX 4.x/ 5.x installer crashes due to setupapi SPFILENOTIFY_FILEINCABINET handler/ callback insufficiencies

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 30 05:10:13 CDT 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |Installer
                 CC|                            |focht at gmx.net
    Staged patchset|https://github.com/wine-com |https://github.com/wine-sta
                   |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast
                   |ster/patches/setupapi-SPFIL |er/patches/setupapi-SPFILEN
                   |ENOTIFY_FILEINCABINET       |OTIFY_FILEINCABINET
            Version|unspecified                 |1.6.2
            Summary|Wine crashes when I try to  |Canon MP Navigator EX
                   |install the MP Navigator    |4.x/5.x installer crashes
                   |EX-Scanner-Program for      |due to setupapi
                   |Canon Scanner LIDE 110      |SPFILENOTIFY_FILEINCABINET
                   |                            |handler/callback
                   |                            |insufficiencies

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

filling/correcting some fields.

Also providing relevant log snippet.

--- snip ---
$ WINEDEBUG=+seh,+relay,+msi,+setupapi wine ./mpnx_4_0-win-4_03-ea23_2.exe
>>log.txt 2>&1
...
002f:Call KERNEL32.SetCurrentDirectoryA(0041a748
"C:\\users\\focht\\Temp\\WZSE0.TMP") ret=0040141d
002f:Ret  KERNEL32.SetCurrentDirectoryA() retval=00000001 ret=0040141d
002f:Call KERNEL32.CreateProcessA(00000000,0033e750
".\\mpnx_4_0-win-4_03-ea23_2\\Setup.exe",00000000,00000000,00000000,00000000,00000000,00000000,0033e3a8,0033e3ec)
ret=004021b5
...
0031:Call KERNEL32.__wine_kernel_init() ret=7bc6c0d2
002f:Ret  KERNEL32.CreateProcessA() retval=00000001 ret=004021b5 
...
0031:Call setupapi.SetupIterateCabinetA(00463498
"C:\\users\\focht\\Temp\\WZSE0.TMP\\mpnx_4_0-win-4_03-ea23_2\\Data1.cab",00000000,004116d0,00338384)
ret=0040a0cd
0031:trace:setupapi:SetupIterateCabinetA (CabinetFile ==
"C:\\users\\focht\\Temp\\WZSE0.TMP\\mpnx_4_0-win-4_03-ea23_2\\Data1.cab",
Reserved == 0, MsgHandler == ^0x4116d0, Context == ^0x338384) 
...
0031:Call KERNEL32.CreateFileA(00337514
"C:\\users\\focht\\Temp\\WZSE0.TMP\\mpnx_4_0-win-4_03-ea23_2\\Data1.cab",80000000,00000003,0033746c,00000003,00000080,00000000)
ret=7d0cf195
0031:Ret  KERNEL32.CreateFileA() retval=00000058 ret=7d0cf195
0031:Call KERNEL32.ReadFile(00000058,00337418,00000024,003373d8,00000000)
ret=7d0cf1d3
0031:Ret  KERNEL32.ReadFile() retval=00000001 ret=7d0cf1d3
0031:trace:setupapi:sc_FNNOTIFY_A (fdint == 0, pfdin == ^0x337618)
0031:trace:setupapi:sc_FNNOTIFY_A Cabinet info notification
0031:warn:setupapi:sc_FNNOTIFY_A SPFILENOTIFY_CABINETINFO undocumented: guess
implementation.
...
0031:trace:setupapi:sc_FNNOTIFY_A (fdint == 2, pfdin == ^0x337618)
0031:trace:setupapi:sc_FNNOTIFY_A Copy file notification
0031:trace:setupapi:sc_FNNOTIFY_A   File name: "Maint.exe"
...
0031:trace:setupapi:sc_FNNOTIFY_A   Callback specified filename:
"C:\\users\\focht\\Temp\\MP Navigator EX 4.0\\Maint.exe" 
...
0032:trace:setupapi:sc_FNNOTIFY_A (fdint == 0, pfdin == ^0x66f5e8)
0032:trace:setupapi:sc_FNNOTIFY_A Cabinet info notification
0032:warn:setupapi:sc_FNNOTIFY_A SPFILENOTIFY_CABINETINFO undocumented: guess
implementation.
...
0031:Call KERNEL32.GetExitCodeThread(000000b4,00337ee4) ret=0040b521
...
0032:trace:setupapi:sc_FNNOTIFY_A (fdint == 2, pfdin == ^0x66f5e8)
0032:trace:setupapi:sc_FNNOTIFY_A Copy file notification
0032:trace:setupapi:sc_FNNOTIFY_A   File name: "Maint.exe"
0031:Ret  KERNEL32.GetExitCodeThread() retval=00000001 ret=0040b521
...
0032:Call KERNEL32.lstrcmpiA(001fb464 "Data2.Cab",00000001) ret=0040c83d
...
0032:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf7be908b
ip=f7be908b tid=0032
...
0032:trace:seh:raise_exception  info[0]=00000000
0031:Call KERNEL32.GetExitCodeThread(000000b4,00337ee4) ret=0040b521
0032:trace:seh:raise_exception  info[1]=00000001
0032:trace:seh:raise_exception  eax=00000001 ebx=0066e860 ecx=00000001
edx=fefeff61 esi=0066e8e4 edi=0066e8b8
0032:trace:seh:raise_exception  ebp=0066e848 esp=0066e7dc cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010202
0032:trace:seh:call_stack_handlers calling handler at 0x438b87 code=c0000005
flags=0
0031:Ret  KERNEL32.GetExitCodeThread() retval=00000001 ret=0040b521
--- snip ---

$ sha1sum mpnx_4_0-win-4_03-ea23_2.exe 
667d3da93151eb2eccc84efbe61f1982ee80f644  mpnx_4_0-win-4_03-ea23_2.exe

$ du -sh mpnx_4_0-win-4_03-ea23_2.exe 
48M    mpnx_4_0-win-4_03-ea23_2.exe

$ wine --version
wine-3.4-254-gecbb4fa3ea

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