After adding a few new torrents, ktorrent started crashing. It consistently crashes after a second or so after I start it. This is the output from valgrind with --track-origins=yes: ==7713== Thread 25 QThread: ==7713== Use of uninitialised value of size 8 ==7713== at 0x9C4335C: QString::indexOf(QChar, int, Qt::CaseSensitivity) const (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x51A5F65: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A6D93: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A4507: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A52A2: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x516787E: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5163A23: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51629C9: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5162550: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5162588: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== Uninitialised value was created by a heap allocation ==7713== at 0x4C2E15F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7713== by 0x9C19BC2: QListData::realloc_grow(int) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9C19C5F: QListData::append(int) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BAD5C6: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9C4E5BD: QString::split(QString const&, QString::SplitBehavior, Qt::CaseSensitivity) const (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x51A68B3: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A4507: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A52A2: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x516787E: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5163A23: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51629C9: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5162550: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== ==7713== Invalid read of size 4 ==7713== at 0x9C4335C: QString::indexOf(QChar, int, Qt::CaseSensitivity) const (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x51A5F65: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A6D93: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A4507: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51A52A2: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x516787E: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5163A23: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x51629C9: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5162550: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x5162588: ??? (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== Address 0x4 is not stack'd, malloc'd or (recently) free'd ==7713== KCrash: Application 'ktorrent' crashing... KCrash: Attempting to start /usr/lib/drkonqi from kdeinit Mon Jul 24 17:57:26 2017: DHT: Got 1 potential peers for torrent Mon Jul 24 17:57:26 2017: Send error : Bad file descriptor sock_file=/run/user/1000/kdeinit5__0 Mon Jul 24 17:57:27 2017: Qt Warning: QSocketNotifier: Invalid socket 17 and type 'Read', disabling... Warning: QSocketNotifier: Invalid socket 17 and type 'Read', disabling... ==7713== Thread 4 utp::UTPServerTh: ==7713== Invalid read of size 2 ==7713== at 0x9DFBF05: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x121FA610: g_main_context_check (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FABAF: ??? (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FAD1B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x9DFC060: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9D9FFFA: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BB940D: QThread::exec() (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== by 0xABA5F0E: clone (in /usr/lib/libc-2.25.so) ==7713== Address 0x2071c744 is 4 bytes inside a block of size 16 free'd ==7713== at 0x4C2D66B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7713== by 0x9DDE30D: QSocketNotifier::setEnabled(bool) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9DFBF04: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x121FA610: g_main_context_check (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FABAF: ??? (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FAD1B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x9DFC060: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9D9FFFA: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BB940D: QThread::exec() (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== by 0xABA5F0E: clone (in /usr/lib/libc-2.25.so) ==7713== Block was alloc'd at ==7713== at 0x4C2C54F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7713== by 0x9DFCBC4: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9DDE312: QSocketNotifier::setEnabled(bool) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x522DAC4: utp::UTPServer::threadStarted() (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x52347BC: utp::UTPServerThread::run() (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== by 0xABA5F0E: clone (in /usr/lib/libc-2.25.so) ==7713== ==7713== Invalid read of size 2 ==7713== at 0x9DFBF09: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x121FA610: g_main_context_check (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FABAF: ??? (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FAD1B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x9DFC060: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9D9FFFA: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BB940D: QThread::exec() (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== by 0xABA5F0E: clone (in /usr/lib/libc-2.25.so) ==7713== Address 0x2071c746 is 6 bytes inside a block of size 16 free'd ==7713== at 0x4C2D66B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7713== by 0x9DDE30D: QSocketNotifier::setEnabled(bool) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9DFBF04: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x121FA610: g_main_context_check (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FABAF: ??? (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x121FAD1B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.5200.3) ==7713== by 0x9DFC060: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9D9FFFA: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BB940D: QThread::exec() (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== by 0xABA5F0E: clone (in /usr/lib/libc-2.25.so) ==7713== Block was alloc'd at ==7713== at 0x4C2C54F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7713== by 0x9DFCBC4: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x9DDE312: QSocketNotifier::setEnabled(bool) (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0x522DAC4: utp::UTPServer::threadStarted() (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x52347BC: utp::UTPServerThread::run() (in /usr/lib/libktorrent.so.6.0.0) ==7713== by 0x9BBE15A: ??? (in /usr/lib/libQt5Core.so.5.9.1) ==7713== by 0xFC69048: start_thread (in /usr/lib/libpthread-2.25.so) ==7713== by 0xABA5F0E: clone (in /usr/lib/libc-2.25.so) ==7713== “valgrind --track-origins=yes kt…” has stopped
Thank you for the report, Dick. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!