Bug 452370 - Plasma crashed in wl_proxy_unref() when many notifications were received
Summary: Plasma crashed in wl_proxy_unref() when many notifications were received
Status: REPORTED
Alias: None
Product: plasma-integration
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2022-04-07 15:57 UTC by Nate Graham
Modified: 2022-08-01 19:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2022-04-07 15:57:58 UTC
Application: plasmashell (5.24.80)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.93.0
Operating System: Linux 5.16.16-200.fc35.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I don't know if this is related, but I received a large number of notifications from NeoChat due to an active and fast-paced conversation, and plasma crashed. Other than that, the crash seemed quite random. I was not actively interacting with Plasma at the time.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f33f0d7588c in __pthread_kill_implementation () at /lib64/libc.so.6
#6  0x00007f33f0d286a6 in raise () at /lib64/libc.so.6
#7  0x00007f33f0d127d3 in abort () at /lib64/libc.so.6
#8  0x00007f33f0d126fb in _nl_load_domain.cold () at /lib64/libc.so.6
#9  0x00007f33f0d21396 in  () at /lib64/libc.so.6
#10 0x00007f33f3cd877c in wl_proxy_unref (proxy=<optimized out>) at ../src/wayland-client.c:230
#11 0x00007f33f3cd8826 in destroy_queued_closure (closure=0x7f33d800a900) at ../src/wayland-client.c:292
#12 0x00007f33f3cd891c in dispatch_event (display=0x7f33f3cd877c <wl_proxy_unref+76>, display@entry=0x2164ed0, queue=0x218a2e0, queue=<optimized out>) at ../src/wayland-client.c:1589
#13 0x00007f33f3cda12c in dispatch_queue (queue=0x218a2e0, display=0x2164ed0) at ../src/wayland-client.c:1729
#14 wl_display_dispatch_queue_pending (display=0x2164ed0, queue=0x218a2e0) at ../src/wayland-client.c:1971
#15 0x00007f33ef840e2a in QtWaylandClient::EventThread::run() () at /lib64/libQt5WaylandClient.so.5
#16 0x00007f33f12f14c6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#17 0x00007f33f0d73b1a in start_thread () at /lib64/libc.so.6
#18 0x00007f33f0df8660 in clone3 () at /lib64/libc.so.6

Thread 2 (Thread 0x7f33dfa78640 (LWP 1018205) "WaylandEventThr"):
#1  0x00007f33f0d72eb0 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f33f12f703b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt5Core.so.5
#3  0x00007f33ef840d93 in QtWaylandClient::EventThread::run() () at /lib64/libQt5WaylandClient.so.5
#4  0x00007f33f12f14c6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f33f0d73b1a in start_thread () at /lib64/libc.so.6
#6  0x00007f33f0df8660 in clone3 () at /lib64/libc.so.6

Thread 1 (Thread 0x7f33ed36d980 (LWP 1018201) "plasmashell"):
#1  0x00007f33f0d76f32 in pthread_mutex_lock@@GLIBC_2.2.5 () at /lib64/libc.so.6
#2  0x00007f33f3cd8e77 in wl_proxy_marshal_array_flags (proxy=proxy@entry=0x806a600, opcode=opcode@entry=1, interface=interface@entry=0x0, version=version@entry=1, flags=flags@entry=1, args=args@entry=0x7ffffac77270) at ../src/wayland-client.c:827
#3  0x00007f33f3cd920b in wl_proxy_marshal_flags (proxy=0x806a600, opcode=1, interface=0x0, version=1, flags=1) at ../src/wayland-client.c:784
#4  0x00007f33dfe0c4ae in org_kde_kwin_appmenu_release (org_kde_kwin_appmenu=0x806a600) at /home/nate/kde/build/plasma-integration/src/platformtheme/wayland-appmenu-client-protocol.h:180
#5  QtWayland::org_kde_kwin_appmenu::release() (this=this@entry=0x348ca30) at /home/nate/kde/build/plasma-integration/src/platformtheme/qwayland-appmenu.cpp:129
#6  0x00007f33dfe02bc8 in KWaylandIntegration::shellSurfaceDestroyed(QWindow*) (this=this@entry=0x21a9050, w=w@entry=0x9cea9c0) at /home/nate/kde/src/plasma-integration/src/platformtheme/kwaylandintegration.cpp:151
#7  0x00007f33dfe037f1 in KWaylandIntegration::eventFilter(QObject*, QEvent*) (this=0x21a9050, watched=0x9cea9c0, event=<optimized out>) at /home/nate/kde/src/plasma-integration/src/platformtheme/kwaylandintegration.cpp:107
#8  0x00007f33f14ae48f in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#9  0x00007f33f234a480 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#10 0x00007f33f14ae7d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#11 0x00007f33f190b006 in QWindowPrivate::setVisible(bool) () at /lib64/libQt5Gui.so.5
#12 0x00007f33f190a649 in QWindowPrivate::destroy() () at /lib64/libQt5Gui.so.5
#13 0x00007f33f190a7b7 in QWindow::~QWindow() () at /lib64/libQt5Gui.so.5
#14 0x00007f33d425d27d in QQmlPrivate::QQmlElement<PlasmaQuick::Dialog>::~QQmlElement() (this=0x9cea9c0, __in_chrg=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#15 QQmlPrivate::QQmlElement<PlasmaQuick::Dialog>::~QQmlElement() (this=0x9cea9c0, __in_chrg=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#16 0x00007f33f14d8d71 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#17 0x00007f33f234a443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f33f14ae7d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#19 0x00007f33f14b1d46 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#20 0x00007f33f1500117 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#21 0x00007f33efa630af in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#22 0x00007f33efab8308 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#23 0x00007f33efa608a3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#24 0x00007f33f14ffbb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007f33f14ad1e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007f33f14b5724 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#27 0x000000000042191b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nate/kde/src/plasma-workspace/shell/main.cpp:240
[Inferior 1 (process 1018201) detached]

Possible duplicates by query: bug 452204, bug 450861, bug 450723, bug 450215, bug 449426.

Reported using DrKonqi