[Libtorrent-devel] hang at exit

Jari Sundell sundell.software at gmail.com
Mon Aug 9 08:17:27 UTC 2010


On Tue, Aug 3, 2010 at 1:28 AM, Robert Henney <robh at rut.org> wrote:
> I'm running 0.8.6/0.12.6 and with certain torrents rtorrent
> will frequently hang when shutting down and the process will start
> consuming 100% available cpu and never exit.  possibly a race
> condition in the cleanup code that can get stuck in an infinite loop?
>
> when this last happened I started gdb and attached to the running
> process.  I don't know gdb well, so if someone can tell me what
> information might be useful (and how to instruct gdb) then I should
> be able to capture it and pass it along to the list here.

You need to call 'bt' for both threads (switch with 'thread <id>').

Jari Sundell


More information about the Libtorrent-devel mailing list