Bug 436116

Summary: Segmentation fault in kdeinit5 when opening file selector
Product: [Frameworks and Libraries] frameworks-kinit Reporter: phrxmd <philipp.reichmuth>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdelibs-bugs, nate
Priority: NOR    
Version: 5.81.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description phrxmd 2021-04-24 06:56:00 UTC
SUMMARY
Periodically, when opening the file selector from a KDE or Qt applications, kdeinit5 segfaults

STEPS TO REPRODUCE
1. Open a Qt application (e.g. Qutebrowser)

OBSERVED RESULT
Repeated crashes in kdeinit5 until either you select a different folder in the file selector, or the file selector closes

EXPECTED RESULT
kdeinit5 should not crash.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210422
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.11.15-1-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f225a16acc0 (LWP 8257))]
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:269
#7  0x00007f2258356f81 in memcpy (__len=49152, __src=<optimized out>, __dest=0x7f2255487000) at /usr/include/bits/string_fortified.h:29
#8  ThumbnailProtocol::get (this=0x7ffedb062d60, url=...) at /usr/src/debug/kio-extras5-20.12.3-1.3.x86_64/thumbnail/thumbnail.cpp:315
#9  0x00007f2257ffeee6 in KIO::SlaveBase::dispatch (this=0x7ffedb062d60, command=67, data=...) at /usr/src/debug/kio-5.81.0-1.2.x86_64/src/core/slavebase.cpp:1215
#10 0x00007f2257ff68c6 in KIO::SlaveBase::dispatchLoop (this=0x7ffedb062d60) at /usr/src/debug/kio-5.81.0-1.2.x86_64/src/core/slavebase.cpp:336
#11 0x00007f22583537b6 in kdemain (argc=<optimized out>, argv=0x5563ace62e70) at /usr/src/debug/kio-extras5-20.12.3-1.3.x86_64/thumbnail/thumbnail.cpp:138
#12 0x00005563ab8e0c07 in launch (argc=argc@entry=4, _name=_name@entry=0x5563ace62da8 "/usr/lib64/qt5/plugins/kf5/kio/thumbnail.so", args=<optimized out>, args@entry=0x5563ace62dd4 "thumbnail", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=envs@entry=0x5563ace62e50 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x5563ab8e3175 "0") at /usr/src/debug/kinit-5.81.0-1.2.x86_64/src/kdeinit/kinit.cpp:692
#13 0x00005563ab8e23a8 in handle_launcher_request (sock=7, who=<optimized out>) at /usr/src/debug/kinit-5.81.0-1.2.x86_64/src/kdeinit/kinit.cpp:1130
#14 0x00005563ab8e2a36 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kinit-5.81.0-1.2.x86_64/src/kdeinit/kinit.cpp:1323
#15 0x00005563ab8dd623 in main (argc=2, argv=<optimized out>) at /usr/src/debug/kinit-5.81.0-1.2.x86_64/src/kdeinit/kinit.cpp:1761
[Inferior 1 (process 8257) detached]
Comment 1 Nate Graham 2021-04-27 17:28:00 UTC

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