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

            Bug ID: 504964
           Summary: Akonadi or kwin_wayland sometimes segfaults when
                    closing an application
    Classification: Frameworks and Libraries
           Product: Akonadi
      Version First unspecified
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: server
          Assignee: kdepim-b...@kde.org
          Reporter: not_a_normal_ro...@protonmail.com
                CC: c...@carlschwan.eu
  Target Milestone: ---

Application: akonadiserver (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-34-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Sometimes when closing an application, Akonadi segfaults, taking down the
entire desktop environment and all running apps along with it.

Sometimes, the KDE crash handler says the problem is with Akonadi (this
instance), while other times, it says the problem is with kwin_wayland.

When it says the problem is with kwin_wayland, the backtrace was not able to be
generated (it flashes the backtrace but then says "The crash information could
not be generated.") and I could not make a bug report through the crash
handler. However. when Akonadi crashes, I can make the bug report through the
crash handler.

This is semi-reproducible on my machine. It just takes a fair few application
closes and reopens. It doesn't seem to matter what app is being closed (as I
have seen this bug occur when trying to close VSCode), but I was able to easily
reproduce it by creating many Waterfox windows and closing them, trying again
if the crash hasn't occured. It takes roughly 20 window closes for this bug to
surface.

This also seems to be a new bug. In my several months of my Debian install,
this hasn't really occurred until very recently. Using an older kernel did not
help. Neither did `sudo apt reinstall kwin-wayland`.

Info Centre (deduplicated):
KDE Plasma Version: 5.27.5
Processors: 2 × AMD A6-7400K Radeon R5, 6 Compute Cores 2C+4G
Memory: 13.6 GiB of RAM
Graphics Processor: KAVERI

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault

[KCrash Handler]
#4  0x000055a3ac9b31cc in ?? ()
#5  0x00007f574c2dd730 in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f574c2b170d in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f574c2b46c1 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f574c30a193 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f574aa5c749 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f574aa5c9d8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f574aa5ca6c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f574c309876 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f574c2b01bb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f574c2b8316 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x000055a3ac9b0450 in ?? ()
#16 0x00007f574ba3f24a in __libc_start_call_main
(main=main@entry=0x55a3ac9b0150, argc=argc@entry=1,
argv=argv@entry=0x7ffe0b20bd98) at ../sysdeps/nptl/libc_start_call_main.h:58
#17 0x00007f574ba3f305 in __libc_start_main_impl (main=0x55a3ac9b0150, argc=1,
argv=0x7ffe0b20bd98, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffe0b20bd88) at ../csu/libc-start.c:360
#18 0x000055a3ac9b2c81 in ?? ()
[Inferior 1 (process 1801) detached]

Reported using DrKonqi

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

Reply via email to