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

            Bug ID: 427917
           Summary: Crash on send tab notification from firefox
           Product: kdeconnect
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: qr...@protonmail.com
  Target Milestone: ---

Application: kdeconnectd (1.4.0)

Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.4.0-51-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
- What I was doing when the application crashed:

Firefox received a tab via the Firefox Sync feature. This caused a desktop
notification to appear, which in turn caused KDE Connect to crash.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault

[New LWP 3946]
[New LWP 3969]
[New LWP 3976]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f9cb7ac7aff in __GI___poll (fds=0x7ffd77bc12e8, nfds=1, timeout=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f9cb4473800 (LWP 3939))]

Thread 4 (Thread 0x7f9cabfff700 (LWP 3976)):
#0  0x00007f9cb66bc09d in g_source_ref () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9cb66bc168 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9cb66bd66b in g_main_context_prepare () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9cb66be0db in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9cb66be2e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9cb8091eab in QEventDispatcherGlib::processEvents
(this=0x7f9ca0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f9cb80361bb in QEventLoop::exec (this=this@entry=0x7f9cabffeda0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f9cb7e54082 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f9cb7e5520c in QThreadPrivate::start (arg=0x55fb1caf2330) at
thread/qthread_unix.cpp:342
#9  0x00007f9cb7020609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f9cb7ad4293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9cb1a02700 (LWP 3969)):
#0  __GI___libc_read (nbytes=16, buf=0x7f9cb1a01b60, fd=7) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7f9cb1a01b60, nbytes=16) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f9cb670689f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9cb66bdcfe in g_main_context_check () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9cb66be152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9cb66be2e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9cb8091eab in QEventDispatcherGlib::processEvents
(this=0x7f9ca4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f9cb80361bb in QEventLoop::exec (this=this@entry=0x7f9cb1a01d70,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f9cb7e54082 in QThread::exec (this=this@entry=0x7f9cb83c1d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f9cb833ef2b in QDBusConnectionManager::run (this=0x7f9cb83c1d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#10 0x00007f9cb7e5520c in QThreadPrivate::start (arg=0x7f9cb83c1d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#11 0x00007f9cb7020609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#12 0x00007f9cb7ad4293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9cb379e700 (LWP 3946)):
#0  0x00007f9cb7ac7aff in __GI___poll (fds=0x7f9cb379dca8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9cb63dec1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9cb63e090a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9cb3d85978 in QXcbEventQueue::run (this=0x55fb1c940950) at
qxcbeventqueue.cpp:228
#4  0x00007f9cb7e5520c in QThreadPrivate::start (arg=0x55fb1c940950) at
thread/qthread_unix.cpp:342
#5  0x00007f9cb7020609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f9cb7ad4293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9cb4473800 (LWP 3939)):
[KCrash Handler]
#4  0x00007f9cb7ed9028 in QStringView::QStringView<QString, true> (str=...,
this=<optimized out>) at
../../include/QtCore/../../src/corelib/text/qstringview.h:209
#5  operator< (s1=..., s2=...) at text/qstring.cpp:3445
#6  0x00007f9cb94787ec in qMapLessThanKey<QString> (key2=..., key1=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:66
#7  QMapNode<QString, QVariant>::lowerBound (akey=..., this=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:152
#8  QMapData<QString, QVariant>::findNode (akey=..., this=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:284
#9  QMap<QString, QVariant>::operator[] (akey=..., this=0x7ffd77bc1ba0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:677
#10 NotifyByPopupPrivate::sendNotificationToServer (this=0x55fb1d07ab60,
notification=notification@entry=0x55fb1d089020, notifyConfig_nocheck=...,
update=update@entry=false) at ./src/notifybypopup.cpp:319
#11 0x00007f9cb9479f8d in NotifyByPopup::notify (notifyConfig=...,
notification=0x55fb1d089020, this=0x55fb1d081450) at
./src/notifybypopup.cpp:125
#12 NotifyByPopup::notify (this=0x55fb1d081450, notification=0x55fb1d089020,
notifyConfig=...) at ./src/notifybypopup.cpp:110
#13 0x00007f9cb947a19a in
NotifyByPopupPrivate::<lambda(QDBusPendingCallWatcher*)>::operator()
(__closure=0x55fb1cbe96f0, watcher=<optimized out>) at
./src/notifybypopup.cpp:370
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<QDBusPendingCallWatcher*>, void,
NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>
>::call (arg=<optimized out>, f=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#15
QtPrivate::Functor<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>,
1>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (arg=<optimized out>,
f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#16
QtPrivate::QFunctorSlotObject<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>,
1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl (which=1,
r=<optimized out>, ret=<optimized out>, a=<optimized out>,
this_=0x55fb1cbe96e0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#17
QtPrivate::QFunctorSlotObject<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>,
1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int,
QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized
out>, this_=0x55fb1cbe96e0, r=<optimized out>, a=<optimized out>,
ret=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:436
#18 0x00007f9cb806e5ae in QtPrivate::QSlotObjectBase::call (a=0x7ffd77bc1ed0,
r=0x55fb1d081450, this=0x55fb1cbe96e0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x55fb1d0815f0, signal_index=3,
argv=0x7ffd77bc1ed0) at kernel/qobject.cpp:3886
#20 0x00007f9cb8067977 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f9cb83c05e0 <QDBusPendingCallWatcher::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd77bc1ed0)
at kernel/qobject.cpp:3946
#21 0x00007f9cb83a1fd3 in QDBusPendingCallWatcher::finished (this=<optimized
out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#22 0x00007f9cb83a20d8 in QDBusPendingCallWatcherPrivate::_q_finished
(this=<optimized out>) at qdbuspendingcall.cpp:494
#23 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qdbuspendingcall.cpp:86
#24 0x00007f9cb8065129 in QObject::event (this=0x55fb1d0815f0,
e=0x55fb1d0693b0) at kernel/qobject.cpp:1314
#25 0x00007f9cb8c0dcc3 in QApplicationPrivate::notify_helper
(this=this@entry=0x55fb1c934e90, receiver=receiver@entry=0x55fb1d0815f0,
e=e@entry=0x55fb1d0693b0) at kernel/qapplication.cpp:3671
#26 0x00007f9cb8c16c70 in QApplication::notify (this=0x7ffd77bc2560,
receiver=0x55fb1d0815f0, e=0x55fb1d0693b0) at kernel/qapplication.cpp:3417
#27 0x00007f9cb80376aa in QCoreApplication::notifyInternal2
(receiver=0x55fb1d0815f0, event=0x55fb1d0693b0) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#28 0x00007f9cb8039fa1 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55fb1c933a60) at
kernel/qcoreapplication.cpp:1815
#29 0x00007f9cb8092837 in postEventSourceDispatch (s=0x55fb1ca5d080) at
kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f9cb66bdfbd in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f9cb66be240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f9cb66be2e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f9cb8091e92 in QEventDispatcherGlib::processEvents
(this=0x55fb1ca66dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f9cb80361bb in QEventLoop::exec (this=this@entry=0x7ffd77bc24a0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#35 0x00007f9cb803e354 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x000055fb1ab5aeb8 in main (argc=<optimized out>, argv=<optimized out>) at
./daemon/kdeconnectd.cpp:183
[Inferior 1 (process 3939) detached]

Possible duplicates by query: bug 426110, bug 425835, bug 425629, bug 425231,
bug 418001.

Reported using DrKonqi

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

Reply via email to