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

            Bug ID: 407551
           Summary: Segfault on KeepassXC XWayland paste
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: subd...@gmail.com
  Target Milestone: ---

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

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

Reply via email to