Bug 467277 - KDE Connect crashes on Arch Linux when making a new connection.
Summary: KDE Connect crashes on Arch Linux when making a new connection.
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 22.12.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-13 11:41 UTC by darkxylese
Modified: 2023-03-13 11:41 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 darkxylese 2023-03-13 11:41:34 UTC
Application: kdeconnectd (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.12-arch1-1 x86_64
Windowing System: X11
Distribution: Linux
DrKonqi: 5.27.1 [KCrashBackend]

-- Information about the crash:
I was already paired, my desktop to my phone. When I went to send a file over, my phone said that there is no connection to PC, while the app on PC said there was already an established connection. While having that connection on the desktop client, I removed it on my phone, and sent a new request to pair with desktop. Got the notification, and upon accepting it, the app crashed, hence this report. I tried removing the already established connection on the PC, and attempted to reconnect by pairing from my phone. Got the notification again on the PC, but the app crashed again when I accepted it. 

There must be a bug somewhere that prevented the application from establishing new connections after the initial crash. I probably need to restart the desktop environment for it to fix itself, as restarting the service as offered by the crash notification, did not help. I do have some work to do right now, so a restart is not an option right now as I write this crash report.

The crash can be reproduced every time.

-- Backtrace:
Application: Фонова служба KDE Connect (kdeconnectd), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#5  0x00007fe0b40a0953 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#6  0x00007fe0b4051ea8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#7  0x00007fe0b403b53d in __GI_abort () at abort.c:79
#8  0x00007fe0b469fede in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#9  0x00007fe0b5e5e88b in KIO::SlaveBase::waitForAnswer(int, int, QByteArray&, int*) () from /usr/lib/libKF5KIOCore.so.5
#10 0x00007fe0b5e61b66 in KIO::SlaveBase::canResume(unsigned long long) () from /usr/lib/libKF5KIOCore.so.5
#11 0x00007fe0a41d0da3 in ?? () from /usr/lib/qt/plugins/kf5/kio/kio_file.so
#12 0x00007fe0b5e61055 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /usr/lib/libKF5KIOCore.so.5
#13 0x00007fe0b5e5947e in KIO::SlaveBase::dispatchLoop() () from /usr/lib/libKF5KIOCore.so.5
#14 0x00007fe0b5ed7cb7 in ?? () from /usr/lib/libKF5KIOCore.so.5
#15 0x00007fe0b46e432a in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007fe0b409ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444
#17 0x00007fe0b4120d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fe09bfff6c0 (LWP 91274) "kdeconnectd"):
#1  __pselect (nfds=5, readfds=0x7fe09bff69d0, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007fe0b0218524 in ?? () from /usr/lib/libusbmuxd-2.0.so.6
#3  0x00007fe0b02198a9 in ?? () from /usr/lib/libusbmuxd-2.0.so.6
#4  0x00007fe0b409ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007fe0b4120d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fe0ac9b36c0 (LWP 91255) "Qt bearer threa"):
#1  __GI___libc_read (fd=27, buf=0x7fe0ac9b28d0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fe0b2f16e93 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007fe0b2f6db28 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007fe0b2f150e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007fe0b48d8c8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007fe0b48866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007fe0b46e725f in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007fe0b46e432a in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fe0b409ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444
#10 0x00007fe0b4120d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7fe0af3ac6c0 (LWP 91251) "QDBusConnection"):
#1  0x00007fe0b2f6dc2f in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fe0b2f150e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fe0b48d8c8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fe0b48866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fe0b46e725f in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fe0b5c58cba in QDBusConnectionManager::run (this=0x7fe0b5cb4560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
#7  0x00007fe0b46e432a in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fe0b409ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007fe0b4120d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7fe0afb7eac0 (LWP 91250) "kdeconnectd"):
#1  0x00007fe0b46e056c in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#2  0x00007fe0b48beb74 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007fe0b48bee14 in QObject::destroyed(QObject*) () from /usr/lib/libQt5Core.so.5
#4  0x00007fe0b48b537c in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#5  0x00007fe0b5c8ccee in QDBusServiceWatcher::~QDBusServiceWatcher (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusservicewatcher.cpp:260
#6  0x00007fe0b48b4ba5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#7  0x00007fe0b48b5369 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#8  0x00007fe0a47dc2e6 in ?? () from /usr/lib/libKF5PulseAudioQt.so.3
#9  0x00007fe0b4054445 in __run_exit_handlers (status=1, listp=0x7fe0b41f1660 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#10 0x00007fe0b40545b0 in __GI_exit (status=<optimized out>) at exit.c:138
#11 0x00007fe0afa4c069 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#12 0x00007fe0afa7b8c8 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#13 0x00007fe0b2f1682b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00007fe0b2f6dcc9 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007fe0b2f150e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007fe0b48d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#17 0x00007fe0b48866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#18 0x00007fe0b4891219 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#19 0x000056508d4a8597 in ?? ()
#20 0x00007fe0b403c790 in __libc_start_call_main (main=main@entry=0x56508d4a8070, argc=argc@entry=1, argv=argv@entry=0x7fff41328c48) at ../sysdeps/nptl/libc_start_call_main.h:58
#21 0x00007fe0b403c84a in __libc_start_main_impl (main=0x56508d4a8070, argc=1, argv=0x7fff41328c48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff41328c38) at ../csu/libc-start.c:360
#22 0x000056508d4a87d5 in _start ()
[Inferior 1 (process 91250) detached]

Reported using DrKonqi