This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[crash svn 566949]

Tags: None
(comma "," separated)
stoeptegel
Registered Member
Posts
1075
Karma
0

[crash svn 566949]

Sat Jul 29, 2006 8:50 pm
Changed the download speed limit a few times-> running nice for some hours-> then cpu got 25-86% 30-60(?)minutes-> crash

Code: Select all
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1233983808 (LWP 5740)]
[New Thread -1293259856 (LWP 5830)]
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb699f2ae in __lll_mutex_lock_wait ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb699bfbb in _L_mutex_lock_33 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0x085ce460 in ?? ()
#4  0xb724f718 in QGList::clear () from /usr/lib/libqt-mt.so.3
#5  0xb72309a2 in QRealMutexPrivate::lock () from /usr/lib/libqt-mt.so.3
#6  0xb72306f2 in QMutex::lock () from /usr/lib/libqt-mt.so.3
#7  0xb7e3ec6c in net::SocketMonitor::remove (this=0xb7f22980, sock=0x8629ae0)
    at socketmonitor.cpp:113
#8  0xb7e462fe in ~StreamSocket (this=0x85d07e0) at streamsocket.cpp:68
#9  0xb7e6930e in ~Peer (this=0x862af60) at peer.cpp:98
#10 0xb7e70f78 in QPtrList<bt::Peer>::deleteItem (this=0x83bd1c8, d=0x862af60)
    at qptrlist.h:150
#11 0xb724f79a in QGList::clear () from /usr/lib/libqt-mt.so.3
#12 0xb7e6e9a5 in QPtrList<bt::Peer>::clear (this=0x83bd1c8) at qptrlist.h:93
#13 0xb7e6d2d0 in bt::PeerManager::closeAllConnections (this=0x83bd180)
    at peermanager.cpp:343
#14 0xb7e7e607 in bt::TorrentControl::stop (this=0x83c2bc0, user=false)
    at torrentcontrol.cpp:394
#15 0xb7e7e6cc in ~TorrentControl (this=0x83c2bc0) at torrentcontrol.cpp:107
#16 0x0807b508 in QPtrList<kt::TorrentInterface>::deleteItem (this=0x8324d58,
    d=0x83c2bc0) at qptrlist.h:150
#17 0xb724f79a in QGList::clear () from /usr/lib/libqt-mt.so.3
#18 0x0807a7ff in QPtrList<kt::TorrentInterface>::clear (this=0x8324d58)
    at qptrlist.h:93
#19 0xb7eb662f in bt::QueueManager::clear (this=0x8324d30)
    at queuemanager.cpp:74
#20 0x08075968 in KTorrentCore::onExit (this=0x8324c20)
    at ktorrentcore.cpp:368
#21 0x08062faa in KTorrent::queryExit (this=0x80cd4d8) at ktorrent.cpp:474
#22 0xb7864064 in KMainWindow::shuttingDown () from /usr/lib/libkdeui.so.4
#23 0xb79a7d8a in KMainWindow::qt_invoke () from /usr/lib/libkdeui.so.4
#24 0x08067b60 in KTorrent::qt_invoke (this=0x80cd4d8, _id=72, _o=0xbf95a68c)
    at ktorrent.moc:192
#25 0xb6f4eeb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0xb6f4f954 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0xb75c6fbe in KApplication::shutDown () from /usr/lib/libkdecore.so.4
#28 0xb75c7068 in KApplication::xioErrhandler () from /usr/lib/libkdecore.so.4
#29 0xb75c70b5 in KApplication::xioErrhandler () from /usr/lib/libkdecore.so.4
#30 0xb6a28cb7 in _XIOError () from /usr/lib/libX11.so.6
#31 0xb6a2b527 in _XEventsQueued () from /usr/lib/libX11.so.6
#32 0xb6a17b58 in XPending () from /usr/lib/libX11.so.6
#33 0xb6e8951b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#34 0xb6efd947 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#35 0xb6efd86a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#36 0xb6ee3965 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#37 0x08060bff in main (argc=3, argv=0xbf95b3b4) at main.cpp:115

George
Moderator
Posts
5421
Karma
1

Sun Jul 30, 2006 7:28 am
It happened when a torrent was stopped, and then it crashed when we try to lock the mutex of the socketmonitor. Why isn't quite obvious. Have you seen this more ?
stoeptegel
Registered Member
Posts
1075
Karma
0

Sun Jul 30, 2006 7:37 am
Nope, one-timer.
George
Moderator
Posts
5421
Karma
1

Mon Jul 31, 2006 4:40 pm
Which makes this a difficult one.
stoeptegel
Registered Member
Posts
1075
Karma
0

Mon Jul 31, 2006 6:51 pm
Well, other than this indeed very rare crash, KTorrent runs days+ without any crash here. So that's the good news :)

EDIT
I dunno Frank, just repost it i guess. Although i think KTorrent is that much further in development(look at the time) that this bug is gone anyways.

Last edited by stoeptegel on Sat Jan 06, 2007 6:10 am, edited 2 times in total.
J. Frank Parnell
Registered Member
Posts
7
Karma
0

Sat Jan 06, 2007 12:49 am
Strange, my comment I posted to this thread the other day about having the same crash recently has somehow disappeared!

Should I repost the trace? Or was it deleted on purpose?
mirshafie
Registered Member
Posts
17
Karma
0

Sat Jan 06, 2007 11:05 am
Looks like ktorrent.org's host managed to break some stuff in maintenance, Frank. I don't think your post was deleted on purpose, so if you can, repost it.
George
Moderator
Posts
5421
Karma
1

Sat Jan 06, 2007 1:13 pm
The website and database was moved to a different server, this resulted in some minor issues. So some posts and threads were lost.
J. Frank Parnell
Registered Member
Posts
7
Karma
0

Sat Jan 06, 2007 2:15 pm
Okey dokey. Here's the trace again. I've had this happen 3 times in the past 2 weeks or so with the SVN 23-12-06 snapshot. It happens at times of no user input, like overnight. I was probably running up to a couple dozen torrents at the time, on Ubuntu Dapper.

Code: Select all
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1099590560 (LWP 1685)]
[New Thread 1113009072 (LWP 1712)]
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x416392ae in __lll_mutex_lock_wait ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x41635fbb in _L_mutex_lock_33 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0x4261b820 in ?? ()
#4  0xbfa0ee68 in ?? ()
#5  0x417b234a in free () from /lib/tls/i686/cmov/libc.so.6
#6  0x4118db3a in QRealMutexPrivate::lock () from /usr/lib/libqt-mt.so.3
#7  0x4118d88a in QMutex::lock () from /usr/lib/libqt-mt.so.3
#8  0x40134254 in net::SocketMonitor::remove () from /usr/lib/libktorrent.so.0
#9  0x4013b825 in mse::StreamSocket::~StreamSocket ()
   from /usr/lib/libktorrent.so.0
#10 0x4015dccf in bt::Peer::~Peer () from /usr/lib/libktorrent.so.0
#11 0x40162b2e in QPtrList<bt::Peer>::deleteItem ()
   from /usr/lib/libktorrent.so.0
#12 0x411ac932 in QGList::clear () from /usr/lib/libqt-mt.so.3
#13 0x401601ae in bt::PeerManager::closeAllConnections ()
   from /usr/lib/libktorrent.so.0
#14 0x4016de57 in bt::TorrentControl::stop () from /usr/lib/libktorrent.so.0
#15 0x4019e014 in bt::QueueManager::stopSafely ()
   from /usr/lib/libktorrent.so.0
#16 0x4019e279 in bt::QueueManager::onExit () from /usr/lib/libktorrent.so.0
#17 0x08077aba in KTorrentCore::onExit ()
#18 0x08064acd in KTorrent::queryExit ()
#19 0x406d4f58 in KMainWindow::shuttingDown () from /usr/lib/libkdeui.so.4
#20 0x40818d1a in KMainWindow::qt_invoke () from /usr/lib/libkdeui.so.4
#21 0x40818d70 in KDockMainWindow::qt_invoke () from /usr/lib/libkdeui.so.4
#22 0x402836fe in KParts::DockMainWindow::qt_invoke ()
   from /usr/lib/libkparts.so.2
#23 0x4005f200 in KMdiMainFrm::qt_invoke () from /usr/lib/libkmdi.so.1
#24 0x080692be in KTorrent::qt_invoke ()
#25 0x40eac051 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0x40eacaec in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0x40970fb6 in KApplication::shutDown () from /usr/lib/libkdecore.so.4
#28 0x40971060 in KApplication::xioErrhandler () from /usr/lib/libkdecore.so.4
#29 0x409710ad in KApplication::xioErrhandler () from /usr/lib/libkdecore.so.4
#30 0x41540cb7 in _XIOError () from /usr/lib/libX11.so.6
#31 0x41543527 in _XEventsQueued () from /usr/lib/libX11.so.6
#32 0x4152fb58 in XPending () from /usr/lib/libX11.so.6
#33 0x40de651b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#34 0x40e5aa2f in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#35 0x40e5a952 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#36 0x40e40a4d in QApplication::exec () from /usr/lib/libqt-mt.so.3
#37 0x08063d98 in main ()
George
Moderator
Posts
5421
Karma
1

Sat Jan 06, 2007 2:26 pm
Looking at the code, I see some possibilities for weirdness. Don't know if this will solve it, but we can give it a try.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]