On Tue, Feb 28, 2012 at 5:08 PM, Jari Sundell <sundell.softw...@gmail.com>wrote:

> On Wed, Feb 29, 2012 at 12:44 AM, Artifex Maximus <artife...@gmail.com>
> wrote:
> > Hello!
> >
> > I catched a segmentation fault right now in rtorrent. Here is the gdb
> output
> > at stop:
>
> There should be three threads running, for each of them do;
>
> thread 1
> bt
> thread 2
> bt
> thread 3
> bt
>

(gdb) info thread
* 4 Thread 28ae0340 (LWP 100428)  0x2881fb7b in kevent () from
/lib/libc.so.7
  3 Thread 28ae2140 (LWP 100372)  0x2881fb7b in kevent () from
/lib/libc.so.7
  2 Thread 28901140 (LWP 100373)  torrent::TrackerController::do_timeout
(this=Variable "this" is not available.
) at tracker.h:114
(gdb) thread 1
Thread ID 1 not known.
(gdb) thread 2
[Switching to thread 2 (Thread 28901140 (LWP 100373))]#0
torrent::TrackerController::do_timeout (this=Variable "this" is not
available.
) at tracker.h:114
114       uint32_t            failed_counter() const                {
return m_failed_counter; }
(gdb) bt
#0  torrent::TrackerController::do_timeout (this=Variable "this" is not
available.
) at tracker.h:114
#1  0x080f8132 in std::tr1::_Function_handler<void ()(),
std::tr1::_Bind<std::tr1::_Mem_fn<void (torrent::TrackerController::*)()>
()(torrent::TrackerController*)> >::_M_invoke (__functor=@0xbfbfe520) at
functional_iterate.h:214
#2  0x081429cc in torrent::thread_main::call_events (this=0xbfbfe530) at
functional_iterate.h:865
#3  0x08114441 in torrent::thread_base::event_loop
(thread=dwarf2_read_address: Corrupted DWARF expression.
) at thread_base.cc:115
#4  0x08053085 in main (argc=Variable "argc" is not available.
) at main.cc:873
(gdb) thread 3
[Switching to thread 3 (Thread 28ae2140 (LWP 100372))]#0  0x2881fb7b in
kevent () from /lib/libc.so.7
(gdb) bt
#0  0x2881fb7b in kevent () from /lib/libc.so.7
#1  0x080f2d40 in torrent::PollKQueue::poll (this=Unhandled dwarf
expression opcode 0xf0
) at poll_kqueue.cc:166
#2  0x080f2fd2 in torrent::PollKQueue::do_poll (this=Variable "this" is not
available.
) at poll_kqueue.cc:258
#3  0x081144ee in torrent::thread_base::event_loop
(thread=dwarf2_read_address: Corrupted DWARF expression.
) at thread_base.cc:145
#4  0x2826a77f in pthread_getprio () from /lib/libthr.so.3
#5  0x00000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (Thread 28ae0340 (LWP 100428))]#0  0x2881fb7b in
kevent () from /lib/libc.so.7
(gdb) bt
#0  0x2881fb7b in kevent () from /lib/libc.so.7
#1  0x080f2d40 in torrent::PollKQueue::poll (this=Unhandled dwarf
expression opcode 0xf0
) at poll_kqueue.cc:166
#2  0x080f2fd2 in torrent::PollKQueue::do_poll (this=Variable "this" is not
available.
) at poll_kqueue.cc:258
#3  0x081144ee in torrent::thread_base::event_loop
(thread=dwarf2_read_address: Corrupted DWARF expression.
) at thread_base.cc:145
#4  0x2826a77f in pthread_getprio () from /lib/libthr.so.3
#5  0x00000000 in ?? ()



> Also, are you doing any logging?
>

Yes I have storage and torrent log files.

Bye,
a
_______________________________________________
Libtorrent-devel mailing list
Libtorrent-devel@rakshasa.no
http://rakshasa.no/mailman/listinfo/libtorrent-devel

Reply via email to