https://bugs.kde.org/show_bug.cgi?id=467622
--- Comment #8 from Mikko Kortelainen <kor...@gmail.com> --- Thread 1 "xdg-desktop-por" received signal SIGSEGV, Segmentation fault. KWayland::Client::Output::globalPosition (this=this@entry=0x0) at /usr/include/qt5/QtCore/qscopedpointer.h:116 116 T *operator->() const noexcept (gdb) where #0 KWayland::Client::Output::globalPosition (this=this@entry=0x0) at /usr/include/qt5/QtCore/qscopedpointer.h:116 #1 0x000055760e78f77c in WaylandIntegration::WaylandIntegrationPrivate::startStreamingOutput (this=0x55760e7e2500 <_ZZN12_GLOBAL__N_130Q_QGS_globalWaylandIntegration13innerFunctionEvE6holder.lto_priv.0>, outputName=<optimized out>, mode=Screencasting::Metadata) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/waylandintegration.cpp:285 #2 0x000055760e77ea99 in WaylandIntegration::startStreamingOutput (mode=Screencasting::Metadata, outputName=60) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/waylandintegration.cpp:115 #3 ScreenCastPortal::Start (this=<optimized out>, handle=..., session_handle=..., app_id=..., parent_window=..., options=..., results=...) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/screencast.cpp:268 #4 0x000055760e757c30 in ScreenCastPortal::qt_static_metacall (_o=_o@entry=0x557610020b20, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=2, _a=_a@entry=0x7fff4f064dd0) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/redhat-linux-build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:143 #5 0x000055760e75c5f2 in ScreenCastPortal::qt_metacall (this=0x557610020b20, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff4f064dd0) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/redhat-linux-build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:223 #6 0x00007fce1df9244b in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7fce04001680, object=object@entry=0x557610020b20, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001 #7 0x00007fce1df9642d in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fce04001680, object=0x557610020b20, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:911 #8 0x00007fce1df96c39 in QDBusConnectionPrivate::activateCall (msg=..., flags=273, object=<optimized out>, this=0x7fce04001680) at qdbusintegrator.cpp:853 #9 QDBusConnectionPrivate::activateObject (this=0x7fce04001680, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1503 #10 0x00007fce1df98f24 in QDBusActivateObjectEvent::placeMetaCall (this=0x557610318b60) at qdbusintegrator.cpp:1623 #11 0x00007fce1d4def9b in QObject::event (this=0x557610005560, e=0x557610318b60) at kernel/qobject.cpp:1347 #12 0x00007fce1edaeca5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x557610005560, e=0x557610318b60) at kernel/qapplication.cpp:3640 #13 0x00007fce1d4b35a8 in QCoreApplication::notifyInternal2 (receiver=0x557610005560, event=0x557610318b60) at kernel/qcoreapplication.cpp:1064 #14 0x00007fce1d4b37c2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #15 0x00007fce1d4b6a55 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55760fe210b0) at kernel/qcoreapplication.cpp:1821 #16 0x00007fce1d4b6d0d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680 #17 0x00007fce1d50669f in postEventSourceDispatch (s=0x55760fe408e0) at kernel/qeventdispatcher_glib.cpp:277 #18 0x00007fce1b713788 in g_main_dispatch (context=0x7fce04000ee0) at ../glib/gmain.c:3460 #19 g_main_context_dispatch (context=0x7fce04000ee0) at ../glib/gmain.c:4200 #20 0x00007fce1b771dd8 in g_main_context_iterate.isra.0 (context=0x7fce04000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276 #21 0x00007fce1b711113 in g_main_context_iteration (context=0x7fce04000ee0, may_block=1) at ../glib/gmain.c:4343 #22 0x00007fce1d506189 in QEventDispatcherGlib::processEvents (this=0x55760fe420d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #23 0x00007fce1d4b1f7b in QEventLoop::exec (this=this@entry=0x7fff4f065460, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #24 0x00007fce1d4ba1fb in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #25 0x00007fce1d95f5bd in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863 #26 0x00007fce1edaec19 in QApplication::exec () at kernel/qapplication.cpp:2832 #27 0x000055760e75315a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/xdg-desktop-portal-kde.cpp:46 in detail (gdb) bt full #0 KWayland::Client::Output::globalPosition (this=this@entry=0x0) at /usr/include/qt5/QtCore/qscopedpointer.h:116 No locals. #1 0x000055760e78f77c in WaylandIntegration::WaylandIntegrationPrivate::startStreamingOutput (this=0x55760e7e2500 <_ZZN12_GLOBAL__N_130Q_QGS_globalWaylandIntegration13innerFunctionEvE6holder.lto_priv.0>, outputName=<optimized out>, mode=Screencasting::Metadata) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/waylandintegration.cpp:285 output = <optimized out> #2 0x000055760e77ea99 in WaylandIntegration::startStreamingOutput (mode=Screencasting::Metadata, outputName=60) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/waylandintegration.cpp:115 No locals. #3 ScreenCastPortal::Start (this=<optimized out>, handle=..., session_handle=..., app_id=..., parent_window=..., options=..., results=...) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/screencast.cpp:268 stream = {stream = 0x0, nodeId = 0, map = {d = 0x7fce1d588c80 <QMapDataBase::shared_null>}} output = @0x55761056d7d0: {m_outputType = WaylandIntegration::WaylandOutput::Monitor, m_waylandOutputName = 60, m_display = {d = 0x557610514060}, m_uniqueId = {d = 0x55760fe4ae00}, m_name = { d = 0x557610513bf0}} __for_range = @0x7fff4f064b58: {<QListSpecialMethods<Output>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x5576109e6db0}, d = 0x5576109e6db0}} __for_begin = <optimized out> __for_end = <optimized out> outputs = {<QListSpecialMethods<QVariant>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fce1d588c40 <QListData::shared_null>}, d = 0x7fce1d588c40 <QListData::shared_null>}} windows = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fce1d588c40 <QListData::shared_null>}, d = 0x7fce1d588c40 <QListData::shared_null>}}, <No data fields>} streams = {d = 0x7fce1d588160 <QArrayData::shared_null>} cursorMode = Screencasting::Metadata session = {wp = {d = 0x7fce04004b50, value = 0x55761036e340}} persist = <optimized out> valid = <optimized out> selectedOutputs = {<QListSpecialMethods<Output>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = { 0x0}}, d = 0x5576109e6db0}, d = 0x5576109e6db0}} selectedWindows = {d = 0x7fce1d588160 <QArrayData::shared_null>} allowRestore = <optimized out> #4 0x000055760e757c30 in ScreenCastPortal::qt_static_metacall (_o=_o@entry=0x557610020b20, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=2, _a=_a@entry=0x7fff4f064dd0) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/redhat-linux-build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:143 _r = <optimized out> _t = 0x557610020b20 #5 0x000055760e75c5f2 in ScreenCastPortal::qt_metacall (this=0x557610020b20, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff4f064dd0) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/redhat-linux-build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:223 No locals. #6 0x00007fce1df9244b in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7fce04001680, object=object@entry=0x557610020b20, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001 context = {connection = {d = 0x7fce04001680}, message = @0x557610318bc0} old = 0x0 ptr = <optimized out> params = {a = 10, s = 7, ptr = 0x7fff4f064dd0, { array = "\320Q6\020vU\000\000@\2412\020vU\000\000\320\3354\020vU\000\000\200\231-\020vU\000\000\2205\001\004\316\177\000\000\220\221/\020vU\000\000`\231-\020vU\000\000j\t0\035\316\177\000\000\220=w\035\316\177\000\000\020\000\000\000\000\000\000", q_for_alignment_1 = 93965566497232, q_for_alignment_2 = 4.6425158298293527e-310}} auxParameters = {<QListSpecialMethods<QVariant>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = { 0x0}}, d = 0x5576102d6ae0}, d = 0x5576102d6ae0}} i = <optimized out> pCount = <optimized out> numMetaTypes = <optimized out> outputArgs = {<QListSpecialMethods<QVariant>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0, begin = 0, end = 0, array = { 0x0}}, d = 0x557610322b50}, d = 0x557610322b50}} null = 0x0 fail = <optimized out> #7 0x00007fce1df9642d in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fce04001680, object=0x557610020b20, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:911 slotCache = {hash = {<QHash<QString, QDBusSlotCache::Data>> = {{d = 0x5576101d8440, e = 0x5576101d8440}}, <No data fields>}} cacheKey = {d = 0x55761037e950} signature = {d = 0x5576109cbb70} cacheIt = {i = 0x5576101df770} cachePropertyName = "_qdbus_slotCache" #8 0x00007fce1df96c39 in QDBusConnectionPrivate::activateCall (msg=..., flags=273, object=<optimized out>, this=0x7fce04001680) at qdbusintegrator.cpp:853 slotCache = <optimized out> cacheKey = <optimized out> signature = <optimized out> cacheIt = <optimized out> cachePropertyName = "_qdbus_slotCache" mo = <optimized out> memberName = <optimized out> slotData = <optimized out> #9 QDBusConnectionPrivate::activateObject (this=0x7fce04001680, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1503 it = 0x557610036f08 newflags = <optimized out> connector = <optimized out> #10 0x00007fce1df98f24 in QDBusActivateObjectEvent::placeMetaCall (this=0x557610318b60) at qdbusintegrator.cpp:1623 that = <optimized out> #11 0x00007fce1d4def9b in QObject::event (this=0x557610005560, e=0x557610318b60) at kernel/qobject.cpp:1347 mce = 0x557610318b60 sender = {previous = 0x0, receiver = 0x557610005560, sender = 0x7fce04001680, signal = -1} #12 0x00007fce1edaeca5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x557610005560, e=0x557610318b60) at kernel/qapplication.cpp:3640 consumed = false filtered = false #13 0x00007fce1d4b35a8 in QCoreApplication::notifyInternal2 (receiver=0x557610005560, event=0x557610318b60) at kernel/qcoreapplication.cpp:1064 selfRequired = true result = false cbdata = {0x557610005560, 0x557610318b60, 0x7fff4f0650df} d = <optimized out> threadData = 0x55760fe210b0 scopeLevelCounter = {threadData = 0x55760fe210b0} #14 0x00007fce1d4b37c2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 No locals. #15 0x00007fce1d4b6a55 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55760fe210b0) at kernel/qcoreapplication.cpp:1821 e = 0x557610318b60 pe = <optimized out> r = 0x557610005560 relocker = <optimized out> event_deleter = {d = 0x557610318b60} locker = {_M_device = 0x55760fe210e0, _M_owns = false} startOffset = 0 i = @0x55760fe210d4: 0 cleanup = {receiver = 0x0, event_type = 0, data = 0x55760fe210b0, exceptionCaught = true} #16 0x00007fce1d4b6d0d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680 data = <optimized out> #17 0x00007fce1d50669f in postEventSourceDispatch (s=0x55760fe408e0) at kernel/qeventdispatcher_glib.cpp:277 source = 0x55760fe408e0 #18 0x00007fce1b713788 in g_main_dispatch (context=0x7fce04000ee0) at ../glib/gmain.c:3460 dispatch = 0x7fce1d506680 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)> prev_source = 0x0 begin_time_nsec = 1155445985129 was_in_call = 0 user_data = 0x0 callback = 0x0 cb_funcs = 0x0 cb_data = 0x0 need_destroy = <optimized out> source = 0x55760fe408e0 current = 0x55760ffd9690 i = 0 current = <optimized out> i = <optimized out> __func__ = <optimized out> source = <optimized out> _g_boolean_var_165 = <optimized out> was_in_call = <optimized out> user_data = <optimized out> callback = <optimized out> cb_funcs = <optimized out> cb_data = <optimized out> need_destroy = <optimized out> dispatch = <optimized out> prev_source = <optimized out> begin_time_nsec = <optimized out> _g_boolean_var_166 = <optimized out> #19 g_main_context_dispatch (context=0x7fce04000ee0) at ../glib/gmain.c:4200 No locals. #20 0x00007fce1b771dd8 in g_main_context_iterate.isra.0 (context=0x7fce04000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276 max_priority = 2147483647 timeout = 56 some_ready = 1 nfds = 1 allocated_nfds = <optimized out> fds = <optimized out> begin_time_nsec = 1155444745471 #21 0x00007fce1b711113 in g_main_context_iteration (context=0x7fce04000ee0, may_block=1) at ../glib/gmain.c:4343 retval = <optimized out> #22 0x00007fce1d506189 in QEventDispatcherGlib::processEvents (this=0x55760fe420d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 d = 0x55760fe3ac10 canWait = <optimized out> savedFlags = {i = 0} result = <optimized out> #23 0x00007fce1d4b1f7b in QEventLoop::exec (this=this@entry=0x7fff4f065460, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 d = 0x7fce0400b600 threadData = <optimized out> locker = {val = 93965560975784} ref = {d = 0x7fce0400b600, locker = @0x7fff4f0653e8, exceptionCaught = true} app = 0x7fff4f065530 #24 0x00007fce1d4ba1fb in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 threadData = 0x55760fe210b0 eventLoop = {<QObject> = {_vptr.QObject = 0x7fce1d766b48 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fce1d66c7a0 <qt_meta_stringdata_QObject>, data = 0x7fce1d66c680 <qt_meta_data_QObject>, static_metacall = 0x7fce1d4e5250 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fce0400b600}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fce1d66f740 <qt_meta_stringdata_Qt>, data = 0x7fce1d66c8c0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fce1d75e3c0 <QObject::staticMetaObject>}, stringdata = 0x7fce1d666580 <qt_meta_stringdata_QEventLoop>, data = 0x7fce1d666520 <qt_meta_data_QEventLoop>, static_metacall = 0x7fce1d4b1b80 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = <optimized out> #25 0x00007fce1d95f5bd in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863 No locals. #26 0x00007fce1edaec19 in QApplication::exec () at kernel/qapplication.cpp:2832 No locals. #27 0x000055760e75315a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/xdg-desktop-portal-kde-5.27.3-1.fc38.x86_64/src/xdg-desktop-portal-kde.cpp:46 a = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7fce1f2ce428 <vtable for QApplication+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fce1d66c7a0 <qt_meta_stringdata_QObject>, data = 0x7fce1d66c680 <qt_meta_data_QObject>, static_metacall = 0x7fce1d4e5250 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55760fe229e0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fce1d66f740 <qt_meta_stringdata_Qt>, data = 0x7fce1d66c8c0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fce1d75e3c0 <QObject::staticMetaObject>}, stringdata = 0x7fce1d666c60 <qt_meta_stringdata_QCoreApplication>, data = 0x7fce1d666b40 <qt_meta_data_QCoreApplication>, static_metacall = 0x7fce1d4b4eb0 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7fff4f065530}, static staticMetaObject = {d = {superdata = {direct = 0x7fce1d766ce0 <QCoreApplication::staticMetaObject>}, stringdata = 0x7fce1dd315c0 <qt_meta_stringdata_QGuiApplication>, data = 0x7fce1dd31340 <qt_meta_data_QGuiApplication>, static_metacall = 0x7fce1d960670 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = { d = {superdata = {direct = 0x7fce1de16b20 <QGuiApplication::staticMetaObject>}, stringdata = 0x7fce1f1868c0 <qt_meta_stringdata_QApplication>, data = 0x7fce1f186740 <qt_meta_data_QApplication>, static_metacall = 0x7fce1edb29e0 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}} about = {d = std::unique_ptr<KAboutDataPrivate> = {get() = 0x55760fef7460}} sessionBus = {d = 0x7fce04001680} -- You are receiving this mail because: You are watching all bug changes.