https://bugs.kde.org/show_bug.cgi?id=405692

            Bug ID: 405692
           Summary: Dolphin crashes when hovering a subtitle .sub file
           Product: kio-extras
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Thumbnails and previews
          Assignee: plasma-b...@kde.org
          Reporter: meve...@gmail.com
  Target Milestone: ---

SUMMARY
Those subtitle files comes comes with .idx files.

Stack trace :
#6  0x00007f95004cc4d4 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/ffmpegthumbs.so
#7  0x00007f95004ce1b7 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/ffmpegthumbs.so
#8  0x00007f95004ce339 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/ffmpegthumbs.so
#9  0x00007f95004cb763 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/ffmpegthumbs.so
#10 0x00007f950ba899fe in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#11 0x00007f9505cff9c6 in KIO::SlaveBase::dispatch(int, QByteArray const&) ()
at /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007f9505d00186 in KIO::SlaveBase::dispatchLoop() () at
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5

The KFileItem.mimetype() returns mimetype "video/mpeg" for such files.
So this could be considered a bug in the mimetype detector.

And the kio thumbnailer passes on this file to ffmpegthumbs that in turn
crashes.

STEPS TO REPRODUCE
1. Open dolphin
2. Turn on preview in the information panel
3. Hover over a .sub file

OBSERVED RESULT

Krash notification
Dolphin treats the file as playable video

EXPECTED RESULT
No KCrash notification
Dolphin shows an icon for a subtitle file.


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 18.10
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.1
Kernel Version: 4.18.0-16-generic
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 15,7 Gio

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to