Bug 472831 - Can't run any appimages, because kioslave5 crashes constantly
Summary: Can't run any appimages, because kioslave5 crashes constantly
Status: RESOLVED DUPLICATE of bug 472747
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 09:06 UTC by Michał Dybczak
Modified: 2023-07-31 10:28 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 Michał Dybczak 2023-07-31 09:06:09 UTC
SUMMARY
***
I'm running Manjaro testing, so packages are close to version in Arch. Since the update few days ago, appimages stopped working. The ones I used were not starting because of "memory violation". I download a fresh, newest appimage and it won't even start because of kioslave5 crash. I checked other appimages, the same problem. In additional infomation below I'm posting crash info with debug symbols:
***


STEPS TO REPRODUCE
1. Download any appimage
2. Try running appimage
3. 

OBSERVED RESULT
kioslave5 immediate crash, appimage is not launching.

EXPECTED RESULT

Appimage launches correctly.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.7-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: Alienware
Product Name: Alienware 17 R3
System Version: 1.13.1

ADDITIONAL INFORMATION

Application: kioslave5 (kioslave5), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f2960012dbf in sqfs_init () at /usr/lib/libsquashfuse.so.0
#7  0x00007f2960012f0b in sqfs_open_image () at /usr/lib/libsquashfuse.so.0
#8  0x00007f29505ba80c in appimage::core::impl::TraversalType2::Priv::Priv(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (path="/mnt/home-hdd/Pobrane/CPU-X-4.5.3-x86_64.AppImage", this=0x5593823d05f0) at /usr/include/c++/12.2.1/bits/basic_string.h:233
#9  appimage::core::impl::TraversalType2::TraversalType2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (this=0x5593823ebf50, path="/mnt/home-hdd/Pobrane/CPU-X-4.5.3-x86_64.AppImage", this=<optimized out>, path=Python Exception <class 'gdb.error'>: value has been optimized out
) at /usr/src/debug/libappimage/libappimage-1.0.4-5/src/libappimage/core/impl/TraversalType2.cpp:284
#10 0x00007f29505baada in appimage::core::PayloadIterator::Private::Private(appimage::core::AppImage const&, bool) (this=0x5593823854b0, appImage=<optimized out>, atEnd=<optimized out>, this=<optimized out>, appImage=<optimized out>, atEnd=<optimized out>) at /usr/src/debug/libappimage/libappimage-1.0.4-5/src/libappimage/core/PayloadIterator.cpp:50
#11 0x00007f29505bac69 in appimage::core::PayloadIterator::PayloadIterator(appimage::core::AppImage const&) (this=0x7fff8a60cf90, appImage=..., this=<optimized out>, appImage=<optimized out>) at /usr/src/debug/libappimage/libappimage-1.0.4-5/src/libappimage/core/PayloadIterator.cpp:136
#12 0x00007f29505bacce in appimage::core::AppImage::files() const (this=<optimized out>) at /usr/src/debug/libappimage/libappimage-1.0.4-5/src/libappimage/core/AppImage.cpp:74
#13 0x00007f29505c0e57 in appimage::utils::ResourcesExtractor::extract(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (this=0x7fff8a60d060, path=".DirIcon") at /usr/include/c++/12.2.1/bits/shared_ptr_base.h:1665
#14 0x00007f29505bb50b in appimage_read_file_into_buffer_following_symlinks(char const*, char const*, char**, unsigned long*) (appimage_file_path=<optimized out>, file_path=0x7f296001b000 ".DirIcon", buffer=0x7fff8a60d160, buf_size=0x7fff8a60d168) at /usr/src/debug/libappimage/libappimage-1.0.4-5/src/libappimage/libappimage.cpp:105
#15 0x00007f296001a530 in AppImageCreator::create(KIO::ThumbnailRequest const&) (this=this@entry=0x559382393a20, request=...) at /usr/src/debug/kio-extras/kio-extras-23.04.3/thumbnail/appimagecreator.cpp:30
#16 0x00007f296fabb8c9 in ThumbnailProtocol::createThumbnail(ThumbCreatorWithMetadata*, QString const&, int, int, QImage&) (this=this@entry=0x7fff8a60d610, thumbCreator=thumbCreator@entry=0x559382378090, filePath=..., width=128, height=height@entry=128, thumbnail=...) at /usr/src/debug/kio-extras/kio-extras-23.04.3/thumbnail/thumbnail.cpp:851
#17 0x00007f296fac15d5 in ThumbnailProtocol::get(QUrl const&) (this=0x7fff8a60d610, url=<optimized out>) at /usr/src/debug/kio-extras/kio-extras-23.04.3/thumbnail/thumbnail.cpp:256
#18 0x00007f296f9a0a14 in KIO::WorkerSlaveBaseBridge::get(QUrl const&) (this=0x55938238c1a0, url=<optimized out>) at /usr/src/debug/kio/kio-5.108.0/src/core/workerbase_p.h:71
#19 0x00007f296f99d106 in KIO::SlaveBase::dispatch(int, QByteArray const&) (this=0x55938238c1a0, command=67, data=...) at /usr/src/debug/kio/kio-5.108.0/src/core/slavebase.cpp:1257
#20 0x00007f296f99525e in KIO::SlaveBase::dispatchLoop() (this=0x55938238c1a0) at /usr/src/debug/kio/kio-5.108.0/src/core/slavebase.cpp:342
#21 0x00007f296fabd2c2 in kdemain(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kio-extras/kio-extras-23.04.3/thumbnail/thumbnail.cpp:121
#22 0x0000559380d1d1fd in main(int, char**) (argc=5, argv=0x7fff8a60e258) at /usr/src/debug/kio/kio-5.108.0/src/kioslave/kioslave.cpp:145
[Inferior 1 (process 9885) detached]
Comment 1 Michał Dybczak 2023-07-31 09:12:33 UTC
OK, found out the issue cause:

https://github.com/vasi/squashfuse/issues/105

Since this is libraries upstream issue, I'm closing the report.
Comment 2 Nicolas Fella 2023-07-31 10:28:26 UTC

*** This bug has been marked as a duplicate of bug 472747 ***