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

Spontaneous crash

Tags: None
(comma "," separated)
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Spontaneous crash

Mon Aug 23, 2010 10:29 pm
libktorrent: 1167188
ktorrent: 1167188

I wasn't doing anything, ktorrent was working in background:

KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/kriko/.kde4/socket-kriko.kriko/kdeinit4__0
Warning: QSocketNotifier: Invalid socket 21 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 20 and type 'Read', disabling...

Code: Select all
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff5b497f760 (LWP 1115))]

Thread 5 (Thread 0x7ff5a0adc710 (LWP 1117)):
#0  0x00007ff5afd4de13 in select () from /lib64/libc.so.6
#1  0x00007ff5b19e26ba in qt_safe_select (nfds=24, fdread=0x8a3d40, fdwrite=0x8a3fd8, fdexcept=0x8a4270, orig_timeout=0x7ff5a0adbcf0) at kernel/qcore_unix.cpp:153
#2  0x00007ff5b19e753b in QEventDispatcherUNIXPrivate::doSelect (this=0x8a3b80, flags=..., timeout=0x7ff5a0adbcf0) at kernel/qeventdispatcher_unix.cpp:218
#3  0x00007ff5b19e88af in QEventDispatcherUNIX::processEvents (this=0x74a840, flags=...) at kernel/qeventdispatcher_unix.cpp:935
#4  0x00007ff5b19bc292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff5b19bc495 in QEventLoop::exec (this=0x7ff5a0adbdc0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff5b18d32cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff5b44ed3b7 in utp::UTPServerThread::run (this=0x7522c0) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/utp/utpserverthread.cpp:44
#8  0x00007ff5b18d5bf5 in QThreadPrivate::start (arg=0x7522c0) at thread/qthread_unix.cpp:248
#9  0x00007ff5b1647a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff5afd5482d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff5a02db710 (LWP 1118)):
#0  0x00007ff5b440b4cc in QBasicAtomicInt::deref (this=0x7fcaa0) at /usr/include/QtCore/qatomic_x86_64.h:133
#1  0x00007ff5b44ab923 in QList<QSharedPointer<net::Socket> >::~QList (this=0x7ff5a02dadc0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qlist.h:620
#2  0x00007ff5b44aaa12 in QForeachContainer<QList<QSharedPointer<net::Socket> > >::~QForeachContainer (this=0x7ff5a02dadc0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qglobal.h:2223
#3  0x00007ff5b44aaca6 in dht::RPCServer::Private::run (this=0x7fc690) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/dht/rpcserver.cpp:97
#4  0x00007ff5b18d5bf5 in QThreadPrivate::start (arg=0x7fc690) at thread/qthread_unix.cpp:248
#5  0x00007ff5b1647a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff5afd5482d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff5977fe710 (LWP 1135)):
#0  0x00007ff5b164c39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5b18d4d23 in QMutexPrivate::wait (this=0x7161b0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007ff5b18d1465 in QMutex::lock (this=0x7082e8) at thread/qmutex.cpp:167
#3  0x00007ff5b442301e in net::SocketMonitor::lock (this=0x7082e0) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/socketmonitor.cpp:82
#4  0x00007ff5b4425ac4 in net::DownloadThread::update (this=0x716230) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/downloadthread.cpp:51
#5  0x00007ff5b442612a in net::NetworkThread::run (this=0x716230) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/networkthread.cpp:48
#6  0x00007ff5b18d5bf5 in QThreadPrivate::start (arg=0x716230) at thread/qthread_unix.cpp:248
#7  0x00007ff5b1647a4f in start_thread () from /lib64/libpthread.so.0
#8  0x00007ff5afd5482d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff596ffd710 (LWP 1136)):
[KCrash Handler]
#6  0x000000000267bf70 in ?? ()
#7  0x00007ff5b443002c in mse::StreamSocket::hasBytesToWrite (this=0x2efb600) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/mse/streamsocket.cpp:309
#8  0x00007ff5b4424f49 in net::BufferedSocket::bytesReadyToWrite (this=0x3542ff0) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/bufferedsocket.h:118
#9  0x00007ff5b4424bb6 in net::UploadThread::waitForSocketsReady (this=0x7168a0) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/uploadthread.cpp:122
#10 0x00007ff5b4424847 in net::UploadThread::update (this=0x7168a0) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/uploadthread.cpp:45
#11 0x00007ff5b442612a in net::NetworkThread::run (this=0x7168a0) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/networkthread.cpp:48
#12 0x00007ff5b18d5bf5 in QThreadPrivate::start (arg=0x7168a0) at thread/qthread_unix.cpp:248
#13 0x00007ff5b1647a4f in start_thread () from /lib64/libpthread.so.0
#14 0x00007ff5afd5482d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff5b497f760 (LWP 1115)):
#0  0x00007ff5b164c39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5b18d4d23 in QMutexPrivate::wait (this=0x7161b0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007ff5b18d1465 in QMutex::lock (this=0x7082e8) at thread/qmutex.cpp:167
#3  0x00007ff5b4423585 in QMutexLocker::relock (this=0x7fff51136e50) at /usr/include/QtCore/qmutex.h:120
#4  0x00007ff5b44234dc in QMutexLocker::QMutexLocker (this=0x7fff51136e50, m=0x7082e8) at /usr/include/QtCore/qmutex.h:102
#5  0x00007ff5b44231da in net::SocketMonitor::remove (this=0x7082e0, sock=0x3542ff0) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/net/socketmonitor.cpp:128
#6  0x00007ff5b442f3dc in mse::StreamSocket::~StreamSocket (this=0x2efb600, __in_chrg=<value optimized out>) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/mse/streamsocket.cpp:87
#7  0x00007ff5b442f4da in mse::StreamSocket::~StreamSocket (this=0x2efb600, __in_chrg=<value optimized out>) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/mse/streamsocket.cpp:91
#8  0x00007ff5b4429eb3 in QtSharedPointer::ExternalRefCount<mse::StreamSocket>::internalDestroy (this=0x2a6df50) at /usr/include/QtCore/qsharedpointer_impl.h:391
#9  0x00007ff5b4429d6f in QtSharedPointer::ExternalRefCount<mse::StreamSocket>::deref (this=0x2a6df50) at /usr/include/QtCore/qsharedpointer_impl.h:329
#10 0x00007ff5b4429b75 in QtSharedPointer::ExternalRefCount<mse::StreamSocket>::~ExternalRefCount (this=0x2a6df50, __in_chrg=<value optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:380
#11 0x00007ff5b4429ad4 in QSharedPointer<mse::StreamSocket>::~QSharedPointer (this=0x2a6df50, __in_chrg=<value optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:441
#12 0x00007ff5b4432fe7 in bt::AuthenticateBase::~AuthenticateBase (this=0x2a6df40, __in_chrg=<value optimized out>) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/peer/authenticatebase.cpp:53
#13 0x00007ff5b4433d28 in bt::Authenticate::~Authenticate (this=0x2a6df40, __in_chrg=<value optimized out>) at /home/kriko/workspace/repo/ktorrent/libktorrent/src/peer/authenticate.cpp:81
#14 0x00007ff5b4430648 in mse::EncryptedAuthenticate::~EncryptedAuthenticate (this=0x2a6df40, __in_chrg=<value optimized out>)
    at /home/kriko/workspace/repo/ktorrent/libktorrent/src/mse/encryptedauthenticate.cpp:61
#15 0x00007ff5b4430744 in mse::EncryptedAuthenticate::~EncryptedAuthenticate (this=0x2a6df40, __in_chrg=<value optimized out>)
    at /home/kriko/workspace/repo/ktorrent/libktorrent/src/mse/encryptedauthenticate.cpp:64
#16 0x00007ff5b19ce52d in QObject::event (this=0x2a6df40, e=0x2101880) at kernel/qobject.cpp:1231
#17 0x00007ff5b091b4d4 in QApplicationPrivate::notify_helper (this=0x741fc0, receiver=0x2a6df40, e=0x2101880) at kernel/qapplication.cpp:4302
#18 0x00007ff5b0923aca in QApplication::notify (this=<value optimized out>, receiver=0x2a6df40, e=0x2101880) at kernel/qapplication.cpp:4185
#19 0x000000000044146e in kt::App::notify (this=0x7fff51137a90, receiver=0x2a6df40, event=0x2101880) at /home/kriko/workspace/repo/ktorrent/ktorrent/ktorrent/app.cpp:97
#20 0x00007ff5b19bce4c in QCoreApplication::notifyInternal (this=0x7fff51137a90, receiver=0x2a6df40, event=0x2101880) at kernel/qcoreapplication.cpp:726
#21 0x00007ff5b19c05ba in sendEvent (receiver=0x0, event_type=0, data=0x70f3f0) at kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x70f3f0) at kernel/qcoreapplication.cpp:1367
#23 0x00007ff5b09bcabd in sendPostedEvents (this=0x714e60, flags=...) at ../../src/corelib/kernel/qcoreapplication.h:220
#24 QEventDispatcherX11::processEvents (this=0x714e60, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#25 0x00007ff5b19bc292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007ff5b19bc495 in QEventLoop::exec (this=0x7fff51137a00, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007ff5b19c088b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#28 0x000000000042c288 in main (argc=1, argv=0x7fff51138848) at /home/kriko/workspace/repo/ktorrent/ktorrent/ktorrent/main.cpp:174
George
Moderator
Posts
5421
Karma
1

Re: Spontaneous crash

Tue Aug 24, 2010 4:41 pm
I think I see what the problem is
George
Moderator
Posts
5421
Karma
1

Re: Spontaneous crash

Tue Aug 24, 2010 5:03 pm
OK, it should be fixed in rev 1167449


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]