According to my previous conversations with Arvid Norberg, such problems could happen due to race conditions. Therefore he advises to add torrent that should be paused directly in paused state (by specifying paused=true to add_torrent() function).
Unfortunately, doing so causes paused torrents not to be checked. As a consequence, libtorrent returns a progress value of 0 for these torrents. Therefore, qBittorrent adds paused torrents to the session without pausing them at first. Then it waits until those torrents have finished checking before actually pausing them. Apparently, this causes problems. As a solution, I want to add paused torrents in pause mode and save their progress on hard disk. This workaround is not dirty in my opinion. It is simply a more reliable alternative. Moreover, I also have a couple of other bug fixes for v1.1.4. Best regards, Chris. On Sat, Sep 13, 2008 at 4:45 PM, Chris <[EMAIL PROTECTED]> wrote: > I'm working on a way to avoid this bug in libtorrent for v1.1.4. I'll > keep you posted. > > On Wed, Sep 3, 2008 at 12:44 AM, Cristian Greco <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 02, 2008 at 11:01:08PM +0200, Christian Ohm wrote: >> >>> When I stop qbittorrent with all torrents paused and then start it again, it >>> shows the torrents as paused, but starts downloading anyway. >> >> Hi Christian, >> >> I'm not experiencing such behavior, can you add more info please? >> >> Do you stop both downloads and uploads? Do you use the "stop all" button >> or not? Which way do you see downloads are still going on? What about >> the total download/upload speed box? >> >> >> Thanks, >> Cristian >> > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]