Page 1 of 1

Run errors

Posted: Fri Dec 07, 2018 11:45 am
by qed
Hi all,

I'm getting the following errors when trying to launch deluged under raspberian OS (on a pi 3B+). Not sure whats causing it, but the errors seem random (got around 400+ torrents, around 80 were failed/errored last time it worked).

deluged runs for about 15-20 secs then stops:

Code: Select all

console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_range_insert

-----------------  
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

 ----------------- 
console:~ $ *** Error in `/usr/bin/python': free(): invalid next size (fast): 0x01d5cea0 ***

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

  -----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
*** Error in `/usr/bin/python': malloc(): smallbin double linked list corrupted: 0x01bbaa78 ***

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

 ----------------- 
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
  
-----------------  
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

-----------------  
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

-----------------  
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

 ----------------- 
console:~ $ *** Error in `/usr/bin/python': malloc(): smallbin double linked list corrupted: 0x6edf5b68 ***

 -----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
*** Error in `/usr/bin/python': corrupted size vs. prev_size: 0x6edc5538 ***

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
*** Error in `/usr/bin/python': double free or corruption (out): 0x6ed6e8a8 ***

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
[ERROR   ] 22:02:46 component:118 [Failure instance: Traceback: <type 'exceptions.UnicodeDecodeError'>: 'utf8' codec can't decode byte 0xe7 in position 45: invalid continuation byte
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:308:addCallbacks
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:651:_runCallbacks
/usr/lib/python2.7/dist-packages/deluge/component.py:285:on_depends_started
/usr/lib/python2.7/dist-packages/deluge/component.py:124:_component_start
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:150:maybeDeferred
/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py:220:start
/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py:672:load_state
/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py:490:add
/usr/lib/python2.7/dist-packages/deluge/core/torrent.py:207:__init__
/usr/lib/python2.7/dist-packages/deluge/core/torrent.py:243:set_options
/usr/lib/python2.7/dist-packages/deluge/core/torrent.py:313:set_file_priorities
/usr/lib/python2.7/dist-packages/deluge/core/torrent.py:539:get_files
/usr/lib/python2.7/encodings/utf_8.py:16:decode
]
*** Error in `/usr/bin/python': malloc(): smallbin double linked list corrupted: 0x6e26bdd8 ***

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
*** Error in `/usr/bin/python': corrupted size vs. prev_size: 0x70e36898 ***

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_range_insert

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt

-----------------
console:~ $ /usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
*** Error in `/usr/bin/python': free(): invalid pointer: 0x711c0cf0 ***


Re: Run errors

Posted: Fri Dec 07, 2018 12:57 pm
by Cas
What version of deluge and libtorrent?

Re: Run errors

Posted: Fri Dec 07, 2018 1:27 pm
by qed
i re-started deluged about 50+ times, and it seemed to start without aborting lol

looks like it cycled through the .torrent files it was 'adding', failed to do so (so added them as errors), and then continued on its merry way when no more to add

Image

Re: Run errors

Posted: Fri Dec 07, 2018 5:55 pm
by Cas
There are known issues with libtorrent 1.1.1 so best to use a later release. There is PPA for 1.1: https://code.launchpad.net/~libtorrent. ... -1.1-daily