Bug 423183 - Discover crash during standard usage, scrolling list of items
Summary: Discover crash during standard usage, scrolling list of items
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.19.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
: 426415 429000 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-18 19:35 UTC by soee
Modified: 2021-04-29 18:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.82


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soee 2020-06-18 19:35:35 UTC
During typical usage, discover crashed with stack:

Application: Odkrywca (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const> (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1133
#6  QNetworkReply::d_func (this=this@entry=0x0) at access/qnetworkreply.h:192
#7  QNetworkReply::attribute (this=this@entry=0x0, code=code@entry=QNetworkRequest::RedirectionTargetAttribute) at access/qnetworkreply.cpp:687
#8  0x00007f33d49618e4 in Icon::handleFinished (this=0x55aeb8220f20, reply=0x0) at ./src/icon.cpp:342
#9  0x00007f33f09706d7 in QtPrivate::QSlotObjectBase::call (a=0x7ffd2cabfac0, r=0x55aeb8220f20, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x55aeb8815470, signal_index=10, argv=0x7ffd2cabfac0) at kernel/qobject.cpp:3870
#11 0x00007f33f096af92 in QMetaObject::activate (sender=sender@entry=0x55aeb8815470, m=m@entry=0x7f33eeb88980 <QNetworkReply::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#12 0x00007f33ee92b7a3 in QNetworkReply::finished (this=this@entry=0x55aeb8815470) at .moc/moc_qnetworkreply.cpp:385
#13 0x00007f33ee88ebd7 in QNetworkReplyHttpImplPrivate::finished (this=0x55aeb8b89270) at access/qnetworkreplyhttpimpl.cpp:2214
#14 0x00007f33ee88eeb5 in QNetworkReplyHttpImplPrivate::replyFinished (this=<optimized out>) at access/qnetworkreplyhttpimpl.cpp:1107
#15 0x00007f33ee930cf9 in QNetworkReplyHttpImpl::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qnetworkreplyhttpimpl_p.cpp:261
#16 0x00007f33f096857b in QObject::event (this=0x55aeb8815470, e=0x7f33914a91e0) at kernel/qobject.cpp:1339
#17 0x00007f33f21179ac in QApplicationPrivate::notify_helper (this=this@entry=0x55aeb51cdd90, receiver=receiver@entry=0x55aeb8815470, e=e@entry=0x7f33914a91e0) at kernel/qapplication.cpp:3685
#18 0x00007f33f211ebb0 in QApplication::notify (this=0x7ffd2cac0280, receiver=0x55aeb8815470, e=0x7f33914a91e0) at kernel/qapplication.cpp:3431
#19 0x00007f33f09354a8 in QCoreApplication::notifyInternal2 (receiver=0x55aeb8815470, event=0x7f33914a91e0) at kernel/qcoreapplication.cpp:1075
#20 0x00007f33f093567e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55aeb8815470, event=event@entry=0x7f33914a91e0) at kernel/qcoreapplication.cpp:1470
#21 0x00007f33f0938121 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55aeb51c9240) at kernel/qcoreapplication.cpp:1815
#22 0x00007f33f09386b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1674
#23 0x00007f33f0995103 in postEventSourceDispatch (s=0x55aeb5223900) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f33ea15d417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f33ea15d650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f33ea15d6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f33f09947ac in QEventDispatcherGlib::processEvents (this=0x55aeb5227870, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f33f0933d2a in QEventLoop::exec (this=this@entry=0x7ffd2cac01b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#29 0x00007f33f093d4a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#30 0x000055aeb4700592 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:184
Comment 1 Nate Graham 2021-04-07 20:01:39 UTC
*** Bug 426415 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2021-04-07 20:13:11 UTC
*** Bug 429000 has been marked as a duplicate of this bug. ***
Comment 3 Bug Janitor Service 2021-04-12 14:59:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/275
Comment 4 Nate Graham 2021-04-29 18:17:05 UTC
Git commit d5197134f97a88d0e52f473eb85f931200df0d2f by Nate Graham, on behalf of Aleix Pol.
Committed on 29/04/2021 at 18:16.
Pushed by ngraham into branch 'master'.

Icon: make sure we don't call a nullptr reply

M  +6    -4    src/icon.cpp

https://invent.kde.org/frameworks/kirigami/commit/d5197134f97a88d0e52f473eb85f931200df0d2f