Bug 476094 - Okular and Dolphin crashed after plugging in external screen
Summary: Okular and Dolphin crashed after plugging in external screen
Status: RESOLVED DUPLICATE of bug 473020
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2023-10-25 19:32 UTC by Thomas Moerschell
Modified: 2024-05-10 20:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Moerschell 2023-10-25 19:32:27 UTC
Application: okular (23.08.2)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.5.8-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
I unfortunately wasn't able to reproduce this bug, but Okular and Dolphin crashed at the same time upon plugging in my external screen via HDMI cable. Might be some kind of race condition?

The crash does not seem to be reproducible.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  QWeakPointer<QObject>::internalData() const (this=0xba4cf7440148d91e) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:702
#5  QPointer<QScreen>::data() const (this=0xba4cf7440148d91e) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:77
#6  QPointer<QScreen>::operator QScreen*() const (this=0xba4cf7440148d91e) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:83
#7  QPlatformScreen::screen() const (this=this@entry=0x7f1aec003710) at kernel/qplatformscreen.cpp:154
#8  0x00007f1af4b84053 in QtWaylandClient::QWaylandWindow::handleScreensChanged() (this=0x557fb000f910) at qwaylandwindow.cpp:1055
#9  0x00007f1af6725442 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe1ecf76a0, r=0x557fb000f910, this=0x557fafd04040) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false>(QObject*, int, void**) (sender=0x557fafd03da0, signal_index=3, argv=0x7ffe1ecf76a0) at kernel/qobject.cpp:3925
#11 0x00007f1af4047962 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#12 0x00007f1af40442df in ffi_call_int (cif=cif@entry=0x7ffe1ecf78b0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#13 0x00007f1af4046f26 in ffi_call (cif=cif@entry=0x7ffe1ecf78b0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffe1ecf7980) at ../src/x86/ffi64.c:710
#14 0x00007f1af4af0a23 in wl_closure_invoke (closure=closure@entry=0x7f1adc004660, target=<optimized out>, target@entry=0x557fafd03e40, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../src/connection.c:1025
#15 0x00007f1af4af1203 in dispatch_event (display=0x557fafa34c90, queue=<optimized out>) at ../src/wayland-client.c:1631
#16 0x00007f1af4af1494 in dispatch_queue (queue=0x557fafa34d80, display=0x557fafa34c90) at ../src/wayland-client.c:1777
#17 wl_display_dispatch_queue_pending (display=0x557fafa34c90, queue=0x557fafa34d80) at ../src/wayland-client.c:2019
#18 0x00007f1af4b7ce22 in QtWaylandClient::QWaylandDisplay::flushRequests() (this=<optimized out>) at qwaylanddisplay.cpp:255
#19 0x00007f1af6718f50 in QObject::event(QEvent*) (this=0x557fafa305d0, e=0x7f1ae4001530) at kernel/qobject.cpp:1347
#20 0x00007f1af73a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x557fafa305d0, e=0x7f1ae4001530) at kernel/qapplication.cpp:3640
#21 0x00007f1af66ed198 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x557fafa305d0, event=0x7f1ae4001530) at kernel/qcoreapplication.cpp:1064
#22 0x00007f1af66ed35e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#23 0x00007f1af66f0791 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x557fafa08030) at kernel/qcoreapplication.cpp:1821
#24 0x00007f1af66f0cd8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#25 0x00007f1af67468c3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x557fafa4f6a0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f1af5066ef0 in  () at /lib64/libglib-2.0.so.0
#27 0x00007f1af5068b18 in  () at /lib64/libglib-2.0.so.0
#28 0x00007f1af50691cc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#29 0x00007f1af67460d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557fafa5ce80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f1af66ebc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe1ecf7ed0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007f1af66f40c0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x00007f1af6b7057c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#33 0x00007f1af73a5115 in QApplication::exec() () at kernel/qapplication.cpp:2832
#34 0x0000557fae08101e in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular-23.08.2/shell/main.cpp:109
[Inferior 1 (process 5533) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2024-02-14 17:58:27 UTC

*** This bug has been marked as a duplicate of bug 473020 ***