Bug 193697 - Random crash after changing Transfer Group settings | ASSERT TransfersGroupWidget::slotSelectionChanged
Summary: Random crash after changing Transfer Group settings | ASSERT TransfersGroupWi...
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:
: 191708 195924 196565 197365 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-22 22:48 UTC by peaches
Modified: 2009-06-21 14:27 UTC (History)
4 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 peaches 2009-05-22 22:48:40 UTC
Application that crashed: kget
Version of the application: 2.2.85
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-11-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
All I did was configure a transfer group, changing the 'Regular expression' in Group Settings, then clicked one of the stopped downloads I had listed within that group immediately after closing the dialog. That's it.



 -- Backtrace:
Application: KGet (kget), signal: Aborted
[KCrash Handler]
#5  0x00007f1b71d81fb5 in raise () from /lib/libc.so.6
#6  0x00007f1b71d83bc3 in abort () from /lib/libc.so.6
#7  0x00007f1b73d6f8f1 in qt_message_output (msgType=QtFatalMsg, buf=0x3092688 "ASSERT: \"!isEmpty()\" in file /opt/kde/trunk/install/qt-copy/include/QtCore/qlist.h, line 252")
    at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2017
#8  0x00007f1b73d6fa1b in qFatal (msg=0x7f1b73ebcb60 "ASSERT: \"%s\" in file %s, line %d") at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2216
#9  0x00007f1b73d6fe4b in qt_assert (assertion=0x4686b6 "!isEmpty()", file=0x468680 "/opt/kde/trunk/install/qt-copy/include/QtCore/qlist.h", line=252)
    at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:1786
#10 0x000000000042c557 in QList<TransferGroupHandler*>::first (this=0x7fff7e3ca680) at /opt/kde/trunk/install/qt-copy/include/QtCore/qlist.h:252
#11 0x00000000004299db in TransfersGroupWidget::slotSelectionChanged (this=0x2fc3b10) at /opt/kde/trunk/src/KDE/kdenetwork/kget/conf/transfersgroupwidget.cpp:225
#12 0x00000000004231a0 in TransfersGroupWidget::qt_metacall (this=0x2fc3b10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff7e3ca840)
    at /opt/kde/trunk/build/KDE/kdenetwork/kget/moc_transfersgroupwidget.cpp:219
#13 0x00007f1b73e7fb20 in QMetaObject::activate (sender=0x237eb60, from_signal_index=4, to_signal_index=4, argv=0x7fff7e3ca840) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3117
#14 0x00007f1b73e80e6f in QMetaObject::activate (sender=0x237eb60, m=0x7f1b73556b60, local_signal_index=0, argv=0x7fff7e3ca840) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3194
#15 0x00007f1b7302a953 in QItemSelectionModel::selectionChanged (this=0x237eb60, _t1=@0x7fff7e3ca8b0, _t2=@0x7fff7e3ca8c0) at .moc/debug-shared/moc_qitemselectionmodel.cpp:146
#16 0x00007f1b7302dd7f in QItemSelectionModel::emitSelectionChanged (this=0x237eb60, newSelection=@0x7fff7e3ca930, oldSelection=@0x7fff7e3ca950)
    at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qitemselectionmodel.cpp:1548
#17 0x00007f1b730319cb in QItemSelectionModel::select (this=0x237eb60, selection=@0x7fff7e3cace0, command={i = 2117905648})
    at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qitemselectionmodel.cpp:1055
#18 0x00007f1b73016294 in QTreeViewPrivate::select (this=0x2455c20, topIndex=@0x7fff7e3cadd0, bottomIndex=@0x7fff7e3cadb0, command={i = 2117905936})
    at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qtreeview.cpp:3655
#19 0x00007f1b73016850 in QTreeView::setSelection (this=0x245a940, rect=@0x7fff7e3caf00, command={i = 2117906320}) at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qtreeview.cpp:2215
#20 0x00007f1b72fe28a4 in QAbstractItemView::mousePressEvent (this=0x245a940, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1512
#21 0x00007f1b7301f6de in QTreeView::mousePressEvent (this=0x245a940, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qtreeview.cpp:1784
#22 0x00007f1b72ac099e in QWidget::event (this=0x245a940, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qwidget.cpp:7517
#23 0x00007f1b72eb0b63 in QFrame::event (this=0x245a940, e=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qframe.cpp:559
#24 0x00007f1b72f42f98 in QAbstractScrollArea::viewportEvent (this=0x245a940, e=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:962
#25 0x00007f1b72fe317e in QAbstractItemView::viewportEvent (this=0x245a940, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1471
#26 0x00007f1b7301cd27 in QTreeView::viewportEvent (this=0x245a940, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/itemviews/qtreeview.cpp:1264
#27 0x00007f1b72f458ee in QAbstractScrollAreaPrivate::viewportEvent (this=0x2455c20, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:100
#28 0x00007f1b72f4592a in QAbstractScrollAreaFilter::eventFilter (this=0x24591b0, o=0x245ac00, e=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:111
#29 0x00007f1b73e67ce7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x225c1f0, receiver=0x245ac00, event=0x7fff7e3cbfe0)
    at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:726
#30 0x00007f1b72a640cd in QApplicationPrivate::notify_helper (this=0x225c1f0, receiver=0x245ac00, e=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:4053
#31 0x00007f1b72a64e39 in QApplication::notify (this=0x7fff7e3cdf60, receiver=0x245ac00, e=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:3759
#32 0x00007f1b75d502cd in KApplication::notify (this=0x7fff7e3cdf60, receiver=0x245ac00, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#33 0x00007f1b73e69729 in QCoreApplication::notifyInternal (this=0x7fff7e3cdf60, receiver=0x245ac00, event=0x7fff7e3cbfe0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#34 0x00007f1b72a6ff15 in QCoreApplication::sendSpontaneousEvent (receiver=0x245ac00, event=0x7fff7e3cbfe0) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#35 0x00007f1b72a68bc6 in QApplicationPrivate::sendMouseEvent (receiver=0x245ac00, event=0x7fff7e3cbfe0, alienWidget=0x245ac00, nativeWidget=0x23074a0, buttonDown=0x7f1b7357ce48, 
    lastMouseReceiver=@0x7f1b7357ce50) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:2925
#36 0x00007f1b72ae02b1 in QETWidget::translateMouseEvent (this=0x23074a0, event=0x7fff7e3cdb00) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:4448
#37 0x00007f1b72ae148f in QApplication::x11ProcessEvent (this=0x7fff7e3cdf60, event=0x7fff7e3cdb00) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:3444
#38 0x00007f1b72b0d1f0 in x11EventSourceDispatch (s=0x225f620, callback=0, user_data=0x0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007f1b6d49c20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007f1b6d49f8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007f1b6d49fa7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007f1b73e97346 in QEventDispatcherGlib::processEvents (this=0x2260280, flags={i = 2117918112}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#43 0x00007f1b72b0c9df in QGuiEventDispatcherGlib::processEvents (this=0x2260280, flags={i = 2117918208}) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007f1b73e669d7 in QEventLoop::processEvents (this=0x7fff7e3cded0, flags={i = 2117918336}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#45 0x00007f1b73e66be4 in QEventLoop::exec (this=0x7fff7e3cded0, flags={i = 2117918448}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#46 0x00007f1b73e69f74 in QCoreApplication::exec () at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#47 0x00007f1b72a63e4c in QApplication::exec () at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:3526
#48 0x000000000045f38c in main (argc=5, argv=0x7fff7e3ce4f8) at /opt/kde/trunk/src/KDE/kdenetwork/kget/main.cpp:153
Comment 1 peaches 2009-05-22 22:50:07 UTC
KDE trunk r965053, qt-copy r964678
Comment 2 Dario Andres 2009-05-22 23:04:56 UTC
*** Bug 191708 has been marked as a duplicate of this bug. ***
Comment 3 Urs Wolfer 2009-06-07 18:58:04 UTC
SVN commit 978589 by uwolfer:

Fix crash: do not call .first() on an empty list.
BUG:193697

 M  +1 -1      transfersgroupwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=978589
Comment 4 Dario Andres 2009-06-10 21:14:58 UTC
*** Bug 195924 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2009-06-15 12:20:15 UTC
*** Bug 196565 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-06-21 14:27:54 UTC
*** Bug 197365 has been marked as a duplicate of this bug. ***