Bug 164192 - akregator crash on delete articles
Summary: akregator crash on delete articles
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: 1.3.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 165706 166493 166905 167159 168080 168941 172236 172478 173883 174791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-16 04:58 UTC by miki
Modified: 2009-01-19 23:28 UTC (History)
11 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 miki 2008-06-16 04:58:39 UTC
Version:           1.2.50 (using 4.00.82 (KDE 4.0.82 >= 20080610), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-generic

Application: Akregator (akregator), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb4b28720 (LWP 25735)]
[KCrash handler]
#6  0xb31ceda8 in Akregator::FeedIconManager::slotIconChanged (
    this=0x8181070, isHost=false, hostOrUrl=@0xbfa68370, iconName=@0xbfa6838c)
    at /home/mi/kde/src/KDE/kdepim/akregator/src/feediconmanager.cpp:164
#7  0xb31cfb42 in Akregator::FeedIconManager::Private::loadIcon (
    this=0x8180730, url_=@0x8444210)
    at /home/mi/kde/src/KDE/kdepim/akregator/src/feediconmanager.cpp:114
#8  0xb31cfc8e in Akregator::FeedIconManager::qt_metacall (this=0x8181070, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8753578)
    at /home/mi/kde/build/KDE/kdepim/akregator/src/feediconmanager.moc:74
#9  0xb7eb0e8b in QMetaCallEvent::placeMetaCall ()
   from /usr/lib/libQtCore.so.4
#10 0xb7eb2ed1 in QObject::event () from /usr/lib/libQtCore.so.4
#11 0xb5511c0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#12 0xb55167a9 in QApplication::notify () from /usr/lib/libQtGui.so.4
#13 0xb79ddbdb in KApplication::notify (this=0xbfa68afc, receiver=0x8181070, 
    event=0x81fabb8)
    at /home/mi/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#14 0xb7ea26a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#15 0xb7ea3a59 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#16 0xb7ea3c7d in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#17 0xb7ecdbcf in ?? () from /usr/lib/libQtCore.so.4
#18 0xb501cbf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb501fe5e in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb50203ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0xb7ecdf98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#22 0xb55a51b5 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb7ea192d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#24 0xb7ea1abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#25 0xb7ea3d3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#26 0xb5511567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#27 0x08050159 in main (argc=5, argv=0xbfa68bd4)
    at /home/mi/kde/src/KDE/kdepim/akregator/src/main.cpp:115
#0  0xb7fb9410 in __kernel_vsyscall ()
Comment 1 Christophe Marin 2008-07-04 13:36:21 UTC
*** Bug 165706 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2008-07-18 11:06:47 UTC
*** Bug 166905 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2008-07-18 11:07:19 UTC
*** Bug 166493 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2008-07-21 20:25:16 UTC
*** Bug 167159 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2008-08-03 02:47:42 UTC
*** Bug 168080 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2008-08-12 10:48:36 UTC
*** Bug 168941 has been marked as a duplicate of this bug. ***
Comment 7 Jon Severinsson 2008-08-15 09:09:27 UTC
I can confirm this using the Kubuntu Hardy KDE 4.1.0 binary packages.
Some interesting observations though:
1. Deleting a single article always works, deleating two works sometimes and crashes sometimes, and deleting three articles at once always crashes...
2. After restarting a crashed akregator, all articles I tried to delete are marked as read, even those that was originally unread.

Attatching backtrace:
========================================
Program: Akregator (akregator), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5428720 (LWP 6420)]
[KCrash handler]
#6  0xb7f03410 in __kernel_vsyscall ()
#7  0xb6aae085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6aafa01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6aa710e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb38804db in KHTMLPart::slotInfoMessage (this=0x829ab20, 
    kio_job=0x90abe10, msg=@0xbff76e64)
    at /build/buildd/kde4libs-4.1.0/khtml/khtml_part.cpp:1560
#11 0xb389a55c in KHTMLPart::qt_metacall (this=0x829ab20, 
    _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbff76c24)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/khtml/khtml_part.moc:265
#12 0xb3d04bb2 in ?? () from /usr/lib/kde4/lib/kde4/akregatorpart.so
#13 0xb77bf4f9 in QMetaObject::activate (sender=0x90abe10, 
    from_signal_index=11, to_signal_index=12, argv=0xbff76c24)
    at kernel/qobject.cpp:3010
#14 0xb77bf930 in QMetaObject::activate (sender=0x90abe10, m=0xb7a7c868, 
    from_local_signal_index=7, to_local_signal_index=8, argv=0xbff76c24)
    at kernel/qobject.cpp:3100
#15 0xb79839d7 in KJob::infoMessage (this=0x90abe10, _t1=0x90abe10, 
    _t2=@0xbff76e64, _t3=@0xbff76c5c)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/kdecore/kjob.moc:200
#16 0xb6074b74 in KIO::SimpleJobPrivate::_k_slotSlaveInfoMessage (
    this=0x86f4ae8, msg=@0xbff76e64)
    at /build/buildd/kde4libs-4.1.0/kio/kio/job.cpp:520
#17 0xb6074c01 in KIO::SimpleJob::qt_metacall (this=0x90abe10, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff76d8c)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/kio/jobclasses.moc:163
#18 0xb607be4a in KIO::TransferJob::qt_metacall (this=0x90abe10, 
    _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbff76d8c)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/kio/jobclasses.moc:324
#19 0xb77bf4f9 in QMetaObject::activate (sender=0x85ef598, 
    from_signal_index=25, to_signal_index=25, argv=0xbff76d8c)
    at kernel/qobject.cpp:3010
#20 0xb77bfbc2 in QMetaObject::activate (sender=0x85ef598, m=0xb61dcde4, 
    local_signal_index=21, argv=0xbff76d8c) at kernel/qobject.cpp:3080
#21 0xb6116663 in KIO::SlaveInterface::infoMessage (this=0x85ef598, 
    _t1=@0xbff76e64)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/kio/slaveinterface.moc:277
#22 0xb61187e3 in KIO::SlaveInterface::dispatch (this=0x85ef598, _cmd=26, 
    rawdata=@0xbff76ee4)
    at /build/buildd/kde4libs-4.1.0/kio/kio/slaveinterface.cpp:309
#23 0xb611920d in KIO::SlaveInterface::dispatch (this=0x85ef598)
    at /build/buildd/kde4libs-4.1.0/kio/kio/slaveinterface.cpp:90
#24 0xb610bdc7 in KIO::Slave::gotInput (this=0x85ef598)
    at /build/buildd/kde4libs-4.1.0/kio/kio/slave.cpp:319
#25 0xb610d19d in KIO::Slave::qt_metacall (this=0x85ef598, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff76ff8)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/kio/slave.moc:75
#26 0xb77bf4f9 in QMetaObject::activate (sender=0x81052f0, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3010
#27 0xb77bfbc2 in QMetaObject::activate (sender=0x81052f0, m=0xb61d9a40, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#28 0xb60486b7 in KIO::Connection::readyRead (this=0x81052f0)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/kio/connection.moc:84
#29 0xb6049528 in KIO::ConnectionPrivate::dequeue (this=0x8c58ce0)
    at /build/buildd/kde4libs-4.1.0/kio/kio/connection.cpp:82
#30 0xb604a36e in KIO::Connection::qt_metacall (this=0x81052f0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x90b46b8)
    at /build/buildd/kde4libs-4.1.0/obj-i486-linux-gnu/kio/connection.moc:72
#31 0xb77b8e8b in QMetaCallEvent::placeMetaCall (this=0x8710c40, 
    object=0x81052f0) at kernel/qobject.cpp:535
#32 0xb77baed1 in QObject::event (this=0x81052f0, e=0x8710c40)
    at kernel/qobject.cpp:1140
#33 0xb6e09c0c in QApplicationPrivate::notify_helper (this=0x806ce60, 
    receiver=0x81052f0, e=0x8710c40) at kernel/qapplication.cpp:3772
#34 0xb6e0e799 in QApplication::notify (this=0xbff777d8, receiver=0x81052f0, 
    e=0x8710c40) at kernel/qapplication.cpp:3366
#35 0xb7c37f53 in KApplication::notify (this=0xbff777d8, receiver=0x81052f0, 
    event=0x8710c40)
    at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:311
#36 0xb77aa6a9 in QCoreApplication::notifyInternal (this=0xbff777d8, 
    receiver=0x81052f0, event=0x8710c40) at kernel/qcoreapplication.cpp:587
#37 0xb77aba59 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x8057738)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 0xb77abc7d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#39 0xb77d5bcf in postEventSourceDispatch (s=0x806eb10)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 0xb5bc6dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb5bca193 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb5bca74e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb77d5f98 in QEventDispatcherGlib::processEvents (this=0x8064ff8, 
    flags=@0xbff776e8) at kernel/qeventdispatcher_glib.cpp:325
#44 0xb6e9d195 in QGuiEventDispatcherGlib::processEvents (this=0x8064ff8, 
    flags=@0xbff77718) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb77a992d in QEventLoop::processEvents (this=0xbff77790, 
    flags=@0xbff77754) at kernel/qeventloop.cpp:149
#46 0xb77a9abd in QEventLoop::exec (this=0xbff77790, flags=@0xbff77798)
    at kernel/qeventloop.cpp:200
#47 0xb77abd3d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#48 0xb6e09567 in QApplication::exec () at kernel/qapplication.cpp:3304
#49 0x0804edab in _start ()
#0  0xb7f03410 in __kernel_vsyscall ()
Comment 8 Christophe Marin 2008-10-16 12:51:41 UTC
*** Bug 172236 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2008-10-16 12:53:55 UTC
*** Bug 172478 has been marked as a duplicate of this bug. ***
Comment 10 Frank Osterfeld 2008-10-27 21:23:34 UTC
Something goes wrong unregistering deleted feeds from feediconmanager I think.

Thread 0 Crashed:
0   akregatorpart.so              	0x19e0ba9b Akregator::FeedIconManager::slotIconChanged(bool, QString const&, QString const&) + 309 (feediconmanager.cpp:164)
1   akregatorpart.so              	0x19e0c09c Akregator::FeedIconManager::Private::loadIcon(QString const&) + 1330 (feediconmanager.cpp:114)
2   akregatorpart.so              	0x19e0c1da Akregator::FeedIconManager::qt_metacall(QMetaObject::Call, int, void**) + 168 (feediconmanager.moc:76)
3   QtCore                        	0x0034eadb QMetaCallEvent::placeMetaCall(QObject*) + 43
4   QtCore                        	0x00351cad QObject::event(QEvent*) + 541
5   QtGui                         	0x03607a4f QApplicationPrivate::notify_helper(QObject*, QEvent*) + 191
6   QtGui                         	0x0360973c QApplication::notify(QObject*, QEvent*) + 220
7   libkdeui.5.dylib              	0x009bdc3d KApplication::notify(QObject*, QEvent*) + 475 (kapplication.cpp:311)
8   QtCore                        	0x0033fb61 QCoreApplication::notifyInternal(QObject*, QEvent*) + 145
9   QtCore                        	0x00342f21 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 705
10  QtGui                         	0x036696fb QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 107
11  QtCore                        	0x0033f121 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
12  QtCore                        	0x0033f1ed QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 157
13  QtGui                         	0x03a94392 QDialog::exec() + 226
14  akregatorpart.so              	0x19e2a31d Akregator::CreateFeedCommand::Private::doCreate() + 769 (createfeedcommand.cpp:103)
15  akregatorpart.so              	0x19e2a4b0 Akregator::CreateFeedCommand::qt_metacall(QMetaObject::Call, int, void**) + 84 (createfeedcommand.moc:67)
16  QtCore                        	0x00351280 QMetaObject::activate(QObject*, int, int, void**) + 528
17  QtCore                        	0x0035abe2 QSingleShotTimer::timeout() + 50
18  QtCore                        	0x0035ac7c QSingleShotTimer::timerEvent(QTimerEvent*) + 44
19  QtCore                        	0x00351c38 QObject::event(QEvent*) + 424
20  QtGui                         	0x03607a4f QApplicationPrivate::notify_helper(QObject*, QEvent*) + 191
21  QtGui                         	0x0360973c QApplication::notify(QObject*, QEvent*) + 220
22  libkdeui.5.dylib              	0x009bdc3d KApplication::notify(QObject*, QEvent*) + 475 (kapplication.cpp:311)
23  QtCore                        	0x0033fb61 QCoreApplication::notifyInternal(QObject*, QEvent*) + 145
24  QtGui                         	0x03668b9c QEventDispatcherMacPrivate::activateTimers() + 236
25  QtGui                         	0x03669703 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 115
26  QtCore                        	0x0033f121 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
27  QtCore                        	0x0033f1ed QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 157
28  QtCore                        	0x00343191 QCoreApplication::exec() + 161
29                                	0x0001332a main + 444 (main.cpp:115)
30                                	0x00012c76 start + 54

Thread 1:
0   libSystem.B.dylib             	0x93c781de select$DARWIN_EXTSN$NOCANCEL + 10
1   QtCore                        	0x00322b8b QProcessManager::run() + 123
2   QtCore                        	0x00253cbb QThreadPrivate::start(void*) + 203
3   libSystem.B.dylib             	0x93c716f5 _pthread_start + 321
4   libSystem.B.dylib             	0x93c715b2 thread_start + 34

Thread 2:
0   libSystem.B.dylib             	0x93c905e2 select$DARWIN_EXTSN + 10
1   libSystem.B.dylib             	0x93c716f5 _pthread_start + 321
2   libSystem.B.dylib             	0x93c715b2 thread_start + 34

Comment 11 Frank Osterfeld 2008-10-28 23:48:55 UTC
SVN commit 877237 by osterfeld:

fix unregistering faviconlisteners by using the same string (url.host()) in both hashes.
Prevents dangling FaviconListener pointers in the urlDict hash.
BUG:164192


 M  +4 -4      feediconmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=877237
Comment 12 Frank Osterfeld 2008-10-30 09:56:42 UTC
*** Bug 173883 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-01-19 23:28:20 UTC
*** Bug 174791 has been marked as a duplicate of this bug. ***