Bug 448781 - Crashing Portal application in ScreenChooserDialog::ScreenChooserDialog()
Summary: Crashing Portal application in ScreenChooserDialog::ScreenChooserDialog()
Status: RESOLVED DUPLICATE of bug 448423
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: git-master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-19 15:58 UTC by Andrew Shark
Modified: 2022-01-20 22:46 UTC (History)
4 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 Andrew Shark 2022-01-19 15:58:41 UTC
When trying to share screen (for example in Firefox/Chromium), then I got the notification that Portal application has crashed.

Here is a backtrace:

Application: Portal (xdg-desktop-portal-kde), signal: Aborted

[KCrash Handler]
#4  0x00007ff9453ecd22 in raise () from /usr/lib/libc.so.6
#5  0x00007ff9453d6862 in abort () from /usr/lib/libc.so.6
#6  0x00007ff945831ee4 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#7  0x00007ff945831f44 in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#8  0x00005585044a5cfb in QList<QObject*>::first (this=0x7fffafa33e70) at /usr/include/qt/QtCore/qlist.h:363
#9  QList<QObject*>::first (this=<optimized out>) at /usr/include/qt/QtCore/qlist.h:363
#10 QList<QObject*>::constFirst (this=<optimized out>) at /usr/include/qt/QtCore/qlist.h:362
#11 QuickDialog::create (this=<optimized out>, file=..., props=...) at /home/andrew/builds/xdg-desktop-portal-kde-git/src/xdg-desktop-portal-kde/src/quickdialog.cpp:38
#12 0x00005585044ead78 in ScreenChooserDialog::ScreenChooserDialog (this=this@entry=0x558505f57bd0, appName=..., multiple=multiple@entry=false, types=..., types@entry=...) at /home/andrew/builds/xdg-desktop-portal-kde-git/src/xdg-desktop-portal-kde/src/screenchooserdialog.cpp:157
#13 0x00005585044e7efb in ScreenCastPortal::Start (this=<optimized out>, handle=..., session_handle=..., app_id=..., parent_window=..., options=..., results=...) at /home/andrew/builds/xdg-desktop-portal-kde-git/src/xdg-desktop-portal-kde/src/screencast.cpp:143
#14 0x00005585044a8c71 in ScreenCastPortal::qt_static_metacall (_o=_o@entry=0x558505e77d90, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=2, _a=_a@entry=0x7fffafa34240) at /home/andrew/builds/xdg-desktop-portal-kde-git/src/build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:131
#15 0x00005585044aa0bb in ScreenCastPortal::qt_metacall (this=0x558505e77d90, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffafa34240) at /home/andrew/builds/xdg-desktop-portal-kde-git/src/build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:211
#16 0x00007ff945d12fae in ?? () from /usr/lib/libQt5DBus.so.5
#17 0x00007ff945cd7152 in ?? () from /usr/lib/libQt5DBus.so.5
#18 0x00007ff945cd7e33 in ?? () from /usr/lib/libQt5DBus.so.5
#19 0x00007ff945cd7e6c in ?? () from /usr/lib/libQt5DBus.so.5
#20 0x00007ff945a416c6 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007ff9471841a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007ff945a1d9ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007ff945a1e4b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#24 0x00007ff945a64d88 in ?? () from /usr/lib/libQt5Core.so.5
#25 0x00007ff943e23fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007ff943e7a049 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007ff943e21545 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007ff945a68c8a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#29 0x00007ff945a15bab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007ff945a213e7 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#31 0x00005585044a6d70 in main (argc=<optimized out>, argv=0x7fffafa34920) at /home/andrew/builds/xdg-desktop-portal-kde-git/src/xdg-desktop-portal-kde/src/xdg-desktop-portal-kde.cpp:46
[Inferior 1 (process 11707) detached]

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Nicolas Fella 2022-01-19 17:49:50 UTC
Most likely https://bugs.kde.org/show_bug.cgi?id=448423
Comment 2 Andrew Shark 2022-01-19 21:49:11 UTC
Probably. To test I need wait plasma 5.24?
Comment 3 Nicolas Fella 2022-01-20 01:14:38 UTC
(In reply to Andrew Shark from comment #2)
> Probably. To test I need wait plasma 5.24?

or build plasma-workspace from source (from the Plasma/5.24 branch)
Comment 4 Nate Graham 2022-01-20 22:46:50 UTC
Yep 99% sure it's that.

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