Bug 472747 - squashfuse 0.3.0-1 causes kioslave5 to crash upon appimage thumbnail creation
Summary: squashfuse 0.3.0-1 causes kioslave5 to crash upon appimage thumbnail creation
Status: RESOLVED UPSTREAM
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (show other bugs)
Version: 23.04.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 472831 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-28 13:40 UTC by Tyson Tan
Modified: 2023-07-31 14:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2023-07-28 13:40:49 UTC
After the my ArchLinux installation updated to squashfuse 0.3.0-1, kioslave5 began to crash when kio is trying to create thumbnails for appimage files. Could be an upstream/packaging issue, but I'm not familiar with this, so I reported the issue here, just in case. I will report the same issue to squashfuse, if no one did it already.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
squashfuse: 0.3.0-1
kio-extras: 23.04.3-1
libappimage: 1.0.4.5-4

Application: kioslave5 (kioslave5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f13f004fdbf in sqfs_init () at /usr/lib/libsquashfuse.so.0
#5  0x00007f13f004ff0b in sqfs_open_image () at /usr/lib/libsquashfuse.so.0
#6  0x00007f13dc70480c in appimage::core::impl::TraversalType2::TraversalType2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) () at /usr/lib/libappimage.so.1.0
#7  0x00007f13dc704ada in  () at /usr/lib/libappimage.so.1.0
#8  0x00007f13dc704c69 in appimage::core::PayloadIterator::PayloadIterator(appimage::core::AppImage const&) () at /usr/lib/libappimage.so.1.0
#9  0x00007f13dc704cce in appimage::core::AppImage::files() const () at /usr/lib/libappimage.so.1.0
#10 0x00007f13dc70c0a3 in appimage::utils::PayloadEntriesCache::readAllEntries() () at /usr/lib/libappimage.so.1.0
#11 0x00007f13dc70de9e in appimage::utils::PayloadEntriesCache::buildCache() () at /usr/lib/libappimage.so.1.0
#12 0x00007f13dc70e2a2 in appimage::utils::PayloadEntriesCache::PayloadEntriesCache(appimage::core::AppImage const&) () at /usr/lib/libappimage.so.1.0
#13 0x00007f13dc70e2fe in appimage::utils::ResourcesExtractor::ResourcesExtractor(appimage::core::AppImage const&) () at /usr/lib/libappimage.so.1.0
#14 0x00007f13dc7054cf in appimage_read_file_into_buffer_following_symlinks () at /usr/lib/libappimage.so.1.0
#15 0x00007f13f0057530 in  () at /usr/lib/qt/plugins/kf5/thumbcreator/appimagethumbnail.so
#16 0x00007f13f97108c9 in  () at /usr/lib/qt/plugins/kf5/kio/thumbnail.so
#17 0x00007f13f97165d5 in  () at /usr/lib/qt/plugins/kf5/kio/thumbnail.so
#18 0x00007f13f960da14 in  () at /usr/lib/libKF5KIOCore.so.5
#19 0x00007f13f960a106 in KIO::SlaveBase::dispatch(int, QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#20 0x00007f13f960225e in KIO::SlaveBase::dispatchLoop() () at /usr/lib/libKF5KIOCore.so.5
#21 0x00007f13f97122c2 in kdemain () at /usr/lib/qt/plugins/kf5/kio/thumbnail.so
#22 0x00005613ecf2d1fd in  ()
#23 0x00007f13f8e83850 in  () at /usr/lib/libc.so.6
#24 0x00007f13f8e8390a in __libc_start_main () at /usr/lib/libc.so.6
#25 0x00005613ecf2d455 in  ()
[Inferior 1 (process 3113) detached]
Comment 1 Tyson Tan 2023-07-28 13:47:23 UTC
https://github.com/vasi/squashfuse/issues/105
Comment 2 Nicolas Fella 2023-07-31 10:28:26 UTC
*** Bug 472831 has been marked as a duplicate of this bug. ***
Comment 3 Tyson Tan 2023-07-31 14:15:30 UTC
The upstream has already fixed the bug. They released squashfuse 0.4.0 which has already been pushed by Arch Linux.