http://bugs.winehq.org/show_bug.cgi?id=58304
Bug ID: 58304 Summary: Question on programs that use files with $ in file names? Product: Wine Version: 10.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mikes@kuentos.guam.net Distribution: ---
Use Pegasus Email, and it works fine under one except if on tries to use the IERenderer extension. With the extension installed, if one tries to open an html email the call to the IErenderer.dll causes Pegasus to hard crash..
The Pegasus creates some temp files from the email message, and uses WPM$xxx.PM$ format for files. Was thinking perhaps in the passing of filename with $ inside them might cause issue since Linux treats the $ as marking a variable?
With IERender extion it creates these two file 1110 05-16-2025 08:18 WPM$M1PL.PM$ 56167 05-16-2025 08:18 WPM$SXGZ.PM$
With extension uninstalled it creates these 3 files 1536 05-16-2025 08:15 STO30e6.tmp 1536 05-16-2025 08:15 STO30e7.tmp 56167 05-16-2025 08:15 WPM$Z65Z.PM$
Note both of the 56167 byte files are identical??
The purpose of extension is to better handle displaying html messages. Without it, some messages don't display as they should. One can then opt to open messages in a browser, and they will display fine, but then replying doesn't work.
Don't know if changing the $ to a different character (perhaps _) would avoid issue.
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- $ is a valid character in a filename. It should be being passed as the character rather than a variable.
Can you supply a +file trace?
Do you have download links for Pegasus and IERender? Their website wouldn't load for me.
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #2 from Michael Setzer II mikes@kuentos.guam.net --- pmail.com was hosted on Amazon S3 site, but in Nov 2024 owner lost ability to update the website via Amazon, and they were of no help. So he is working to setup domain again. But currently nothing.
I have the lastest version of the Pegasus available on one of my sites. https://setzco.dyndns.org/w32-481-pb3.exe
IErenderer is included install, but it has updates since included version.
https://www.pmpgp.de/renderer/History.htm
DD-MM-YYYY 12.05.2025 05:30 (CEST): Version 2.7.2.6
How would one run a file trace.
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #3 from Michael Setzer II mikes@kuentos.guam.net --- Created attachment 78655 --> http://bugs.winehq.org/attachment.cgi?id=78655 test fincy html message - CNM extension.
Test message that causes crash.
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com ---
How would one run a file trace.
Start Wine with a WINEDEBUG environment variable and capture the input: $ WINEDEBUG=+file wine program.exe > logfile.log
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #5 from Michael Setzer II mikes@kuentos.guam.net --- Created attachment 78656 --> http://bugs.winehq.org/attachment.cgi?id=78656 On error shows backtrace info??
Run with --trace >to file But file results in 0 byte file FOr both error run and clean rune wih IERender uninstalled?
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #6 from Michael Setzer II mikes@kuentos.guam.net --- Created attachment 78657 --> http://bugs.winehq.org/attachment.cgi?id=78657 logfile created
Didn't see any obvious error lines? But seeing lots of not found lines, but files it says not there are there, but names are shows as mixed case, while files are mostly all caps.
File is 44436 lines long?
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #7 from Michael Setzer II mikes@kuentos.guam.net --- Created attachment 78658 --> http://bugs.winehq.org/attachment.cgi?id=78658 winedb backtrace created during the run to create log file.
winedb backtrace created after logfile created.
Not seeing an exact error line. Just something cases a critical error, and then winedb is called.
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #8 from Michael Setzer II mikes@kuentos.guam.net --- Looking at logfile.log line 42180 find this?
0128:trace:file:append_entry long L"." short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L".." short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L"STOe63e.tmp" short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L"WPM$GSQ9.PM$" short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L"WPM$470U.PM$" short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L"wine_ppds" short L"WINE~A51" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L"STOe63d.tmp" short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L"WPM$ZSN2.PM$" short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L"WPM$CNIY.PM$" short L"" mask L"WPM$63U6.PM$" 0128:trace:file:init_cached_dir_data mask L"WPM$63U6.PM$" found 0 files
Shows found 0 files, but the file would exist, but in linux file would show with a $ instead of just $.
Log file has a total of 44620 lines.
http://bugs.winehq.org/show_bug.cgi?id=58304
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Michael Setzer II from comment #8)
Looking at logfile.log line 42180 find this?
0128:trace:file:append_entry long L"." short L"" mask L"WPM$63U6.PM$" 0128:trace:file:append_entry long L".." short L"" mask L"WPM$63U6.PM$"
Hi, AFAICT one can just create a filename with a '$' somewhere in the name in Linux. Like touch 'DD$DD.TM$' happily creates it, and wine also lists it when I do 'cmd /c dir'. How can you be sure that that's the cause of the crash?
It might be more useful to run with WINEDEBUG=+relay,+seh wine program.exe > logfile.log and attach the logfile here (bzip2 it to make it smaller)
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #10 from Michael Setzer II mikes@kuentos.guam.net --- Created attachment 78674 --> http://bugs.winehq.org/attachment.cgi?id=78674 logfile created with bz2 using +sed since +relay got 6G file before killing
Created file, but with the +relay option it created file to 6G and was just going. With +sed it runs in same amount of time and has same crash.
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #11 from Michael Setzer II mikes@kuentos.guam.net --- Ran it with +relay,+sed but it just sat there and created a 6G log file. Tried it with +relay only and did the same thing. Got to 4G before cancel. Then ran it with +sed
Original logfile with 6M and with +sed is like 12M
242K Jun 3 10:51 logfile3.log.bz2 6.0M Jun 1 23:58 logfile.log 12M Jun 3 10:50 logfile3.log
Don't know that $ is the issue might be something else.
Saw no lines with error or critical in original log file.
When thru original log file scanning for IERenderer and nothing stood out as an error. Lots of file nof found or no file messages.
Also loooked at first one with winedb, but didn't see anything obvious before or write after that.
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #12 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, looking at the fixme's just before the crash in the logfile I would first try to see if you could get around the crash using winetricks. That could give you a pointer in which direction to search.
Could you try 'winetricks ie8' and see if that changes anything?
http://bugs.winehq.org/show_bug.cgi?id=58304
--- Comment #13 from Michael Setzer II mikes@kuentos.guam.net --- Took a lot to try the winetricks ie8.
winetricks would not install with winehq either 10.9 or 10.8 and with neither winehq-stable
So had to take it to regular wine from Fedora to install winetricks.
Installed the ie8, and the process came up with no crash, but the panel that should display the message results in a completely blank panel??
So, ended up reverting back to winehq-devel and uninstalling the IERenderer extension.
Can then use the option to open message in web browser (firefox) and it displays the information.
Thanks for the info, was interesting. Had to manuall remove all the ie8 files and directories that the winetricks had created.