Bug 407551 - Segfault on KeepassXC XWayland paste
Summary: Segfault on KeepassXC XWayland paste
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-15 07:43 UTC by Roman Gilg
Modified: 2020-12-15 04:34 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 Roman Gilg 2019-05-15 07:43:08 UTC
SUMMARY


STEPS TO REPRODUCE
1. Copy password from KeepassXC
2. Paste it
3. Try to paste it again (after it has been automatically deleted by KeepassXC from the clipboard)


[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_wayland --xwayland --libinput --exit-with-session=/usr/lib/x86_64'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fb59feedf8d in QList<QString>::QList (this=0x7ffe21c2f1c0, l=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:810
810         : QListSpecialMethods<T>(l), d(l.d)
[Current thread is 1 (Thread 0x7fb5a1b96880 (LWP 1780))]

(gdb) bt
#0  0x00007fb59feedf8d in QList<QString>::QList(QList<QString> const&) (this=0x7ffe21c2f1c0, l=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:810
#1  0x00007fb59feede6f in QStringList::QStringList(QStringList const&) (this=0x7ffe21c2f1c0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:99
#2  0x00007fb59feedc93 in KWayland::Server::DataSourceInterface::mimeTypes() const (this=0x5584eab34a20) at /home/roman/dev/kde/src/frameworks/kwayland/src/server/datasource_interface.cpp:151
#3  0x00005584e91eb490 in KWin::Xwl::WlSource::checkStartTransfer(xcb_selection_request_event_t*) (this=0x5584eab3ff60, event=0x5584eac4aa50) at /home/roman/dev/kde/src/kde/workspace/kwin/xwl/selection_source.cpp:155
#4  0x00005584e91eaf37 in KWin::Xwl::WlSource::handleSelRequest(xcb_selection_request_event_t*) (this=0x5584eab3ff60, event=0x5584eac4aa50) at /home/roman/dev/kde/src/kde/workspace/kwin/xwl/selection_source.cpp:91
#5  0x00005584e91e48ec in KWin::Xwl::Selection::handleSelRequest(xcb_selection_request_event_t*) (this=0x5584ea231cf0, event=0x5584eac4aa50) at /home/roman/dev/kde/src/kde/workspace/kwin/xwl/selection.cpp:261
#6  0x00005584e91e42f7 in KWin::Xwl::Selection::filterEvent(xcb_generic_event_t*) (this=0x5584ea231cf0, event=0x5584eac4aa50) at /home/roman/dev/kde/src/kde/workspace/kwin/xwl/selection.cpp:136
#7  0x00005584e91e3335 in KWin::Xwl::DataBridge::filterEvent(xcb_generic_event_t*) (this=0x5584e9d64790, event=0x5584eac4aa50) at /home/roman/dev/kde/src/kde/workspace/kwin/xwl/databridge.cpp:86
#8  0x00005584e91e098b in KWin::Xwl::Xwayland::<lambda()>::operator()(void) const (__closure=0x7fb5240052f0) at /home/roman/dev/kde/src/kde/workspace/kwin/xwl/xwayland.cpp:222
#9  0x00005584e91e1795 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::Xwl::Xwayland::continueStartupWithX()::<lambda()> >::call(KWin::Xwl::Xwayland::<lambda()> &, void **) (f=..., arg=0x7ffe21c2f4f0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#10 0x00005584e91e16a8 in QtPrivate::Functor<KWin::Xwl::Xwayland::continueStartupWithX()::<lambda()>, 0>::call<QtPrivate::List<>, void>(KWin::Xwl::Xwayland::<lambda()> &, void *, void **) (f=..., arg=0x7ffe21c2f4f0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#11 0x00005584e91e1622 in QtPrivate::QFunctorSlotObject<KWin::Xwl::Xwayland::continueStartupWithX()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x7fb5240052e0, r=0x5584ea19a760, a=0x7ffe21c2f4f0, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:439
#12 0x00007fb59e7a5f3f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fb59e7b2678 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb59e7b2a32 in QSocketNotifier::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fb59ed868ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fb59ed8de40 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb59e776328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fb59e7d01f3 in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb59e7d0878 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb5888c061d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so
#21 0x00007fb59e77464a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fb59e77d800 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00005584e91db104 in main(int, char**) (argc=4, argv=0x7ffe21c2fdb8) at /home/roman/dev/kde/src/kde/workspace/kwin/main_wayland.cpp:664
Comment 1 twinshadows404 2020-11-15 00:55:51 UTC
Not reproducible. Can somebody else test to confirm?

Operating System: openSUSE Tumbleweed 20201111
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-2-default
OS Type: 64-bit
Comment 2 Bug Janitor Service 2020-11-30 04:33:42 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 3 Bug Janitor Service 2020-12-15 04:34:08 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!