Summary: | adding a folder followed by attempting to add a feed causes a crash | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Ben Lewis <benjf5> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | patch |
Description
Ben Lewis
2007-12-15 17:29:36 UTC
I can confirm this (r748813). Here is the backtrace Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1259600192 (LWP 2461)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb5887875 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb5889201 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb7e4201d in qt_message_output () from /usr/lib/libQtCore.so.4 #10 0xb7e420a1 in qFatal () from /usr/lib/libQtCore.so.4 #11 0xb7e4220d in qt_assert () from /usr/lib/libQtCore.so.4 #12 0xb3643a29 in QList<Akregator::TreeNode*>::last (this=0xbffa8340) at /usr/include/qt4/QtCore/qlist.h:246 #13 0xb36a1a5d in Akregator::MainWidget::slotFeedAdd (this=0x81c5668) at /home/fabio/kde/src/KDE/kdepim/akregator/src/mainwidget.cpp:723 #14 0xb36a33d3 in Akregator::MainWidget::qt_metacall (this=0x81c5668, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbffa889c) at /home/fabio/kde/build/KDE/kdepim/akregator/src/mainwidget.moc:165 #15 0xb7f11c04 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #16 0xb7f11e00 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #17 0xb5ca6878 in QAction::triggered () from /usr/lib/libQtGui.so.4 #18 0xb5ca85e6 in QAction::activate () from /usr/lib/libQtGui.so.4 #19 0xb6093abf in ?? () from /usr/lib/libQtGui.so.4 #20 0x080a24d0 in ?? () #21 0x00000000 in ?? () #0 0xffffe410 in __kernel_vsyscall () Created attachment 22567 [details]
patch
This patch should solve the problem. This is my second patch for a KDE project,
so it may not be the best possible, but it's not a big deal, it only checks if
the group->children() is empty before look for its last child.
SVN commit 758835 by osterfeld: Do not crash when adding a feed to an empty folder Patch by Fabio Firmo CCMAIL:fabio.a.firmo@gmail.com BUG:154115 M +1 -1 mainwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=758835 |