Bug 503516 - After encountering a bad doc file, kioworkers go into an endless loop
Summary: After encountering a bad doc file, kioworkers go into an endless loop
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (other bugs)
Version First Reported In: 25.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-29 10:25 UTC by 2154874582
Modified: 2025-04-29 10:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
the broken doc file (274.50 KB, application/wps-office.doc)
2025-04-29 10:25 UTC, 2154874582
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 2154874582 2025-04-29 10:25:47 UTC
Created attachment 180764 [details]
the broken doc file

SUMMARY
After encountering a bad doc file, kioworkers go into an endless loop

STEPS TO REPRODUCE
1. put a broken doc file on the desktop
2. 
3. 

OBSERVED RESULT
the kioworkers use a full cpu core

EXPECTED RESULT
do nothing

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
strace output:lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
lseek(11, 260148, SEEK_SET)             = 260148
i will put the doc into attachment