Bug 280534 - ktorrent-dev: latest updates; crash during normal downloads
Summary: ktorrent-dev: latest updates; crash during normal downloads
Status: RESOLVED DUPLICATE of bug 278555
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 16:34 UTC by George R. Goffe
Modified: 2011-09-04 09:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
sanitized output from gdb run from the script command (203.13 KB, text/plain)
2011-09-03 11:45 UTC, George R. Goffe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George R. Goffe 2011-08-21 16:34:34 UTC
Application: ktorrent (4.2dev)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.35.13-92.fc14.i686 i686
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
Warning: QObject::startTimer: QTimer cannot have a negative interval
Warning: QObject::startTimer: QTimer cannot have a negative interval
Warning: QObject::startTimer: QTimer cannot have a negative interval
Warning: Application asked to unregister timer 0x0 which is not registered in this thread. Fix application.
Warning: Application asked to unregister timer 0x0 which is not registered in this thread. Fix application.
Warning: QObject::startTimer: QTimer cannot have a negative interval
Warning: QObject::startTimer: QTimer cannot have a negative interval
Warning: Application asked to unregister timer 0x0 which is not registered in this thread. Fix application.
KCrash: Application 'ktorrent' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/root/.kde/socket-clipper.sleazegate.com/kdeinit4__0
Warning: QSocketNotifier: Invalid socket 476 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 478 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 19 and type 'Write', disabling...

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76d2780 (LWP 16839))]

Thread 7 (Thread 0xb4bffb70 (LWP 16843)):
#0  0x0050ce56 in clock_gettime (clock_id=1, tp=0xb4bfefd0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x073e9cf9 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x074b8c93 in updateCurrentTime (this=0xb4201874, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb4201874, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x074b7482 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4bff09c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00e396b6 in g_main_context_prepare (context=<value optimized out>, priority=0xb4bff10c) at gmain.c:2469
#7  0x00e3a55b in g_main_context_iterate (context=0xb42004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#8  0x00e3ac35 in g_main_context_iteration (context=0xb42004e8, may_block=1) at gmain.c:2843
#9  0x074b7ce7 in QEventDispatcherGlib::processEvents (this=0xb4200468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0x074890fa in QEventLoop::processEvents (this=0xb4bff260, flags=...) at kernel/qeventloop.cpp:149
#11 0x074893aa in QEventLoop::exec (this=0xb4bff260, flags=...) at kernel/qeventloop.cpp:201
#12 0x0738fb73 in QThread::exec (this=0x87a3c10) at thread/qthread.cpp:492
#13 0x0021b1ad in utp::UTPServerThread::run (this=0x87a3c10) at /tools/ktorrent/libktorrent/src/utp/utpserverthread.cpp:41
#14 0x073926c3 in QThreadPrivate::start (arg=0x87a3c10) at thread/qthread_unix.cpp:320
#15 0x004bbe99 in start_thread (arg=0xb4bffb70) at pthread_create.c:301
#16 0x006bdd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xb41ffb70 (LWP 16844)):
#0  0x005e5416 in __kernel_vsyscall ()
#1  0x006b2c36 in __poll (fds=0xb3801ae8, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x001752a6 in net::Poll::poll (this=0xb41ff1fc, timeout=500) at /tools/ktorrent/libktorrent/src/net/poll.cpp:99
#3  0x001e0cfb in dht::RPCServer::Private::run (this=0x87a90b0) at /tools/ktorrent/libktorrent/src/dht/rpcserver.cpp:95
#4  0x073926c3 in QThreadPrivate::start (arg=0x87a90b0) at thread/qthread_unix.cpp:320
#5  0x004bbe99 in start_thread (arg=0xb41ffb70) at pthread_create.c:301
#6  0x006bdd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xb55e1b70 (LWP 22374)):
#0  0x0050ce56 in clock_gettime (clock_id=1, tp=0xb55e0fb0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x073e9cf9 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x074b8c93 in updateCurrentTime (this=0xb4c01a74, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb4c01a74, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x074b7482 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb55e109c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x074b751d in timerSourcePrepare (source=0xb4c01a40, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00e396b6 in g_main_context_prepare (context=<value optimized out>, priority=0xb55e110c) at gmain.c:2469
#8  0x00e3a55b in g_main_context_iterate (context=0xb4c004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#9  0x00e3ac35 in g_main_context_iteration (context=0xb4c004e8, may_block=1) at gmain.c:2843
#10 0x074b7ce7 in QEventDispatcherGlib::processEvents (this=0xb4c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x074890fa in QEventLoop::processEvents (this=0xb55e1260, flags=...) at kernel/qeventloop.cpp:149
#12 0x074893aa in QEventLoop::exec (this=0xb55e1260, flags=...) at kernel/qeventloop.cpp:201
#13 0x0738fb73 in QThread::exec (this=0x22fa90d0) at thread/qthread.cpp:492
#14 0x01157b5a in kt::ScanThread::run (this=0x22fa90d0) at /tools/ktorrent/ktorrent/plugins/scanfolder/scanthread.cpp:151
#15 0x073926c3 in QThreadPrivate::start (arg=0x22fa90d0) at thread/qthread_unix.cpp:320
#16 0x004bbe99 in start_thread (arg=0xb55e1b70) at pthread_create.c:301
#17 0x006bdd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xa348cb70 (LWP 22375)):
#0  0x005e5416 in __kernel_vsyscall ()
#1  0x004c039b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0xa42d51d7 in scavengerThread (context=0xa4881380) at wtf/FastMalloc.cpp:2378
#3  WTF::TCMalloc_PageHeap::runScavengerThread (context=0xa4881380) at wtf/FastMalloc.cpp:1497
#4  0x004bbe99 in start_thread (arg=0xa348cb70) at pthread_create.c:301
#5  0x006bdd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xa2b63b70 (LWP 25212)):
#0  net::DownloadThread::waitForSocketReady (this=0x86de5b8) at /tools/ktorrent/libktorrent/src/net/downloadthread.cpp:121
#1  0x0017190f in net::DownloadThread::update (this=0x86de5b8) at /tools/ktorrent/libktorrent/src/net/downloadthread.cpp:48
#2  0x00171ba8 in net::NetworkThread::run (this=0x86de5b8) at /tools/ktorrent/libktorrent/src/net/networkthread.cpp:48
#3  0x073926c3 in QThreadPrivate::start (arg=0x86de5b8) at thread/qthread_unix.cpp:320
#4  0x004bbe99 in start_thread (arg=0xa2b63b70) at pthread_create.c:301
#5  0x006bdd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xa1b61b70 (LWP 25213)):
#0  0x005e5416 in __kernel_vsyscall ()
#1  0x004c039b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x073916ba in QMutexPrivate::wait (this=0x86de4a8, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x0738dcb2 in QMutex::lock (this=0x86de490) at thread/qmutex.cpp:167
#4  0x0016fee0 in net::SocketMonitor::lock (this=0x8115dbc) at /tools/ktorrent/libktorrent/src/net/socketmonitor.cpp:108
#5  0x00170e52 in net::UploadThread::waitForSocketsReady (this=0x86de918) at /tools/ktorrent/libktorrent/src/net/uploadthread.cpp:112
#6  0x001710ef in net::UploadThread::update (this=0x86de918) at /tools/ktorrent/libktorrent/src/net/uploadthread.cpp:45
#7  0x00171ba8 in net::NetworkThread::run (this=0x86de918) at /tools/ktorrent/libktorrent/src/net/networkthread.cpp:48
#8  0x073926c3 in QThreadPrivate::start (arg=0x86de918) at thread/qthread_unix.cpp:320
#9  0x004bbe99 in start_thread (arg=0xa1b61b70) at pthread_create.c:301
#10 0x006bdd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb76d2780 (LWP 16839)):
[KCrash Handler]
#7  QAbstractSocketEngine::state (this=0x0) at socket/qabstractsocketengine.cpp:186
#8  0x0766b5cb in QNativeSocketEngine::waitForReadOrWrite (this=0x241b1040, readyToRead=0xbf87b13f, readyToWrite=0xbf87b13e, checkRead=true, checkWrite=true, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:988
#9  0x0767db77 in QAbstractSocket::waitForBytesWritten (this=0x2749e2b0, msecs=-1) at socket/qabstractsocket.cpp:1924
#10 0x02f8096b in KIO::SocketConnectionBackend::sendCommand (this=0x2ce1af28, task=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:294
#11 0x02f81bfb in KIO::Connection::sendnow (this=0x2ac42118, _cmd=85, data=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:505
#12 0x02f82ece in KIO::ConnectionPrivate::dequeue (this=0x2de91bf0) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:78
#13 0x0305c3d5 in KIO::Slave::accept (this=0x29f02768) at /usr/src/debug/kdelibs-4.6.5/kio/kio/slave.cpp:120
#14 0x0305d4f3 in KIO::Slave::qt_metacall (this=0x29f02768, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87b34c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/slave.moc:81
#15 0x0749079b in QMetaObject::metacall (object=0x29f02768, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbf87b34c) at kernel/qmetaobject.cpp:237
#16 0x0749fcc7 in QMetaObject::activate (sender=0x2bee1048, m=0x317eb90, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#17 0x02f82728 in KIO::ConnectionServer::newConnection (this=0x2bee1048) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection.moc:157
#18 0x02f82782 in KIO::ConnectionServer::qt_metacall (this=0x2bee1048, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87b45c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection.moc:146
#19 0x0749079b in QMetaObject::metacall (object=0x2bee1048, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbf87b45c) at kernel/qmetaobject.cpp:237
#20 0x0749fcc7 in QMetaObject::activate (sender=0x292922d0, m=0x317eb60, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3278
#21 0x02f82578 in KIO::AbstractConnectionBackend::newConnection (this=0x292922d0) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection_p.moc:102
#22 0x02f825fb in KIO::AbstractConnectionBackend::qt_metacall (this=0x292922d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87b59c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection_p.moc:78
#23 0x02f8265d in KIO::SocketConnectionBackend::qt_metacall (this=0x292922d0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf87b59c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection_p.moc:153
#24 0x0749079b in QMetaObject::metacall (object=0x292922d0, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf87b59c) at kernel/qmetaobject.cpp:237
#25 0x0749fcc7 in QMetaObject::activate (sender=0x29ff68e0, m=0x7cbbe74, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#26 0x07b97948 in KLocalSocketServer::newConnection (this=0x29ff68e0) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kdecore/klocalsocket.moc:151
#27 0x07b97b61 in KLocalSocketServer::incomingConnection (this=0x29ff68e0, descriptor=1216) at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket.cpp:212
#28 0x07c13ba2 in KLocalSocketServerPrivate::processSocketActivity (this=0x26711aa0) at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket_unix.cpp:394
#29 0x07b979cb in KLocalSocketServer::qt_metacall (this=0x29ff68e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87b788) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kdecore/klocalsocket.moc:140
#30 0x0749079b in QMetaObject::metacall (object=0x29ff68e0, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbf87b788) at kernel/qmetaobject.cpp:237
#31 0x0749fcc7 in QMetaObject::activate (sender=0x1ccfa880, m=0x75c6a90, local_signal_index=0, argv=0xbf87b788) at kernel/qobject.cpp:3278
#32 0x074ee2d4 in QSocketNotifier::activated (this=0x1ccfa880, _t1=1214) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#33 0x074a64cf in QSocketNotifier::event (this=0x1ccfa880, e=0xbf87bbf4) at kernel/qsocketnotifier.cpp:317
#34 0x0214758c in QApplicationPrivate::notify_helper (this=0x87173f8, receiver=0x1ccfa880, e=0xbf87bbf4) at kernel/qapplication.cpp:4462
#35 0x0214c292 in QApplication::notify (this=0xbf880730, receiver=0x1ccfa880, e=0xbf87bbf4) at kernel/qapplication.cpp:3862
#36 0x08079477 in kt::App::notify (this=0xbf880730, receiver=0x1ccfa880, event=0xbf87bbf4) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#37 0x07489f63 in QCoreApplication::notifyInternal (this=0xbf880730, receiver=0x1ccfa880, event=0xbf87bbf4) at kernel/qcoreapplication.cpp:731
#38 0x074b762f in sendEvent (source=0x8720218) at kernel/qcoreapplication.h:215
#39 socketNotifierSourceDispatch (source=0x8720218) at kernel/qeventdispatcher_glib.cpp:110
#40 0x00e3a192 in g_main_dispatch (context=0x8714ea0) at gmain.c:2149
#41 g_main_context_dispatch (context=0x8714ea0) at gmain.c:2702
#42 0x00e3a978 in g_main_context_iterate (context=0x8714ea0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#43 0x00e3ac35 in g_main_context_iteration (context=0x8714ea0, may_block=1) at gmain.c:2843
#44 0x074b7cad in QEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#45 0x021fb206 in QGuiEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#46 0x074890fa in QEventLoop::processEvents (this=0xbf87be70, flags=...) at kernel/qeventloop.cpp:149
#47 0x074893aa in QEventLoop::exec (this=0xbf87be70, flags=...) at kernel/qeventloop.cpp:201
#48 0x02675304 in QDialog::exec (this=0x254f8f00) at dialogs/qdialog.cpp:552
#49 0x02c05ea4 in KMessageBox::createKMessageBox (dialog=0x254f8f00, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbf87c1bf, options=..., details=..., notifyType=QMessageBox::Information) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:337
#50 0x02c0668a in KMessageBox::createKMessageBox (dialog=0x254f8f00, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0xbf87c1bf, options=..., details=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:152
#51 0x02c09566 in KMessageBox::informationListWId (parent_id=31457383, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:998
#52 0x02c096d7 in KMessageBox::informationList (parent=0x8798208, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:969
#53 0x02c09739 in KMessageBox::information (parent=0x8798208, text=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:956
#54 0x08074f18 in kt::GUI::infoMsg (this=0x8798208, info=...) at /tools/ktorrent/ktorrent/ktorrent/gui.cpp:251
#55 0x080701d5 in kt::Core::loadFromData (this=0x87916a8, data=..., dir=..., group=..., silently=false, url=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:389
#56 0x080706ee in kt::Core::load (this=0x87916a8, data=..., url=..., group=..., savedir=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:595
#57 0x01159c75 in kt::TorrentLoadQueue::load (this=0x22fdd2c8, url=..., data=...) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:140
#58 0x0115a0fb in kt::TorrentLoadQueue::loadOne (this=0x22fdd2c8) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:111
#59 0x0115648b in kt::TorrentLoadQueue::qt_metacall (this=0x22fdd2c8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87c52c) at /tools/ktorrent/ktorrent/build/plugins/scanfolder/moc_torrentloadqueue.cpp:77
#60 0x0749079b in QMetaObject::metacall (object=0x22fdd2c8, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf87c52c) at kernel/qmetaobject.cpp:237
#61 0x0749fcc7 in QMetaObject::activate (sender=0x22fdd2dc, m=0x75c6ae4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#62 0x074ee458 in QTimer::timeout (this=0x22fdd2dc) at .moc/release-shared/moc_qtimer.cpp:134
#63 0x074a691e in QTimer::timerEvent (this=0x22fdd2dc, e=0xbf87ca3c) at kernel/qtimer.cpp:271
#64 0x0749f624 in QObject::event (this=0x22fdd2dc, e=0xbf87ca3c) at kernel/qobject.cpp:1181
#65 0x0214758c in QApplicationPrivate::notify_helper (this=0x87173f8, receiver=0x22fdd2dc, e=0xbf87ca3c) at kernel/qapplication.cpp:4462
#66 0x0214c292 in QApplication::notify (this=0xbf880730, receiver=0x22fdd2dc, e=0xbf87ca3c) at kernel/qapplication.cpp:3862
#67 0x08079477 in kt::App::notify (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87ca3c) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#68 0x07489f63 in QCoreApplication::notifyInternal (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87ca3c) at kernel/qcoreapplication.cpp:731
#69 0x074ba951 in sendEvent (this=0x872004c) at kernel/qcoreapplication.h:215
#70 QTimerInfoList::activateTimers (this=0x872004c) at kernel/qeventdispatcher_unix.cpp:604
#71 0x074b7545 in timerSourceDispatch (source=0x8720018) at kernel/qeventdispatcher_glib.cpp:184
#72 0x00e3a192 in g_main_dispatch (context=0x8714ea0) at gmain.c:2149
#73 g_main_context_dispatch (context=0x8714ea0) at gmain.c:2702
#74 0x00e3a978 in g_main_context_iterate (context=0x8714ea0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#75 0x00e3ac35 in g_main_context_iteration (context=0x8714ea0, may_block=1) at gmain.c:2843
#76 0x074b7cad in QEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#77 0x021fb206 in QGuiEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#78 0x074890fa in QEventLoop::processEvents (this=0xbf87cce0, flags=...) at kernel/qeventloop.cpp:149
#79 0x074893aa in QEventLoop::exec (this=0xbf87cce0, flags=...) at kernel/qeventloop.cpp:201
#80 0x02675304 in QDialog::exec (this=0x10440370) at dialogs/qdialog.cpp:552
#81 0x02c05ea4 in KMessageBox::createKMessageBox (dialog=0x10440370, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbf87d02f, options=..., details=..., notifyType=QMessageBox::Information) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:337
#82 0x02c0668a in KMessageBox::createKMessageBox (dialog=0x10440370, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0xbf87d02f, options=..., details=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:152
#83 0x02c09566 in KMessageBox::informationListWId (parent_id=31457383, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:998
#84 0x02c096d7 in KMessageBox::informationList (parent=0x8798208, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:969
#85 0x02c09739 in KMessageBox::information (parent=0x8798208, text=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:956
#86 0x08074f18 in kt::GUI::infoMsg (this=0x8798208, info=...) at /tools/ktorrent/ktorrent/ktorrent/gui.cpp:251
#87 0x080701d5 in kt::Core::loadFromData (this=0x87916a8, data=..., dir=..., group=..., silently=false, url=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:389
#88 0x080706ee in kt::Core::load (this=0x87916a8, data=..., url=..., group=..., savedir=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:595
#89 0x01159c75 in kt::TorrentLoadQueue::load (this=0x22fdd2c8, url=..., data=...) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:140
#90 0x0115a0fb in kt::TorrentLoadQueue::loadOne (this=0x22fdd2c8) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:111
#91 0x0115648b in kt::TorrentLoadQueue::qt_metacall (this=0x22fdd2c8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87d39c) at /tools/ktorrent/ktorrent/build/plugins/scanfolder/moc_torrentloadqueue.cpp:77
#92 0x0749079b in QMetaObject::metacall (object=0x22fdd2c8, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf87d39c) at kernel/qmetaobject.cpp:237
#93 0x0749fcc7 in QMetaObject::activate (sender=0x22fdd2dc, m=0x75c6ae4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#94 0x074ee458 in QTimer::timeout (this=0x22fdd2dc) at .moc/release-shared/moc_qtimer.cpp:134
#95 0x074a691e in QTimer::timerEvent (this=0x22fdd2dc, e=0xbf87d8ac) at kernel/qtimer.cpp:271
#96 0x0749f624 in QObject::event (this=0x22fdd2dc, e=0xbf87d8ac) at kernel/qobject.cpp:1181
#97 0x0214758c in QApplicationPrivate::notify_helper (this=0x87173f8, receiver=0x22fdd2dc, e=0xbf87d8ac) at kernel/qapplication.cpp:4462
#98 0x0214c292 in QApplication::notify (this=0xbf880730, receiver=0x22fdd2dc, e=0xbf87d8ac) at kernel/qapplication.cpp:3862
#99 0x08079477 in kt::App::notify (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87d8ac) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#100 0x07489f63 in QCoreApplication::notifyInternal (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87d8ac) at kernel/qcoreapplication.cpp:731
#101 0x074ba951 in sendEvent (this=0x872004c) at kernel/qcoreapplication.h:215
#102 QTimerInfoList::activateTimers (this=0x872004c) at kernel/qeventdispatcher_unix.cpp:604
#103 0x074b7545 in timerSourceDispatch (source=0x8720018) at kernel/qeventdispatcher_glib.cpp:184
#104 0x00e3a192 in g_main_dispatch (context=0x8714ea0) at gmain.c:2149
#105 g_main_context_dispatch (context=0x8714ea0) at gmain.c:2702
#106 0x00e3a978 in g_main_context_iterate (context=0x8714ea0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#107 0x00e3ac35 in g_main_context_iteration (context=0x8714ea0, may_block=1) at gmain.c:2843
#108 0x074b7cad in QEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#109 0x021fb206 in QGuiEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#110 0x074890fa in QEventLoop::processEvents (this=0xbf87db50, flags=...) at kernel/qeventloop.cpp:149
#111 0x074893aa in QEventLoop::exec (this=0xbf87db50, flags=...) at kernel/qeventloop.cpp:201
#112 0x02675304 in QDialog::exec (this=0x23670ad0) at dialogs/qdialog.cpp:552
#113 0x02c05ea4 in KMessageBox::createKMessageBox (dialog=0x23670ad0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbf87de9f, options=..., details=..., notifyType=QMessageBox::Information) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:337
#114 0x02c0668a in KMessageBox::createKMessageBox (dialog=0x23670ad0, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0xbf87de9f, options=..., details=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:152
#115 0x02c09566 in KMessageBox::informationListWId (parent_id=31457383, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:998
#116 0x02c096d7 in KMessageBox::informationList (parent=0x8798208, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:969
#117 0x02c09739 in KMessageBox::information (parent=0x8798208, text=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:956
#118 0x08074f18 in kt::GUI::infoMsg (this=0x8798208, info=...) at /tools/ktorrent/ktorrent/ktorrent/gui.cpp:251
#119 0x080701d5 in kt::Core::loadFromData (this=0x87916a8, data=..., dir=..., group=..., silently=false, url=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:389
#120 0x080706ee in kt::Core::load (this=0x87916a8, data=..., url=..., group=..., savedir=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:595
#121 0x01159c75 in kt::TorrentLoadQueue::load (this=0x22fdd2c8, url=..., data=...) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:140
#122 0x0115a0fb in kt::TorrentLoadQueue::loadOne (this=0x22fdd2c8) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:111
#123 0x0115648b in kt::TorrentLoadQueue::qt_metacall (this=0x22fdd2c8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87e20c) at /tools/ktorrent/ktorrent/build/plugins/scanfolder/moc_torrentloadqueue.cpp:77
#124 0x0749079b in QMetaObject::metacall (object=0x22fdd2c8, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf87e20c) at kernel/qmetaobject.cpp:237
#125 0x0749fcc7 in QMetaObject::activate (sender=0x22fdd2dc, m=0x75c6ae4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#126 0x074ee458 in QTimer::timeout (this=0x22fdd2dc) at .moc/release-shared/moc_qtimer.cpp:134
#127 0x074a691e in QTimer::timerEvent (this=0x22fdd2dc, e=0xbf87e71c) at kernel/qtimer.cpp:271
#128 0x0749f624 in QObject::event (this=0x22fdd2dc, e=0xbf87e71c) at kernel/qobject.cpp:1181
#129 0x0214758c in QApplicationPrivate::notify_helper (this=0x87173f8, receiver=0x22fdd2dc, e=0xbf87e71c) at kernel/qapplication.cpp:4462
#130 0x0214c292 in QApplication::notify (this=0xbf880730, receiver=0x22fdd2dc, e=0xbf87e71c) at kernel/qapplication.cpp:3862
#131 0x08079477 in kt::App::notify (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87e71c) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#132 0x07489f63 in QCoreApplication::notifyInternal (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87e71c) at kernel/qcoreapplication.cpp:731
#133 0x074ba951 in sendEvent (this=0x872004c) at kernel/qcoreapplication.h:215
#134 QTimerInfoList::activateTimers (this=0x872004c) at kernel/qeventdispatcher_unix.cpp:604
#135 0x074b7545 in timerSourceDispatch (source=0x8720018) at kernel/qeventdispatcher_glib.cpp:184
#136 0x00e3a192 in g_main_dispatch (context=0x8714ea0) at gmain.c:2149
#137 g_main_context_dispatch (context=0x8714ea0) at gmain.c:2702
#138 0x00e3a978 in g_main_context_iterate (context=0x8714ea0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#139 0x00e3ac35 in g_main_context_iteration (context=0x8714ea0, may_block=1) at gmain.c:2843
#140 0x074b7cad in QEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#141 0x021fb206 in QGuiEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#142 0x074890fa in QEventLoop::processEvents (this=0xbf87e9c0, flags=...) at kernel/qeventloop.cpp:149
#143 0x074893aa in QEventLoop::exec (this=0xbf87e9c0, flags=...) at kernel/qeventloop.cpp:201
#144 0x02675304 in QDialog::exec (this=0x26ba4b48) at dialogs/qdialog.cpp:552
#145 0x02c05ea4 in KMessageBox::createKMessageBox (dialog=0x26ba4b48, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbf87ed0f, options=..., details=..., notifyType=QMessageBox::Information) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:337
#146 0x02c0668a in KMessageBox::createKMessageBox (dialog=0x26ba4b48, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0xbf87ed0f, options=..., details=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:152
#147 0x02c09566 in KMessageBox::informationListWId (parent_id=31457383, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:998
#148 0x02c096d7 in KMessageBox::informationList (parent=0x8798208, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:969
#149 0x02c09739 in KMessageBox::information (parent=0x8798208, text=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:956
#150 0x08074f18 in kt::GUI::infoMsg (this=0x8798208, info=...) at /tools/ktorrent/ktorrent/ktorrent/gui.cpp:251
#151 0x080701d5 in kt::Core::loadFromData (this=0x87916a8, data=..., dir=..., group=..., silently=false, url=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:389
#152 0x080706ee in kt::Core::load (this=0x87916a8, data=..., url=..., group=..., savedir=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:595
#153 0x01159c75 in kt::TorrentLoadQueue::load (this=0x22fdd2c8, url=..., data=...) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:140
#154 0x0115a0fb in kt::TorrentLoadQueue::loadOne (this=0x22fdd2c8) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:111
#155 0x0115648b in kt::TorrentLoadQueue::qt_metacall (this=0x22fdd2c8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87f07c) at /tools/ktorrent/ktorrent/build/plugins/scanfolder/moc_torrentloadqueue.cpp:77
#156 0x0749079b in QMetaObject::metacall (object=0x22fdd2c8, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf87f07c) at kernel/qmetaobject.cpp:237
#157 0x0749fcc7 in QMetaObject::activate (sender=0x22fdd2dc, m=0x75c6ae4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#158 0x074ee458 in QTimer::timeout (this=0x22fdd2dc) at .moc/release-shared/moc_qtimer.cpp:134
#159 0x074a691e in QTimer::timerEvent (this=0x22fdd2dc, e=0xbf87f58c) at kernel/qtimer.cpp:271
#160 0x0749f624 in QObject::event (this=0x22fdd2dc, e=0xbf87f58c) at kernel/qobject.cpp:1181
#161 0x0214758c in QApplicationPrivate::notify_helper (this=0x87173f8, receiver=0x22fdd2dc, e=0xbf87f58c) at kernel/qapplication.cpp:4462
#162 0x0214c292 in QApplication::notify (this=0xbf880730, receiver=0x22fdd2dc, e=0xbf87f58c) at kernel/qapplication.cpp:3862
#163 0x08079477 in kt::App::notify (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87f58c) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#164 0x07489f63 in QCoreApplication::notifyInternal (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf87f58c) at kernel/qcoreapplication.cpp:731
#165 0x074ba951 in sendEvent (this=0x872004c) at kernel/qcoreapplication.h:215
#166 QTimerInfoList::activateTimers (this=0x872004c) at kernel/qeventdispatcher_unix.cpp:604
#167 0x074b7545 in timerSourceDispatch (source=0x8720018) at kernel/qeventdispatcher_glib.cpp:184
#168 0x00e3a192 in g_main_dispatch (context=0x8714ea0) at gmain.c:2149
#169 g_main_context_dispatch (context=0x8714ea0) at gmain.c:2702
#170 0x00e3a978 in g_main_context_iterate (context=0x8714ea0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#171 0x00e3ac35 in g_main_context_iteration (context=0x8714ea0, may_block=1) at gmain.c:2843
#172 0x074b7cad in QEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#173 0x021fb206 in QGuiEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#174 0x074890fa in QEventLoop::processEvents (this=0xbf87f830, flags=...) at kernel/qeventloop.cpp:149
#175 0x074893aa in QEventLoop::exec (this=0xbf87f830, flags=...) at kernel/qeventloop.cpp:201
#176 0x02675304 in QDialog::exec (this=0x24d65cf0) at dialogs/qdialog.cpp:552
#177 0x02c05ea4 in KMessageBox::createKMessageBox (dialog=0x24d65cf0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbf87fb7f, options=..., details=..., notifyType=QMessageBox::Information) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:337
#178 0x02c0668a in KMessageBox::createKMessageBox (dialog=0x24d65cf0, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0xbf87fb7f, options=..., details=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:152
#179 0x02c09566 in KMessageBox::informationListWId (parent_id=31457383, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:998
#180 0x02c096d7 in KMessageBox::informationList (parent=0x8798208, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:969
#181 0x02c09739 in KMessageBox::information (parent=0x8798208, text=..., caption=..., dontShowAgainName=..., options=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/dialogs/kmessagebox.cpp:956
#182 0x08074f18 in kt::GUI::infoMsg (this=0x8798208, info=...) at /tools/ktorrent/ktorrent/ktorrent/gui.cpp:251
#183 0x080701d5 in kt::Core::loadFromData (this=0x87916a8, data=..., dir=..., group=..., silently=false, url=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:389
#184 0x080706ee in kt::Core::load (this=0x87916a8, data=..., url=..., group=..., savedir=...) at /tools/ktorrent/ktorrent/ktorrent/core.cpp:595
#185 0x01159c75 in kt::TorrentLoadQueue::load (this=0x22fdd2c8, url=..., data=...) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:140
#186 0x0115a0fb in kt::TorrentLoadQueue::loadOne (this=0x22fdd2c8) at /tools/ktorrent/ktorrent/plugins/scanfolder/torrentloadqueue.cpp:111
#187 0x0115648b in kt::TorrentLoadQueue::qt_metacall (this=0x22fdd2c8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87feec) at /tools/ktorrent/ktorrent/build/plugins/scanfolder/moc_torrentloadqueue.cpp:77
#188 0x0749079b in QMetaObject::metacall (object=0x22fdd2c8, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf87feec) at kernel/qmetaobject.cpp:237
#189 0x0749fcc7 in QMetaObject::activate (sender=0x22fdd2dc, m=0x75c6ae4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#190 0x074ee458 in QTimer::timeout (this=0x22fdd2dc) at .moc/release-shared/moc_qtimer.cpp:134
#191 0x074a691e in QTimer::timerEvent (this=0x22fdd2dc, e=0xbf8803fc) at kernel/qtimer.cpp:271
#192 0x0749f624 in QObject::event (this=0x22fdd2dc, e=0xbf8803fc) at kernel/qobject.cpp:1181
#193 0x0214758c in QApplicationPrivate::notify_helper (this=0x87173f8, receiver=0x22fdd2dc, e=0xbf8803fc) at kernel/qapplication.cpp:4462
#194 0x0214c292 in QApplication::notify (this=0xbf880730, receiver=0x22fdd2dc, e=0xbf8803fc) at kernel/qapplication.cpp:3862
#195 0x08079477 in kt::App::notify (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf8803fc) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#196 0x07489f63 in QCoreApplication::notifyInternal (this=0xbf880730, receiver=0x22fdd2dc, event=0xbf8803fc) at kernel/qcoreapplication.cpp:731
#197 0x074ba951 in sendEvent (this=0x872004c) at kernel/qcoreapplication.h:215
#198 QTimerInfoList::activateTimers (this=0x872004c) at kernel/qeventdispatcher_unix.cpp:604
#199 0x074b7545 in timerSourceDispatch (source=0x8720018) at kernel/qeventdispatcher_glib.cpp:184
#200 0x00e3a192 in g_main_dispatch (context=0x8714ea0) at gmain.c:2149
#201 g_main_context_dispatch (context=0x8714ea0) at gmain.c:2702
#202 0x00e3a978 in g_main_context_iterate (context=0x8714ea0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#203 0x00e3ac35 in g_main_context_iteration (context=0x8714ea0, may_block=1) at gmain.c:2843
#204 0x074b7cad in QEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#205 0x021fb206 in QGuiEventDispatcherGlib::processEvents (this=0x86dc3c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#206 0x074890fa in QEventLoop::processEvents (this=0xbf8806a4, flags=...) at kernel/qeventloop.cpp:149
#207 0x074893aa in QEventLoop::exec (this=0xbf8806a4, flags=...) at kernel/qeventloop.cpp:201
#208 0x0748df57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#209 0x02145398 in QApplication::exec () at kernel/qapplication.cpp:3736
#210 0x08069061 in main (argc=1300037633, argv=0xa1fe006d) at /tools/ktorrent/ktorrent/ktorrent/main.cpp:177

Possible duplicates by query: bug 280477, bug 280214, bug 278555, bug 275950, bug 275928.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-21 19:33:07 UTC
Just curious, how often do you want to report this bug?
Comment 2 Christoph Feck 2011-08-21 19:35:53 UTC
Joris, why does kt::GUI::infoMsg() use a local event loop, causing nested dialogs?
Comment 3 George R. Goffe 2011-08-22 20:55:40 UTC
Christoph,

That's a fair question.

It is my intent to provide as much info as possible. All these look different so I keep hoping that there's a tiny bit of information in them that it will help.

I could stop reporting the problem if that's what you guys want.

I am curious, though, as to how this bug was resolved as fixed.

Regards,

George...
Comment 4 Christoph Feck 2011-08-22 22:12:22 UTC
> I could stop reporting the problem if that's what you guys want.

No, please continue reporting bugs, but in this case, they all crash in QAbstractSocketEngine::state(), so DrKonqi should have listed duplicates.

> I am curious, though, as to how this bug was resolved as fixed.

Either it has something to do with unavailable file/socket descriptors, or nested event loops. Both are evil bugs that are not easy to fix.
Comment 5 Joris Guisson 2011-08-24 17:01:08 UTC
> Joris, why does kt::GUI::infoMsg() use a local event loop, causing nested
> dialogs?

It just calls one of the static KMessageBox functions to display a message box. 

I don't think nested event loops have anything to do with it. Bug 278555 does not happen after a lot of nested eventloops.

*** This bug has been marked as a duplicate of bug 278555 ***
Comment 6 George R. Goffe 2011-08-25 19:38:40 UTC
Christoph,

I will look for the failure at the point you mention above and not file the bug report. Would that be ok?

I am running against whatever is "latest" in Joris' repository. I check this daily and rebuild if there are updates.

Should I make new bugs for these:

I'm also seeing a TON of error messages in the ~/.kde/share/apps/ktorrent/log files to the tune of 30-50 messages per second. Tail -f <log file> just flys through messages. Most of the messages are meaningless, like "<timestamp> Error:"

I'm also seeing multiple prompts that mostly say "duplicate torrent, torrent's merged". These messages pile up and seem to require that they be replied to (poke the ok button) in the order they appear. After a while, it's impossible to make the prompt pile disappear.

Thanks,

George...
Comment 7 George R. Goffe 2011-08-26 15:27:48 UTC
Hi,

I have tried to run valgrind (svn version) on this latest ktorrent-dev and here's what I get:

==16794== Memcheck, a memory error detector
==16794== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==16794== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info
==16794== Command: /usr/bin/ktorrent --nofork
==16794== Parent PID: 16367
==16794== 
==16794== Conditional jump or move depends on uninitialised value(s)
==16794==    at 0x33D3338: bt::Downloader::getDownloadedBytesOfCurrentChunksFile(QString const&) (downloader.cpp:670)
==16794==    by 0x33F4BC9: bt::TorrentControl::initInternal(bt::QueueManagerInterface*, QString const&, QString const&) (torrentcontrol.cpp:711)
==16794==    by 0x33F5378: bt::TorrentControl::init(bt::QueueManagerInterface*, QString const&, QString const&, QString const&) (torrentcontrol.cpp:562)
==16794==    by 0x806C245: kt::Core::loadExistingTorrent(QString const&) (core.cpp:718)
==16794==    by 0x806D822: kt::Core::loadTorrents() (core.cpp:750)
==16794==    by 0x8077C2F: kt::GUI::GUI() (gui.cpp:87)
==16794==    by 0x8079875: kt::App::newInstance() (app.cpp:60)
==16794==    by 0x2CAFDA0: KUniqueApplication::Private::_k_newInstanceNoFork() (kuniqueapplication.cpp:369)
==16794==    by 0x2CAFE14: KUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) (kuniqueapplication.moc:72)
==16794==    by 0x749079A: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==16794==    by 0x749B136: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:535)
==16794==    by 0x749F7CE: QObject::event(QEvent*) (qobject.cpp:1217)
==16794==    by 0x748A56B: QCoreApplication::event(QEvent*) (qcoreapplication.cpp:1560)
==16794==    by 0x2149B9F: QApplication::event(QEvent*) (qapplication.cpp:2503)
==16794==    by 0x214758B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4462)
==16794==    by 0x214C291: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3862)
==16794==    by 0x8079476: kt::App::notify(QObject*, QEvent*) (app.cpp:99)
==16794==    by 0x7489F62: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:731)
==16794==    by 0x748DCB4: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.h:215)
==16794==    by 0x748DE8D: QCoreApplication::sendPostedEvents(QObject*, int) (qcoreapplication.cpp:1265)
==16794==    by 0x74B7B34: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qcoreapplication.h:220)
==16794==    by 0x6D6191: g_main_context_dispatch (gmain.c:2149)
==16794==    by 0x6D6977: g_main_context_iterate.clone.5 (gmain.c:2780)
==16794==    by 0x6D6C34: g_main_context_iteration (gmain.c:2843)
==16794==    by 0x74B7CAC: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:422)
==16794==    by 0x21FB205: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:207)
==16794==    by 0x74890F9: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==16794==    by 0x74893A9: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201)
==16794==    by 0x748DF56: QCoreApplication::exec() (qcoreapplication.cpp:1008)
==16794==    by 0x2145397: QApplication::exec() (qapplication.cpp:3736)
==16794==    by 0x8069060: main (main.cpp:177)
==16794== 
==16794== 
==16794==     Valgrind's memory management: out of memory:
==16794==        newSuperblock's request for 1048576 bytes failed.
==16794==        2750091264 bytes have already been allocated.
==16794==     Valgrind cannot continue.  Sorry.
==16794== 
==16794==     There are several possible reasons for this.
==16794==     - You have some kind of memory limit in place.  Look at the
==16794==       output of 'ulimit -a'.  Is there a limit on the size of
==16794==       virtual memory or address space?
==16794==     - You have run out of swap space.
==16794==     - Valgrind has a bug.  If you think this is the case or you are
==16794==     not sure, please let us know and we'll try to fix it.
==16794==     Please note that programs can take substantially more memory than
==16794==     normal when running under Valgrind tools, eg. up to twice or
==16794==     more, depending on the tool.  On a 64-bit machine, Valgrind
==16794==     should be able to make use of up 32GB memory.  On a 32-bit
==16794==     machine, Valgrind should be able to use all the memory available
==16794==     to a single process, up to 4GB if that's how you have your
==16794==     kernel configured.  Most 32-bit Linux setups allow a maximum of
==16794==     3GB per process.
==16794== 
==16794==     Whatever the reason, Valgrind cannot continue.  Sorry.
Comment 8 George R. Goffe 2011-09-03 11:45:02 UTC
Created attachment 63350 [details]
sanitized output from gdb run from the script command

Hi,

After updating ktorrent on my FC14 system:

rpm -qa | grep ktorrent
libktorrent-debuginfo-1.1.2-1.fc14.i686
ktorrent-debuginfo-4.1.2-1.fc14.i686
libktorrent-1.1.2-1.fc14.i686
ktorrent-libs-4.1.2-1.fc14.i686
kde-plasma-ktorrent-4.1.2-1.fc14.i686
ktorrent-4.1.2-1.fc14.i686

I started the script command and then gdb on ktorrent to see if I could trap this bug. I'm including the script file which shows a segfault.

I have been running ktorrent-dev and happened to quit from that invocation. This produced some interesting log messages that really seem to apply to this bug. This seems to describe EXACTLY what I'm seeing.

tail -20 ktorrent-dev.log
Fri Sep 2 02:24:44 2011: Scrape : leechers = 9, seeders = 5, downloaded = 12
Fri Sep 2 02:24:44 2011: Scrape : leechers = 5, seeders = 9, downloaded = 40
Fri Sep 2 02:24:44 2011: Scrape : leechers = 39, seeders = 84, downloaded = 10997
Fri Sep 2 02:24:44 2011: Scrape : leechers = 44, seeders = 83, downloaded = 13567
Fri Sep 2 02:24:44 2011: Scrape : leechers = 6, seeders = 13, downloaded = 568
Fri Sep 2 02:24:44 2011: Scrape : leechers = 39, seeders = 84, downloaded = 10997
Fri Sep 2 02:24:45 2011: UTP: Connection 16066|16065 closed 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
Fri Sep 2 02:24:45 2011: Qt Debug: ktorrent(6454)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x2057dfa0 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
Comment 9 Joris Guisson 2011-09-04 09:10:44 UTC
I see lots of shit related to avahi, can you disable the zeroconf plugin ?