http://bugs.winehq.org/show_bug.cgi?id=34281
Bug #: 34281 Summary: PlotSoft PDFill 10: on startup displays a message box, then quits Product: Wine Version: 1.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: artghio@tiscali.it Classification: Unclassified
Name: PlotSoft PDFill 10.0 (build 4) Executables: "PDFill.exe" or "PDFill_PDF_Tools.exe" (they are two independent executables) Download page: http://www.pdfill.com/download.html
Installation steps: 1. install GhostScript 8.63 from http://www.plotsoft.com/download/gs863w32.exe ( http://goput.it/vz9v.png ) 2. install Sun Java Virtual Machine 1.6 from http://www.plotsoft.com/download/jre-6-windows-i586.exe ( typical installation ) 3. install PDFill from http://www.plotsoft.com/download/PDFill.exe ( http://goput.it/39j9.png ) (md5sum: c64ad2db2153af1d4ef69b88d34ec2a9)
I tested some Wine versions on some GNU/Linux distributions:
- wine-1.4.1 on Kubuntu 13.04 x64 both executables work perfectly ( http://goput.it/str/kk7d.png )
- wine-1.6 (build from ppa:ubuntu-wine/ppa) on Kubuntu 13.04 x64 - wine-1.6 (build from ppa:ubuntu-wine/ppa) on Ubuntu 13.04 x86 - wine-1.7 (compiled from http://sourceforge.net/projects/wine/files/Source/wine-1.7.0.tar.bz2 source) on Ubuntu 13.04 x86 1. I launch "wine ./PDFill_PDF_Tools.exe" or "wine ./PDFill.exe" (their bad behaviours are the same) 2. on startup it displays a message box complaining "No Fonts found" ( http://goput.it/str/t9es.png ) 3. I click "Ok" button 4. it displays the window "Browse folders" ( http://goput.it/str/6cv6.png ) 5. I select "C:\windows\Fonts" or "/usr/share/wine/fonts" ("/home/luca/.wine/drive_c/windows/Fonts" or "Z:\home\luca.wine\ etc." cannot be selected because hidden folders are not visible) 6. I click "Ok" or "Cancel" button 7. it quits without warnings or errors (except for a fixme)
http://bugs.winehq.org/show_bug.cgi?id=34281
--- Comment #1 from artghio@tiscali.it 2013-08-17 12:53:05 CDT --- WINEDEBUG=+relay,+seh,+tid wine "./PDFill_PDF_Tools.exe" &> log.txt https://www.dropbox.com/s/5ufck1bevxiefoy/log.txt
(sorry, I tried to attach it but attachment creation failed because my Internet connection is too slow)
http://bugs.winehq.org/show_bug.cgi?id=34281
artghio@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from artghio@tiscali.it 2013-08-17 14:15:00 CDT --- SOLVED! Just launch: winetricks corefonts
http://bugs.winehq.org/show_bug.cgi?id=34281
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Summary|PlotSoft PDFill 10: on |PlotSoft PDFill 10: fails |startup displays a message |on startup without native |box, then quits |corefonts Ever Confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com 2013-08-18 15:38:13 CDT --- That's not a fix.
http://bugs.winehq.org/show_bug.cgi?id=34281
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #4 from Rosanne DiMesio dimesio@earthlink.net 2013-08-18 16:12:50 CDT --- Not critical. http://bugs.winehq.org/page.cgi?id=fields.html#importance
http://bugs.winehq.org/show_bug.cgi?id=34281
--- Comment #5 from artghio@tiscali.it 2013-11-26 02:52:27 CST --- I moved the log here: https://www.dropbox.com/s/7l6huam6hajgesk/log.txt
https://bugs.winehq.org/show_bug.cgi?id=34281
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #6 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=34281
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #7 from super_man@post.com --- I just tested the other bug related to PDFill. I did try to run it without corefonts on 1st startup and it complains that it cant find fonts and it suggests me to point a directory where they are.
In theory this should work that you point a directory to it that has fonts?
The download mentioned here points into 12 version already. I don't know if the original behaved like this. winetricks -q corefonts is a workaround.
wine 1.8.rc1
https://bugs.winehq.org/show_bug.cgi?id=34281
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW CC| |focht@gmx.net Summary|PlotSoft PDFill 10: fails |PlotSoft PDFill 10 fails on |on startup without native |startup, reports 'No Fonts |corefonts |found under: | |C:\windows\Fonts' (at | |least one font name in | |registry must contain | |'truetype' token)
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Prerequisite for installer: 'winetricks -q mfc42' (bug 657).
--- snip --- err:module:import_dll Library MFC42.DLL (which is needed by L"C:\Program Files\PlotSoft\PDFill\SpellChecker\wspell.ocx") not found regsvr32: Failed to load DLL 'C:\Program Files\PlotSoft\PDFill\SpellChecker\wspell.ocx' regsvr32: Successfully registered DLL 'C:\windows\system32\DynamicTwainCtrl.dll' err:psdrv:PSDRV_PPDGetNextTuple Line too long. err:module:import_dll Library MFC42.DLL (which is needed by L"C:\Program Files\PlotSoft\PDFill\PDFillZip.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\PlotSoft\PDFill\PDFillZip.exe" failed, status c0000135 --- snip ---
Ghostscript, Sun Java redist prerequisites are not needed for reproducing. In fact the app installer does automatic download/install of Sun Java redist.
Relevant part of trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/PlotSoft/PDFill
$ WINEDEBUG=+tid,+seh,+relay wine ./PDFill.exe >>log.txt 2>&1 ... 0027:Call KERNEL32.GetFileAttributesW(005b3f48 L"C:\windows\Fonts\") ret=004561c3 0027:Ret KERNEL32.GetFileAttributesW() retval=00000010 ret=004561c3 ... 0027:Call advapi32.RegOpenKeyExW(80000002,0033f5f8 L"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts",00000000,00020019,0033f728) ret=00487f0d 0027:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=00487f0d 0027:Call advapi32.RegEnumValueW(00000080,00000000,0033f2ec,0033f714,00000000,0033f6dc,0033f4f4,0033f708) ret=0048847d 0027:Ret advapi32.RegEnumValueW() retval=00000000 ret=0048847d 0027:Call msvcr70.wcslen(0033f2ec L"@AR PL UMing CN") ret=00401780 0027:Ret msvcr70.wcslen() retval=0000000f ret=00401780 ... 0027:Call ntdll.wcscpy(0033f0e4,0033f4f4 L"Z:\usr\share\fonts\cjkuni-uming\uming.ttc") ret=00487f89 0027:Ret ntdll.wcscpy() retval=0033f0e4 ret=00487f89 ... 0027:Call msvcr70.wcsstr(005b42f0 L"@ar pl uming cn",004e2900 L"truetype") ret=0040c617 0027:Ret msvcr70.wcsstr() retval=00000000 ret=0040c617 ... <repeats for all fonts in registry> ... 0027:Call advapi32.RegEnumValueW(00000080,000000dd,0033f2ec,0033f714,00000000,0033f6dc,0033f4f4,0033f708) ret=0048847d 0027:Ret advapi32.RegEnumValueW() retval=00000103 ret=0048847d 0027:Call advapi32.RegCloseKey(00000080) ret=0048848e 0027:Ret advapi32.RegCloseKey() retval=00000000 ret=0048848e ... 0027:Call advapi32.RegOpenKeyExW(80000002,005b4288 L"SOFTWARE\PlotSoft\PDFill\WinIni",00000000,00020019,0033fcac) ret=004562a1 0027:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=004562a1 0027:Call msvcr70.wcslen(004df144 L"No Fonts found under: ") ret=004018c5 0027:Ret msvcr70.wcslen() retval=00000016 ret=004018c5 ... 0027:Call user32.MessageBoxW(00000000,005b43d0 L"No Fonts found under: C:\windows\Fonts\\nNo Fonts found under: C:\Windows\Fonts\\nNo Fonts found under: C:\Windows\Fonts\\nPlease Select the system font folder by yourself. \nIf you have problem, please report to support@pdfill.com",004c9354 L"PlotSoft PDFill",00000000) ret=00456472 --- snip ---
The app validates if the font name (registry key name) contains the token 'truetype' and if the token is present it checks for the existence of the font file. The location/path doesn't matter though, if it points to Wine's font store ('z:\..share\wine\fonts\..') or somewhere within WINEPREFIX ('c:\...').
ProtectionID scan:
--- snip --- -=[ ProtectionID v0.6.6.7 DECEMBER]=- (c) 2003-2015 CDKiLLER & TippeX Build 24/12/14-22:48:13 Ready... Scanning -> Z:\home\focht\Downloads\PDFill 10.0 build 4.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 11911936 (0B5C300h) Byte(s) Compilation TimeStamp : 0x4BDE8533 -> Mon 03rd May 2010 08:11:31 (GMT) [TimeStamp] 0x4BDE8533 -> Mon 03rd May 2010 08:11:31 (GMT) | PE Header | - | Offset: 0x00000120 | VA: 0x00400120 | - -> File Appears to be Digitally Signed @ Offset 0B5BAF8h, size : 0808h / 02056 byte(s) -> File has 11683064 (0B244F8h) bytes of appended data starting at offset 037600h [!] Executable uses SEH Tables (/SAFESEH) (2 calculated 2 recorded... 0 invalid addresses) [File Heuristics] -> Flag #1 : 00000000000001001100000000000100 (0x0004C004) [Entrypoint Section Entropy] : 6.50 (section #0) ".text " | Size : 0x24B43 (150339) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 4 (0x4) | ImageSize 0x3A000 (237568) byte(s) [VersionInfo] Company Name : PlotSoft LLC [VersionInfo] Product Name : PDFill PDF Editor with FREE Writer and FREE Tools [VersionInfo] Product Version : 10.0 [VersionInfo] File Description : Create. Edit. Save PDF; Edit PDF file without Adobe Acrobat [VersionInfo] File Version : 10.0 [VersionInfo] Original FileName : PDFill.exe [VersionInfo] Internal Name : PDFill [VersionInfo] Legal Copyrights : Copyright (C) PlotSoft LLC [CompilerDetect] -> Visual C++ 7.1 (Visual Studio 2003) [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.390 Second(s) [000000186h (390) tick(s)] [558 of 573 scan(s) done]
Scanning -> C:\Program Files\PlotSoft\PDFill\PDFill.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 1763336 (01AE808h) Byte(s) Compilation TimeStamp : 0x50A7A75B -> Sat 17th Nov 2012 15:03:55 (GMT) [TimeStamp] 0x50A7A75B -> Sat 17th Nov 2012 15:03:55 (GMT) | PE Header | - | Offset: 0x000000F8 | VA: 0x004000F8 | - [TimeStamp] 0x50A7A75B -> Sat 17th Nov 2012 15:03:55 (GMT) | DebugDirectory | - | Offset: 0x000C9144 | VA: 0x004C9144 | - -> File Appears to be Digitally Signed @ Offset 01AE000h, size : 0808h / 02056 byte(s) [File Heuristics] -> Flag #1 : 00000100000000000000000000000100 (0x04000004) [Entrypoint Section Entropy] : 6.50 (section #0) ".text " | Size : 0xC6610 (812560) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 4 (0x4) | ImageSize 0x1AF000 (1765376) byte(s) [VersionInfo] Company Name : PlotSoft L.L.C. [VersionInfo] Product Name : PDFill PDF Editor with FREE PDF Writer and PDF Tools [VersionInfo] Product Version : 10.0.0.4 [VersionInfo] File Description : PDFill PDF Editor 10.0 [VersionInfo] File Version : 10.0.0.4 [VersionInfo] Original FileName : PDFill.exe [VersionInfo] Internal Name : PDFill.exe [VersionInfo] Version Comments : PDFill PDF Editor with FREE PDF Writer and PDF Tools [VersionInfo] Legal Trademarks : PDFill [VersionInfo] Legal Copyrights : Copyright 2002-2013 PlotSoft L.L.C. All rights reserved. [Debug Info] (record 1 of 1) (file offset 0xC9140) Characteristics : 0x0 | TimeDateStamp : 0x50A7A75B (Sat 17th Nov 2012 15:03:55 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 2 (0x2) -> CodeView | Size : 0x4E (78) AddressOfRawData : 0xEAD0C | PointerToRawData : 0xEAD0C CvSig : 0x53445352 | SigGuid A935D5CE-6085-4D11-B7D029CC475BAE36 Age : 0x1 | Pdb : e:\PlotSoft\PDFill_10.0\PDFill_CPP\Release\PDFill.pdb [CompilerDetect] -> Visual C++ 7.0 (Visual Studio 2002) [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.752 Second(s) [0000002F0h (752) tick(s)] [499 of 573 scan(s) done] --- snip ---
$ sha1sum PDFill\ 10.0\ build\ 4.exe d8b19ad3a1d7d3faef3c2f4835267eef2457edff PDFill 10.0 build 4.exe
$ du -sh PDFill\ 10.0\ build\ 4.exe 12M PDFill 10.0 build 4.exe
$ wine --version wine-1.8-rc1
Regards
https://bugs.winehq.org/show_bug.cgi?id=34281
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdi32
https://bugs.winehq.org/show_bug.cgi?id=34281
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- I think this could be considered a regression from http://source.winehq.org/git/wine.git/commit/abc8f2c6c270a8f6bce8c5c1f0fc5b5.... Patch sent https://www.winehq.org/pipermail/wine-patches/2016-August/153506.html.
https://bugs.winehq.org/show_bug.cgi?id=34281
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fcd0f6b0749b6827ee466a620e0 | |198abe8a387f5 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Fixed with http://source.winehq.org/git/wine.git/?a=commit;h=fcd0f6b0749b6827ee466a620e....
https://bugs.winehq.org/show_bug.cgi?id=34281
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.plotsoft.com/dow | |nload/PDFill.exe
https://bugs.winehq.org/show_bug.cgi?id=34281
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |abc8f2c6c270a8f6bce8c5c1f0f | |c5b5773dad4a9 Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=34281
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.17.
https://bugs.winehq.org/show_bug.cgi?id=34281
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=34281
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #12 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.5.