[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#836011: akregator: Akregator keep crashing at exit, sometimes do not save recent feeds



Hola Maximiliano!

On Thu, Sep 1, 2016 at 6:20 AM, Maximiliano Curia <maxy@debian.org> wrote:
>
> ¡Hola Ismael!
>
> El 2016-08-30 a las 01:13 -0300, Ismael escribió:
>>
>> Package: akregator Version: 4:16.04.3-1 Severity: grave Justification: causes non-serious data loss
>
>
>>   * What led up to the situation?
>
>
>> Since a recent upgrade (less than a month ago). After reading a feed when closing Akregator it will crash without saving feeds state. The next time it will load like it didn't fetch any feed.
>
>
>>   * What exactly did you do (or not do) that was effective (or     ineffective)?
>
>
>> If I remaing in the welcome page I can synchronize without problems, and Akregator will close correctly.
>
>
>> But If I read a post from a feed or load the list of post in a folder. It will crash when closing Akregator.
>
>
>>   * What was the outcome of this action?
>
>
>> Run under gdb generates the following stack trace
>
>
>> #0  0x00007fffd4079f48 in Akregator::SubscriptionListModel::index(int, int, QModelIndex const&) const ()   from /usr/lib/x86_64-linux-gnu/qt5/plugins/akregatorpart.so #1  0x00007ffff5dac951 in QTreeView::isRowHidden(int, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
>
>
> Thanks for the report. I can't reproduce the issue here, and sadly the gdb output sent doesn't have enough debugging information. Could you please install akregator-dbgsym, and qtbase5-dbg and run it under gdb again?
>
> The -dbgsym packages are in separated repositories, so you'll probably need to add:
> deb http://debug.mirrors.debian.org/debian-debug unstable-debug main
> to your sources.list. (For more information [1])
>
> Also, kde applications are heavily threaded so you'll need to ask gdb to produce a backtrace for each thread, this can be achieved with:
> (gdb) thread apply all backtrace
> (For more information [2])
>
> Happy hacking,
> [1]: https://wiki.debian.org/AutomaticDebugPackages
> [2]: https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
> --
> "EIEIO  Go home and have a glass of warm, dairy-fresh milk"
> -- The GNU C Library Reference Manual, Chapter 2.2, Error Codes
> Saludos /\/\ /\ >< `/

Here is a backtrace with requested info in an attachment.

Like Alexandre said it only happen when you read an article. In my case is not 100% but only one or two times it didn't crash.

Also tried with a fresh account with only planet.debian.org and it still crashed in the same place.

If you need more info just let me know.

Regards

Ismael

Thread 9 (Thread 0x7fff8533f700 (LWP 19274)):
#0  0x00007fffeb92b07f in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff239a933 in JSC::GCThread::gcThreadMain() (this=0xb6a2f0)
    at heap/GCThread.cpp:81
#2  0x00007ffff26c2941 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7fffce2a53e0) at wtf/ThreadingPthreads.cpp:195
#3  0x00007fffeb925444 in start_thread (arg=0x7fff8533f700)
    at pthread_create.c:333
#4  0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fff85b40700 (LWP 19273)):
#0  0x00007fffeb92b07f in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff239a933 in JSC::GCThread::gcThreadMain() (this=0xb3cc50)
    at heap/GCThread.cpp:81
#2  0x00007ffff26c2941 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7fffce2a5080) at wtf/ThreadingPthreads.cpp:195
#3  0x00007fffeb925444 in start_thread (arg=0x7fff85b40700)
    at pthread_create.c:333
#4  0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fff86341700 (LWP 19272)):
#0  0x00007fffeb92b07f in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff239a933 in JSC::GCThread::gcThreadMain() (this=0xb3c750)
    at heap/GCThread.cpp:81
#2  0x00007ffff26c2941 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7fffce2a5140) at wtf/ThreadingPthreads.cpp:195
#3  0x00007fffeb925444 in start_thread (arg=0x7fff86341700)
    at pthread_create.c:333
#4  0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fff86b42700 (LWP 19271)):
#0  0x00007fffeb92b07f in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff2399811 in JSC::BlockAllocator::blockFreeingThreadMain() (this=0x7fffce303058) at heap/BlockAllocator.cpp:139
#2  0x00007ffff26c2941 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7fffce2a51b0) at wtf/ThreadingPthreads.cpp:195
#3  0x00007fffeb925444 in start_thread (arg=0x7fff86b42700)
    at pthread_create.c:333
#4  0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffcde79700 (LWP 19270)):
#0  0x00007ffff449609d in poll ()
    at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffeb1001f6 in g_main_context_iterate (priority=<optimized out>, n_fds=1, fds=0x7fff80002e70, timeout=<optimized out>, context=0x7fff80000990) at ././glib/gmain.c:4135
#2  0x00007fffeb1001f6 in g_main_context_iterate (context=context@entry=0x7fff80000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3835
#3  0x00007fffeb10030c in g_main_context_iteration (context=0x7fff80000990, may_block=may_block@entry=1) at ././glib/gmain.c:3901
#4  0x00007ffff4fcb4ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fff800008c0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007ffff4f7319a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffcde78c80, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:204
#6  0x00007ffff4d98e53 in QThread::exec() (this=<optimized out>)
    at thread/qthread.cpp:500
#7  0x00007ffff4d9dd78 in QThreadPrivate::start(void*) (arg=0x7d8cd0)
    at thread/qthread_unix.cpp:341
#8  0x00007fffeb925444 in start_thread (arg=0x7fffcde79700)
    at pthread_create.c:333
#9  0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffceba0700 (LWP 19269)):
#0  0x00007fffeb92b07f in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff2691c2b in WTF::TCMalloc_PageHeap::scavengerThread() (this=0x7ffff2f2ebbc <WTF::pageheap_memory+57564>) at wtf/FastMalloc.cpp:2825
#2  0x00007ffff2691c69 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=0x7ffff2f2ebbc <WTF::pageheap_memory+57564>)
    at wtf/FastMalloc.cpp:1993
#3  0x00007fffeb925444 in start_thread (arg=0x7fffceba0700)
    at pthread_create.c:333
#4  0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffcffff700 (LWP 19268)):
#0  0x00007ffff449609d in poll ()
    at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffeb1001f6 in g_main_context_iterate (priority=<optimized out>, n_fds=5, fds=0x7fffc8014de0, timeout=<optimized out>, context=0x7fffc8000990) at ././glib/gmain.c:4135
#2  0x00007fffeb1001f6 in g_main_context_iterate (context=context@entry=0x7fffc8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3835
#3  0x00007fffeb10030c in g_main_context_iteration (context=0x7fffc8000990, may_block=may_block@entry=1) at ././glib/gmain.c:3901
#4  0x00007ffff4fcb51b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffc80008c0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007ffff4f7319a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffcfffec50, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:204
#6  0x00007ffff4d98e53 in QThread::exec() (this=this@entry=0x7ffff7fb9d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at thread/qthread.cpp:500
#7  0x00007ffff7f45525 in QDBusConnectionManager::run() (this=0x7ffff7fb9d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at qdbusconnection.cpp:189
#8  0x00007ffff4d9dd78 in QThreadPrivate::start(void*) (arg=0x7ffff7fb9d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at thread/qthread_unix.cpp:341
#9  0x00007fffeb925444 in start_thread (arg=0x7fffcffff700)
    at pthread_create.c:333
#10 0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffd5a24700 (LWP 19267)):
#0  0x00007ffff449609d in poll ()
    at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffe8f31340 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffe8f32f39 in xcb_wait_for_event ()
    at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffd6f1ea79 in QXcbEventReader::run() (this=0x663b90)
    at qxcbconnection.cpp:1325
#4  0x00007ffff4d9dd78 in QThreadPrivate::start(void*) (arg=0x663b90)
    at thread/qthread_unix.cpp:341
#5  0x00007fffeb925444 in start_thread (arg=0x7fffd5a24700)
    at pthread_create.c:333
#6  0x00007ffff449f20d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fffd71b3940 (LWP 19266)):
#0  0x00007fffd4056f48 in Akregator::SubscriptionListModel::index(int, int, QModelIndex const&) const (this=0x22ac0f0, row=0, column=0, parent=...)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/subscription/subscriptionlistmodel.cpp:248
#1  0x00007ffff5da8951 in QTreeView::isRowHidden(int, QModelIndex const&) const (this=this@entry=0x80fe70, row=<optimized out>, parent=...)
    at itemviews/qtreeview.cpp:597
#2  0x00007ffff5da89d7 in QTreeView::isIndexHidden(QModelIndex const&) const (this=0x80fe70, index=...) at itemviews/qtreeview.cpp:3044
#3  0x00007ffff5da431c in QTreeView::visualRegionForSelection(QItemSelection const&) const (this=0x80fe70, selection=...)
    at itemviews/qtreeview.cpp:2406
#4  0x00007ffff5d67168 in QAbstractItemView::selectionChanged(QItemSelection const&, QItemSelection const&) (this=this@entry=0x80fe70, selected=..., deselected=...) at itemviews/qabstractitemview.cpp:3551
#5  0x00007ffff5db38da in QTreeView::selectionChanged(QItemSelection const&, QItemSelection const&) (this=0x80fe70, selected=..., deselected=...)
    at itemviews/qtreeview.cpp:3982
#6  0x00007ffff5d6c750 in QAbstractItemView::setSelectionModel(QItemSelectionModel*) (this=this@entry=0x80fe70, selectionModel=selectionModel@entry=0xbbad00) at itemviews/qabstractitemview.cpp:789
#7  0x00007ffff5db1977 in QTreeView::setSelectionModel(QItemSelectionModel*) (this=0x80fe70, selectionModel=0xbbad00)
    at itemviews/qtreeview.cpp:278
#8  0x00007ffff5d66f45 in QAbstractItemView::setModel(QAbstractItemModel*) (this=this@entry=0x80fe70, model=model@entry=0x22ac0f0)
    at itemviews/qabstractitemview.cpp:727
#9  0x00007ffff5db1724 in QTreeView::setModel(QAbstractItemModel*) (this=this@entry=0x80fe70, model=model@entry=0x22ac0f0)
    at itemviews/qtreeview.cpp:236
#10 0x00007fffd405543d in Akregator::SubscriptionListView::setModel(QAbstractItemModel*) (this=0x80fe70, m=0x22ac0f0)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/subscription/subscriptionlistview.cpp:163
#11 0x00007fffd406e8bc in Akregator::SelectionController::setFeedList(QSharedPointer<Akregator::FeedList> const&) (this=0x7c1170, list=...)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/selectioncontroller.cpp:189
#12 0x00007fffd4099665 in Akregator::MainWidget::setFeedList(QSharedPointer<Akregator::FeedList> const&) (this=this@entry=0x838920, list=...)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/mainwidget.cpp:500
#13 0x00007fffd40997ed in Akregator::MainWidget::slotOnShutdown() (this=0x838920)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/mainwidget.cpp:339
#14 0x00007fffd408f136 in Akregator::Part::slotOnShutdown() (this=this@entry=0x79c270)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/akregator_part.cpp:408
#15 0x00007fffd408f908 in Akregator::Part::~Part() (this=this@entry=0x79c270, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/akregator_part.cpp:481
#16 0x00007fffd408f969 in Akregator::Part::~Part() (this=0x79c270, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/akregator_part.cpp:484
#17 0x00007ffff4fa2c7c in QMetaObject::activate(QObject*, int, int, void**) (a=0x7fffffffe070, r=0x6a1740, this=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#18 0x00007ffff4fa2c7c in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7fffffffe310, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0)
    at kernel/qobject.cpp:3715
#19 0x00007ffff4fa3187 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7ffff51c14c0 <QCoreApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3595
#20 0x00007ffff501ed60 in QCoreApplication::aboutToQuit(QCoreApplication::QPrivateSignal) (this=<optimized out>)
    at .moc/moc_qcoreapplication.cpp:247
#21 0x00007ffff4f7ba13 in QCoreApplication::exec() ()
    at kernel/qcoreapplication.cpp:1290
#22 0x00007ffff5510b6c in QGuiApplication::exec() ()
    at kernel/qguiapplication.cpp:1607
#23 0x00007ffff5affc25 in QApplication::exec() ()
    at kernel/qapplication.cpp:2979
#24 0x0000000000408828 in main(int, char**) (argc=1, argv=0x7fffffffe478) at /build/kdepim-9MD_FP/kdepim-16.04.3/akregator/src/main.cpp:119

Reply to: