Bug 443186 - Plasma-Wayland desktop crashes when applying refresh rate setting to external monitor
Summary: Plasma-Wayland desktop crashes when applying refresh rate setting to external...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.22.90
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2021-10-01 06:23 UTC by maringrly69
Modified: 2021-11-09 04:39 UTC (History)
1 user (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 maringrly69 2021-10-01 06:23:28 UTC
Application: systemsettings5 (5.22.90)

Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.13.0-16-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu Impish Indri (development branch)
DrKonqi: 5.22.90 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

I went to Display Configuration to set my second 4K monitor to 60Hz (from 30Hz). When I hit apply, my first monitor goes black and the Plasma desktop is gone for a moment, and then loads as usual.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:45
#5  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at pthread_kill.c:62
#6  0x00007fe048792466 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#7  0x00007fe0487787b7 in __GI_abort () at abort.c:79
#8  0x00007fe048c1dba3 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe046760e45 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#10 0x00007fe04677054d in QtWaylandClient::QWaylandDisplay::dispatchQueueWhile(wl_event_queue*, std::function<bool ()>, int) () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#11 0x00007fe046776592 in QtWaylandClient::QWaylandWindow::waitForFrameSync(int) () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#12 0x00007fe041de1bb2 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
#13 0x00007fe049685293 in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, bool) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x00007fe049a50b5b in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fe049a529e3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fe049a54998 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fe049a868bd in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fe04a43cdcd in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#19 0x00007fe049a436b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fe048e461ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fe048e492a7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fe048e9ff57 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fe046b088bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe046b5bf08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fe046b06003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fe048e9f5a8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fe048e44aeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fdffeda2181 in KScreen::ConfigOperation::exec() () from /lib/x86_64-linux-gnu/libKF5Screen.so.7
#29 0x00007fdffee52bcd in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcms/kcm_kscreen.so
#30 0x00007fe04a498a16 in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#31 0x00007fe04a4aaf37 in KCModuleProxy::save() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#32 0x00007fe04a4dd655 in ModuleView::moduleSave(KCModuleProxy*) () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#33 0x00007fe04a4dfb16 in ?? () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#34 0x00007fe048e7dae8 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fe049b38856 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007fe049b38ade in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007fe049b3a704 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007fe049b3a927 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007fe049a8616e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007fe049a436b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007fe049a4b2e4 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007fe048e461ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007fe049a49dc7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007fe049a9f9a0 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007fe049aa2c35 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007fe049a436b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007fe048e461ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007fe04933c277 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#49 0x00007fe0493119ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#50 0x00007fe0467a95b4 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#51 0x00007fe046b088bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007fe046b5bf08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007fe046b06003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007fe048e9f5a8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007fe048e44aeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007fe048e4d074 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00005622a9af361c in ?? ()
#58 0x00007fe048779fd0 in __libc_start_call_main (main=main@entry=0x5622a9af2ae0, argc=argc@entry=2, argv=argv@entry=0x7ffd88b585d8) at ../sysdeps/nptl/libc_start_call_main.h:58
#59 0x00007fe04877a07d in __libc_start_main_impl (main=0x5622a9af2ae0, argc=2, argv=0x7ffd88b585d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd88b585c8) at ../csu/libc-start.c:409
#60 0x00005622a9af42d5 in ?? ()
[Inferior 1 (process 11558) detached]

Possible duplicates by query: bug 442689, bug 440680, bug 440092, bug 439973, bug 439797.

Reported using DrKonqi
Comment 1 David Edmundson 2021-10-03 20:20:56 UTC
>#10 0x00007fe04677054d in QtWaylandClient::QWaylandDisplay::dispatchQueueWhile(wl_event_queue*, std::function<bool ()>, int) () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5

If you can reliably reproduce please run

WAYLAND_DEBUG=1 systemsettings5 and recreate
Comment 2 maringrly69 2021-10-03 22:01:55 UTC
(In reply to David Edmundson from comment #1)
> >#10 0x00007fe04677054d in QtWaylandClient::QWaylandDisplay::dispatchQueueWhile(wl_event_queue*, std::function<bool ()>, int) () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
> 
> If you can reliably reproduce please run
> 
> WAYLAND_DEBUG=1 systemsettings5 and recreate

Should I copy-paste the output from the terminal or is there a log file that I can post?
Comment 3 maringrly69 2021-10-10 01:14:30 UTC
This is the last few lines after setting my 1440p monitor to 144Hz and 4K display to 60Hz.


[1309989.707] wl_registry@2.global(46, "org_kde_kwin_blur_manager", 1)
[1309989.714] wl_registry@2.global(47, "org_kde_kwin_contrast_manager", 2)
[1309989.721] wl_registry@2.global(48, "org_kde_kwin_slide_manager", 1)
[1309989.728] wl_callback@3.done(163)
[1309989.909] wl_display@1.delete_id(14)
[1309989.919] wl_shm@6.format(0)
[1309989.925] wl_shm@6.format(1)
[1309989.928] wl_shm@6.format(808669761)
[1309989.932] wl_shm@6.format(808669784)
[1309989.936] wl_shm@6.format(808665665)
[1309989.940] wl_shm@6.format(808665688)
[1309989.944] wl_seat@7.capabilities(3)
[1309989.958]  -> wl_seat@7.get_keyboard(new id wl_keyboard@3)
[1309989.965]  -> wl_seat@7.get_pointer(new id wl_pointer@22)
[1309989.968] wl_seat@7.name("")
[1309989.972] wl_callback@14.done(163)
[1309989.976] wl_output@16.mode(1, 3840, 2160, 30000)
[1309989.985] wl_output@16.scale(1)
[1309989.989] wl_output@16.geometry(2471, 0, 950, 540, 0, "Technical Concepts Ltd", "HDMI-A-1-43S435", 0)
[1309990.005] wl_output@16.done()
[1309990.044] zxdg_output_v1@17.logical_position(2471, 0)
[1309990.056] zxdg_output_v1@17.logical_size(3840, 2160)
[1309990.062] zxdg_output_v1@17.name("HDMI-A-1")
[1309990.067] zxdg_output_v1@17.description("Technical Concepts Ltd HDMI-A-1-43S435")
[1309990.074] wl_output@16.done()
[1309990.078] wl_output@18.mode(1, 2560, 1440, 59951)
[1309990.085] wl_output@18.scale(1)
[1309990.090] wl_output@18.geometry(0, 648, 600, 340, 0, "Viewteck Co., Ltd.", "DP-1-VIOTEK GN27D", 0)
[1309990.106] wl_output@18.done()
[1309990.111] zxdg_output_v1@19.logical_position(0, 648)
[1309990.116] zxdg_output_v1@19.logical_size(2560, 1440)
[1309990.125] zxdg_output_v1@19.name("DP-1")
[1309990.129] zxdg_output_v1@19.description("Viewteck Co., Ltd. DP-1-VIOTEK GN27D")
[1309990.133] wl_output@18.done()
[1310003.923]  -> wl_display@1.get_registry(new id wl_registry@14)
[1310003.939]  -> wl_display@1.sync(new id wl_callback@23)
[1310038.643] wl_display@1.delete_id(23)
[1310038.653] wl_keyboard@3.repeat_info(25, 600)
[1310038.659] wl_keyboard@3.keymap(1, fd 10, 49002)
[1310039.691] wl_registry@14.global(1, "wl_compositor", 4)
[1310039.703] wl_registry@14.global(2, "zwp_tablet_manager_v2", 1)
[1310039.709] wl_registry@14.global(3, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[1310039.717] wl_registry@14.global(5, "xdg_wm_base", 3)
[1310039.724] wl_registry@14.global(6, "zwlr_layer_shell_v1", 3)
[1310039.728] wl_registry@14.global(7, "zxdg_decoration_manager_v1", 1)
[1310039.733] wl_registry@14.global(8, "wp_viewporter", 1)
[1310039.739] wl_registry@14.global(9, "wl_shm", 1)
[1310039.743] wl_registry@14.global(10, "wl_seat", 7)
[1310039.749] wl_registry@14.global(11, "zwp_pointer_gestures_v1", 2)
[1310039.756] wl_registry@14.global(12, "zwp_pointer_constraints_v1", 1)
[1310039.762] wl_registry@14.global(13, "wl_data_device_manager", 3)
[1310039.767] wl_registry@14.global(14, "zwlr_data_control_manager_v1", 2)
[1310039.772] wl_registry@14.global(15, "zwp_primary_selection_device_manager_v1", 1)
[1310039.778] wl_registry@14.global(16, "org_kde_kwin_idle", 1)
[1310039.785] wl_registry@14.global(17, "zwp_idle_inhibit_manager_v1", 1)
[1310039.792] wl_registry@14.global(18, "org_kde_plasma_shell", 6)
[1310039.798] wl_registry@14.global(19, "org_kde_kwin_appmenu_manager", 1)
[1310039.804] wl_registry@14.global(20, "org_kde_kwin_server_decoration_palette_manager", 1)
[1310039.814] wl_registry@14.global(22, "org_kde_plasma_virtual_desktop_management", 2)
[1310039.820] wl_registry@14.global(24, "org_kde_kwin_shadow_manager", 2)
[1310039.828] wl_registry@14.global(25, "org_kde_kwin_dpms_manager", 1)
[1310039.834] wl_registry@14.global(26, "org_kde_kwin_server_decoration_manager", 1)
[1310039.840] wl_registry@14.global(27, "kde_output_management_v2", 1)
[1310039.846] wl_registry@14.global(28, "zxdg_output_manager_v1", 3)
[1310039.852] wl_registry@14.global(29, "wl_subcompositor", 1)
[1310039.857] wl_registry@14.global(30, "zxdg_exporter_v2", 1)
[1310039.864] wl_registry@14.global(31, "zxdg_importer_v2", 1)
[1310039.871] wl_registry@14.global(34, "xdg_activation_v1", 1)
[1310039.877] wl_registry@14.global(35, "zwp_relative_pointer_manager_v1", 1)
[1310039.884] wl_registry@14.global(37, "wl_drm", 2)
[1310039.890] wl_registry@14.global(38, "zwp_linux_dmabuf_v1", 3)
[1310039.896] wl_registry@14.global(39, "kde_output_device_v2", 1)
[1310039.902] wl_registry@14.global(40, "wl_output", 3)
[1310039.908] wl_registry@14.global(41, "kde_output_device_v2", 1)
[1310039.914] wl_registry@14.global(42, "wl_output", 3)
[1310039.920] wl_registry@14.global(44, "zwp_text_input_manager_v2", 1)
[1310039.926] wl_registry@14.global(45, "zwp_text_input_manager_v3", 1)
[1310039.931] wl_registry@14.global(46, "org_kde_kwin_blur_manager", 1)
[1310039.938] wl_registry@14.global(47, "org_kde_kwin_contrast_manager", 2)
[1310039.945] wl_registry@14.global(48, "org_kde_kwin_slide_manager", 1)
[1310039.951] wl_callback@23.done(164)
[1310039.959]  -> wl_registry@14.bind(19, "org_kde_kwin_appmenu_manager", 1, new id [unknown]@24)
[1311021.947] wl_output@16.done()
[1311021.966] wl_output@18.done()
[1311065.358] wl_output@16.done()
[1311065.383] wl_output@18.done()

[1]+  Detenido                WAYLAND_DEBUG=1 systemsettings5
admin@3600-UBUNTU:~$ [1313813.803] wl_output@16.done()
[1313813.829] wl_output@18.done()
Comment 4 Bug Janitor Service 2021-10-25 04:35:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-11-09 04:39:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!