Bug 286344 - Segfault ktorrent
Summary: Segfault ktorrent
Status: RESOLVED DUPLICATE of bug 274544
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 15:52 UTC by George R. Goffe
Modified: 2011-11-13 17:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George R. Goffe 2011-11-11 15:52:41 UTC
Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

ktorrent --version
Qt: 4.7.4
KDE Development Platform: 4.6.5 (4.6.5)
KTorrent: 4.1.2

(gdb) bt
#0  QAbstractSocketEngine::state (this=0x1f62e1e0) at socket/qabstractsocketengine.cpp:185
#1  0x0000003b420a94f8 in QNativeSocketEngine::waitForReadOrWrite (this=0x1f62e1e0, readyToRead=<value optimized out>, readyToWrite=0x7fffffffb98e, 
    checkRead=true, checkWrite=<value optimized out>, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:988
#2  0x0000003b420ba9cd in QAbstractSocket::waitForBytesWritten (this=0x1e347f00, msecs=-1) at socket/qabstractsocket.cpp:1928
#3  0x0000003b468c3672 in KIO::SocketConnectionBackend::sendCommand (this=0x20ce6bd0, task=...)
    at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:294
#4  0x0000003b468c49cf in KIO::Connection::sendnow (this=0x11ffe580, _cmd=85, data=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:505
#5  0x0000003b468c5da6 in KIO::ConnectionPrivate::dequeue (this=0x234aac90) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:78
#6  0x0000003b4698dc94 in KIO::Slave::accept (this=<value optimized out>) at /usr/src/debug/kdelibs-4.6.5/kio/kio/slave.cpp:120
#7  0x0000003b4698ea74 in KIO::Slave::qt_metacall (this=0xb762b80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffbb30)
    at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/slave.moc:81
#8  0x0000003b40d71acf in QMetaObject::activate (sender=0x265997f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0)
    at kernel/qobject.cpp:3278
---Type <return> to continue, or q <return> to quit---
#9  0x0000003b468c5370 in KIO::ConnectionServer::qt_metacall (this=0x265997f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=<value optimized out>) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/connection.moc:146
#10 0x0000003b40d71acf in QMetaObject::activate (sender=0x1e1c03d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0)
    at kernel/qobject.cpp:3278
#11 0x0000003b468c526c in KIO::AbstractConnectionBackend::qt_metacall (this=0x1e1c03d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffffffbd40) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/connection_p.moc:78
#12 0x0000003b468c52b8 in KIO::SocketConnectionBackend::qt_metacall (this=0x1e1c03d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=<value optimized out>) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/connection_p.moc:153
#13 0x0000003b40d71acf in QMetaObject::activate (sender=0x1d4033a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0)
    at kernel/qobject.cpp:3278
#14 0x0000003b443b9c80 in KLocalSocketServer::incomingConnection (this=0x1d4033a0, descriptor=1324)
    at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket.cpp:212
#15 0x0000003b44426fb5 in KLocalSocketServerPrivate::processSocketActivity (this=0x247b3200)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket_unix.cpp:394
#16 0x0000003b443b9b32 in KLocalSocketServer::qt_metacall (this=0x1d4033a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=<value optimized out>) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kdecore/klocalsocket.moc:140
#17 0x0000003b40d71acf in QMetaObject::activate (sender=0x247b3250, m=<value optimized out>, local_signal_index=<value optimized out>, argv=
    0x7fffffffbf40) at kernel/qobject.cpp:3278
#18 0x0000003b40dba1ce in QSocketNotifier::activated (this=<value optimized out>, _t1=1590) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#19 0x0000003b40d7814b in QSocketNotifier::event (this=0x247b3250, e=0x7fffffffc5d0) at kernel/qsocketnotifier.cpp:317
#20 0x0000003b435b9c14 in QApplicationPrivate::notify_helper (this=0x99d020, receiver=0x247b3250, e=0x7fffffffc5d0) at kernel/qapplication.cpp:4481
#21 0x0000003b435be7ca in QApplication::notify (this=<value optimized out>, receiver=0x247b3250, e=0x7fffffffc5d0) at kernel/qapplication.cpp:4360
#22 0x0000000000439fa1 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /usr/src/debug/ktorrent-4.1.2/ktorrent/app.cpp:99
#23 0x0000003b40d5d0dc in QCoreApplication::notifyInternal (this=0x7fffffffc8b0, receiver=0x247b3250, event=0x7fffffffc5d0)
    at kernel/qcoreapplication.cpp:787
---Type <return> to continue, or q <return> to quit---
#24 0x0000003b40d87c89 in sendEvent (source=0x99b660) at kernel/qcoreapplication.h:215
#25 socketNotifierSourceDispatch (source=0x99b660) at kernel/qeventdispatcher_glib.cpp:110
#26 0x0000003b53c41e33 in g_main_dispatch (context=0x99da00) at gmain.c:2149
#27 g_main_context_dispatch (context=0x99da00) at gmain.c:2702
#28 0x0000003b53c42610 in g_main_context_iterate (context=0x99da00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#29 0x0000003b53c428ad in g_main_context_iteration (context=0x99da00, may_block=1) at gmain.c:2843
#30 0x0000003b40d882cf in QEventDispatcherGlib::processEvents (this=0x9473b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x0000003b4365f55e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:207
#32 0x0000003b40d5c472 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x0000003b40d5c6bc in QEventLoop::exec (this=0x7fffffffc810, flags=...) at kernel/qeventloop.cpp:201
#34 0x0000003b40d60b7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#35 0x00000000004298eb in main (argc=2, argv=0x7fffffffd728) at /usr/src/debug/ktorrent-4.1.2/ktorrent/main.cpp:177
(gdb) 


Reproducible: Always

Steps to Reproduce:
Just run ktorrent with multiple (a lot) torrents.

Actual Results:  
Crash (segfault)

Expected Results:  
I would expect no crashes.
Comment 1 George R. Goffe 2011-11-11 20:07:09 UTC
Additionally, when this problem develops and if I'm running a "check data" for a completed torrent, that torrent disappears from the GUI.
Comment 2 Joris Guisson 2011-11-13 17:18:48 UTC

*** This bug has been marked as a duplicate of bug 274544 ***