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

            Bug ID: 520736
           Summary: SEGFAULT When Displays Sleep
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First 6.26.0
       Reported In:
          Platform: Solus
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Application: kioworker (6.26.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.1
Frameworks Version: 6.26.0
Operating System: Linux 7.0.9-341.current x86_64
Windowing System: X11
Distribution: Solus 4.9 Serenity
DrKonqi: 6.6.5 [CoredumpBackend]

-- Information about the crash:
I've set Plasma up to automatically put the monitors to sleep after a period of
inactivity. Frequently this will result in one or more components of the Plasma
desktop crashing like this. There will typically be a period where there are no
panels visible, or the panels are frozen, before the crash handler realizes
that something has gone wrong and resets Plasma.

Curiously the crash reporter is saying that the windowing system is X11 even
though this is a Wayland system. This system also has an Nvidia card and is
using the official drivers, I'm mentioning this because I have noticed quite a
few oddities in Wayland with Nvidia cards, but I'm not sure that it is
specifically related in this case.

The crash can be reproduced sometimes.

-- Backtrace:
Application: kioworker (kioworker), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 724228]
[New LWP 724231]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `/usr/lib64/kf6/kioworker
/usr/lib64/qt6/plugins/kf6/kio/thumbnail.so thumbnail ''
local:/run/user/1000/plasmashellmxbKBM.337.kioworker.socket'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=11,
no_tid=0) at pthread_kill.c:44

warning: 44     pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x7f9a65a1f300 (LWP 724228))]
Using eu-unstrip to resolve modules.

[Current thread is 2 (Thread 0x7f9a5bd056c0 (LWP 724231))]

Thread 2 (Thread 0x7f9a5bd056c0 (LWP 724231)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f9a658a3d58 in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=8, a6=0, nr=271)
at cancellation.c:49
#2  __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized
out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at
cancellation.c:75
#3  0x00007f9a6592af03 in __GI_ppoll (fds=fds@entry=0x7f9a54001600,
nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f9a652dc87f in ppoll (__fds=0x7f9a54001600, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7f9a54000ca0, timeout_usec=<optimized out>, fds=0x7f9a54001600,
n_fds=2) at ../glib/gmain.c:4837
#6  g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7f9a54000ca0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4511
#7  0x00007f9a652dc998 in g_main_context_iteration (context=0x7f9a54000ca0,
may_block=1) at ../glib/gmain.c:4582
#8  0x00007f9a6624aa3e in QEventDispatcherGlib::processEvents
(this=0x7f9a54000880, flags=...) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#9  0x00007f9a65f006a6 in QEventLoop::processEvents (this=0x7f9a5bd04ad0,
flags=...) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventloop.cpp:109
#10 QEventLoop::exec (this=0x7f9a5bd04ad0, flags=...) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventloop.cpp:198
#11 0x00007f9a6603427a in QThread::exec (this=<optimized out>) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/thread/qthread.cpp:672
#12 0x00007f9a60f888ae in QDBusConnectionManager::run (this=0x7f9a54001600) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/dbus/qdbusconnectionmanager.cpp:145
#13 0x00007f9a661067d5 in QThreadPrivate::start (arg=0x7f9a60ffef48
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.llvm.15056417917920490722>)
at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/thread/qthread_unix.cpp:466
#14 0x00007f9a658a78de in start_thread (arg=<optimized out>) at
pthread_create.c:454
#15 0x00007f9a659399cc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f9a65a1f300 (LWP 724228)):
[KCrash Handler]
#6  std::__atomic_base<bool>::store (this=0x666e6f632e6972ea, __i=true,
__m=std::memory_order::seq_cst) at
/usr/bin/../lib64/gcc/x86_64-solus-linux/15/../../../../include/c++/15/bits/atomic_base.h:477
#7  std::__atomic_base<bool>::operator= (this=0x666e6f632e6972ea, __i=true) at
/usr/bin/../lib64/gcc/x86_64-solus-linux/15/../../../../include/c++/15/bits/atomic_base.h:369
#8  std::atomic<bool>::operator= (this=0x666e6f632e6972ea, __i=true) at
/usr/bin/../lib64/gcc/x86_64-solus-linux/15/../../../../include/c++/15/atomic:89
#9  KIO::SlaveBase::setKillFlag (this=<optimized out>) at
/home/build/YPKG/root/kf6-kio/build/kio-6.26.0/src/core/slavebase.cpp:1423
#10 genericsig_handler (sigNumber=<optimized out>) at
/home/build/YPKG/root/kf6-kio/build/kio-6.26.0/src/core/slavebase.cpp:234
#11 0x00007f9a65847660 in <signal handler called> () at
/usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#12 0x00007f9a60c9bb8b in FcCacheOffsetsValid (cache=0x7f9a58200000) at
../src/fccache.c:879
#13 FcDirCacheMapFd (config=0x5602f3cd1be0, fd=<optimized out>,
fd_stat=0x7ffe30e0dd80, dir_stat=0x7ffe30e0dcf0) at ../src/fccache.c:1016
#14 0x00007f9a60c9adcf in FcDirCacheMapHelper (config=0x19, fd=1479772161,
fd_stat=0x0, dir_stat=0x3, latest_cache_mtime=0x7f9a58200000,
closure=0x7f9a58338af8) at ../src/fccache.c:1056
#15 0x00007f9a60c9b323 in FcDirCacheProcess (config=0x5602f3cd1be0,
dir=0x5602f40292d0 "/usr/share/fonts/truetype/noto-sans-ttf",
callback=0x7f9a60c9adb0 <FcDirCacheMapHelper>, closure=0x7ffe30e0df48,
cache_file_ret=0x0) at ../src/fccache.c:387
#16 0x00007f9a60ca0d01 in IA__FcDirCacheLoad (dir=0x5602f40292d0
"/usr/share/fonts/truetype/noto-sans-ttf", config=0x5602f3cd1be0,
cache_file=0x0) at ../src/fccache.c:1103
#17 IA__FcDirCacheRead (dir=0x5602f40292d0
"/usr/share/fonts/truetype/noto-sans-ttf", force=0, config=0x5602f3cd1be0) at
../src/fcdir.c:460
#18 FcConfigAddDirList (config=0x5602f3cd1be0, set=FcSetSystem,
dirSet=0x5602f41a5330) at ../src/fccfg.c:524
#19 0x00007f9a60cb8cd2 in IA__FcConfigBuildFonts (config=0x5602f3cd1be0) at
../src/fccfg.c:557
#20 FcInitLoadOwnConfigAndFonts (config=0x5602f3cd1be0) at ../src/fcinit.c:188
#21 IA__FcInitLoadConfigAndFonts () at ../src/fcinit.c:198
#22 0x00007f9a60ca1a71 in FcConfigEnsure () at ../src/fccfg.c:95
#23 IA__FcConfigGetCurrent () at ../src/fccfg.c:604
#24 0x00007f9a617c6e3c in QFontconfigDatabase::~QFontconfigDatabase (this=0x19)
at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/gui/text/unix/qfontconfigdatabase.cpp:604
#25 0x00007f9a617c6e63 in QFontconfigDatabase::~QFontconfigDatabase (this=0x19)
at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/gui/text/unix/qfontconfigdatabase.cpp:603
#26 0x00007f9a65256b92 in QOffscreenX11Integration::~QOffscreenX11Integration
(this=0x19) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:49
#27 QOffscreenX11Integration::~QOffscreenX11Integration (this=0x19) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:49
#28 0x00007f9a612b2d58 in QGuiApplicationPrivate::~QGuiApplicationPrivate
(this=0x5602f3bbead0) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:1861
#29 0x00007f9a6203b7b3 in QApplicationPrivate::~QApplicationPrivate (this=0x19)
at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/widgets/kernel/qapplication.cpp:146
#30 0x00007f9a65f534f5 in QScopedPointerDeleter<QObjectData>::cleanup
(pointer=0x19) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/tools/qscopedpointer.h:25
#31 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>
>::~QScopedPointer (this=0x7ffe30e0e2b8) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/tools/qscopedpointer.h:82
#32 QObject::~QObject (this=0x7ffe30e0e2b0) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qobject.cpp:1186
#33 0x00007f9a612ab033 in QGuiApplication::~QGuiApplication
(this=0x7ffe30e0e2b0) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:737
#34 0x00007f9a6203daa4 in QApplication::~QApplication (this=0x7ffe30e0e2b0) at
/home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.11.1/src/widgets/kernel/qapplication.cpp:722
#35 0x00007f9a657991ab in kdemain (argc=<optimized out>, argv=0x7ffe30e0ee58)
at /home/build/YPKG/root/kio-extras/build/gear/thumbnail/thumbnail.cpp:211
#36 0x00005602dab045f8 in main (argc=<optimized out>, argv=0x7ffe30e0efd8) at
/home/build/YPKG/root/kf6-kio/build/kio-6.26.0/src/kioworker/kioworker.cpp:144

Reported using DrKonqi

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

Reply via email to