This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ktorrent crashing since updating kdelibs5-dev

Tags: None
(comma "," separated)
Kreuger
Registered Member
Posts
38
Karma
0
So today there was an update for the package kdelibs5-dev and since grabbing it Ktorrent wont start. It keeps saying crashed with signal 11 (SIGSEGV). The backtrace shows:

[Thread debugging using libthread_db enabled]
[New Thread 0xb5a0a720 (LWP 3474)]
[KCrash handler]
#6 0x08db6dd8 in ?? ()
#7 0xb7b97af5 in ?? () from /usr/lib/kde4/lib/libkdecore.so.5
#8 0xb7b976f3 in KCompositeJobPrivate::~KCompositeJobPrivate ()
from /usr/lib/kde4/lib/libkdecore.so.5
#9 0xb6b5c9a0 in ?? () from /usr/lib/kde4/lib/libkio.so.5
#10 0xb6b948c6 in ?? () from /usr/lib/kde4/lib/libkio.so.5
#11 0xb7b99294 in KJob::~KJob () from /usr/lib/kde4/lib/libkdecore.so.5
#12 0xb7b97568 in KCompositeJob::~KCompositeJob ()
from /usr/lib/kde4/lib/libkdecore.so.5
#13 0xb6b8d358 in KIO::Job::~Job () from /usr/lib/kde4/lib/libkio.so.5
#14 0xb6b8d38d in KIO::FileCopyJob::~FileCopyJob ()
from /usr/lib/kde4/lib/libkio.so.5
#15 0xb7dfef8c in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4
#16 0xb7e00efc in QObject::event () from /usr/lib/libQtCore.so.4
#17 0xb71aac0c in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#18 0xb71af7a9 in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0xb6ead603 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#20 0xb7df06a9 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#21 0xb7df1a59 in QCoreApplicationPrivate::sendPostedEvents ()
from /usr/lib/libQtCore.so.4
#22 0xb7df1c7d in QCoreApplication::sendPostedEvents ()
from /usr/lib/libQtCore.so.4
#23 0xb7e1bbcf in ?? () from /usr/lib/libQtCore.so.4
#24 0xb5d60bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0xb5d63e5e in ?? () from /usr/lib/libglib-2.0.so.0
#26 0xb5d643ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0xb7e1bf98 in QEventDispatcherGlib::processEvents ()
from /usr/lib/libQtCore.so.4
#28 0xb723e1b5 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb7def92d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#30 0xb7defabd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#31 0xb7df1d3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#32 0xb71aa567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#33 0x080631e4 in main (argc=1, argv=0xbff203a4)
at /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/ktorrent/main.cpp:163
#0 0xb7fa0410 in __kernel_vsyscall ()


Edit: I just tried rebuilding the 3.1beta2 sources and got this when I ran make:

kreuger@kreuger-desktop:~/Downloads/Updates/ktorrent-3.1beta2$ make
[ 0%] Generating btcore_automoc.cpp
/bin/sh: KDE4_AUTOMOC_EXECUTABLE-NOTFOUND: not found
make[2]: *** [libbtcore/btcore_automoc.cpp] Error 127
make[1]: *** [libbtcore/CMakeFiles/btcore.dir/all] Error 2
make: *** [all] Error 2
kreuger@kreuger-desktop:~/Downloads/Updates/ktorrent-3.1beta2$


Then I tried this:

kreuger@kreuger-desktop:~/Downloads/Updates/ktorrent-3.1beta2$ make VERBOSE=1
/usr/bin/cmake -H/home/kreuger/Downloads/Updates/ktorrent-3.1beta2 -B/home/kreuger/Downloads/Updates/ktorrent-3.1beta2 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/CMakeFiles /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/CMakeFiles/progress.make
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/kreuger/Downloads/Updates/ktorrent-3.1beta2'
make -f libbtcore/CMakeFiles/btcore.dir/build.make libbtcore/CMakeFiles/btcore.dir/depend
make[2]: Entering directory `/home/kreuger/Downloads/Updates/ktorrent-3.1beta2'
/usr/bin/cmake -E cmake_progress_report /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/CMakeFiles
[ 0%] Generating btcore_automoc.cpp
cd /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/libbtcore && KDE4_AUTOMOC_EXECUTABLE-NOTFOUND /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/libbtcore/btcore_automoc.cpp /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/libbtcore /home/kreuger/Downloads/Updates/ktorrent-3.1beta2/libbtcore /usr/bin/moc-qt4
/bin/sh: KDE4_AUTOMOC_EXECUTABLE-NOTFOUND: not found
make[2]: *** [libbtcore/btcore_automoc.cpp] Error 127
make[2]: Leaving directory `/home/kreuger/Downloads/Updates/ktorrent-3.1beta2'
make[1]: *** [libbtcore/CMakeFiles/btcore.dir/all] Error 2
make[1]: Leaving directory `/home/kreuger/Downloads/Updates/ktorrent-3.1beta2'
make: *** [all] Error 2
kreuger@kreuger-desktop:~/Downloads/Updates/ktorrent-3.1beta2$
George
Moderator
Posts
5421
Karma
1

Thu May 29, 2008 6:36 pm
In that crash there is no ktorrent code involved, so it looks like this is a bug in KDE code. Though it could be related to log rotation, try deleting the log files in ~/.kde4/share/apps/ktorrent/ (log and log-1.gz .. log-10.gz), and then start KT.

As for the compile errors, rerun cmake, for some reason it can't find kde4automoc which is used during the build. cmake should find this.
Kreuger
Registered Member
Posts
38
Karma
0

Thu May 29, 2008 9:05 pm
It still crashes with the same error and I did try running cmake a couple more times and it didn't work. I'm gonna redownload the package.

Edit: I removed it and installed the deb for the last version and it now says this in the terminal:

kreuger@kreuger-desktop:~$ /usr/lib/kde4/bin/ktorrent
Object::connect: No such signal KPluginSelector::Private::changed(bool)
Object::connect: No such signal KPluginSelector::Private::configCommitted(QByteArray)
kreuger@kreuger-desktop:~$ KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = ktorrent path = <unknown> pid = 23262
sock_file=/home/kreuger/.kde4/socket-kreuger-desktop/kdeinit4__0
Kreuger
Registered Member
Posts
38
Karma
0

Fri May 30, 2008 3:21 pm
I just tried going back to KTorrent 2.2 for now so I could start seeding my stuff again and it keeps telling me there's data missing on every torrent and it all has to be re-downloaded even when I point it to the folder where my KT3 files are.

Edit: I clicked re create and then did the data integrity scan and it found all the files and started seeding again.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]