http://bugs.winehq.org/show_bug.cgi?id=26171
Summary: wine fails to install BVRP classic phone tools Product: Wine Version: 1.3.14 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: axel.braun@gmx.de
Created an attachment (id=33350) --> (http://bugs.winehq.org/attachment.cgi?id=33350) backtrace
I try to install the BVRP classic phone tools ( http://www.avanquest.com/USA/software/classic-phonetools-9-27401 ) - use trial version to cross-check - to manage a USR 56K Message modem
axel@southpole:/daten/linux/USRobotics/DEU> wine setup.exe wine: created the configuration directory '/home/axel/.wine' fixme:system:SetProcessDPIAware stub! fixme:iphlpapi:NotifyAddrChange (Handle 0x90fe914, overlapped 0x90fe918): stub wine: configuration in '/home/axel/.wine' has been updated. fixme:storage:create_storagefile Storage share mode not implemented. err:richedit:ReadStyleSheet skipping optional destination err:richedit:ReadStyleSheet skipping optional destination fixme:shell:IShellLinkA_fnGetPath (0x13198e8): WIN32_FIND_DATA is not yet filled. fixme:shell:IShellLinkA_fnGetPath (0x13198e8): WIN32_FIND_DATA is not yet filled. fixme:shell:IShellLinkA_fnGetPath (0x13184a8): WIN32_FIND_DATA is not yet filled. fixme:shell:IShellLinkA_fnGetPath (0x13184a8): WIN32_FIND_DATA is not yet filled. fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer fixme:spoolsv:service_handler got service ctrl 4
-- at this point in the the installation asks for the C:\windows\Driver Cache\I386\ files. I redirect to the installation disk, and wine scans winsys32.cab. Afterwards the error message 'AddPrintProcessor: No enough buffer' is issued in a pop-up box
When then starting the application, the assistant for device configuration is startet, and shows com1-com8
I see tons of messages: fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0) fixme:winspool:OpenPrinterW PRINTER_DEFAULTS ignored => L"RAW",(nil),0x000f000c fixme:winspool:AddPrintProcessorA ((null),(null),"WfxPrint2000.dll","WfxPrint2000"): stub fixme:spoolsv:service_handler got service ctrl 4 fixme:rpc:handle_bind_error unexpected status value 1765 fixme:spoolsv:service_handler got service ctrl 4 fixme:shell:IShellLinkA_fnGetPath (0x13f9df0): WIN32_FIND_DATA is not yet filled. fixme:shell:IShellLinkA_fnGetPath (0x13f9df0): WIN32_FIND_DATA is not yet filled. axel@southpole:/daten/linux/USRobotics/DEU> fixme:win:AnimateWindow partial stub fixme:tapi:lineInitialize (0x33f83c, 0x820000, 0x83c200, (null), 0x33f880): stub. fixme:tapi:lineInitialize (0x33e83c, 0x820000, 0x83c200, (null), 0x33e880): stub. fixme:tapi:lineInitialize (0x33dff8, 0x820000, 0x83c200, (null), 0x33e03c): stub. fixme:tapi:lineInitialize (0x845948, 0x820000, 0x83c200, (null), 0x84598c): stub. fixme:setupapi:SetupDiLoadClassIcon : stub {4d36e978-e325-11ce-bfc1-08002be10318}, (nil), 0x33d468 fixme:setupapi:SetupDiLoadClassIcon : stub {4d36e978-e325-11ce-bfc1-08002be10318}, (nil), 0x33d468 fixme:setupapi:SetupDiLoadClassIcon : stub {4d36e978-e325-11ce-bfc1-08002be10318}, (nil), 0x33d468 fixme:setupapi:SetupDiLoadClassIcon : stub {4d36e978-e325-11ce-bfc1-08002be10318}, (nil), 0x33d468 fixme:comm:set_queue_size insize 16384 outsize 16384 unimplemented stub fixme:setupapi:SetupDiLoadClassIcon : stub {4d36e978-e325-11ce-bfc1-08002be10318}, (nil), 0x33b044
(etc) When starting the application manually, it tries to access the modem installed under /dev/ttyS0 as com1, which fails.
axel@southpole:~/.wine> dir /dev/ttyS0 crw-rw---- 1 root dialout 4, 64 19. Feb 17:35 /dev/ttyS0
If I install without hardware check, and select the hardware manually from the list, an error message c:\windows\inf\mdmgen.inf not found
If I contineu with the installation, phonetools.exe crashes - see backtrace.
Any Idea what I could do to make the programm see the modem
http://bugs.winehq.org/show_bug.cgi?id=26171
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|wine fails to install BVRP |BVRP classic phone tools |classic phone tools |fail to install
http://bugs.winehq.org/show_bug.cgi?id=26171
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
https://bugs.winehq.org/show_bug.cgi?id=26171
--- Comment #1 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.16 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=26171
--- Comment #2 from Axel axel.braun@gmx.de --- Basically the same errors apply:
error message 'AddPrintProcessor: No enough buffer'
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33e124 L"C:\Program Files\Classic PhoneTools\Install\data1.hdr" fixme:winspool:AddPrintProcessorA ((null),(null),"WfxPrint2000.dll","WfxPrint2000"): stub
WINE version is 1.7.2
https://bugs.winehq.org/show_bug.cgi?id=26171
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.avanquest.com/US | |A/software/classic-phonetoo | |ls-9-27401
https://bugs.winehq.org/show_bug.cgi?id=26171
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.avanquest.com/US |ftp://ftp2.avanquest.com/ev |A/software/classic-phonetoo |aluation/ClassicPhoneTools/ |ls-9-27401 |ClassicPhoneTools9ENG.exe
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Direct link to avoid malware registration site.
https://bugs.winehq.org/show_bug.cgi?id=26171
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- This could be a dupe of bug 26006 .
https://bugs.winehq.org/show_bug.cgi?id=26171
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=26171
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com Status|UNCONFIRMED |NEW
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to super_man from comment #4)
This could be a dupe of bug 26006 .
This is really the same application apparently.
Maybe we could reserve this one for the installer-issue, and use bug 26006 for real implementation of AddprintProcessesor, as that bug has has some useful info from Detlefabout this program and how to fix things
Patch for installer-issue is at https://bugs.winehq.org/attachment.cgi?id=60936&action=diff
https://bugs.winehq.org/show_bug.cgi?id=26171
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|BVRP classic phone tools |BVRP classic phone tools |fail to install |installer reports error | |'Insufficient buffer' when | |trying to install print | |processor | |(AddPrintProcessorA stub | |should be symmetric to | |AddPrintProcessorW) Keywords| |Installer CC| |focht@gmx.net Component|-unknown |spooler URL|ftp://ftp2.avanquest.com/ev |https://web.archive.org/web |aluation/ClassicPhoneTools/ |/20200409184340/http://www. |ClassicPhoneTools9ENG.exe |tucows.com/download/windows | |/files2/ClassicPhoneTools9E | |NU.exe
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
the problem with the message box being displayed is not critical. The installer still succeeds in the end.
--- snip --- ... 002e:Call winspool.drv.AddPrintProcessorA(00000000,02724cc0 "Windows x64",02724cd0 "WfxPrint2000.dll",02724d54 "WfxPrint2000") ret=02712af8 002e:fixme:winspool:AddPrintProcessorA ((null),"Windows x64","WfxPrint2000.dll","WfxPrint2000"): stub 002e:Ret winspool.drv.AddPrintProcessorA() retval=00000000 ret=02712af8 ... 002e:Call user32.MessageBoxA(00000000,04fa9fd0 "Insufficient buffer.\r\n",02724c40 "AddPrintProcessor2000",00000040) ret=02711b5c --- snip ---
https://source.winehq.org/git/wine.git/blob/a98ca88dd1139ad8e16e63fbb349c2fc...
--- snip --- 5400 /***************************************************************************** 5401 * AddPrintProcessorA [WINSPOOL.@] 5402 */ 5403 BOOL WINAPI AddPrintProcessorA(LPSTR pName, LPSTR pEnvironment, LPSTR pPathName, 5404 LPSTR pPrintProcessorName) 5405 { 5406 FIXME("(%s,%s,%s,%s): stub\n", debugstr_a(pName), debugstr_a(pEnvironment), 5407 debugstr_a(pPathName), debugstr_a(pPrintProcessorName)); 5408 return FALSE; 5409 } --- snip ---
The crash with the app as seen in comment #0 backtrace is tracked as bug 44874 ("Phonetools 9.x crashes on unimplemented function KERNEL32.dll.RequestDeviceWakeup").
So the only point of this ticket would be faking success as AddPrintProcessorW() already does but still being a stub. Bug 26006 is about implementing it.
$ sha1sum ClassicPhoneTools9ENU.exe 3630c8bcdd533320cacfbc99b9efee8e01eb59c3 ClassicPhoneTools9ENU.exe
$ du -sh ClassicPhoneTools9ENU.exe 17M ClassicPhoneTools9ENU.exe
$ wine --version wine-5.5-373-g38e95ed222
Regards
https://bugs.winehq.org/show_bug.cgi?id=26171
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Keywords| |patch
--- Comment #7 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/184611
https://bugs.winehq.org/show_bug.cgi?id=26171
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |992a0ae7b90d92bcda52d82672e | |ce1d3c7d4b0ea Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/992a0ae7b90d92bcda52d82672... ("winspool.drv: Implement AddPrintProcessorA via AddPrintProcessorW.")
Thanks Vijay
--- snip --- $ WINEDEBUG=+seh,+relay,+winspool wine ./ClassicPhoneTools9ENU.exe >>log.txt 2>&1 ... 00cc:trace:winspool:EnumPrintProcessorsA 0x48d1140: parsing #1 (L"winprint") ... 00cc:trace:winspool:EnumPrintProcessorsA 0x4350bd0: writing PRINTPROCESSOR_INFO_1A #1 ... 00cc:trace:winspool:EnumPrintProcessorsA returning 1 with 122 (13 byte for 1 entries) 00cc:Ret winspool.drv.EnumPrintProcessorsA() retval=00000001 ret=02022a58 00cc:Call KERNEL32.GetLastError() ret=020308a9 00cc:Ret KERNEL32.GetLastError() retval=0000007a ret=020308a9 ... 00cc:Call winspool.drv.AddPrintProcessorA(00000000,02034cc0 "Windows x64",02034cd0 "WfxPrint2000.dll",02034d54 "WfxPrint2000") ret=02022af8 00cc:trace:winspool:AddPrintProcessorA ((null),"Windows x64","WfxPrint2000.dll","WfxPrint2000") ... 00cc:fixme:winspool:AddPrintProcessorW ((null),L"Windows x64",L"WfxPrint2000.dll",L"WfxPrint2000"): stub .. 00cc:Ret winspool.drv.AddPrintProcessorA() retval=00000001 ret=02022af8 ... --- snip ---
$ wine --version wine-5.9-320-gaba27fd5a3
Regards
https://bugs.winehq.org/show_bug.cgi?id=26171
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.10.
https://bugs.winehq.org/show_bug.cgi?id=26171
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=26171
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.3.