I made a mistake: I found out that that line causes the problem when using the 
shipped version of asio, not Debian's version. However the segmentation fault 
does occur. I have the following backtrace:

#0  0xb7a8bebf in std::_Rb_tree_decrement () from /usr/lib/libstdc++.so.6
#1  0xb7a8bf1d in std::_Rb_tree_decrement () from /usr/lib/libstdc++.so.6
#2  0xb7ea8ba5 in 
std::_Rb_tree_const_iterator<libtorrent::detail::filter_impl<asio::ip::address_v6>::range>::operator--
 
() from src/.libs/libtorrent.so.0
#3  0xb7ea8bd7 in 
boost::prior<std::_Rb_tree_const_iterator<libtorrent::detail::filter_impl<asio::ip::address_v6>::range>
 
> () from src/.libs/libtorrent.so.0
#4  0xb7eaa2e3 in 
libtorrent::detail::filter_impl<asio::ip::address_v6>::add_rule () from 
src/.libs/libtorrent.so.0
#5  0xb7ea5973 in libtorrent::ip_filter::add_rule ()
   from src/.libs/libtorrent.so.0
#6  0x0805214c in test_main ()
#7  0x08051577 in main ()

I will try to find out more aboout this tomorrow.


-- 

        Felipe Sateler

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to