Discussion:
[libtorrent] Hang on shutdown in 1.0.8
Murray S. Kucherawy
2016-11-23 22:59:32 UTC
Permalink
This problem report looks a lot like something we're experiencing in 1.0.8
at shutdown:

https://github.com/arvidn/libtorrent/issues/1199

There's a patch that appears to fix the problem but it applies to the 1.1.x
line, not 1.0.x. Is there an equivalent fix for the older release line?

-MSK
------------------------------------------------------------------------------
Arvid Norberg
2016-11-24 02:41:08 UTC
Permalink
Post by Murray S. Kucherawy
This problem report looks a lot like something we're experiencing in 1.0.8
https://github.com/arvidn/libtorrent/issues/1199
There's a patch that appears to fix the problem but it applies to the 1.1.x
line, not 1.0.x. Is there an equivalent fix for the older release line?
That patch fixes the case where you try to shut down the session before the
DNS response for the DHT bootstrap has come back.

To verify this is the case you're experience, you could disable the DHT and
see if it still happens.
--
Arvid Norberg
------------------------------------------------------------------------------
Murray S. Kucherawy
2016-11-28 06:42:15 UTC
Permalink
Would the two-line reproduction found at that issue page also occur in
1.0.8? i.e., is that a good way to confirm that DHT is the problem?
Post by Arvid Norberg
Post by Murray S. Kucherawy
This problem report looks a lot like something we're experiencing in
1.0.8
Post by Murray S. Kucherawy
https://github.com/arvidn/libtorrent/issues/1199
There's a patch that appears to fix the problem but it applies to the
1.1.x
Post by Murray S. Kucherawy
line, not 1.0.x. Is there an equivalent fix for the older release line?
That patch fixes the case where you try to shut down the session before the
DNS response for the DHT bootstrap has come back.
To verify this is the case you're experience, you could disable the DHT and
see if it still happens.
--
Arvid Norberg
------------------------------------------------------------
------------------
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
------------------------------------------------------------------------------
Murray S. Kucherawy
2016-12-01 06:56:59 UTC
Permalink
I tried the reproduction on that bug with our 1.0.8 build, namely:

import libtorrent as lt
s = lt.session({})

The program exited right away, so apparently something else is amiss.
Post by Murray S. Kucherawy
Would the two-line reproduction found at that issue page also occur in
1.0.8? i.e., is that a good way to confirm that DHT is the problem?
Post by Arvid Norberg
Post by Murray S. Kucherawy
This problem report looks a lot like something we're experiencing in
1.0.8
Post by Murray S. Kucherawy
https://github.com/arvidn/libtorrent/issues/1199
There's a patch that appears to fix the problem but it applies to the
1.1.x
Post by Murray S. Kucherawy
line, not 1.0.x. Is there an equivalent fix for the older release line?
That patch fixes the case where you try to shut down the session before the
DNS response for the DHT bootstrap has come back.
To verify this is the case you're experience, you could disable the DHT and
see if it still happens.
--
Arvid Norberg
------------------------------------------------------------
------------------
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
------------------------------------------------------------------------------
Loading...