miguelfreitas / twister-core

twister core / daemon
MIT License
1.42k stars 251 forks source link

twister stopped at exit with: function: libtorrent::piece_manager& libtorrent::torrent::filesystem() #366

Open Erkan-Yilmaz opened 8 years ago

Erkan-Yilmaz commented 8 years ago
  1. twister 0.9.34 was running over tor for 56h
  2. I exited it and this happened (A)
  3. last lines from log here (B)
  4. some hours before exit: I tried these commands (C) and noticed then that twisterd was consuming since then 5% more cpu load

(A) ./twisterd assertion failed. Please file a bugreport at http://code.google.com/p/libtorrent/issues Please include the following information:

version: 1.0.0.0 $Rev: 7680 $ file: 'libtorrent/src/torrent.cpp' line: 6405 function: libtorrent::piece_manager& libtorrent::torrent::filesystem() expression: m_owning_storage.get()

stack: 1: ) [0x8088943] 2: ) [0x81fc376] 3: ) [0x820082c] 4: ) [0x824d9dd] 5: ) [0x819f291] 6: ) [0x819deb5] 7: ) [0x807e086] 8: ) [0x80823c4] 9: ) [0x81cb614] 10: ) [0x80825f6] 11: 12: clone

Abgebrochen (Speicherabzug geschrieben)

(B) 2015-12-23 18:18:52 skipping , resume file up-to-date ... [this line repeating a lot] 2015-12-23 18:18:52 skipping , resume file up-to-date 2015-12-23 18:18:52 saving user_data (followers and DMs)... 2015-12-23 18:18:52 maintain-dht-nodes thread exit 2015-12-23 18:18:53 twister threads to join = 0 2015-12-23 18:18:53 saving session state 2015-12-23 18:18:53 saving user_data (followers and DMs)... 2015-12-23 18:18:53 libtorrent + dht stopped

(C) the first three commands returned their results fast, only the last 2 commands needed longer!

./twisterd peekpost erkan_yilmaz 123 ./twisterd peekpost erkan_yilmaz 1 ./twisterd peekpost mfreitas 1 ./twisterd peekpost google 1 error: {"code":-24,"message":"timeout or post not found"} ./twisterd peekpost google 1 error: {"code":-24,"message":"timeout or post not found"}

miguelfreitas commented 8 years ago

crash on exit?

it looks like an interesting bug to fix, but it is hard to do so without the backtrace. apparently it failed to resolve the stack adresses into symbol names.

is this a debug build (./configure --enable-debug)?

Erkan-Yilmaz commented 8 years ago

no dump available (1) I can let run twisterd with debugger again

(1) twister was behaving good the last months :-)