https://bugs.winehq.org/show_bug.cgi?id=49595
Bug ID: 49595 Summary: WINE hogs CPU when editing text files >1MB in WinSCP Product: Wine Version: 5.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mgruber_72@yahoo.de Distribution: ---
Steps to reproduce:
1. Get WinSCP 5.17 from winscp.net 2. Connect to a Linux box. 3. Look for a text file >1MB (e.g. sth. in /var/log) 4. Right-click on it and choose edit.
Result:
WinSCP is 70x slower than a Windows VM on a 1MB logfile. WinSCP freezes on a 20MB logfile.
Examples for comparison:
Loading a 1MB logfile in Windows VM -> 0.5 seconds Loading a 1MB logfile in WINE -> 35 seconds
Loading a 20MB logfile in Windows VM -> 20 seconds Loading a 20MB logfile in WINE -> still 100% WINE CPU load after 5 minutes, WinSCP frozen, needs to be killed
https://bugs.winehq.org/show_bug.cgi?id=49595
mgruber mgruber_72@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@winscp.net
https://bugs.winehq.org/show_bug.cgi?id=49595
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Is this reproducible with 'wine wordpad' using same files?
https://bugs.winehq.org/show_bug.cgi?id=49595
--- Comment #2 from mgruber mgruber_72@yahoo.de --- Just checked: yes, it's practically a duplicate of the behaviour.
https://bugs.winehq.org/show_bug.cgi?id=49595
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Could you attach a sample file that takes significantly longer to loader comparing to Windows?
https://bugs.winehq.org/show_bug.cgi?id=49595
--- Comment #4 from mgruber mgruber_72@yahoo.de --- Created attachment 67760 --> https://bugs.winehq.org/attachment.cgi?id=67760 result of base64 /dev/urandom | head -c 10000000 > randomtext.txt
Attached you can find a random 9,5MiB text file. I killed the process after 7 minutes of 100% load on my i5-i8250 in top.
https://bugs.winehq.org/show_bug.cgi?id=49595
--- Comment #5 from mgruber mgruber_72@yahoo.de --- Loading randomtext.txt in Notepad++ on WINE takes 200-300 milliseconds. Loading it with wine wordpad results in the same massive CPU load as the internal WinSCP editor.
https://bugs.winehq.org/show_bug.cgi?id=49595
mgruber mgruber_72@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |comctl32
https://bugs.winehq.org/show_bug.cgi?id=49595
mgruber mgruber_72@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|comctl32 |-unknown
https://bugs.winehq.org/show_bug.cgi?id=49595
mgruber mgruber_72@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.13 |5.14
https://bugs.winehq.org/show_bug.cgi?id=49595
--- Comment #6 from mgruber mgruber_72@yahoo.de --- Just tested with the new Wine 5.14, the problem persists.
https://bugs.winehq.org/show_bug.cgi?id=49595
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.14 |5.13 Component|-unknown |richedit
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Please keep version field at original value.