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

            Bug ID: 451506
           Summary: (SEGV) Crash in
                    NotificationInhibition::NotificationInhibition
           Product: xdg-desktop-portal-kde
           Version: 5.24.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: pos...@posteo.eu
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

Created attachment 147495
  --> https://bugs.kde.org/attachment.cgi?id=147495&action=edit
Stacktrace (thread apply all bt)

SUMMARY

Tried to share a `screen` or `Wayland window` in a Zoom session in Chromium 99
(`/usr/bin/chromium --enable-features=WebRTCPipeWireCapturer
--ozone-platform=wayland`) when xdg-desktop-portal-kde crashed.

#### Stacktrace
```
Thread 1 (Thread 0x7f466ba67480 (LWP 3272)):
#0  __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at
pthread_sigmask.c:43
#1  0x00007f466ddb15ed in __GI___sigprocmask (how=<optimized out>,
set=<optimized out>, oset=<optimized out>) at
../sysdeps/unix/sysv/linux/sigprocmask.c:25
#2  0x00007f466d13284b in KCrash::setCrashHandler (handler=handler@entry=0x0)
at /usr/src/debug/kcrash-5.91.0-1.1.x86_64/src/kcrash.cpp:417
#3  0x00007f466d134d2e in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kcrash-5.91.0-1.1.x86_64/src/kcrash.cpp:623
#4  <signal handler called>
#5  0x00007f466e4a98f4 in std::__atomic_base<QThreadData*>::load
(__m=std::memory_order_relaxed, this=0x38) at
/usr/include/c++/11/bits/atomic_base.h:836
#6  std::atomic<QThreadData*>::load (__m=std::memory_order_relaxed, this=0x38)
at /usr/include/c++/11/atomic:570
#7  QAtomicOps<QThreadData*>::loadRelaxed<QThreadData*> (_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#8  QBasicAtomicPointer<QThreadData>::loadRelaxed (this=0x38) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#9  QObject::thread (this=this@entry=0x564e70083e10) at kernel/qobject.cpp:1487
#10 0x00007f466e4b4adb in QObject::QObject (this=0x564e6fd9b9b0, dd=...,
parent=0x564e70083e10) at kernel/qobject.cpp:919
#11 0x0000564e6f1f6285 in NotificationInhibition::NotificationInhibition
(parent=0x564e70083e10, reason=..., appId=..., this=0x564e6fd9b9b0) at
/usr/src/debug/xdg-desktop-portal-kde-5.24.3-1.1.x86_64/src/notificationinhibition.cpp:24
#12 ScreenCastPortal::Start(QDBusObjectPath const&, QDBusObjectPath const&,
QString const&, QString const&, QMap<QString, QVariant> const&, QMap<QString,
QVariant>&) [clone .isra.0] (handle=..., session_handle=..., app_id=...,
parent_window=..., options=..., results=..., this=<optimized out>) at
/usr/src/debug/xdg-desktop-portal-kde-5.24.3-1.1.x86_64/src/screencast.cpp:172
#13 0x0000564e6f1b93c5 in ScreenCastPortal::qt_static_metacall
(_o=_o@entry=0x564e6fbe8750, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=2, _a=_a@entry=0x7ffc8e6101a0) at
/usr/src/debug/xdg-desktop-portal-kde-5.24.3-1.1.x86_64/build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:131
#14 0x0000564e6f1c11bb in ScreenCastPortal::qt_metacall (this=0x564e6fbe8750,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffc8e6101a0) at
/usr/src/debug/xdg-desktop-portal-kde-5.24.3-1.1.x86_64/build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:211
#15 0x00007f466e7896ab in QDBusConnectionPrivate::deliverCall (this=<optimized
out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>)
at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#16 0x00007f466e78d3a7 in QDBusConnectionPrivate::activateCall
(this=this@entry=0x7f4660004a60, object=0x564e6fbe8750, flags=flags@entry=273,
msg=...) at qdbusintegrator.cpp:911
#17 0x00007f466e78dae9 in QDBusConnectionPrivate::activateCall (msg=...,
flags=273, object=<optimized out>, this=0x7f4660004a60) at
qdbusintegrator.cpp:853
#18 QDBusConnectionPrivate::activateObject (this=0x7f4660004a60, node=...,
msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1497
#19 0x00007f466e78fe88 in QDBusActivateObjectEvent::placeMetaCall
(this=0x7f4664005280) at qdbusintegrator.cpp:1617
#20 0x00007f466e4ac4ae in QObject::event (this=0x564e6fbdfeb0,
e=0x7f4664005280) at kernel/qobject.cpp:1314
#21 0x00007f466fe25a7f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x564e6fbdfeb0, e=0x7f4664005280) at
kernel/qapplication.cpp:3632
#22 0x00007f466e47fe3a in QCoreApplication::notifyInternal2
(receiver=0x564e6fbdfeb0, event=0x7f4664005280) at
kernel/qcoreapplication.cpp:1064
#23 0x00007f466e482e77 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x564e6fb57460) at
kernel/qcoreapplication.cpp:1821
#24 0x00007f466e4d7d03 in postEventSourceDispatch (s=s@entry=0x564e6fbb1e80) at
kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f466c80be22 in g_main_dispatch (context=0x564e6fbaff30) at
../glib/gmain.c:3381
#26 g_main_context_dispatch (context=0x564e6fbaff30) at ../glib/gmain.c:4099
#27 0x00007f466c80c1b8 in g_main_context_iterate
(context=context@entry=0x564e6fbaff30, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#28 0x00007f466c80c26f in g_main_context_iteration (context=0x564e6fbaff30,
may_block=1) at ../glib/gmain.c:4240
#29 0x00007f466e4d7384 in QEventDispatcherGlib::processEvents
(this=0x564e6fbb2b10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f466e47e83b in QEventLoop::exec (this=this@entry=0x7ffc8e610780,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007f466e486b10 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x00007f466f12f25c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#33 0x00007f466fe259f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#34 0x0000564e6f1b70f4 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/xdg-desktop-portal-kde-5.24.3-1.1.x86_64/src/xdg-desktop-portal-kde.cpp:46
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220312
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.11-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series

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

Reply via email to