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

            Bug ID: 457436
           Summary: Kde Connect crash when receiving message on my phone
           Product: kdeconnect
           Version: 22.04.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: kdeb...@munin-soft.de
  Target Milestone: ---

Application: kdeconnectd (22.04.3)

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.12-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
This morning two times in a row the kde connect daemon crashed when i recieved
a message on my phone.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Connect-Dienst (kdeconnectd), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007f66d5f67743 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#8  0x00007f66d5f146f6 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#9  0x00007f66d5efd814 in __GI_abort () at abort.c:79
#10 0x00007f66d63d40fd in qt_message_fatal (message=<synthetic pointer>...,
context=<optimized out>) at global/qlogging.cpp:1914
#11 QMessageLogger::fatal(char const*, ...) const
(this=this@entry=0x7f66b5992720, msg=msg@entry=0x7f66d79c04f0 "Fatal Error: Got
cmd %d, while waiting for an answer!") at global/qlogging.cpp:893
#12 0x00007f66d79244ea in KIO::SlaveBase::waitForAnswer(int, int, QByteArray&,
int*) (this=this@entry=0x7f66a40045e0, expected1=expected1@entry=84,
expected2=expected2@entry=65, data=..., pCmd=pCmd@entry=0x7f66b5992794) at
/usr/src/debug/kio-5.96.0-1.1.x86_64/src/core/slavebase.cpp:1119
#13 0x00007f66d7927065 in KIO::SlaveBase::canResume(unsigned long long)
(this=this@entry=0x7f66a40045e0, offset=12288) at
/usr/src/debug/kio-5.96.0-1.1.x86_64/src/core/slavebase.cpp:1086
#14 0x00007f66b6229f3d in FileProtocol::put(QUrl const&, int,
QFlags<KIO::JobFlag>) (this=0x7f66a40045d0, url=<optimized out>, _mode=-1,
_flags=...) at
/usr/src/debug/kio-5.96.0-1.1.x86_64/src/ioslaves/file/file.cpp:540
#15 0x00007f66d79266e1 in KIO::SlaveBase::dispatch(int, QByteArray const&)
(this=0x7f66a40045e0, command=68, data=...) at
/usr/src/debug/kio-5.96.0-1.1.x86_64/src/core/slavebase.cpp:1259
#16 0x00007f66d791f81e in KIO::SlaveBase::dispatchLoop() (this=0x7f66a40045e0)
at /usr/src/debug/kio-5.96.0-1.1.x86_64/src/core/slavebase.cpp:337
#17 0x00007f66d7996699 in KIO::WorkerThread::run() (this=0x555ce35e43c0) at
/usr/include/c++/12/bits/unique_ptr.h:191
#18 0x00007f66d640ee6d in QThreadPrivate::start(void*) (arg=0x555ce35e43c0) at
thread/qthread_unix.cpp:331
#19 0x00007f66d5f65777 in start_thread (arg=<optimized out>) at
pthread_create.c:442
#20 0x00007f66d5fefc70 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f66c921c640 (LWP 6190) "QLibProxyWrappe"):
#1  0x00007f66d6410e9b 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:116
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int>
>(QBasicAtomicInteger<unsigned int>&, QBasicAtomicInteger<unsigned int>::Type)
(expectedValue=<optimized out>, futex=<optimized out>) 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=n@entry=1, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire(int) (this=this@entry=0x7f66d5dac540 <(anonymous
namespace)::Q_QGS_libProxyWrapper::innerFunction()::holder+32>, n=n@entry=1) at
thread/qsemaphore.cpp:326
#6  0x00007f66d5cef164 in QLibProxyWrapper::run() (this=0x7f66d5dac520
<(anonymous namespace)::Q_QGS_libProxyWrapper::innerFunction()::holder>) at
kernel/qnetworkproxy_libproxy.cpp:179
#7  0x00007f66d640ee6d in QThreadPrivate::start(void*) (arg=0x7f66d5dac520
<(anonymous namespace)::Q_QGS_libProxyWrapper::innerFunction()::holder>) at
thread/qthread_unix.cpp:331
#8  0x00007f66d5f65777 in start_thread (arg=<optimized out>) at
pthread_create.c:442
#9  0x00007f66d5fefc70 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f66c9de0640 (LWP 6187) "kdeconnectd"):
#1  __pselect (nfds=5, readfds=0x7f66c9dd7b20, writefds=0x0, exceptfds=0x0,
timeout=<optimized out>, sigmask=<optimized out>) at
../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f66d3d48b4f in  () at /lib64/libusbmuxd-2.0.so.6
#3  0x00007f66d3d497e3 in  () at /lib64/libusbmuxd-2.0.so.6
#4  0x00007f66d5f65777 in start_thread (arg=<optimized out>) at
pthread_create.c:442
#5  0x00007f66d5fefc70 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f66cabff640 (LWP 6186) "Qt bearer threa"):
#1  __libc_recv (fd=fd@entry=5, buf=buf@entry=0x7f66bc01b878,
len=len@entry=8192, flags=flags@entry=0) at
../sysdeps/unix/sysv/linux/recv.c:23
#2  0x00007f66d5cee5e0 in recv (__flags=0, __n=8192, __buf=0x7f66bc01b878,
__fd=5) at /usr/include/bits/socket2.h:38
#3  (anonymous namespace)::ProcessNetlinkRequest<getInterfaces(int,
char*)::<lambda(ifinfomsg*, size_t)> >::operator() (bufsize=8192,
this=<optimized out>, func=..., buf=0x7f66bc01b878 "T\005", hdr=<optimized
out>, sock=5) at kernel/qnetworkinterface_linux.cpp:170
#4  (anonymous namespace)::processNetlinkRequest<getInterfaces(int,
char*)::<lambda(ifinfomsg*, size_t)> > (l=..., bufsize=8192, buf=0x7f66bc01b878
"T\005", hdr=0x7f66cabfde20, sock=5) at kernel/qnetworkinterface_linux.cpp:218
#5  getInterfaces (buf=0x7f66bc01b878 "T\005", sock=<optimized out>) at
kernel/qnetworkinterface_linux.cpp:274
#6  QNetworkInterfaceManager::scan() (this=<optimized out>) at
kernel/qnetworkinterface_linux.cpp:449
#7  0x00007f66d5cdea10 in QNetworkInterfaceManager::allInterfaces()
(this=<optimized out>) at kernel/qnetworkinterface.cpp:118
#8  0x00007f66d5cdf961 in QNetworkInterface::allInterfaces() () at
kernel/qnetworkinterface.cpp:878
#9  0x00007f66d0033257 in QGenericEngine::doRequestUpdate()
(this=0x555ce343b8a0) at qgenericengine.cpp:286
#10 0x00007f66d660012e in QMetaMethod::invoke(QObject*, Qt::ConnectionType,
QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument) const (this=<optimized
out>, object=0x555ce343b8a0, connectionType=Qt::DirectConnection,
returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=...,
val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2303
#11 0x00007f66d6604c46 in QMetaObject::invokeMethod(QObject*, char const*,
Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
(obj=obj@entry=0x555ce343b8a0, member=member@entry=0x7f66d5d573c5
"requestUpdate", type=type@entry=Qt::AutoConnection, ret=..., val0=...,
val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=...,
val9=...) at kernel/qmetaobject.cpp:1515
#12 0x00007f66d5ccbaf9 in QMetaObject::invokeMethod(QObject*, char const*,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument) (val9=..., val8=..., val7=..., val6=...,
val5=..., val4=..., val3=..., val2=..., val1=..., val0=...,
member=0x7f66d5d573c5 "requestUpdate", obj=0x555ce343b8a0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:292
#13 QNetworkConfigurationManagerPrivate::pollEngines() (this=0x555ce3457a30) at
bearer/qnetworkconfigmanager_p.cpp:493
#14 0x00007f66d662be9c in doActivate<false>(QObject*, int, void**)
(sender=0x7f66bc01b6f0, signal_index=3, argv=0x7f66cabfe860) at
kernel/qobject.cpp:3898
#15 0x00007f66d662522f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=<optimized out>, m=m@entry=0x7f66d68cc9a0
<QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7f66cabfe860) at kernel/qobject.cpp:3946
#16 0x00007f66d662faca in QTimer::timeout(QTimer::QPrivateSignal)
(this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#17 0x00007f66d662057d in QObject::event(QEvent*) (this=0x7f66bc01b6f0,
e=0x7f66cabfe980) at kernel/qobject.cpp:1336
#18 0x00007f66d65f4f8d in doNotify (event=0x7f66cabfe980,
receiver=0x7f66bc01b6f0) at kernel/qcoreapplication.cpp:1154
#19 QCoreApplication::notify(QObject*, QEvent*) (event=<optimized out>,
receiver=<optimized out>, this=<optimized out>) at
kernel/qcoreapplication.cpp:1140
#20 QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x7f66bc01b6f0, event=0x7f66cabfe980) at
kernel/qcoreapplication.cpp:1064
#21 0x00007f66d664b851 in QTimerInfoList::activateTimers()
(this=0x7f66bc004910) at kernel/qtimerinfo_unix.cpp:643
#22 0x00007f66d664c0e4 in timerSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#23 0x00007f66d4a55ea0 in g_main_dispatch (context=0x7f66bc000c30) at
../glib/gmain.c:3417
#24 g_main_context_dispatch (context=0x7f66bc000c30) at ../glib/gmain.c:4135
#25 0x00007f66d4a56258 in g_main_context_iterate
(context=context@entry=0x7f66bc000c30, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4211
#26 0x00007f66d4a562ec in g_main_context_iteration (context=0x7f66bc000c30,
may_block=1) at ../glib/gmain.c:4276
#27 0x00007f66d664c46e in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f66bc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#28 0x00007f66d65f3a2b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f66cabfebc0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x00007f66d640dc77 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x00007f66d640ee6d in QThreadPrivate::start(void*) (arg=0x555ce3453e00) at
thread/qthread_unix.cpp:331
#31 0x00007f66d5f65777 in start_thread (arg=<optimized out>) at
pthread_create.c:442
#32 0x00007f66d5fefc70 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f66cbf44640 (LWP 6185) "QDBusConnection"):
#1  0x00007f66d4a561c6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f66c400bfa0, timeout=<optimized out>, context=0x7f66c4000c30)
at ../glib/gmain.c:4516
#2  g_main_context_iterate (context=context@entry=0x7f66c4000c30,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4206
#3  0x00007f66d4a562ec in g_main_context_iteration (context=0x7f66c4000c30,
may_block=1) at ../glib/gmain.c:4276
#4  0x00007f66d664c46e in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f66c4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f66d65f3a2b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f66cbf43b90, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f66d640dc77 in QThread::exec() (this=this@entry=0x7f66d7785060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f66d770c277 in QDBusConnectionManager::run() (this=0x7f66d7785060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x00007f66d640ee6d in QThreadPrivate::start(void*) (arg=0x7f66d7785060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:331
#9  0x00007f66d5f65777 in start_thread (arg=<optimized out>) at
pthread_create.c:442
#10 0x00007f66d5fefc70 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f66d18c6640 (LWP 6184) "QXcbEventQueue"):
#1  0x00007f66d436a8ea in poll (__timeout=-1, __nfds=1, __fds=0x7f66d18c5ac8)
at /usr/include/bits/poll2.h:39
#2  _xcb_conn_wait (c=0x555ce3298f60, vector=0x0, count=0x0, cond=<optimized
out>) at /usr/src/debug/libxcb-1.15-1.3.x86_64/src/xcb_conn.c:508
#3  0x00007f66d436c1cc in _xcb_conn_wait (count=0x0, vector=0x0,
cond=0x555ce3298fa0, c=0x555ce3298f60) at
/usr/src/debug/libxcb-1.15-1.3.x86_64/src/xcb_conn.c:474
#4  xcb_wait_for_event (c=0x555ce3298f60) at
/usr/src/debug/libxcb-1.15-1.3.x86_64/src/xcb_in.c:703
#5  0x00007f66d1a03830 in QXcbEventQueue::run() (this=0x555ce32934b0) at
qxcbeventqueue.cpp:228
#6  0x00007f66d640ee6d in QThreadPrivate::start(void*) (arg=0x555ce32934b0) at
thread/qthread_unix.cpp:331
#7  0x00007f66d5f65777 in start_thread (arg=<optimized out>) at
pthread_create.c:442
#8  0x00007f66d5fefc70 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f66d3aef940 (LWP 6183) "kdeconnectd"):
#1  __GI___libc_read (fd=5, buf=buf@entry=0x7ffeb344aff0,
nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f66d4aa422f in read (__nbytes=16, __buf=0x7ffeb344aff0,
__fd=<optimized out>) at /usr/include/bits/unistd.h:38
#3  g_wakeup_acknowledge (wakeup=0x7f66cc001540) at ../glib/gwakeup.c:210
#4  0x00007f66d4a55cb6 in g_main_context_check
(context=context@entry=0x7f66cc005010, max_priority=2147483647,
fds=fds@entry=0x555ce381dfd0, n_fds=n_fds@entry=2) at ../glib/gmain.c:3963
#5  0x00007f66d4a56170 in g_main_context_iterate
(context=context@entry=0x7f66cc005010, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4208
#6  0x00007f66d4a562ec in g_main_context_iteration (context=0x7f66cc005010,
may_block=1) at ../glib/gmain.c:4276
#7  0x00007f66d664c456 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x555ce33e8e40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#8  0x00007f66d65f3a2b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffeb344b210, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#9  0x00007f66d65fbb96 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x0000555ce2fcca95 in  ()
#11 0x00007f66d5efe5b0 in __libc_start_call_main
(main=main@entry=0x555ce2fcc600, argc=argc@entry=1,
argv=argv@entry=0x7ffeb344b488) at ../sysdeps/nptl/libc_start_call_main.h:58
#12 0x00007f66d5efe679 in __libc_start_main_impl (main=0x555ce2fcc600, argc=1,
argv=0x7ffeb344b488, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffeb344b478) at ../csu/libc-start.c:392
#13 0x0000555ce2fcccb5 in _start ()
[Inferior 1 (process 6183) detached]

Reported using DrKonqi

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

Reply via email to