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

            Bug ID: 428531
           Summary: KDEConnect crash on boot
           Product: kdeconnect
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: rafalkozlowsk...@gmail.com
  Target Milestone: ---

Application: kdeconnectd (1.4.0)

Qt Version: 5.15.1
Frameworks Version: 5.75.0
Operating System: Linux 5.9.1-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
I did nothing. It just reported that stop working.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Usługa KDE Connect (kdeconnectd), signal: Segmentation fault

[New LWP 7853]
[New LWP 7870]
[New LWP 7881]
[New LWP 8782]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f9d99d2fe7f in poll () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f9d97e1d840 (LWP 7844))]

Thread 5 (Thread 0x7f9d8def4640 (LWP 8782)):
#0  0x00007f9d99d35799 in syscall () at /lib64/libc.so.6
#1  0x00007f9d9a0bdb51 in QtLinuxFutex::_q_futex(int*, int, int, unsigned long
long, int*, int) (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0,
addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int>
>(QBasicAtomicInteger<unsigned int>&, QBasicAtomicInteger<unsigned int>::Type)
(expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false>(QBasicAtomicInteger<unsigned long
long>&, unsigned long long, unsigned long long, int) (timeout=-1,
nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false>(QBasicAtomicInteger<unsigned long long>&,
int, int) (timeout=-1, n=<optimized out>, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire(int) (this=0x7f9d99b25540, n=<optimized out>) at
thread/qsemaphore.cpp:326
#6  0x00007f9d99a75bf4 in  () at /usr/lib64/libQt5Network.so.5
#7  0x00007f9d9a0bb911 in QThreadPrivate::start(void*) (arg=0x7f9d99b25520) at
thread/qthread_unix.cpp:329
#8  0x00007f9d993b5eb1 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f9d99d3accf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f9d8edee640 (LWP 7881)):
#0  0x00007f9d99d2fe7f in poll () at /lib64/libc.so.6
#1  0x00007f9d9897afbe in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f9d9897b0df in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f9d9a2f25cb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f9d80000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9d9a299a1b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f9d8ededcc0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f9d9a0ba7ce in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f9d9a0bb911 in QThreadPrivate::start(void*) (arg=0x55bb1d100f90) at
thread/qthread_unix.cpp:329
#7  0x00007f9d993b5eb1 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f9d99d3accf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f9d8ffff640 (LWP 7870)):
#0  0x00007f9d99d2fe7f in poll () at /lib64/libc.so.6
#1  0x00007f9d9897afbe in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f9d9897b0df in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f9d9a2f25cb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f9d88000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9d9a299a1b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f9d8fffec70, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f9d9a0ba7ce in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f9d9a59fa27 in QDBusConnectionManager::run() (this=0x7f9d9a60cd80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#7  0x00007f9d9a0bb911 in QThreadPrivate::start(void*) (arg=0x7f9d9a60cd80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:329
#8  0x00007f9d993b5eb1 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f9d99d3accf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f9d95d3f640 (LWP 7853)):
#0  0x00007f9d99d2fe7f in poll () at /lib64/libc.so.6
#1  0x00007f9d982ff862 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f9d9830126c in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f9d95f3c270 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f9d9a0bb911 in QThreadPrivate::start(void*) (arg=0x55bb1cf52f70) at
thread/qthread_unix.cpp:329
#5  0x00007f9d993b5eb1 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f9d99d3accf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f9d97e1d840 (LWP 7844)):
[KCrash Handler]
#4  std::__atomic_base<int>::operator++() (this=0x4000400060000) at
/usr/include/c++/10/bits/atomic_base.h:325
#5  QAtomicOps<int>::ref<int>(std::atomic<int>&) (_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:283
#6  QBasicAtomicInteger<int>::ref() (this=0x4000400060000) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:118
#7  QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*)
(obj=obj@entry=0x55bb1d3ac850) at tools/qsharedpointer.cpp:1398
#8  0x00007f9d9b61381d in QWeakPointer<QObject>::QWeakPointer<KNotification,
true>(KNotification*, bool) (ptr=0x55bb1d3ac850, this=0x7ffc2e08cc30) at
/usr/include/qt5/QtCore/qsharedpointer_impl.h:679
#9  QPointer<KNotification>::QPointer(KNotification*) (p=0x55bb1d3ac850,
this=0x7ffc2e08cc30) at /usr/include/qt5/QtCore/qpointer.h:62
#10 NotifyByPopupPrivate::sendNotificationToServer(KNotification*,
KNotifyConfig const&, bool) (this=this@entry=0x55bb1d343d00,
notification=notification@entry=0x55bb1d3ac850, notifyConfig_nocheck=...,
update=update@entry=false) at
/usr/src/debug/knotifications-5.75.0-1.1.x86_64/src/notifybypopup.cpp:217
#11 0x00007f9d9b615b32 in NotifyByPopup::notify(KNotification*, KNotifyConfig
const&) (this=0x55bb1d3ae640, notification=0x55bb1d3ac850, notifyConfig=...) at
/usr/src/debug/knotifications-5.75.0-1.1.x86_64/src/notifybypopup.cpp:125
#12 0x00007f9d9b6161b2 in operator() (watcher=<optimized out>,
__closure=0x55bb1d3b4d60) at
/usr/src/debug/knotifications-5.75.0-1.1.x86_64/src/notifybypopup.cpp:370
#13 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<QDBusPendingCallWatcher*>, void,
NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>
>::call (arg=<optimized out>, f=...) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#14
QtPrivate::Functor<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>,
1>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (arg=<optimized out>,
f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#15
QtPrivate::QFunctorSlotObject<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>,
1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl (which=<optimized
out>, r=<optimized out>, ret=<optimized out>, a=<optimized out>,
this_=0x55bb1d3b4d50) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#16
QtPrivate::QFunctorSlotObject<NotifyByPopupPrivate::queryPopupServerCapabilities()::<lambda(QDBusPendingCallWatcher*)>,
1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int,
QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized
out>, this_=0x55bb1d3b4d50, r=<optimized out>, a=<optimized out>,
ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:436
#17 0x00007f9d9a2d1646 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffc2e08cf20, r=0x55bb1d3ae640, this=0x55bb1d3b4d50) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x55bb1d345660,
signal_index=3, argv=argv@entry=0x7ffc2e08cf20) at kernel/qobject.cpp:3886
#19 0x00007f9d9a2ca9a0 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=<optimized out>, m=m@entry=0x7f9d9a60b5e0
<QDBusPendingCallWatcher::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc2e08cf20)
at kernel/qobject.cpp:3946
#20 0x00007f9d9a5ebbaf in
QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) (this=<optimized
out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#21 0x00007f9d9a2c7091 in QObject::event(QEvent*) (this=0x55bb1d345660,
e=0x7f9d8800aab0) at kernel/qobject.cpp:1314
#22 0x00007f9d9ae7814f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x55bb1d345660, e=0x7f9d8800aab0) at
kernel/qapplication.cpp:3630
#23 0x00007f9d9a29b05a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x55bb1d345660, event=0x7f9d8800aab0) at
../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#24 0x00007f9d9a29da91 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x55bb1cf483b0) at
kernel/qcoreapplication.cpp:1817
#25 0x00007f9d9a2f2f23 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55bb1d086070) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f9d9897aca7 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#27 0x00007f9d9897b028 in  () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f9d9897b0df in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#29 0x00007f9d9a2f25af in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55bb1d089560, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f9d9a299a1b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffc2e08d2f0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#31 0x00007f9d9a2a1c90 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x000055bb1c0e1967 in main(int, char**) (argc=<optimized out>,
argv=0x7ffc2e08d398) at
/usr/src/debug/kdeconnect-kde-20.08.2-1.1.x86_64/daemon/kdeconnectd.cpp:183
[Inferior 1 (process 7844) detached]

The reporter indicates this bug may be a duplicate of or related to bug 425231.

Possible duplicates by query: bug 427560, bug 426110, bug 425231, bug 425205,
bug 411883.

Reported using DrKonqi

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

Reply via email to