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

            Bug ID: 504051
           Summary: kwin crash when switching from external monitor to
                    internal monitor
    Classification: Plasma
           Product: kwin
           Version: 6.3.5
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: xwaang1...@gmail.com
  Target Milestone: ---

Application: kwin_wayland (6.3.5)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.13.0
Operating System: Linux 6.12.28-1-lts x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.3.5 [CoredumpBackend]

-- Information about the crash:
Everytime I switch from the external monitor to the laptop internal one, kwin
crashes.
This used to work up to some days ago.
The issue is present both with arch kernel and lts one.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_wayland), signal: Segmentation fault


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed
mapping note processing

warning: Can't open file /memfd:kwayland-shared (deleted) during file-backed
mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed
mapping note processing

warning: Can't open file /memfd:xwayland-shared (deleted) during file-backed
mapping note processing

warning: Can't open file anon_inode:i915.gem during file-backed mapping note
processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed
mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during
file-backed mapping note processing
[New LWP 1606]
[New LWP 1652]
[New LWP 1630]
[New LWP 1663]
[New LWP 1653]
[New LWP 1666]
[New LWP 1956]
[New LWP 2245]
[New LWP 1651]
[New LWP 1665]
[New LWP 1654]
[New LWP 1664]
[New LWP 2244]
[New LWP 1668]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0
--xwayland-fd 8 --xwayland-fd 9 --xwayland-display :0 --xwayland-xauthority
/run/user/1000/xauth_UNVLgN --xwayland'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007645f12a774c in ?? () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7645eb987a40 (LWP 1606))]
Function(s) ^std::(move|forward|as_const|(__)?addressof) will be skipped when
stepping.
Function(s) ^std::(shared|unique)_ptr<.*>::(get|operator) will be skipped when
stepping.
Function(s)
^std::(basic_string|vector|array|deque|(forward_)?list|(unordered_|flat_)?(multi)?(map|set)|span)<.*>::(c?r?(begin|end)|front|back|data|size|empty)
will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|span)<.*>::operator.] will
be skipped when stepping.
Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:547: DeprecationWarning:
datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in
a future version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time =
datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:564: DeprecationWarning:
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future
version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x7645eb987a40 (LWP 1606))]

Thread 14 (Thread 0x7645c9ffb6c0 (LWP 1668)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a2024 in ??? () at /usr/lib/libc.so.6
#3  0x00007645f131c5a6 in ppoll () at /usr/lib/libc.so.6
#4  0x00007645f05a6f67 in ??? () at /usr/lib/libglib-2.0.so.0
#5  0x00007645f0542615 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#6  0x00007645f1bcd59d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#7  0x00007645f1965376 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#8  0x00007645f1a5a629 in QThread::run() () at /usr/lib/libQt6Core.so.6
#9  0x00007645f1ae44ff in ??? () at /usr/lib/libQt6Core.so.6
#10 0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#11 0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7645c89f76c0 (LWP 2244)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4f28 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#4  0x00007645f1ae9a83 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at
/usr/lib/libQt6Core.so.6
#5  0x00007645f1adf6d5 in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007645f1ae44ff in ??? () at /usr/lib/libQt6Core.so.6
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7645cb7fe6c0 (LWP 1664)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645e1b5ab9e in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#5  0x00007645e1b156bd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#6  0x00007645e1b5aacd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7645d8dff6c0 (LWP 1654)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a2024 in ??? () at /usr/lib/libc.so.6
#3  0x00007645f131c5a6 in ppoll () at /usr/lib/libc.so.6
#4  0x00007645f05a6f67 in ??? () at /usr/lib/libglib-2.0.so.0
#5  0x00007645f0542615 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#6  0x00007645f1bcd59d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#7  0x00007645f1965376 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#8  0x00007645f1a5a629 in QThread::run() () at /usr/lib/libQt6Core.so.6
#9  0x00007645f1ae44ff in ??? () at /usr/lib/libQt6Core.so.6
#10 0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#11 0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7645caffd6c0 (LWP 1665)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645e1b5ab9e in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#5  0x00007645e1b156bd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#6  0x00007645e1b5aacd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7645e9ebe6c0 (LWP 1651)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645e1b5ab9e in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#5  0x00007645e1b156bd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#6  0x00007645e1b5aacd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7645c91f86c0 (LWP 2245)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4f28 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#4  0x00007645f1ae9a83 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at
/usr/lib/libQt6Core.so.6
#5  0x00007645f1adf6d5 in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007645f1ae44ff in ??? () at /usr/lib/libQt6Core.so.6
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7645995dd6c0 (LWP 1956)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645f14daaa1 in __gthread_cond_wait (__cond=<optimized out>,
__mutex=<optimized out>) at
/usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:911
#5  std::__condvar::wait (this=<optimized out>, __m=<optimized out>) at
/usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:173
#6  std::condition_variable::wait (this=<optimized out>, __lock=<optimized
out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#7  0x00007645f4860bc1 in ??? () at /usr/lib/libkwin.so.6
#8  0x00007645f48610da in ??? () at /usr/lib/libkwin.so.6
#9  0x00007645f485b4f6 in ??? () at /usr/lib/libkwin.so.6
#10 0x00007645f12aacb4 in ??? () at /usr/lib/libc.so.6
#11 0x00007645f12aad29 in pthread_once () at /usr/lib/libc.so.6
#12 0x00007645f485bfdf in ??? () at /usr/lib/libkwin.so.6
#13 0x00007645f1a4ffb5 in ??? () at /usr/lib/libQt6Core.so.6
#14 0x00007645f1ae44ff in ??? () at /usr/lib/libQt6Core.so.6
#15 0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#16 0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7645ca7fc6c0 (LWP 1666)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645e1b5ab9e in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#5  0x00007645e1b156bd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#6  0x00007645e1b5aacd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7645e8ebc6c0 (LWP 1653)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645f14daaa1 in __gthread_cond_wait (__cond=<optimized out>,
__mutex=<optimized out>) at
/usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:911
#5  std::__condvar::wait (this=<optimized out>, __m=<optimized out>) at
/usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:173
#6  std::condition_variable::wait (this=<optimized out>, __lock=<optimized
out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#7  0x00007645f4860bc1 in ??? () at /usr/lib/libkwin.so.6
#8  0x00007645f48610da in ??? () at /usr/lib/libkwin.so.6
#9  0x00007645f485b4f6 in ??? () at /usr/lib/libkwin.so.6
#10 0x00007645f12aacb4 in ??? () at /usr/lib/libc.so.6
#11 0x00007645f12aad29 in pthread_once () at /usr/lib/libc.so.6
#12 0x00007645f485bfdf in ??? () at /usr/lib/libkwin.so.6
#13 0x00007645f1a4ffb5 in ??? () at /usr/lib/libQt6Core.so.6
#14 0x00007645f1ae44ff in ??? () at /usr/lib/libQt6Core.so.6
#15 0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#16 0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7645cbfff6c0 (LWP 1663)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645e1b5ab9e in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#5  0x00007645e1b156bd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#6  0x00007645e1b5aacd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7645eb3ff6c0 (LWP 1630)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a2024 in ??? () at /usr/lib/libc.so.6
#3  0x00007645f131c5a6 in ppoll () at /usr/lib/libc.so.6
#4  0x00007645f05a6f67 in ??? () at /usr/lib/libglib-2.0.so.0
#5  0x00007645f0542615 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#6  0x00007645f1bcd59d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#7  0x00007645f1965376 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#8  0x00007645f1a5a4b9 in QThread::exec() () at /usr/lib/libQt6Core.so.6
#9  0x00007645f2a178de in ??? () at /usr/lib/libQt6DBus.so.6
#10 0x00007645f1ae44ff in ??? () at /usr/lib/libQt6Core.so.6
#11 0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#12 0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7645e96bd6c0 (LWP 1652)):
#0  0x00007645f12ade22 in ??? () at /usr/lib/libc.so.6
#1  0x00007645f12a1fda in ??? () at /usr/lib/libc.so.6
#2  0x00007645f12a264c in ??? () at /usr/lib/libc.so.6
#3  0x00007645f12a4d1e in pthread_cond_wait () at /usr/lib/libc.so.6
#4  0x00007645e1b5ab9e in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#5  0x00007645e1b156bd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#6  0x00007645e1b5aacd in ??? () at /usr/lib/libgallium-25.0.5-arch1.1.so
#7  0x00007645f12a57eb in ??? () at /usr/lib/libc.so.6
#8  0x00007645f132918c in ??? () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7645eb987a40 (LWP 1606)):
[KCrash Handler]
#4  0x00007645f459aed4 in KWin::RenderLayer::loop() const () at
/usr/lib/libkwin.so.6
#5  0x00007645f4577da1 in
KWin::Compositor::removeSuperLayer(KWin::RenderLayer*) () at
/usr/lib/libkwin.so.6
#6  0x00007645f19b6cc9 in ??? () at /usr/lib/libQt6Core.so.6
#7  0x00007645f47e23cb in KWin::Workspace::outputRemoved(KWin::Output*) () at
/usr/lib/libkwin.so.6
#8  0x00007645f47db491 in
KWin::Workspace::updateOutputs(std::optional<QList<KWin::Output*> > const&) ()
at /usr/lib/libkwin.so.6
#9  0x00007645f47d25c4 in
KWin::Workspace::applyOutputConfiguration(KWin::OutputConfiguration const&,
std::optional<QList<KWin::Output*> > const&) () at /usr/lib/libkwin.so.6
#10 0x00007645f492c651 in ??? () at /usr/lib/libkwin.so.6
#11 0x00007645efc18976 in ??? () at /usr/lib/libffi.so.8
#12 0x00007645efc1513c in ??? () at /usr/lib/libffi.so.8
#13 0x00007645efc17f0e in ffi_call () at /usr/lib/libffi.so.8
#14 0x00007645f290ff85 in ??? () at /usr/lib/libwayland-server.so.0
#15 0x00007645f2914d02 in ??? () at /usr/lib/libwayland-server.so.0
#16 0x00007645f2913112 in wl_event_loop_dispatch () at
/usr/lib/libwayland-server.so.0
#17 0x00007645f48fb89a in KWin::Display::dispatchEvents() () at
/usr/lib/libkwin.so.6
#18 0x00007645f19b6cc9 in ??? () at /usr/lib/libQt6Core.so.6
#19 0x00007645f19bee7e in QSocketNotifier::event(QEvent*) () at
/usr/lib/libQt6Core.so.6
#20 0x00007645f2cfed9e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#21 0x00007645f195a018 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#22 0x00007645f1ae28d8 in
QEventDispatcherUNIXPrivate::activateSocketNotifiers() () at
/usr/lib/libQt6Core.so.6
#23 0x00007645f1ae3412 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#24 0x00007645f2672943 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt6Gui.so.6
#25 0x00007645f1965376 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#26 0x00007645f195d159 in QCoreApplication::exec() () at
/usr/lib/libQt6Core.so.6
#27 0x00005ad9b779a534 in ??? ()
#28 0x00007645f12376b5 in ??? () at /usr/lib/libc.so.6
#29 0x00007645f1237769 in __libc_start_main () at /usr/lib/libc.so.6
#30 0x00005ad9b77a0ab5 in ??? ()

Reported using DrKonqi

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

Reply via email to