Bug 291834 - KGet crash when several dialog boxes are being dealt with.
Summary: KGet crash when several dialog boxes are being dealt with.
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 05:46 UTC by Matthew Dawson
Modified: 2020-11-26 23:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Dawson 2012-01-18 05:46:47 UTC
Application: kget (2.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.2.1-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

I was in the process of downloading several files, I accidentally started redownloading some of them using http, when I meant to use a bittorrent link.  Several replace file dialogs appeared.  Upon cancelling the first one, KGet crashed with this backtrace.

Other things to note:

I also had several torrents running in the background.  They seemed to significantly slow down KGet for no known reason, and made dealing with the dialogs slow.  I don't know if that triggered some obscure timing bug.

-- Backtrace:
Application: KGet (kget), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fb85594b780 (LWP 11605))]

Thread 6 (Thread 0x7fb83d99d700 (LWP 11900)):
#0  0x00007fb850c9e8f3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb84c56b598 in g_main_context_poll (n_fds=1, fds=0x2565380, timeout=-1, context=0x2522500, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x2522500, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007fb84c56ba1b in g_main_context_iteration (context=0x2522500, may_block=1) at gmain.c:3152
#4  0x00007fb85255e6ae in QEventDispatcherGlib::processEvents (this=0x251af40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb852532872 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb852532a9f in QEventLoop::exec (this=0x7fb83d99cdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fb8524499cf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fb85251571f in QInotifyFileSystemWatcherEngine::run (this=0x2536790) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fb85244c425 in QThreadPrivate::start (arg=0x2536790) at thread/qthread_unix.cpp:331
#10 0x00007fb85356ae9c in start_thread (arg=0x7fb83d99d700) at pthread_create.c:301
#11 0x00007fb850ca742d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fb8355fc700 (LWP 11912)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb85244b42b in QMutexPrivate::wait (this=0x24c4950, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fb852447b05 in QMutex::lock (this=0x24c4bf0) at thread/qmutex.cpp:167
#3  0x00007fb83e10a770 in update (this=0x24c49d0) at /usr/src/debug/net-libs/libktorrent-1.1.2/libktorrent-1.1.2/src/net/downloadthread.cpp:51
#4  net::DownloadThread::update (this=0x24c49d0) at /usr/src/debug/net-libs/libktorrent-1.1.2/libktorrent-1.1.2/src/net/downloadthread.cpp:46
#5  0x00007fb83e10a969 in net::NetworkThread::run (this=0x24c49d0) at /usr/src/debug/net-libs/libktorrent-1.1.2/libktorrent-1.1.2/src/net/networkthread.cpp:48
#6  0x00007fb85244c425 in QThreadPrivate::start (arg=0x24c49d0) at thread/qthread_unix.cpp:331
#7  0x00007fb85356ae9c in start_thread (arg=0x7fb8355fc700) at pthread_create.c:301
#8  0x00007fb850ca742d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fb834dfb700 (LWP 11913)):
#0  operator++ (this=<synthetic pointer>) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/include/g++-v4/bits/stl_list.h:162
#1  update (this=0x24c5050) at /usr/src/debug/net-libs/libktorrent-1.1.2/libktorrent-1.1.2/src/net/uploadthread.cpp:77
#2  net::UploadThread::update (this=0x24c5050) at /usr/src/debug/net-libs/libktorrent-1.1.2/libktorrent-1.1.2/src/net/uploadthread.cpp:43
#3  0x00007fb83e10a969 in net::NetworkThread::run (this=0x24c5050) at /usr/src/debug/net-libs/libktorrent-1.1.2/libktorrent-1.1.2/src/net/networkthread.cpp:48
#4  0x00007fb85244c425 in QThreadPrivate::start (arg=0x24c5050) at thread/qthread_unix.cpp:331
#5  0x00007fb85356ae9c in start_thread (arg=0x7fb834dfb700) at pthread_create.c:301
#6  0x00007fb850ca742d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fb836c0c700 (LWP 11915)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb85244c8bb in wait (time=18446744073709551615, this=0x2a16870) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a17580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb83e10d5e2 in net::ReverseResolverThread::run (this=0x2a17570) at /usr/src/debug/net-libs/libktorrent-1.1.2/libktorrent-1.1.2/src/net/reverseresolver.cpp:123
#4  0x00007fb85244c425 in QThreadPrivate::start (arg=0x2a17570) at thread/qthread_unix.cpp:331
#5  0x00007fb85356ae9c in start_thread (arg=0x7fb836c0c700) at pthread_create.c:301
#6  0x00007fb850ca742d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb83d037700 (LWP 19237)):
#0  0x00007fb850c9e8f3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb84c56b598 in g_main_context_poll (n_fds=1, fds=0x324e830, timeout=-1, context=0x34f5650, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x34f5650, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007fb84c56ba1b in g_main_context_iteration (context=0x34f5650, may_block=1) at gmain.c:3152
#4  0x00007fb85255e6ae in QEventDispatcherGlib::processEvents (this=0x2a65c80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb852532872 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb852532a9f in QEventLoop::exec (this=0x7fb83d036e00, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fb8524499cf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fb85244c425 in QThreadPrivate::start (arg=0x7fb8380b2450) at thread/qthread_unix.cpp:331
#9  0x00007fb85356ae9c in start_thread (arg=0x7fb83d037700) at pthread_create.c:301
#10 0x00007fb850ca742d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb85594b780 (LWP 11605)):
[KCrash Handler]
#6  erase (it=..., this=0x25f1160) at /usr/include/qt4/QtCore/qhash.h:835
#7  NewTransferDialogHandler::handleUrls (this=0x25f1140, jobId=18) at /usr/src/debug/kde-base/kget-4.7.3/kget-4.7.3/kget/ui/newtransferdialog.cpp:777
#8  0x0000000000454eab in NewTransferDialogHandler::slotMostLocalUrlResult (this=0x25f1140, j=<optimized out>) at /usr/src/debug/kde-base/kget-4.7.3/kget-4.7.3/kget/ui/newtransferdialog.cpp:591
#9  0x0000000000455516 in NewTransferDialogHandler::qt_metacall (this=0x25f1140, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff3c6c3a90) at /usr/src/debug/kde-base/kget-4.7.3/kget-4.7.3_build/kget/newtransferdialog.moc:140
#10 0x00007fb85254663a in QMetaObject::activate (sender=0x7fb8306fae60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3c6c3a90) at kernel/qobject.cpp:3278
#11 0x00007fb852c2d7b2 in KJob::result (this=<optimized out>, _t1=0x7fb8306fae60) at /usr/src/debug/kde-base/kdelibs-4.7.3-r1/kdelibs-4.7.3_build/kdecore/kjob.moc:194
#12 0x00007fb852c2d7f0 in KJob::emitResult (this=0x7fb8306fae60) at /usr/src/debug/kde-base/kdelibs-4.7.3-r1/kdelibs-4.7.3/kdecore/jobs/kjob.cpp:312
#13 0x00007fb854799665 in MostLocalUrlJob::start (this=0x7fb8306fae60) at /usr/src/debug/kde-base/kget-4.7.3/kget-4.7.3/kget/core/mostlocalurl.cpp:79
#14 0x000000000044f88b in NewTransferDialogHandler::showNewTransferDialog (urls=<optimized out>) at /usr/src/debug/kde-base/kget-4.7.3/kget-4.7.3/kget/ui/newtransferdialog.cpp:572
#15 0x00000000004b84b4 in KGetApp::newInstance (this=0x7fff3c6c4ff0) at /usr/src/debug/kde-base/kget-4.7.3/kget-4.7.3/kget/main.cpp:110
#16 0x00007fb85534fe31 in KUniqueApplicationAdaptor::newInstance (this=0x245ee10, asn_id=<optimized out>, args=...) at /usr/src/debug/kde-base/kdelibs-4.7.3-r1/kdelibs-4.7.3/kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007fb85534fec6 in KUniqueApplicationAdaptor::qt_metacall (this=0x245ee10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff3c6c4160) at /usr/src/debug/kde-base/kdelibs-4.7.3-r1/kdelibs-4.7.3_build/kdeui/kuniqueapplication_p.moc:81
#18 0x00007fb85288e7d9 in QDBusConnectionPrivate::deliverCall (this=0x22e01f0, object=0x245ee10, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:942
#19 0x00007fb85288f915 in QDBusConnectionPrivate::activateCall (this=0x22e01f0, object=0x245ee10, flags=337, msg=...) at qdbusintegrator.cpp:852
#20 0x00007fb8528901e9 in QDBusConnectionPrivate::activateObject (this=0x22e01f0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1410
#21 0x00007fb8528902d8 in QDBusActivateObjectEvent::placeMetaCall (this=0x315b6f0) at qdbusintegrator.cpp:1524
#22 0x00007fb85254a162 in QObject::event (this=0x7fff3c6c4ff0, e=<optimized out>) at kernel/qobject.cpp:1217
#23 0x00007fb8518d6363 in QApplication::event (this=0x7fff3c6c4ff0, e=0x315b6f0) at kernel/qapplication.cpp:2522
#24 0x00007fb8518d2514 in notify_helper (e=0x315b6f0, receiver=0x7fff3c6c4ff0, this=0x22f3e80) at kernel/qapplication.cpp:4481
#25 QApplicationPrivate::notify_helper (this=0x22f3e80, receiver=0x7fff3c6c4ff0, e=0x315b6f0) at kernel/qapplication.cpp:4453
#26 0x00007fb8518d7341 in QApplication::notify (this=0x7fff3c6c4ff0, receiver=0x7fff3c6c4ff0, e=0x315b6f0) at kernel/qapplication.cpp:4360
#27 0x00007fb85534a0a8 in KApplication::notify (this=0x7fff3c6c4ff0, receiver=0x7fff3c6c4ff0, event=0x315b6f0) at /usr/src/debug/kde-base/kdelibs-4.7.3-r1/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#28 0x00007fb85253370b in QCoreApplication::notifyInternal (this=0x7fff3c6c4ff0, receiver=0x7fff3c6c4ff0, event=0x315b6f0) at kernel/qcoreapplication.cpp:787
#29 0x00007fb852536b07 in sendEvent (event=0x315b6f0, receiver=0x7fff3c6c4ff0) at kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x22979e0) at kernel/qcoreapplication.cpp:1428
#31 0x00007fb85255e233 in sendPostedEvents () at kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x22f7920) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007fb84c56b07c in g_main_dispatch (context=0x22ecec0) at gmain.c:2441
#34 g_main_context_dispatch (context=0x22ecec0) at gmain.c:3011
#35 0x00007fb84c56b870 in g_main_context_iterate (context=0x22ecec0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#36 0x00007fb84c56ba1b in g_main_context_iteration (context=0x22ecec0, may_block=1) at gmain.c:3152
#37 0x00007fb85255e656 in QEventDispatcherGlib::processEvents (this=0x22975e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007fb851976986 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fb852532872 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fb852532a9f in QEventLoop::exec (this=0x7fff3c6c4f70, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007fb852536ce7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#42 0x000000000042c4e1 in main (argc=3, argv=0x7fff3c6c5658) at /usr/src/debug/kde-base/kget-4.7.3/kget-4.7.3/kget/main.cpp:168

Reported using DrKonqi
Comment 1 Justin Zobel 2020-11-24 03:15:46 UTC
Thanks for the report Matthew, are you able to please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Matthew Dawson 2020-11-26 16:03:31 UTC
(In reply to Justin Zobel from comment #1)
> Thanks for the report Matthew, are you able to please test and confirm if
> this issue is still occurring or if this bug report can be marked as
> resolved. I've set the bug status to "needsinfo" pending your response,
> please change back to "reported" or "resolved" when you respond, thanks.

Hi Justin,

I haven't used KGet for several years at this point, so I don't remember exactly what happened in this crash.  For now I'll just mark this as resolved.  If I stumble across the bug again at some point I'll update this bug appropriately.