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

Ktorrent crashes with code 11 (SIGSEGV)

Tags: None
(comma "," separated)
NewUsr
Registered Member
Posts
10
Karma
0
OS
I'm a new user. Just downloaded the source and compiled under Kubuntu (KDE4). When I quit from "ktorrent", I get a crash msg with code 11 SIGSEGV.
Anyone could've seen this before?
Any help?
Thanks.
-- NewUser
stoeptegel
Registered Member
Posts
1075
Karma
0
Which version are you using? You could install debug packages so dbg can show more details in the crashlog.
George
Moderator
Posts
5421
Karma
1
Post a backtrace, that should give us more information, where it is crashing exactly.
NewUsr
Registered Member
Posts
10
Karma
0
OS
Here is the crash message details:

Application: KTorrent (ktorrent), signal SIGSEGV
Thread 1 (Thread 0xb573f700 (LWP 16665)):
[KCrash Handler]
#6 0xb7257f78 in QObject::~QObject () from /usr/lib/libQtCore.so.4
#7 0xb7e86e74 in ~LogSystemManager (this=0xb7f685a0) at /home/yassir/KTorrent/ktorrent-3.2.3/libbtcore/util/logsystemmanager.cpp:43
#8 0xb6495f51 in __cxa_finalize () from /lib/tls/i686/cmov/libc.so.6
#9 0xb7e78294 in __do_global_dtors_aux () from /home/yassir/KTorrent/ktorrent-3.2.3/build/lib/./libbtcore.so.11
#10 0xb7f2ebf0 in _fini () from /home/yassir/KTorrent/ktorrent-3.2.3/build/lib/./libbtcore.so.11
#11 0xb7f9ea73 in ?? () from /lib/ld-linux.so.2
#12 0xb6495bb9 in exit () from /lib/tls/i686/cmov/libc.so.6
#13 0xb647d77d in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#14 0x080632f1 in _start () at ../sysdeps/i386/elf/start.S:119


Appreciate any help.
-- new user
George
Moderator
Posts
5421
Karma
1
I think this is probably related to this crash :

https://bugs.kde.org/show_bug.cgi?id=197944

Which is already fixed, but the fix hasn't been part of a release.
NewUsr
Registered Member
Posts
10
Karma
0
OS
That did not fix the problem. I might be doing something wrong. Here is what I do:
1- download the src code
2- build everything as directed by the install instructions
3- "make" runs fine except several warnings. I assume they should be OK (like unused variables, etc)
4- run make install
5- run the ktorrent program from build/ktorrent/ktorrent.shell
6- the ktorrent starts fine
7- click file->quit
8- It exits with the crash SIGSEGV error

Am I doing something wrong?
-- NewUser
George
Moderator
Posts
5421
Karma
1
Did you try the latest code from svn ?
NewUsr
Registered Member
Posts
10
Karma
0
OS
Yes, I did use the latest log.cpp from the svn log. Only 2 lines of code were changed to unset the Qt message handler when Log is destroyed.
Anyway, I just copied the entire file to my directory and compiled.
-- NewUser
George
Moderator
Posts
5421
Karma
1
I don't see what is going wrong, the LogSystemManager doesn't do anything, and the QObject destructor should only cleanup child objects and signal slot connections.

Can you install Qt debug packages to get a better backtrace ? The package should be named libqt4-dbg.
NewUsr
Registered Member
Posts
10
Karma
0
OS
I'm new to this stuff. I didn't find any package called "Qt debug" (excuse my ignorance).
Can you tell me the name of the package you think is needed and how to use it.
The real question is "Do you have the same problem?" If you can build KTorrent from the distribution, start it, and Quit without crash, then
the problem is not in KTorrent. The problem could be in my environment. I'm using Kubuntu 9.4 (Jaunty). The problem could be specific to
my system.
Thanks.
-- NewUser
George
Moderator
Posts
5421
Karma
1
newuser wrote:I'm new to this stuff. I didn't find any package called "Qt debug" (excuse my ignorance).
Can you tell me the name of the package you think is needed and how to use it.


libqt4-dbg
NewUsr
Registered Member
Posts
10
Karma
0
OS
I downloaded Fedora OS instead of Kubuntu. On Fedora, I used the same steps to generate KTorrent, and it seams to work.
Looks like your KTorrent distribution doesn't work with Kubuntu out of the box. Some tweaks beyond my capabilities have to be done to the system
to get KTorrent working. I'm moving to Fedora now.
If someone is interested in this bug, he can download your package to Kubuntu 9.04 and try it.
Thanks for the help anyway.
-- NewUser
George
Moderator
Posts
5421
Karma
1
newuser wrote:I downloaded Fedora OS instead of Kubuntu. On Fedora, I used the same steps to generate KTorrent, and it seams to work.
Looks like your KTorrent distribution doesn't work with Kubuntu out of the box. Some tweaks beyond my capabilities have to be done to the system
to get KTorrent working. I'm moving to Fedora now.
If someone is interested in this bug, he can download your package to Kubuntu 9.04 and try it.
Thanks for the help anyway.
-- NewUser


I work on kubuntu, and all packages are tested on kubuntu before they are relased.
NewUsr
Registered Member
Posts
10
Karma
0
OS
We're getting nowhere.
please close this thread.
Thanks


Bookmarks



Who is online

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