Bug 510109

Summary: Kile kioworker thumbnail process takes up 2 GB of RAM when mlt is installed
Product: [Applications] kile Reporter: João Figueiredo <jf.mundox>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version First Reported In: 2.9.94   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description João Figueiredo 2025-09-30 19:19:40 UTC
SUMMARY
When I open kile, a kioworker process is spawned (/usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/thumbnail.so thumbnail  local:/run/user/1000/kileospGML.7.kioworker.socket), and it takes up around 2 GB of RAM.
Also, I get the following output on the terminal:
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltmovit.so
  (libmovit.so.8: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltrtaudio.so
  (librtaudio.so.7: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsox.so
  (libsox_ng.so.3: cannot open shared object file: No such file or directory)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564d6e9a7940] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564d6e9a7940] moov atom not found

Now, if I uninstall mlt (a kdenlive dependency), the kioworker process only takes up around 50 MB. I can reproduce it even after clearing the kile cache and config files.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.90
KDE Frameworks Version: 6.18.0
Qt Version: 6.10.0
Kernel Version: 6.16.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 9 GB of RAM (8.2 GB usable)
Graphics Processor: Mesa Intel® HD Graphics 620
Comment 1 João Figueiredo 2025-10-04 16:03:18 UTC
Can no longer reproduce on KDE 6.4.91