Registered Member
|
Packages from OpenSuse (package says git20101130) crash when using µTP protocol. The crash handler has no backtrace and only says "signal: Aborted".
The logs show many* lines of
and the log ends with
What information would be useful to you to determine the cause? * by 'many' I mean ~100/sec -- at least near the end of the log. |
Moderator
|
First of all upgrade to the latest, I have fixed some small bugs in µTP today, which should reduce those packet lost messages you see (Though that probably is not causing the crash).
And make sure you install debug packages, that should generate a decent backtrace. |
Registered Member
|
An updated package hit the repo (git20101217).
Differences: Not much. Now when it crashes instead of an empty backtrace and the message "Signal: Aborted" it doesn't even bring up the crash window. I did get a proper backtrace by running it under GDB, though. [See end of message] A few things I noticed (probably unrelated to the crash itself): - The log file seems very large. With both µTP and TCP enabled a log file spanning 34minutes is over 6MB raw (before gzipped when archived). Is this normal? - Log files are still spammed with "UTP: lost packets on connection 12345" - A spot-check through the logs shows that peers are attempted over UTP first, the authentication fails, then TCP is attempted with another failed authentication and UTP is re-tried, this time succeeding. ------------ The crash itself: *** glibc detected *** /usr/bin/ktorrent: free(): invalid pointer: 0x09abf3b0 *** #0 0xffffe424 in __kernel_vsyscall () #1 0xb61987ff in raise () from /lib/libc.so.6 #2 0xb619a140 in abort () from /lib/libc.so.6 #3 0xb61d4fd7 in __libc_message () from /lib/libc.so.6 #4 0xb61daffb in malloc_printerr () from /lib/libc.so.6 #5 0xb61dfb49 in free () from /lib/libc.so.6 #6 0xb63d398f in operator delete(void*) () from /usr/lib/libstdc++.so.6 #7 0xb7ea13d3 in node_destruct (this=0x825141c, data=0x9133350) at /usr/include/QtCore/qlist.h:418 #8 QList<QSharedPointer<net::ServerSocket> >::free (this=0x825141c, data=0x9133350) at /usr/include/QtCore/qlist.h:742 #9 0xb7ea1b6e in operator= (this=0x825141c) at /usr/include/QtCore/qlist.h:430 #10 QList<QSharedPointer<net::ServerSocket> >::clear (this=0x825141c) at /usr/include/QtCore/qlist.h:752 #11 0xb7f0a545 in utp::UTPServer::Private::sendTo (this=0x8251410, data=..., addr=...) at /usr/src/debug/libktorrent/src/utp/utpserver.cpp:277 #12 0xb7f0a82c in utp::UTPServer::sendTo (this=0x8250af8, data=..., addr=..., conn_id=2409) at /usr/src/debug/libktorrent/src/utp/utpserver.cpp:464 #13 0xb7f103f8 in utp::Connection::sendDataPacket (this=0x8a7ad48, packet=...) at /usr/src/debug/libktorrent/src/utp/connection.cpp:500 #14 0xb7f10af8 in utp::Connection::sendPackets (this=0x8a7ad48) at /usr/src/debug/libktorrent/src/utp/connection.cpp:448 #15 0xb7f10c28 in utp::Connection::send (this=0x8a7ad48, data= 0x96e2a5c "\302\016\224\276\232\340@;\002\025kf\250\375\334\325d4\260u\326\345\273ګ\374.\320\337)\217S^\207\306\343\037\303\367@\230\336\315\320L\225\334w\245i¥Mƃs\317\tj\337\"\361\247\246\342\357+cF\363\256\221\002\347`\303&K\242\263\021+\371\254 \301ނ\262\367\353\372\031&\223\277\024\177ՑJ\267bj\023\021g\303.~\376N\016\275\301\276\032g\220\355\351\367\253y%q-`\273ܧ\351\003!s\371\261\356).7];)_\253^\366-q;ԋ?\371\371\252kP+W\374\356\324\325\004\025\370\322\006@/\021>ϖt55\331*\f3\023yu>\212\213\215\\\037\204\302\177\236"..., len=25) at /usr/src/debug/libktorrent/src/utp/connection.cpp:429 #16 0xb7f13369 in utp::UTPSocket::send (this=0x9242350, buf= 0x96e2a5c "\302\016\224\276\232\340@;\002\025kf\250\375\334\325d4\260u\326\345\273ګ\374.\320\337)\217S^\207\306\343\037\303\367@\230\336\315\320L\225\334w\245i¥Mƃs\317\tj\337\"\361\247\246\342\357+cF\363\256\221\002\347`\303&K\242\263\021+\371\254 \301ނ\262\367\353\372\031&\223\277\024\177ՑJ\267bj\023\021g\303.~\376N\016\275\301\276\032g\220\355\351\367\253y%q-`\273ܧ\351\003!s\371\261\356).7];)_\253^\366-q;ԋ?\371\371\252kP+W\374\356\324\325\004\025\370\322\006@/\021>ϖt55\331*\f3\023yu>\212\213\215\\\037\204\302\177\236"..., len=25) at /usr/src/debug/libktorrent/src/utp/utpsocket.cpp:179 #17 0xb7e5f544 in net::BufferedSocket::sendOutputBuffer (this=0x90ab588, max=25, now=1292982351680) at /usr/src/debug/libktorrent/src/net/bufferedsocket.cpp:157 #18 0xb7e5f69c in net::BufferedSocket::writeBuffered (this=0x90ab588, max=25, now=1292982351680) at /usr/src/debug/libktorrent/src/net/bufferedsocket.cpp:184 #19 0xb7e656d4 in net::SocketGroup::processLimited (this=0x85ed638, up=true, now=1292982351680, allowance=@0xa8ad810c) at /usr/src/debug/libktorrent/src/net/socketgroup.cpp:77 #20 0xb7e65a1f in net::SocketGroup::process (this=0x85ed638, up=true, now=1292982351680, global_allowance=@0xa8ad81fc) at /usr/src/debug/libktorrent/src/net/socketgroup.cpp:166 #21 0xb7e65b7f in net::SocketGroup::upload (this=0x85ed638, global_allowance=@0xa8ad81fc, now= 1292982351680) at /usr/src/debug/libktorrent/src/net/socketgroup.cpp:115 #22 0xb7e63463 in net::UploadThread::doGroup (this=0x8127720, g=0x85ed638, allowance=@0xa8ad81fc, now=1292982351680) at /usr/src/debug/libktorrent/src/net/uploadthread.cpp:106 #23 0xb7e64716 in net::NetworkThread::doGroupsLimited (this=0x8127720, num_ready=21, now= 1292982351680, allowance=@0xa8ad828c) at /usr/src/debug/libktorrent/src/net/networkthread.cpp:111 #24 0xb7e64a8c in net::NetworkThread::doGroups (this=0x8127720, num_ready=<value optimized out>, now= 1292982351680, limit=71680) at /usr/src/debug/libktorrent/src/net/networkthread.cpp:190 #25 0xb7e63b72 in net::UploadThread::update (this=0x8127720) at /usr/src/debug/libktorrent/src/net/uploadthread.cpp:81 #26 0xb7e64478 in net::NetworkThread::run (this=0x8127720) at /usr/src/debug/libktorrent/src/net/networkthread.cpp:48 #27 0xb6f5439a in QThreadPrivate::start (arg=0x8127720) at thread/qthread_unix.cpp:285 #28 0xb6ed9b25 in start_thread () from /lib/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #29 0xb624046e in clone () from /lib/libc.so.6 |
Moderator
|
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]