Registered Member
|
Hi,
when I remove two or more downloaded and stopped torrents, the KTorrent (3.0.1) crashs
|
Moderator
|
|
Registered Member
|
how can I get that backtrace?
I select all downloaded torrents, push remove button and then it crashes only info I get is the line above. with some set of torrents (two at least) it crashes allways, with some set it works I've tried running it with valgrind, but it shows no useful info |
Registered Member
|
now I'm trying to find out where it crashes by adding debug output to some place in the source.
I've found this:
in dbus.cpp : DBus::DBus( ) is it correct? connecting torrentRemoved signal to torrentAdded slot? Now I know, that when I push the remove button it gets to core::remove(...), it emits signal torrentRemoved and then it crashes it crashes while its removing first torrent |
Registered Member
|
Finally, I've found this:
ktorrent/viewmodel.cpp void ViewModel::removeTorrent(bt::TorrentInterface* ti)
calling removeRow(idx) is the last function called before it crashes still, is there any way how can I get backtrace? |
Moderator
|
That's a stupid copy paste error, luckily the dbus stuff is not much in use at the moment. |
Moderator
|
You can just run in a debugger, trigger the crash, and then type bt to get a backtrace. Anyway, I will see if I can reproduce this. |
Moderator
|
|
Moderator
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]