Summary: | KDE Connect 1.2 segfaults/crashes. | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | David Mattatall <davidsmind> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | albertvaka, alfeno, bugs.kde.org.facelift226, hlprasu, kde, kdelibs-bugs, lukasz, nate, saarthal |
Priority: | NOR | ||
Version: | 5.43.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Crashlog for kdeconnect 1 18 2018
valgrind terminal output for crash |
Description
David Mattatall
2018-01-15 07:29:39 UTC
Can you please run kdeconnectd through gdb and get a backtrace? (In reply to Kai Uwe Broulik from comment #1) > Can you please run kdeconnectd through gdb and get a backtrace? Sure, i've invoked gdb /usr/lib64/libexec/kdeconnectd What do I do once it crashes? gdb /usr/lib64/libexec/kdeconnectd appears not to have started it, I cannot pair. Is their a guide I can follow to do this? Ok I've hit run, now it's going. Lemme know what else I need to do. Here is the output tarting program: /usr/lib64/libexec/kdeconnectd [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffdfb8e700 (LWP 26754)] [New Thread 0x7fffd7d74700 (LWP 26755)] kdeconnect.core: KdeConnect daemon starting [New Thread 0x7fffd7573700 (LWP 26756)] kdeconnect.core: onStart kdeconnect.core: KdeConnect daemon started kdeconnect.core: Broadcasting identity packet kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a new device "OnePlus" kdeconnect.core: Not loading plugin "kdeconnect_lockdevice" because device doesn't support it kdeconnect.core: Not loading plugin "kdeconnect_remotecommands" because device doesn't support it kdeconnect.core: Not loading plugin "kdeconnect_mprisremote" because device doesn't support it kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: creating pairing handler for "bff0294ab1694851" kdeconnect.core: Pair request kdeconnect.plugin.sftp: add to dolphin kdeconnect.plugin.sftp: Created device: "OnePlus" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeconnect.plugin.mpris: MPRIS service "org.mpris.MediaPlayer2.clementine" just came online kdeconnect.plugin.mpris: Mpris addPlayer "org.mpris.MediaPlayer2.clementine" -> "Clementine" discarding unsupported package "kdeconnect.runcommand.request" for "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/59ecef367166c68f7f4619b4d81c9d26") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/59ecef367166c68f7f4619b4d81c9d26") size: 14296 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/59ecef367166c68f7f4619b4d81c9d26") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/59ecef367166c68f7f4619b4d81c9d26") size: 14296 kdeconnect.core: Finished transfer QUrl("file:///tmp/kdeconnect/59ecef367166c68f7f4619b4d81c9d26") kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/387109155c9c64795ea7cda89b0f2bf6") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/387109155c9c64795ea7cda89b0f2bf6") size: 9592 kdeconnect.core: Couldn't transfer the file successfully QNetworkReply::NetworkError(UnknownNetworkError) "/tmp/kdeconnect/59ecef367166c68f7f4619b4d81c9d26" kdeconnect.core: Finished transfer QUrl("file:///tmp/kdeconnect/59ecef367166c68f7f4619b4d81c9d26") Thread 1 "kdeconnectd" received signal SIGSEGV, Segmentation fault. 0x00007ffff4d09ea2 in KIO::TransferJob::sendAsyncData(QByteArray const&) () from /usr/lib64/libKF5KIOCore.so.5 I did not intend or initiate a URL copy to the device. The images being transferred are podcast artwork for pocketcasts on my android. No reason that should crash anything, and this was happening previous to me installing pocket casts (I was using beyond pod previous) We're almost there :) when you receive SIGSEGV then type "thread apply all bt" and paste the output here WOW I think I figured it out. I got a notification from SLACK on my phone just before it crashed. Don't know why that would do it, here's the dump! (gdb) thread apply all bt Thread 4 (Thread 0x7fffd7573700 (LWP 29155)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007ffff07994f6 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff079960c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff6092d53 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #7 0x00007ffff256e887 in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fffd7d74700 (LWP 29154)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007ffff07994f6 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff079960c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff6092d53 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff52286e5 in ?? () from /usr/lib64/libQt5DBus.so.5 #7 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #8 0x00007ffff256e887 in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fffdfb8e700 (LWP 29153)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007fffef31885f in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007fffef31a5e9 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007fffe1efb1f9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff256e887 in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fffe8c3b800 (LWP 29149)): #0 0x00007ffff4d09ea2 in KIO::TransferJob::sendAsyncData(QByteArray const&) () from /usr/lib64/libKF5KIOCore.so.5 #1 0x00007ffff4d0a542 in ?? () from /usr/lib64/libKF5KIOCore.so.5 #2 0x00007ffff4d0abd9 in ?? () from /usr/lib64/libKF5KIOCore.so.5 #3 0x00007ffff6261959 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff7f22cbd in ?? () from /usr/lib64/libQt5Network.so.5 #5 0x00007ffff6261959 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff7eefadf in QAbstractSocket::disconnectFromHost() () from /usr/lib64/libQt5Network.so.5 #7 0x00007ffff7ef0e95 in QAbstractSocket::~QAbstractSocket() () from /usr/lib64/libQt5Network.so.5 #8 0x00007ffff7ef4ae9 in QTcpSocket::~QTcpSocket() () from /usr/lib64/libQt5Network.so.5 #9 0x00007ffff7f1a53d in QSslSocket::~QSslSocket() () from /usr/lib64/libQt5Network.so.5 #10 0x00007ffff7f1a569 in QSslSocket::~QSslSocket() () from /usr/lib64/libQt5Network.so.5 #11 0x00007ffff7bc970e in ?? () from /usr/lib64/libkdeconnectcore.so.1 #12 0x00007ffff6262938 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5 #13 0x00007ffff6c8c21c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #14 0x00007ffff6c93aa9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #15 0x00007ffff6238e5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #16 0x00007ffff623bacd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5 #17 0x00007ffff62897a3 in ?? () from /usr/lib64/libQt5Core.so.5 #18 0x00007ffff07992f7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #19 0x00007ffff0799560 in ?? () from /usr/lib64/libglib-2.0.so.0 #20 0x00007ffff079960c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #21 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #22 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #23 0x00007ffff6240084 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #24 0x0000555555555ff4 in ?? () #25 0x00007ffff5865541 in __libc_start_main () from /lib64/libc.so.6 #26 0x000055555555605a in _start () Looks like a cras in KIO, re-assigning. There were some chnages to the TransferJob recently, I think. David how reproducible is this for you? Any chance you could get us a crash with more debug information? Hi it's a 100% reproducible. Just give me the steps and I'd be happy to follow (I can even build with symbols if you need me too). I think gentoo allows that with a flag. Yes please, it would be great if you could rebuild the kio package with debug symbols Unstripped, here ya go (00:32:58) david@gothbox:~ $ gdb /usr/lib64/libexec/kdeconnectd GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib64/libexec/kdeconnectd...(no debugging symbols found)...done. (gdb) run Starting program: /usr/lib64/libexec/kdeconnectd [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffdfb8d700 (LWP 1895)] [New Thread 0x7fffd7d74700 (LWP 1896)] kdeconnect.core: KdeConnect daemon starting [New Thread 0x7fffd7573700 (LWP 1897)] kdeconnect.core: onStart kdeconnect.core: KdeConnect daemon started kdeconnect.core: Broadcasting identity packet kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.plugin.sftp: add to dolphin kdeconnect.plugin.sftp: Created device: "OnePlus" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeconnect.plugin.mpris: MPRIS service "org.mpris.MediaPlayer2.clementine" just came online kdeconnect.plugin.mpris: Mpris addPlayer "org.mpris.MediaPlayer2.clementine" -> "Clementine" kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" QCoreApplication::postEvent: Unexpected null receiver kdeconnect.plugin.notification: Destroying NotificationsPlugin kdeconnect.core: Sending onNetworkChange to 1 LinkProviders kdeconnect.core: Broadcasting identity packet kdeconnect.core: Starting client ssl (but I'm the server TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: Not loading plugin "kdeconnect_lockdevice" because device doesn't support it kdeconnect.core: Not loading plugin "kdeconnect_remotecommands" because device doesn't support it kdeconnect.core: Not loading plugin "kdeconnect_mprisremote" because device doesn't support it kdeconnect.plugin.mpris: MPRIS service "org.mpris.MediaPlayer2.clementine" just came online kdeconnect.plugin.mpris: Mpris addPlayer "org.mpris.MediaPlayer2.clementine" -> "Clementine" kdeconnect.plugin.sftp: add to dolphin kdeconnect.plugin.sftp: Created device: "OnePlus" kdeconnect.plugin.battery: Deleting stale BatteryDbusInterface for "OnePlus" discarding unsupported package "kdeconnect.runcommand.request" for "OnePlus" kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/d7bcce8479ae57c082101e2c15d06087") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/d7bcce8479ae57c082101e2c15d06087") size: 11936 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/837b8138b8af0354f9d3efde1245542d") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/837b8138b8af0354f9d3efde1245542d") size: 16496 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/aca6c32eea236538b6cf35e36ebad5cc") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/aca6c32eea236538b6cf35e36ebad5cc") size: 14008 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/5c496b9e490e39dcba66770882421936") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/5c496b9e490e39dcba66770882421936") size: 5484 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/d7bcce8479ae57c082101e2c15d06087") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/d7bcce8479ae57c082101e2c15d06087") size: 11936 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/837b8138b8af0354f9d3efde1245542d") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/837b8138b8af0354f9d3efde1245542d") size: 16496 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/aca6c32eea236538b6cf35e36ebad5cc") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/aca6c32eea236538b6cf35e36ebad5cc") size: 14008 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/5c496b9e490e39dcba66770882421936") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/5c496b9e490e39dcba66770882421936") size: 5484 kdeconnect.core: Finished transfer QUrl("file:///tmp/kdeconnect/aca6c32eea236538b6cf35e36ebad5cc") kdeconnect.core: Finished transfer QUrl("file:///tmp/kdeconnect/837b8138b8af0354f9d3efde1245542d") kdeconnect.core: Couldn't transfer the file successfully QNetworkReply::NetworkError(UnknownNetworkError) "file" Thread 1 "kdeconnectd" received signal SIGSEGV, Segmentation fault. 0x00007ffff760adc8 in KNotification::setPixmap(QPixmap const&) () from /usr/lib64/libKF5Notifications.so.5 (gdb) thread apply all bt Thread 4 (Thread 0x7fffd7573700 (LWP 1897)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007ffff07984f6 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff079860c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff6092d53 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #7 0x00007ffff256d887 in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fffd7d74700 (LWP 1896)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007ffff07984f6 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff079860c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff6092d53 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff52286e5 in ?? () from /usr/lib64/libQt5DBus.so.5 #7 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #8 0x00007ffff256d887 in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fffdfb8d700 (LWP 1895)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007fffef31785f in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007fffef3195e9 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007fffe1efa1f9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff256d887 in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fffe8c3a800 (LWP 1891)): #0 0x00007ffff760adc8 in KNotification::setPixmap(QPixmap const&) () from /usr/lib64/libKF5Notifications.so.5 #1 0x00007fffd52a6f2f in Notification::applyIconAndShow() () from /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_notifications.so #2 0x00007ffff6261cae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #3 0x00007ffff55ef7ac in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib64/libKF5CoreAddons.so.5 #4 0x00007ffff55f02d1 in KJob::finishJob(bool) () from Well, now it looks like it crashed in KNotification::setPixmap whereas before it would crash in KIO::TransferJob::sendAsyncData, can you perhaps try again? Interesting. Maybe more than one thing is at play. Here's a new one: (04:08:25) david@gothbox:/etc/portage $ gdb /usr/lib64/libexec/kdeconnectd GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib64/libexec/kdeconnectd...Reading symbols from /usr/lib/debug//usr/lib64/libexec/kdeconnectd.debug...done. done. (gdb) run Starting program: /usr/lib64/libexec/kdeconnectd [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffdfb8d700 (LWP 15499)] [New Thread 0x7fffd7d74700 (LWP 15500)] kdeconnect.core: KdeConnect daemon starting [New Thread 0x7fffd7573700 (LWP 15501)] kdeconnect.core: onStart kdeconnect.core: KdeConnect daemon started kdeconnect.core: Broadcasting identity packet kdeconnect.core: Starting client ssl (but I'm the server TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.core: Not loading plugin "kdeconnect_remotecommands" because device doesn't support it kdeconnect.core: Not loading plugin "kdeconnect_mprisremote" because device doesn't support it kdeconnect.core: Not loading plugin "kdeconnect_lockdevice" because device doesn't support it Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeconnect.plugin.mpris: MPRIS service "org.mpris.MediaPlayer2.clementine" just came online kdeconnect.plugin.mpris: Mpris addPlayer "org.mpris.MediaPlayer2.clementine" -> "Clementine" kdeconnect.plugin.sftp: add to dolphin kdeconnect.plugin.sftp: Created device: "OnePlus" discarding unsupported package "kdeconnect.runcommand.request" for "OnePlus" kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") size: 6821 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") size: 6821 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/12e673432d351e0c508edf910094ee9d") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/12e673432d351e0c508edf910094ee9d") size: 9411 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/b63a275187c6c51784fb27abf1e15bb7") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/b63a275187c6c51784fb27abf1e15bb7") size: 2563 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") size: 6821 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/a77729036df82d1daa9d9085253369f9") size: 6821 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/12e673432d351e0c508edf910094ee9d") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/12e673432d351e0c508edf910094ee9d") size: 9411 kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/b63a275187c6c51784fb27abf1e15bb7") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/b63a275187c6c51784fb27abf1e15bb7") size: 2563 kdeconnect.core: TCP connection done (i'm the existing device) kdeconnect.core: Starting server ssl (I'm the client TCP socket) kdeconnect.core: Socket succesfully stablished an SSL connection kdeconnect.core: It is a known device "OnePlus" kdeconnect.plugin.notification: Not found noti by internal Id: "0|com.google.android.gm|7|null|10061" kdeconnect.core: Destination QUrl QUrl("/tmp/kdeconnect/654db74a4a34b95672cc883fdbfe4293") lacks a scheme. Setting its scheme to 'file'. kdeconnect.core: FileTransferJob Downloading payload to QUrl("/tmp/kdeconnect/654db74a4a34b95672cc883fdbfe4293") size: 3071 kdeconnect.core: Finished transfer QUrl("file:///tmp/kdeconnect/654db74a4a34b95672cc883fdbfe4293") Thread 1 "kdeconnectd" received signal SIGSEGV, Segmentation fault. 0x00007ffff6106ab3 in operator==(QString const&, QString const&) () from /usr/lib64/libQt5Core.so.5 (gdb) thread apply all bt Thread 4 (Thread 0x7fffd7573700 (LWP 15501)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007ffff07984f6 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff079860c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff6092d53 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #7 0x00007ffff256d887 in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fffd7d74700 (LWP 15500)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007ffff07984f6 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff079860c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff6092d53 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff52286e5 in ?? () from /usr/lib64/libQt5DBus.so.5 #7 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #8 0x00007ffff256d887 in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fffdfb8d700 (LWP 15499)): #0 0x00007ffff593299d in poll () from /lib64/libc.so.6 #1 0x00007fffef31785f in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007fffef3195e9 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007fffe1efa1f9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007ffff6097281 in ?? () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff256d887 in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff593dd4f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fffe8c3a800 (LWP 15495)): #0 0x00007ffff6106ab3 in operator==(QString const&, QString const&) () from /usr/lib64/libQt5Core.so.5 #1 0x00007ffff760ac4c in KNotification::setTitle(QString const&) () from /usr/lib64/libKF5Notifications.so.5 #2 0x00007fffd48604cd in Notification::createKNotification (this=0x555555a95370, update=<optimized out>, np=...) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/plugins/notifications/notification.cpp:90 #3 0x00007fffd4861ecd in Notification::update (this=<optimized out>, np=...) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/plugins/notifications/notification.cpp:76 #4 0x00007fffd4867517 in NotificationsDbusInterface::processPackage (this=0x55555594f2c0, np=...) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/plugins/notifications/notificationsdbusinterface.cpp:88 #5 0x00007fffd486258b in NotificationsPlugin::receivePackage (this=0x55555594f110, np=...) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/plugins/notifications/notificationsplugin.cpp:59 #6 0x00007ffff7bc0348 in Device::privateReceivedPackage (this=<optimized out>, np=...) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/core/device.cpp:345 #7 0x00007ffff6261cae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #8 0x00007ffff7bc6cd5 in DeviceLink::receivedPackage (this=this@entry=0x55555587c4a0, _t1=...) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-1.2_build/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_devicelink.cpp:209 #9 0x00007ffff7ba35ea in LanDeviceLink::dataReceived (this=0x55555587c4a0) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/core/backends/lan/landevicelink.cpp:133 #10 0x00007ffff6261cae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #11 0x00007ffff7ba8666 in SocketLineReader::dataReceived (this=0x555555877b00) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/core/backends/lan/socketlinereader.cpp:51 #12 0x00007ffff6261cae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #13 0x00007ffff7f37f2f in ?? () from /usr/lib64/libQt5Network.so.5 #14 0x00007ffff7f22c21 in ?? () from /usr/lib64/libQt5Network.so.5 #15 0x00007ffff6261959 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #16 0x00007ffff7ef02d3 in ?? () from /usr/lib64/libQt5Network.so.5 #17 0x00007ffff7ef038c in ?? () from /usr/lib64/libQt5Network.so.5 #18 0x00007ffff7f00f91 in ?? () from /usr/lib64/libQt5Network.so.5 #19 0x00007ffff6c8c21c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #20 0x00007ffff6c93aa9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #21 0x00007ffff6238e5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #22 0x00007ffff6289f0f in ?? () from /usr/lib64/libQt5Core.so.5 #23 0x00007ffff07982f7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #24 0x00007ffff0798560 in ?? () from /usr/lib64/libglib-2.0.so.0 #25 0x00007ffff079860c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #26 0x00007ffff628958f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #27 0x00007ffff6237b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #28 0x00007ffff6240084 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #29 0x0000555555555ff4 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/kde-misc/kdeconnect-1.2/work/kdeconnect-kde-1.2/daemon/kdeconnectd.cpp:88 (gdb) continue Continuing. [Thread 0x7fffd7573700 (LWP 15501) exited] [Thread 0x7fffd7d74700 (LWP 15500) exited] [Thread 0x7fffdfb8d700 (LWP 15499) exited] Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. This seems to have some percentage to crash when I get an alert on runscope on my phone and I think it's sending that alert to my desktop. I can see why the notification thing crashes, it stores KNotification as a raw pointer but that class will self-delete when closed. That doesn't explain the sendAsyncData one, though Let me know what further information you need. Created attachment 109961 [details]
Crashlog for kdeconnect 1 18 2018
Crashlog for 1 18 2018 for kdeconnect 1.2.1
(In reply to Kai Uwe Broulik from comment #17) > I can see why the notification thing crashes, it stores KNotification as a > raw pointer but that class will self-delete when closed. That doesn't > explain the sendAsyncData one, though The notification crash was fixed in 895a9206ffafd4b9725f567fd069fd655f200139 Great so is this to be set to resolved? There are two different stack traces on this issue. I'm not sure if the other crash, on sendAsyncData, has actually been fixed (it might) but I'm gonna mark it as resolved for now. Feel free to reopen if the sendAsyncData crash can be reproduced. I resolved that crash on load (sendAsyncData) by clearing out the config directory. So I cannot replicate it. It's happening to me as well: Thread 4 (Thread 0x7f0ce82a5700 (LWP 678)): #0 0x00007f0d0130997b in poll () from /usr/lib/libc.so.6 #1 0x00007f0cfb503ff3 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f0cfb50410e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f0d01c552f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f0d01bf73db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f0d01a067ae in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f0d00668416 in ?? () from /usr/lib/libQt5DBus.so.5 #7 0x00007f0d01a0bb4d in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f0cfd4d908c in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f0d01313e7f in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f0cf1118700 (LWP 660)): #0 0x00007f0d0130997b in poll () from /usr/lib/libc.so.6 #1 0x00007f0cf9e508e0 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f0cf9e52679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f0cf3cb482a in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f0d01a0bb4d in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f0cfd4d908c in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f0d01313e7f in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f0ce7aa4700 (LWP 681)): #0 0x00007f0d0130997b in poll () from /usr/lib/libc.so.6 #1 0x00007f0cfb503ff3 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f0cfb50410e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f0d01c552f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f0d01bf73db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f0d01a067ae in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f0d01a0bb4d in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f0cfd4d908c in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f0d01313e7f in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f0d03ecd500 (LWP 647)): #0 0x00007f0d001291c2 in KIO::TransferJob::sendAsyncData (this=this@entry=0x564d1342c990, dataForSlave=...) at /home/dlh/abs/packages/kio/repos/extra-x86_64/src/kio-5.43.0/src/core/transferjob.cpp:189 #1 0x00007f0d00129924 in KIO::TransferJobPrivate::slotIODeviceClosed (this=0x564d13397380) at /home/dlh/abs/packages/kio/repos/extra-x86_64/src/kio-5.43.0/src/core/transferjob.cpp:457 #2 0x00007f0d0012a0c9 in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/dlh/abs/packages/kio/repos/extra-x86_64/src/build/src/core/KF5KIOCore_autogen/include/moc_transferjob.cpp:171 #3 0x00007f0d01c296c6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #4 0x00007f0d00fad06e in ?? () from /usr/lib/libQt5Network.so.5 #5 0x00007f0d01c296c6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #6 0x00007f0d00f791c1 in QAbstractSocket::disconnectFromHost() () from /usr/lib/libQt5Network.so.5 #7 0x00007f0d00f7a5e6 in QAbstractSocket::~QAbstractSocket() () from /usr/lib/libQt5Network.so.5 #8 0x00007f0d00f7e36a in QTcpSocket::~QTcpSocket() () from /usr/lib/libQt5Network.so.5 #9 0x00007f0d00fa31fd in QSslSocket::~QSslSocket() () from /usr/lib/libQt5Network.so.5 #10 0x00007f0d00fa322a in QSslSocket::~QSslSocket() () from /usr/lib/libQt5Network.so.5 #11 0x00007f0d03ae5df9 in QtSharedPointer::ExternalRefCountData::destroy (this=0x564d133f15f0) at /usr/include/qt/QtCore/qsharedpointer_impl.h:157 #12 QSharedPointer<QIODevice>::deref (dd=0x564d133f15f0) at /usr/include/qt/QtCore/qsharedpointer_impl.h:461 #13 QSharedPointer<QIODevice>::deref (this=0x564d1335dd78) at /usr/include/qt/QtCore/qsharedpointer_impl.h:456 #14 QSharedPointer<QIODevice>::~QSharedPointer (this=0x564d1335dd78, __in_chrg=<optimized out>) at /usr/include/qt/QtCore/qsharedpointer_impl.h:313 #15 FileTransferJob::~FileTransferJob (this=0x564d1335dd60, __in_chrg=<optimized out>) at /home/dlh/abs/community/kdeconnect/trunk/src/build/core/kdeconnectcore_autogen/EWIEGA46WW/../../../../kdeconnect-kde-v1.2.1/core/filetransferjob.h:41 #16 FileTransferJob::~FileTransferJob (this=0x564d1335dd60, __in_chrg=<optimized out>) at /home/dlh/abs/community/kdeconnect/trunk/src/build/core/kdeconnectcore_autogen/EWIEGA46WW/../../../../kdeconnect-kde-v1.2.1/core/filetransferjob.h:41 #17 0x00007f0d01c2a131 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #18 0x00007f0d02976fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f0d0297e9c6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #20 0x00007f0d01bf8da0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #21 0x00007f0d01bfba06 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #22 0x00007f0d01c55d04 in ?? () from /usr/lib/libQt5Core.so.5 #23 0x00007f0cfb503e38 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #24 0x00007f0cfb504081 in ?? () from /usr/lib/libglib-2.0.so.0 #25 0x00007f0cfb50410e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #26 0x00007f0d01c552f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #27 0x00007f0cf3d3c482 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #28 0x00007f0d01bf73db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #29 0x00007f0d01c007d8 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #30 0x0000564d12b11e43 in main (argc=<optimized out>, argv=<optimized out>) at /home/dlh/abs/community/kdeconnect/trunk/src/kdeconnect-kde-v1.2.1/daemon/kdeconnectd.cpp:88 Just to update, I'm up to 1.2.1-r1 and it is still constantly crashing in the same manner Cheers, David A. Mattatall | 778-323-7857 On 03/01/2018 05:33 AM, Lukasz wrote: > https://bugs.kde.org/show_bug.cgi?id=388991 > > Lukasz <dolohow@outlook.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |dolohow@outlook.com > Status|RESOLVED |VERIFIED > > --- Comment #24 from Lukasz <dolohow@outlook.com> --- > It's happening to me as well: > > Thread 4 (Thread 0x7f0ce82a5700 (LWP 678)): > #0 0x00007f0d0130997b in poll () from /usr/lib/libc.so.6 > #1 0x00007f0cfb503ff3 in ?? () from /usr/lib/libglib-2.0.so.0 > #2 0x00007f0cfb50410e in g_main_context_iteration () from > /usr/lib/libglib-2.0.so.0 > #3 0x00007f0d01c552f1 in > QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () > from /usr/lib/libQt5Core.so.5 > #4 0x00007f0d01bf73db in > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from > /usr/lib/libQt5Core.so.5 > #5 0x00007f0d01a067ae in QThread::exec() () from /usr/lib/libQt5Core.so.5 > #6 0x00007f0d00668416 in ?? () from /usr/lib/libQt5DBus.so.5 > #7 0x00007f0d01a0bb4d in ?? () from /usr/lib/libQt5Core.so.5 > #8 0x00007f0cfd4d908c in start_thread () from /usr/lib/libpthread.so.0 > #9 0x00007f0d01313e7f in clone () from /usr/lib/libc.so.6 > > Thread 3 (Thread 0x7f0cf1118700 (LWP 660)): > #0 0x00007f0d0130997b in poll () from /usr/lib/libc.so.6 > #1 0x00007f0cf9e508e0 in ?? () from /usr/lib/libxcb.so.1 > #2 0x00007f0cf9e52679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 > #3 0x00007f0cf3cb482a in ?? () from /usr/lib/libQt5XcbQpa.so.5 > #4 0x00007f0d01a0bb4d in ?? () from /usr/lib/libQt5Core.so.5 > #5 0x00007f0cfd4d908c in start_thread () from /usr/lib/libpthread.so.0 > #6 0x00007f0d01313e7f in clone () from /usr/lib/libc.so.6 > > Thread 2 (Thread 0x7f0ce7aa4700 (LWP 681)): > #0 0x00007f0d0130997b in poll () from /usr/lib/libc.so.6 > #1 0x00007f0cfb503ff3 in ?? () from /usr/lib/libglib-2.0.so.0 > #2 0x00007f0cfb50410e in g_main_context_iteration () from > /usr/lib/libglib-2.0.so.0 > #3 0x00007f0d01c552f1 in > QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () > from /usr/lib/libQt5Core.so.5 > #4 0x00007f0d01bf73db in > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from > /usr/lib/libQt5Core.so.5 > #5 0x00007f0d01a067ae in QThread::exec() () from /usr/lib/libQt5Core.so.5 > #6 0x00007f0d01a0bb4d in ?? () from /usr/lib/libQt5Core.so.5 > #7 0x00007f0cfd4d908c in start_thread () from /usr/lib/libpthread.so.0 > #8 0x00007f0d01313e7f in clone () from /usr/lib/libc.so.6 > > Thread 1 (Thread 0x7f0d03ecd500 (LWP 647)): > #0 0x00007f0d001291c2 in KIO::TransferJob::sendAsyncData > (this=this@entry=0x564d1342c990, dataForSlave=...) > at > /home/dlh/abs/packages/kio/repos/extra-x86_64/src/kio-5.43.0/src/core/transferjob.cpp:189 > #1 0x00007f0d00129924 in KIO::TransferJobPrivate::slotIODeviceClosed > (this=0x564d13397380) > at > /home/dlh/abs/packages/kio/repos/extra-x86_64/src/kio-5.43.0/src/core/transferjob.cpp:457 > #2 0x00007f0d0012a0c9 in KIO::TransferJob::qt_static_metacall (_o=<optimized > out>, _c=<optimized out>, _id=<optimized out>, > _a=<optimized out>) > at > /home/dlh/abs/packages/kio/repos/extra-x86_64/src/build/src/core/KF5KIOCore_autogen/include/moc_transferjob.cpp:171 > #3 0x00007f0d01c296c6 in QMetaObject::activate(QObject*, int, int, void**) () > from /usr/lib/libQt5Core.so.5 > #4 0x00007f0d00fad06e in ?? () from /usr/lib/libQt5Network.so.5 > #5 0x00007f0d01c296c6 in QMetaObject::activate(QObject*, int, int, void**) () > from /usr/lib/libQt5Core.so.5 > #6 0x00007f0d00f791c1 in QAbstractSocket::disconnectFromHost() () from > /usr/lib/libQt5Network.so.5 > #7 0x00007f0d00f7a5e6 in QAbstractSocket::~QAbstractSocket() () from > /usr/lib/libQt5Network.so.5 > #8 0x00007f0d00f7e36a in QTcpSocket::~QTcpSocket() () from > /usr/lib/libQt5Network.so.5 > #9 0x00007f0d00fa31fd in QSslSocket::~QSslSocket() () from > /usr/lib/libQt5Network.so.5 > #10 0x00007f0d00fa322a in QSslSocket::~QSslSocket() () from > /usr/lib/libQt5Network.so.5 > #11 0x00007f0d03ae5df9 in QtSharedPointer::ExternalRefCountData::destroy > (this=0x564d133f15f0) > at /usr/include/qt/QtCore/qsharedpointer_impl.h:157 > #12 QSharedPointer<QIODevice>::deref (dd=0x564d133f15f0) at > /usr/include/qt/QtCore/qsharedpointer_impl.h:461 > #13 QSharedPointer<QIODevice>::deref (this=0x564d1335dd78) at > /usr/include/qt/QtCore/qsharedpointer_impl.h:456 > #14 QSharedPointer<QIODevice>::~QSharedPointer (this=0x564d1335dd78, > __in_chrg=<optimized out>) > at /usr/include/qt/QtCore/qsharedpointer_impl.h:313 > #15 FileTransferJob::~FileTransferJob (this=0x564d1335dd60, > __in_chrg=<optimized out>) > at > /home/dlh/abs/community/kdeconnect/trunk/src/build/core/kdeconnectcore_autogen/EWIEGA46WW/../../../../kdeconnect-kde-v1.2.1/core/filetransferjob.h:41 > #16 FileTransferJob::~FileTransferJob (this=0x564d1335dd60, > __in_chrg=<optimized out>) > at > /home/dlh/abs/community/kdeconnect/trunk/src/build/core/kdeconnectcore_autogen/EWIEGA46WW/../../../../kdeconnect-kde-v1.2.1/core/filetransferjob.h:41 > #17 0x00007f0d01c2a131 in QObject::event(QEvent*) () from > /usr/lib/libQt5Core.so.5 > #18 0x00007f0d02976fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) > () from /usr/lib/libQt5Widgets.so.5 > #19 0x00007f0d0297e9c6 in QApplication::notify(QObject*, QEvent*) () from > /usr/lib/libQt5Widgets.so.5 > #20 0x00007f0d01bf8da0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) > () from /usr/lib/libQt5Core.so.5 > #21 0x00007f0d01bfba06 in QCoreApplicationPrivate::sendPostedEvents(QObject*, > int, QThreadData*) () > from /usr/lib/libQt5Core.so.5 > #22 0x00007f0d01c55d04 in ?? () from /usr/lib/libQt5Core.so.5 > #23 0x00007f0cfb503e38 in g_main_context_dispatch () from > /usr/lib/libglib-2.0.so.0 > #24 0x00007f0cfb504081 in ?? () from /usr/lib/libglib-2.0.so.0 > #25 0x00007f0cfb50410e in g_main_context_iteration () from > /usr/lib/libglib-2.0.so.0 > #26 0x00007f0d01c552f1 in > QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () > from /usr/lib/libQt5Core.so.5 > #27 0x00007f0cf3d3c482 in ?? () from /usr/lib/libQt5XcbQpa.so.5 > #28 0x00007f0d01bf73db in > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from > /usr/lib/libQt5Core.so.5 > #29 0x00007f0d01c007d8 in QCoreApplication::exec() () from > /usr/lib/libQt5Core.so.5 > #30 0x0000564d12b11e43 in main (argc=<optimized out>, argv=<optimized out>) > at > /home/dlh/abs/community/kdeconnect/trunk/src/kdeconnect-kde-v1.2.1/daemon/kdeconnectd.cpp:88 > Reopening based on recent comments. Please set the KF5 frameworks version number. (In reply to Lukasz from comment #24) > It's happening to me as well: Lukasz can you reproduce this easily? Do you know how to run kdeconnect under valgrind? I'd help me quite a bit having the valgrind trace to understand what's going on. Hi Albert, Provide instruction and I'd be happy to test Cheers, David A. Mattatall | 778-323-7857 On 03/01/2018 02:41 PM, Albert Astals Cid wrote: > https://bugs.kde.org/show_bug.cgi?id=388991 > > --- Comment #27 from Albert Astals Cid <aacid@kde.org> --- > (In reply to Lukasz from comment #24) >> It's happening to me as well: > Lukasz can you reproduce this easily? Do you know how to run kdeconnect under > valgrind? I'd help me quite a bit having the valgrind trace to understand > what's going on. > go to a terminal, make sure you have valgrind installed and then run killall kdeconnectd; valgrind /usr/lib/kdeconnectd and try to make it crash, attach the output of valgrind I am also facing the same issue. I'm using KDE Neon User Edition with kdeconnect version 1.2.1-0neon+16.04+xenial+build31, on laptop, and kdeconnect app v1.7.1 on Android. I observed that if I disable 'Receive Notifications' on KDEConnect android, then this crash of kdeconnectd does not happen on my laptop. Here's my valgrind output. It's absolutely massive, I hope it's useful. https://we.tl/2rAd4UrD49 Here's my valgrind output. It's absolutely massive, I hope it's useful. https://we.tl/2rAd4UrD49 (In reply to David Mattatall from comment #32) > Here's my valgrind output. > > It's absolutely massive, I hope it's useful. > https://we.tl/2rAd4UrD49 That's not the output of valgrind to the terminal. Created attachment 111184 [details]
valgrind terminal output for crash
Here's the valgrind terminal output
David, your backtrace is different from the one Lukasz shows, yours is about the notifications code ==9724== Invalid read of size 8 ==9724== at 0x53DBD0C: KNotification::setTitle(QString const&) (in /usr/lib64/libKF5Notifications.so.5.43.0) ==9724== by 0x265F8886: Notification::createKNotification(bool, NetworkPackage const&) (notification.cpp:94) ==9724== by 0x265FEC78: NotificationsDbusInterface::processPackage(NetworkPackage const&) (notificationsdbusinterface.cpp:96) ==9724== by 0x265F9C0A: NotificationsPlugin::receivePackage(NetworkPackage const&) (notificationsplugin.cpp:59) ==9724== by 0x4E733B7: Device::privateReceivedPackage(NetworkPackage const&) (device.cpp:345) ==9724== by 0x6BDED4D: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x4E79D74: DeviceLink::receivedPackage(NetworkPackage const&) (moc_devicelink.cpp:209) ==9724== by 0x4E56659: LanDeviceLink::dataReceived() (landevicelink.cpp:133) ==9724== by 0x6BDED4D: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x4E5B6D5: SocketLineReader::dataReceived() (socketlinereader.cpp:51) ==9724== by 0x6BDED4D: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x78E8C1E: ??? (in /usr/lib64/libQt5Network.so.5.9.4) ==9724== Address 0x27af00a0 is 16 bytes inside a block of size 24 free'd ==9724== at 0x4C2C63B: operator delete(void*) (vg_replace_malloc.c:576) ==9724== by 0x6BDF9D7: QObject::event(QEvent*) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x5BD7D6B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib64/libQt5Widgets.so.5.9.4) ==9724== by 0x5BDF5F8: QApplication::notify(QObject*, QEvent*) (in /usr/lib64/libQt5Widgets.so.5.9.4) ==9724== by 0x6BB5E59: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x6BB8ACC: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x6C06822: ??? (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0xCD64516: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.5200.3) ==9724== by 0xCD6477F: ??? (in /usr/lib64/libglib-2.0.so.0.5200.3) ==9724== by 0xCD6482B: g_main_context_iteration (in /usr/lib64/libglib-2.0.so.0.5200.3) ==9724== by 0x6C0660E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x6BB4B89: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== Block was alloc'd at ==9724== at 0x4C2B57F: operator new(unsigned long) (vg_replace_malloc.c:334) ==9724== by 0x265F8DDF: Notification::createKNotification(bool, NetworkPackage const&) (notification.cpp:86) ==9724== by 0x265F91FD: Notification::Notification(NetworkPackage const&, QObject*) (notification.cpp:53) ==9724== by 0x265FF4D0: NotificationsDbusInterface::processPackage(NetworkPackage const&) (notificationsdbusinterface.cpp:84) ==9724== by 0x265F9C0A: NotificationsPlugin::receivePackage(NetworkPackage const&) (notificationsplugin.cpp:59) ==9724== by 0x4E733B7: Device::privateReceivedPackage(NetworkPackage const&) (device.cpp:345) ==9724== by 0x6BDED4D: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x4E79D74: DeviceLink::receivedPackage(NetworkPackage const&) (moc_devicelink.cpp:209) ==9724== by 0x4E56659: LanDeviceLink::dataReceived() (landevicelink.cpp:133) ==9724== by 0x6BDED4D: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQt5Core.so.5.9.4) ==9724== by 0x4E5B6D5: SocketLineReader::dataReceived() (socketlinereader.cpp:51) ==9724== by 0x6BDED4D: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQt5Core.so.5.9.4) I suggest you open a new bug so we can track the kio related one here. This was my ticket initially and has always been about this notifications bug. Ok, so the bug is yours Find someone else that is not me to help you fix it and debug it, i'm only interested in the kio side since it's the only part i have some expertise, so removing myself from this bug, if someone has a valgrind trace involving KIO open a new bug then. You may also want to find someone else to move it out of the frameworks-kio since this bug that belongs to you may be in the wrong product. I mean, The bug is not mine, I just filed it. I have no idea where this should go or how to request it be reassigned. I'm just saying my whole issue has always been that when I get a slack notification on my phone kdeconnect crashes. Anyone out there? https://cgit.kde.org/kdeconnect-kde.git/commit/?id=6495e8dc538610fb679df0f1522243103a3a1789 could have fixed it, but it was committed after the kdeconnect 1.2.1 release. If you can test kdeconnect master branch, please confirm. I am not the original bug reporter, but I've been getting the exact same crash as he is. After updating to KDE Connect 1.3 (from the Fedora testing repos), the crash no longer seems to happen! Also it seems to have fixed the issue where I have to keep my phone awake to get notifications. On a freshly installed Arch Linux wth kdeconnect 1.3.1-1 I see this in my logs: [ 2124.044491] kdeconnectd[6908]: segfault at 8 ip 00007f3b7c892fbf sp 00007ffc9fa641d0 error 4 in libQt5XcbQpa.so.5.11.1[7f3b7c88b000+d4000] [ 2532.915715] kdeconnectd[7661]: segfault at 8 ip 00007f28b4c0bfbf sp 00007ffe8d171400 error 4 in libQt5XcbQpa.so.5.11.1[7f28b4c04000+d4000] [ 2685.638765] kdeconnectd[8090]: segfault at 8 ip 00007fe03721bfbf sp 00007ffd002331d0 error 4 in libQt5XcbQpa.so.5.11.1[7fe037214000+d4000] [ 2738.130807] kdeconnectd[8449]: segfault at 8 ip 00007ffb40b7ffbf sp 00007ffcc1bae8d0 error 4 in libQt5XcbQpa.so.5.11.1[7ffb40b78000+d4000] [ 2817.788883] kdeconnectd[8732]: segfault at 8 ip 00007f81a2c1ffbf sp 00007ffcbcb08830 error 4 in libQt5XcbQpa.so.5.11.1[7f81a2c18000+d4000] [ 3087.642255] kdeconnectd[9392]: segfault at 8 ip 00007f78b00ddfbf sp 00007ffe586d45a0 error 4 in libQt5XcbQpa.so.5.11.1[7f78b00d6000+d4000] [ 3409.277672] kdeconnectd[10123]: segfault at 8 ip 00007fe77ccfefbf sp 00007fff680def70 error 4 in libQt5XcbQpa.so.5.11.1[7fe77ccf7000+d4000] [ 3441.648155] kdeconnectd[10389]: segfault at 8 ip 00007fa04c6affbf sp 00007ffd4577ee80 error 4 in libQt5XcbQpa.so.5.11.1[7fa04c6a8000+d4000] Nevermind, it seems the segfault I reported above only happened once, I can't reproduce it. Just bumping this. Still crashes and detaches. *** Bug 400010 has been marked as a duplicate of this bug. *** 1.2 is an old version, this problem is fixed in the current version 1.3.2. |