https://bugs.kde.org/show_bug.cgi?id=425811

            Bug ID: 425811
           Summary: Crash when clicking update button the moment it
                    becomes enabled
           Product: Discover
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: KNewStuff Backend
          Assignee: lei...@leinir.dk
          Reporter: n...@kde.org
                CC: aleix...@kde.org
  Target Milestone: ---

I've got a 100% reproducible crasher with Discover. If I click the "Update"
button on the updates page *the very moment* it becomes enabled after the page
loads, Discover crashes with the following backtrace:


(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff51bd539 in __GI_abort () at abort.c:79
#2  0x00007ffff5217827 in __libc_message
    (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff5326e29 "%s\n")
    at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007ffff521eb2c in malloc_printerr
    (str=str@entry=0x7ffff5329240 "double free or corruption (!prev)")
    at malloc.c:5347
#4  0x00007ffff522017c in _int_free
    (av=0x7fffa0000020, p=0x7fffa0009fa0, have_lock=<optimized out>)
    at malloc.c:4317
#5  0x00007fffe026e1a8 in KPackageTask::run()::{lambda()#1}::operator()() const
(__closure=0x7fffa0009110)
    at
/home/nate/kde/build/knewstuff/src/core/KF5NewStuffCore_autogen/include/kpackagejob.moc:152
#6  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void,
KPackageTask::run()::{lambda()#1}>::call({lambda()#1}&, void**)
    (arg=<optimized out>, f=...)
    at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#7  QtPrivate::Functor<KPackageTask::run()::{lambda()#1},
0>::call<QtPrivate::List<>, void>({lambda()#1}&, void*, {lambda()#1}&*)
    (arg=<optimized out>, f=...)
    at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#8  QtPrivate::QFunctorSlotObject<KPackageTask::run()::{lambda()#1}, 0,
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*)
    (which=<optimized out>, this_=0x7fffa0009100, r=<optimized out>,
a=<optimized out>, ret=<optimized out>) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#9  0x00007ffff597fb41 in QObject::event(QEvent*)
    (this=0x53e7750, e=0x7fffa0008530) at kernel/qobject.cpp:1314
#10 0x00007ffff6b330cf in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x53e7750, e=0x7fffa0008530)
    at kernel/qapplication.cpp:3671
#11 0x00007ffff5953c1a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    (receiver=0x53e7750, event=0x7fffa0008530)
    at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#12 0x00007ffff5956641 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x477280)
    at kernel/qcoreapplication.cpp:1815
#13 0x00007ffff59ab9d3 in postEventSourceDispatch(GSource*, GSourceFunc,
gpoint--Type <RET> for more, q to quit, c to continue without paging--
er) (s=s@entry=0x579e10) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007ffff3fb82b7 in g_main_dispatch (context=0x7fffec005000)
    at ../glib/gmain.c:3309
#15 g_main_context_dispatch (context=0x7fffec005000) at ../glib/gmain.c:3974
#16 0x00007ffff3fb8638 in g_main_context_iterate
    (context=context@entry=0x7fffec005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4047
#17 0x00007ffff3fb86ef in g_main_context_iteration
    (context=0x7fffec005000, may_block=may_block@entry=1)
    at ../glib/gmain.c:4108
#18 0x00007ffff59ab05f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x56c300, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#19 0x00007ffff59525db in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fffffffcdd0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#20 0x00007ffff595a840 in QCoreApplication::exec() ()
    at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x00007ffff5d87a8c in QGuiApplication::exec() ()
    at kernel/qguiapplication.cpp:1867
#22 0x00007ffff6b33045 in QApplication::exec() ()
    at kernel/qapplication.cpp:2811
#23 0x0000000000415e79 in main(int, char**)
    (argc=<optimized out>, argv=<optimized out>)
    at /home/nate/kde/src/discover/discover/main.cpp:183

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to