Bug 201291 - Crash when I delete several items
Summary: Crash when I delete several items
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 180318 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-23 22:59 UTC by Frédéric COIFFIER
Modified: 2009-08-19 23:12 UTC (History)
1 user (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 Frédéric COIFFIER 2009-07-23 22:59:21 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc3
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3))
Qt Version: 4.5.2
Operating System: Linux 2.6.29-gentoo-r2 i686

What I was doing when the application crashed:
I select (with Ctrl) several subject/item in a feed and I press Del key.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb485a8c8 in Akregator::Feed::xmlUrl (this=0x0) at /usr/include/qt4/QtCore/qstring.h:711
#7  0xb48cd69f in Akregator::MainWidget::slotArticleDelete (this=0x92d9340) at /var/tmp/portage/kde-base/akregator-4.2.98/work/akregator-4.2.98/akregator/src/mainwidget.cpp:982
#8  0xb48d18a5 in Akregator::MainWidget::qt_metacall (this=0x92d9340, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbf9cf480)
    at /var/tmp/portage/kde-base/akregator-4.2.98/work/akregator-4.2.98_build/akregator/src/mainwidget.moc:171
#9  0x4114ad59 in QMetaObject::activate (sender=) at kernel/qobject.cpp:3101
#10 0x4114b0dc in QMetaObject::activate (sender=<value optimized out>, m=) at kernel/qobject.cpp:3198
#11 0x42bb24f6 in QAction::triggered (this=) at .moc/release-shared/moc_qaction.cpp:236
#12 0x42bb389f in QAction::activate (this=<value optimized out>, event=<value optimized out>) at kernel/qaction.cpp:1160
#13 0x42bb5dc4 in QAction::event (this=) at kernel/qaction.cpp:1079
#14 0x42581a10 in KAction::event (this=) at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/actions/kaction.cpp:88
#15 0x42bb82f4 in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4056
#16 0x42bc11ab in QApplication::notify (this=) at kernel/qapplication.cpp:3603
#17 0x42671152 in KApplication::notify (this=<value optimized out>, receiver=) at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#18 0x41137bfd in QCoreApplication::notifyInternal (this=) at kernel/qcoreapplication.cpp:606
#19 0x42beeae5 in QShortcutMap::dispatchEvent (this=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 0x42bf08f7 in QShortcutMap::tryShortcutEvent (this=) at kernel/qshortcutmap.cpp:369
#21 0x42bc282b in QApplication::notify (this=) at kernel/qapplication.cpp:3645
#22 0x42671152 in KApplication::notify (this=<value optimized out>, receiver=) at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#23 0x41137bfd in QCoreApplication::notifyInternal (this=) at kernel/qcoreapplication.cpp:606
#24 0x42bb982e in qt_sendSpontaneousEvent (receiver=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#25 0x42c4a646 in QKeyMapper::sendKeyEvent (keyWidget=) at kernel/qkeymapper_x11.cpp:1675
#26 0x42c4c7fd in QKeyMapperPrivate::translateKeyEvent (this=) at kernel/qkeymapper_x11.cpp:1645
#27 0x42c2527e in QApplication::x11ProcessEvent (this=) at kernel/qapplication_x11.cpp:3443
#28 0x42c4e13c in x11EventSourceDispatch (s=) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x4212a8fb in IA__g_main_context_dispatch (context=0x87c7800) at gmain.c:1824
#30 0x4212e068 in g_main_context_iterate (context=0x87c7800, block=1, dispatch=1, self=0x87c5230) at gmain.c:2455
#31 0x4212e1f0 in IA__g_main_context_iteration (context=0x87c7800, may_block=1) at gmain.c:2518
#32 0x41160b59 in QEventDispatcherGlib::processEvents (this=) at kernel/qeventdispatcher_glib.cpp:327
#33 0x42c4d96b in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x411362b4 in QEventLoop::processEvents (this=) at kernel/qeventloop.cpp:149
#35 0x4113648d in QEventLoop::exec (this=) at kernel/qeventloop.cpp:197
#36 0x41138782 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#37 0x42bb8145 in QApplication::exec () at kernel/qapplication.cpp:3525
#38 0x0804c29a in main (argc=-1080223420, argv=0xbf9d1680) at /var/tmp/portage/kde-base/kontact-4.2.98/work/kontact-4.2.98/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Frank Osterfeld 2009-07-26 22:16:42 UTC
SVN commit 1002704 by osterfeld:

be more defensive when it comes to null articles
BUG:201291

 M  +3 -2      mainwidget.cpp  
 M  +3 -0      selectioncontroller.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1002704
Comment 2 Dario Andres 2009-08-19 23:12:45 UTC
*** Bug 180318 has been marked as a duplicate of this bug. ***