Bug 449158

Summary: Akregator crashes while removing feeds folder.
Product: [Applications] akregator Reporter: Tony <jodr666>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.19.2
Sentry Crash Report:

Description Tony 2022-01-25 15:39:17 UTC
Application: akregator (5.19.40 alpha (22.03.40))

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.2-xanmod1-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Delete a feed folder, for example the default KDE feeds folder, it will crash soon after.

The crash can be reproduced every time.

-- Backtrace:
Application: Akregator (akregator), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f5b5796cfc7 in QString::QString (other=..., this=<optimized out>, this=<optimized out>, other=...) at /usr/include/qt5/QtCore/qstring.h:1093
#5  Akregator::Feed::xmlUrl (this=0x55ad159e85e0) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/feed/feed.cpp:463
#6  0x00007f5b579556c2 in Akregator::ArticleGrantleeObject::actionToken (this=0x55ad15ae0d60) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/formatter/articlegrantleeobject.cpp:100
#7  Akregator::ArticleGrantleeObject::qt_static_metacall (_o=0x55ad15ae0d60, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/build/src/akregatorprivate_autogen/CBONX6BG6C/moc_articlegrantleeobject.cpp:121
#8  0x00007f5b579564c9 in Akregator::ArticleGrantleeObject::qt_static_metacall (_a=0x7ffeabbcce50, _id=10, _c=QMetaObject::ReadProperty, _o=0x55ad15ae0d60) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/build/src/akregatorprivate_autogen/CBONX6BG6C/moc_articlegrantleeobject.cpp:181
#9  Akregator::ArticleGrantleeObject::qt_metacall (this=0x55ad15ae0d60, _c=QMetaObject::ReadProperty, _id=10, _a=0x7ffeabbcce50) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/build/src/akregatorprivate_autogen/CBONX6BG6C/moc_articlegrantleeobject.cpp:166
#10 0x00007f5b56254f9a in QMetaProperty::read (this=this@entry=0x7ffeabbcd020, object=object@entry=0x55ad15ae0d60) at kernel/qmetaobject.cpp:3169
#11 0x00007f5b4bb99f36 in doQobjectLookUp (property=..., object=0x55ad15ae0d60) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/metatype.cpp:86
#12 Grantlee::MetaType::lookup (object=..., property=...) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/metatype.cpp:113
#13 0x00007f5b4bba7cab in Grantlee::Variable::resolve (this=<optimized out>, c=<optimized out>) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/variable.cpp:211
#14 0x00007f5b4bb98a9f in Grantlee::FilterExpression::resolve (this=<optimized out>, stream=0x7ffeabbcd330, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/filterexpression.cpp:213
#15 0x00007f5b4bb99310 in Grantlee::FilterExpression::resolve (this=0x55ad1766cf78, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/filterexpression.cpp:260
#16 0x00007f5b4bb99693 in Grantlee::VariableNode::render (this=0x55ad1766cf60, stream=0x7ffeabbcd900, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/nodebuiltins.cpp:37
#17 0x00007f5b4bb959c0 in Grantlee::NodeList::render (this=this@entry=0x55ad166c3928, stream=stream@entry=0x7ffeabbcd900, c=c@entry=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/node.cpp:180
#18 0x00007f5ad40f6cae in IfNode::render (this=<optimized out>, stream=0x7ffeabbcd900, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/defaulttags/if.cpp:99
#19 0x00007f5ad40f1556 in ForNode::renderLoop (c=<optimized out>, stream=<optimized out>, this=<optimized out>) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/defaulttags/for.cpp:122
#20 ForNode::render (this=0x55ad167049f0, stream=<optimized out>, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/defaulttags/for.cpp:214
#21 0x00007f5b4bb959c0 in Grantlee::NodeList::render (this=this@entry=0x55ad1668f578, stream=stream@entry=0x7ffeabbcd900, c=c@entry=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/node.cpp:180
#22 0x00007f5ad40f6cae in IfNode::render (this=<optimized out>, stream=0x7ffeabbcd900, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/defaulttags/if.cpp:99
#23 0x00007f5b4bb959c0 in Grantlee::NodeList::render (this=0x55ad165fd7e8, stream=0x7ffeabbcd900, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/node.cpp:180
#24 0x00007f5b4bba334f in Grantlee::TemplateImpl::render (this=<optimized out>, stream=0x7ffeabbcd900, c=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/template.cpp:92
#25 0x00007f5b4bba5a7f in Grantlee::TemplateImpl::render (this=0x55ad15b7cb20, c=c@entry=0x7ffeabbcd968) at /usr/src/debug/grantlee5-5.2.0-ku.8.3.x86_64/templates/lib/template.cpp:79
#26 0x00007f5b5545cf12 in GrantleeTheme::GenericFormatter::render (this=this@entry=0x55ad1648e000, mapping=...) at /usr/src/debug/grantleetheme-22.03.70git.20220124T134800~11b8caf-ku.9.1.x86_64/src/genericformatter.cpp:78
#27 0x00007f5b5796128f in Akregator::GrantleeViewFormatter::formatArticles (this=<optimized out>, article=..., icon=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/formatter/grantleeviewformatter.cpp:149
#28 0x00007f5b57961642 in Akregator::DefaultCombinedViewFormatter::formatArticles (this=<optimized out>, articles=..., icon=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/formatter/defaultcombinedviewformatter.cpp:38
#29 0x00007f5b57967449 in Akregator::ArticleViewerWidget::slotUpdateCombinedView (this=0x55ad158a7660) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/articleviewerwidget.cpp:242
#30 0x00007f5b5627e4f3 in QtPrivate::QSlotObjectBase::call (a=0x7ffeabbcdc90, r=0x55ad158a7660, this=0x7f5b3c003200) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#31 doActivate<false> (sender=0x55ad15879360, signal_index=4, argv=0x7ffeabbcdc90) at kernel/qobject.cpp:3886
#32 0x00007f5b562779bf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5b579a8880 <Akregator::TreeNode::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffeabbcdc90) at kernel/qobject.cpp:3946
#33 0x00007f5b5794e5c2 in Akregator::TreeNode::signalChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/build/src/akregatorprivate_autogen/EWIEGA46WW/moc_treenode.cpp:245
#34 0x00007f5b5798134f in Akregator::TreeNode::nodeModified (this=0x55ad15879360) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/treenode.cpp:167
#35 Akregator::Folder::removeChild (this=0x55ad15879360, node=<optimized out>, node@entry=0x55ad15b42e40) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/folder.cpp:245
#36 0x00007f5b579814c6 in Akregator::TreeNode::emitSignalDestroyed (this=0x55ad15b42e40) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/treenode.cpp:30
#37 Akregator::TreeNode::emitSignalDestroyed (this=0x55ad15b42e40) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/treenode.cpp:26
#38 0x00007f5b5796e836 in Akregator::Feed::~Feed (this=<optimized out>, this=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/feed/feed.cpp:347
#39 0x00007f5b5796ec79 in Akregator::Feed::~Feed (this=<optimized out>, this=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/feed/feed.cpp:348
#40 0x00007f5b5798159e in Akregator::Folder::~Folder (this=<optimized out>, this=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/folder.cpp:64
#41 0x00007f5b579815a9 in Akregator::Folder::~Folder (this=<optimized out>, this=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/folder.cpp:67
#42 0x00007f5b5797f1b2 in Akregator::DeleteSubscriptionJob::doDelete (this=0x55ad17f3e790) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/subscription/subscriptionlistjobs.cpp:140
#43 0x00007f5b56282442 in QtPrivate::QSlotObjectBase::call (a=0x7ffeabbcdda0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#44 QSingleShotTimer::timerEvent (this=0x55ad15b075f0) at kernel/qtimer.cpp:320
#45 0x00007f5b562743bf in QObject::event (this=0x55ad15b075f0, e=0x7ffeabbcdf10) at kernel/qobject.cpp:1336
#46 0x00007f5b56df6a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55ad15b075f0, e=0x7ffeabbcdf10) at kernel/qapplication.cpp:3632
#47 0x00007f5b56247e2a in QCoreApplication::notifyInternal2 (receiver=0x55ad15b075f0, event=0x7ffeabbcdf10) at kernel/qcoreapplication.cpp:1064
#48 0x00007f5b5629e70b in QTimerInfoList::activateTimers (this=0x55ad15374cc0) at kernel/qtimerinfo_unix.cpp:643
#49 0x00007f5b5629efa4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#50 0x00007f5b54093d9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#51 0x00007f5b54094128 in ?? () from /lib64/libglib-2.0.so.0
#52 0x00007f5b540941df in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#53 0x00007f5b5629f364 in QEventDispatcherGlib::processEvents (this=0x55ad15375f50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#54 0x00007f5b5624682b in QEventLoop::exec (this=this@entry=0x7ffeabbce150, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#55 0x00007f5b5624eb00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#56 0x000055ad15223f0f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akregator-22.03.70git.20220124T192922~c08296af-ku.28.1.x86_64/src/main.cpp:115
[Inferior 1 (process 7424) detached]

Possible duplicates by query: bug 445364, bug 432597, bug 429973, bug 428714, bug 425842.

Reported using DrKonqi
Comment 1 Tony 2022-01-25 15:48:50 UTC

*** This bug has been marked as a duplicate of bug 428714 ***
Comment 2 Laurent Montel 2022-01-25 19:06:36 UTC
Git commit 39a844af59f2ca63f0750272dc72b4eaf95f664f by Laurent Montel.
Committed on 25/01/2022 at 19:05.
Pushed by mlaurent into branch 'release/21.12'.

BUG 449158 Akregator crashes while removing feeds folder.

FIXED-IN: 5.19.2

M  +3    -1    src/formatter/articlegrantleeobject.cpp

https://invent.kde.org/pim/akregator/commit/39a844af59f2ca63f0750272dc72b4eaf95f664f