Bug 453475 - KDE Connect kdeconnect add run commands causes immediate crash
Summary: KDE Connect kdeconnect add run commands causes immediate crash
Status: RESOLVED DUPLICATE of bug 453305
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-06 19:25 UTC by Jeff Tratt
Modified: 2022-05-13 19:26 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 Jeff Tratt 2022-05-06 19:25:25 UTC
Application: kdeconnect-settings (22.04.0)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.8.0-432102030405-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Click KDE Connect in system tray. Click KDE Connect Settings.... Select phone (Galaxy S5). Click Settings button for the Run Commands item. Notification: "Dr. Konqi/Plasma Workspace: KDE Connect Settings Closed Unexpectedly: Please report this error to help improve this software." I'm using X11. Latest updates and reboot about 6 hours ago. Also crashes when attempting to connect to a laptop with KDE Neon installed; crashes wether that computer is on or off.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Connect Settings (kdeconnect-settings), signal: Segmentation fault

[New LWP 36904]
[New LWP 36905]
[New LWP 36906]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f2426e079cf in __GI___poll (fds=0x7ffe4c531a38, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f2422119580 (LWP 36902))]

Thread 4 (Thread 0x7f240e849700 (LWP 36906)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56196cd48268) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56196cd48218, cond=0x56196cd48240) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56196cd48240, mutex=0x56196cd48218) at pthread_cond_wait.c:638
#3  0x00007f241905f5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f241905f1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f2425d05609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f2426e14163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2418d77700 (LWP 36905)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56196cd47878) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56196cd47828, cond=0x56196cd47850) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56196cd47850, mutex=0x56196cd47828) at pthread_cond_wait.c:638
#3  0x00007f241905f5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f241905f1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f2425d05609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f2426e14163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f241bfff700 (LWP 36904)):
#0  0x00007f2426e079cf in __GI___poll (fds=0x7f2414004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f24251ec36e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f24251ec4a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f24273d865b in QEventDispatcherGlib::processEvents (this=0x7f2414000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f242737c87b in QEventLoop::exec (this=this@entry=0x7f241bffebf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2427196442 in QThread::exec (this=this@entry=0x7f2425dd5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2425d51f4b in QDBusConnectionManager::run (this=0x7f2425dd5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f2427197623 in QThreadPrivate::start (arg=0x7f2425dd5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:331
#8  0x00007f2425d05609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2426e14163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2422119580 (LWP 36902)):
[KCrash Handler]
#4  0x00007f2426b5e868 in std::__uniq_ptr_impl<KSycocaEntryPrivate, std::default_delete<KSycocaEntryPrivate> >::_M_ptr (this=<optimized out>) at ./src/sycoca/ksycocaentry.cpp:103
#5  std::unique_ptr<KSycocaEntryPrivate, std::default_delete<KSycocaEntryPrivate> >::get (this=<optimized out>) at /usr/include/c++/9/bits/unique_ptr.h:361
#6  std::unique_ptr<KSycocaEntryPrivate, std::default_delete<KSycocaEntryPrivate> >::operator-> (this=<optimized out>) at /usr/include/c++/9/bits/unique_ptr.h:355
#7  qGetPtrHelper<std::unique_ptr<KSycocaEntryPrivate, std::default_delete<KSycocaEntryPrivate> > const> (ptr=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1143
#8  KSycocaEntry::d_func (this=<optimized out>) at ./src/sycoca/ksycocaentry.h:139
#9  KSycocaEntry::property (this=0x0, name=...) at ./src/sycoca/ksycocaentry.cpp:104
#10 0x00007f241802f5bd in KdeConnectPluginKcm::KdeConnectPluginKcm (this=0x7f2414014240, parent=<optimized out>, args=..., componentName=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:967
#11 0x00007f241803959e in RunCommandConfig::RunCommandConfig (this=0x7f2414014240, parent=<optimized out>, args=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:967
#12 0x00007f241803b740 in KPluginFactory::createInstance<RunCommandConfig, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:153
#13 0x00007f2428419e12 in KPluginFactory::create (this=0x56196cf95dd0, iface=0x7f2426addc60 "KCModule", parentWidget=0x56196ceb4c00, parent=0x56196ceb4c00, args=..., keyword=...) at ./src/lib/plugin/kpluginfactory.cpp:232
#14 0x00007f2428511b90 in KPluginFactory::create<KCModule> (args=..., parent=0x56196ceb4c00, keyword=..., this=0x56196cf95dd0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:153
#15 KCModuleLoader::loadModule (metaData=..., parent=0x56196ceb4c00, args=...) at ./src/kcmoduleloader.cpp:98
#16 0x00007f2428518599 in KCModuleProxyPrivate::loadModule (this=0x56196cf92ed0) at /usr/include/c++/9/optional:436
#17 0x00007f2428518f28 in KCModuleProxy::realModule (this=this@entry=0x56196ceb4c00) at ./src/kcmoduleproxy.cpp:59
#18 0x00007f24285309fe in PluginDelegate::configure (this=this@entry=0x56196cbf1410, index=...) at ./src/kpluginwidget.cpp:486
#19 0x00007f242853125f in PluginDelegate::slotConfigureClicked (this=0x56196cbf1410) at ./src/kpluginwidget.cpp:471
#20 0x00007f24273b4dfe in QtPrivate::QSlotObjectBase::call (a=0x7ffe4c532b20, r=0x56196cbf1410, this=0x56196cf5c0d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false> (sender=0x56196cf5b9e0, signal_index=9, argv=0x7ffe4c532b20) at kernel/qobject.cpp:3886
#22 0x00007f24273ae1c7 in QMetaObject::activate (sender=sender@entry=0x56196cf5b9e0, m=m@entry=0x7f2428379600 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe4c532b20) at kernel/qobject.cpp:3946
#23 0x00007f2427f593f6 in QAbstractButton::clicked (this=this@entry=0x56196cf5b9e0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#24 0x00007f2427f5961e in QAbstractButtonPrivate::emitClicked (this=0x56196cf5c290) at widgets/qabstractbutton.cpp:415
#25 0x00007f2427f5aaf3 in QAbstractButtonPrivate::click (this=0x56196cf5c290) at widgets/qabstractbutton.cpp:408
#26 0x00007f2427f5acb5 in QAbstractButton::mouseReleaseEvent (this=0x56196cf5b9e0, e=0x7ffe4c5330e0) at widgets/qabstractbutton.cpp:1044
#27 0x00007f2427ea3d76 in QWidget::event (this=0x56196cf5b9e0, event=0x7ffe4c5330e0) at kernel/qwidget.cpp:8677
#28 0x00007f2427f5bee3 in QAbstractButton::event (this=this@entry=0x56196cf5b9e0, e=e@entry=0x7ffe4c5330e0) at widgets/qabstractbutton.cpp:1001
#29 0x00007f2427fff893 in QPushButton::event (this=0x56196cf5b9e0, e=0x7ffe4c5330e0) at widgets/qpushbutton.cpp:718
#30 0x00007f2427e60dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56196cf5b9e0, e=0x7ffe4c5330e0) at kernel/qapplication.cpp:3637
#31 0x00007f2427e69dc7 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3081
#32 0x00007f242737dd7a in QCoreApplication::notifyInternal2 (receiver=0x56196cf5b9e0, event=0x7ffe4c5330e0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#33 0x00007f2427e690c7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x56196cf5b9e0, event=event@entry=0x7ffe4c5330e0, alienWidget=alienWidget@entry=0x56196cf5b9e0, nativeWidget=0x56196cada1b0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#34 0x00007f2427ebef64 in QWidgetWindow::handleMouseEvent (this=0x56196cb0c520, event=0x7ffe4c533560) at /usr/include/c++/9/bits/atomic_base.h:413
#35 0x00007f2427ec2284 in QWidgetWindow::event (event=0x7ffe4c533560, this=0x56196cb0c520) at kernel/qwidgetwindow.cpp:300
#36 QWidgetWindow::event (this=0x56196cb0c520, event=0x7ffe4c533560) at kernel/qwidgetwindow.cpp:239
#37 0x00007f2427e60dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56196cb0c520, e=0x7ffe4c533560) at kernel/qapplication.cpp:3637
#38 0x00007f2427e69bd8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3161
#39 0x00007f242737dd7a in QCoreApplication::notifyInternal2 (receiver=0x56196cb0c520, event=0x7ffe4c533560) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#40 0x00007f2427763578 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282
#41 0x00007f2427764be5 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x56196ce9c410) at kernel/qguiapplication.cpp:2002
#42 0x00007f242773c7bc in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#43 0x00007f2421a521ce in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#44 0x00007f24251ec17d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f24251ec400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f24251ec4a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f24273d8642 in QEventDispatcherGlib::processEvents (this=0x56196ca6b040, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007f242737c87b in QEventLoop::exec (this=this@entry=0x7ffe4c533900, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#49 0x00007f2427384a24 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0x000056196ade2964 in main (argc=<optimized out>, argv=<optimized out>) at ./settings/main.cpp:51
[Inferior 1 (process 36902) detached]

Reported using DrKonqi
This report was filed against 'kde' because the product 'kdeconnect-settings' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Nicolas Fella 2022-05-07 16:18:07 UTC

*** This bug has been marked as a duplicate of bug 453305 ***
Comment 2 Jeff Tratt 2022-05-13 19:26:28 UTC
It's working now. Thank you!