![]() Registered Member ![]()
|
I have 3.3.
Sometimes it just closes by itself. Is there a log file? I tried running it from a console but it detaches. |
![]() Moderator ![]()
|
Install 3.3.1, whatever you are seeing, it is probably fixed in that release.
|
![]() Registered Member ![]()
|
I can confirm the same issue with ktorrent-3.3.2 built from the ports on FreeBSD.
The last messages in ktorrent log file are always:
Please note that the address is indeed empty in the last log line. It appears that ktorrent just exists after that. Perhaps related, perhaps not, I see that ktorrent regularly attempts to initiate connections to itself (my own IP address) and only "server-side" logic rejects those attempts. |
![]() Registered Member ![]()
|
Caught it under gdb:
|
![]() Registered Member ![]()
|
It looks like a peer disconnects before reverse-resolving kicks off and so NULL address gets passed somewhere unexpected.
|
![]() Moderator ![]()
|
Compile with debug information, so we can have a better backtrace.
|
![]() Registered Member ![]()
|
I will do it later, if you still want it.
For now I've determined that the crash happens in libbtcore/net/reverseresolver.cpp in ReverseResolver::resolve method and it seems to be caused by NULL value returned from addr.address(). Adding a check for that condition seems to work around the issue. |
Registered users: Bing [Bot], Evergrowing, Google [Bot]