Bug 202778 - KGet crashes on right-clicking on item
Summary: KGet crashes on right-clicking on item
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 11:33 UTC by Alexey Chernov
Modified: 2009-08-16 18:01 UTC (History)
3 users (show)

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 Alexey Chernov 2009-08-06 11:33:48 UTC
Application that crashed: kget
Version of the application: 2.3.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30 x86_64

What I was doing when the application crashed:
KGet crashes if the download item is selected and I right-click on it. Almost 100% reproducible.

 -- Backtrace:
Application: KGet (kget), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#5  0x00007fb6c6dd899b in raise () from /lib/libc.so.6
#6  0x00007fb6c6dd9d4e in abort () from /lib/libc.so.6
#7  0x00007fb6b717af08 in QtMessageOutput (type=QtFatalMsg, msg=0x24dca88 "ASSERT: \"!isEmpty()\" in file /usr/include/QtCore/qlist.h, line 253")
    at /usr/src/packages/kde4/4.3.0/kdenetwork-4.3.0/kget/transfer-plugins/bittorrent/libbtcore/util/log.cpp:298
#8  0x00007fb6c7b63b23 in qt_message_output (msgType=QtFatalMsg, buf=0xeec <Address 0xeec out of bounds>) at global/qglobal.cpp:2007
#9  0x00007fb6c7b63ccb in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2241
#10 0x00007fb6ca9a25d1 in QList<KFileItem>::first (this=0x7fff86edcc60) at /usr/include/QtCore/qlist.h:253
#11 0x00007fb6ca9bb035 in KFileItemActions::addServiceActionsTo (this=0x253d2b0, mainMenu=0x2702a30) at /usr/src/packages/kde4/4.3.0/kdelibs-4.3.0/kio/kio/kfileitemactions.cpp:195
#12 0x00007fb6c9d0fa2e in KonqMenuActions::addActionsTo (this=0x7fff86edd0f0, mainMenu=0x2702a30) at /usr/src/packages/kde4/4.3.0/kdebase-4.3.0/apps/lib/konq/konq_menuactions.cpp:49
#13 0x0000000000446521 in ContextMenu::createTransferContextMenu (handler=0x251f520, parent=0x0) at /usr/src/packages/kde4/4.3.0/kdenetwork-4.3.0/kget/ui/contextmenu.cpp:107
#14 0x000000000043424d in TransfersViewDelegate::editorEvent (this=0x22986e0, event=0x7fff86ede450, model=0x21dd8c0, option=@0x7fff86edd2e0, index=@0x7fff86edd3c0)
    at /usr/src/packages/kde4/4.3.0/kdenetwork-4.3.0/kget/ui/transfersviewdelegate.cpp:443
#15 0x00007fb6c8d75da7 in QAbstractItemViewPrivate::sendDelegateEvent (this=0x22520c0, index=@0x7fff86edd3e0, event=0x7fff86ede450) at itemviews/qabstractitemview.cpp:3845
#16 0x00007fb6c8d76077 in QAbstractItemView::edit (this=0x2281cb0, index=@0x26da7b0, trigger=QAbstractItemView::NoEditTriggers, event=0x7fff86ede450) at itemviews/qabstractitemview.cpp:2327
#17 0x00007fb6c8d744c8 in QAbstractItemView::mousePressEvent (this=0x2281cb0, event=0x7fff86ede450) at itemviews/qabstractitemview.cpp:1506
#18 0x00007fb6c8895bf5 in QWidget::event (this=0x2281cb0, event=0x7fff86ede450) at kernel/qwidget.cpp:7545
#19 0x00007fb6c8c3817b in QFrame::event (this=0x2281cb0, e=0x7fff86ede450) at widgets/qframe.cpp:559
#20 0x00007fb6c8d7988d in QAbstractItemView::viewportEvent (this=0x2281cb0, event=0x7fff86ede450) at itemviews/qabstractitemview.cpp:1476
#21 0x00007fb6c8db48b8 in QTreeView::viewportEvent (this=0x2281cb0, event=0x7fff86ede450) at itemviews/qtreeview.cpp:1266
#22 0x00007fb6c7c608a7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2281b50, event=0x7fff86ede450) at kernel/qcoreapplication.cpp:726
#23 0x00007fb6c883f11c in QApplicationPrivate::notify_helper (this=0x2135f30, receiver=0x2281b50, e=0x7fff86ede450) at kernel/qapplication.cpp:4052
#24 0x00007fb6c88460f4 in QApplication::notify (this=<value optimized out>, receiver=0x2281b50, e=0x7fff86ede450) at kernel/qapplication.cpp:3758
#25 0x00007fb6caf7d0cb in KApplication::notify (this=0x7fff86ee01f0, receiver=0x2281b50, event=0x7fff86ede450) at /usr/src/packages/kde4/4.3.0/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#26 0x00007fb6c7c60e0b in QCoreApplication::notifyInternal (this=0x7fff86ee01f0, receiver=0x2281b50, event=0x7fff86ede450) at kernel/qcoreapplication.cpp:610
#27 0x00007fb6c8848082 in QApplicationPrivate::sendMouseEvent (receiver=0x2281b50, event=0x7fff86ede450, alienWidget=0x2281b50, nativeWidget=0x2131a30, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fb6c92f3130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#28 0x00007fb6c88b7549 in QETWidget::translateMouseEvent (this=0x2131a30, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#29 0x00007fb6c88b622d in QApplication::x11ProcessEvent (this=0x7fff86ee01f0, event=0x7fff86edfe30) at kernel/qapplication_x11.cpp:3550
#30 0x00007fb6c88de564 in x11EventSourceDispatch (s=0x2135950, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fb6c35b02d1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007fb6c35b3a4d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#33 0x00007fb6c35b3c0b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007fb6c7c8d06f in QEventDispatcherGlib::processEvents (this=0x20e9040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#35 0x00007fb6c88ddcaf in QGuiEventDispatcherGlib::processEvents (this=0xeec, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007fb6c7c5f902 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -2031222496}) at kernel/qeventloop.cpp:149
#37 0x00007fb6c7c5fcd4 in QEventLoop::exec (this=0x7fff86ee0160, flags={i = -2031222416}) at kernel/qeventloop.cpp:201
#38 0x00007fb6c7c620d4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x000000000045e775 in main (argc=3, argv=0x7fff86ee0798) at /usr/src/packages/kde4/4.3.0/kdenetwork-4.3.0/kget/main.cpp:173

Reported using DrKonqi
Comment 1 Dario 2009-08-06 12:51:09 UTC
Alexey, could you please add more details on how to reproduce this bug? It doesn't crash on my system. Is there a way to reproduce it from a 'cold' kget without downloads?
Comment 2 Alexey Chernov 2009-08-06 13:03:00 UTC
Well, yeah, I've noticed that it crashes only on certain download item, that is Nitrogen KWin theme source download: http://www.kde-look.org/content/download.php?content=99551&id=1&tan=62068015
the destination for me was ~/downloads/archives/ maybe if you download right this file to this destination it will become reproducible. Or maybe I can get some additional info cause it's still 100% crashes.
Comment 3 Dario 2009-08-07 16:22:15 UTC
Thanks Alexey again for your report. We could reproduce the bug and the solution is being worked out.
Comment 4 Alexey Chernov 2009-08-07 16:30:46 UTC
Thank you. I'm very glad that it helps )
Comment 5 Dario Andres 2009-08-16 18:01:47 UTC
Bug 203766 seems to be related to this too. Regards