Bug 370970

Summary: k3b crsh when replacing preexixting file in continue multi session mode
Product: [Applications] k3b Reporter: sebastian <rikudou__sennin>
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: crash CC: michalm, trueg, zhaixiang
Priority: NOR Keywords: drkonqi
Version: 2.0.80   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sebastian 2016-10-16 20:14:51 UTC
Application: k3b (2.0.80)
KDE Platform Version: 4.14.18
Qt Version: 4.8.6
Operating System: Linux 4.1.31-30-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
1)continue multi session mode
2)replace a preexisting file
3)crash of k3B

The crash can be reproduced every time.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb0515d1900 (LWP 3762))]

Thread 4 (Thread 0x7fb0274dd700 (LWP 3811)):
#0  0x00007fb04a1d53e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb04c39d79a in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fb04c39df26 in QThread::sleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007fb0510f3a45 in K3b::MediaCache::PollThread::run (this=0x1c788a0) at /usr/src/debug/k3b/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fb04c39eb7f in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007fb04a1d10a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb04ad9902d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb027cde700 (LWP 3766)):
#0  0x00007fb04ad92293 in select () from /lib64/libc.so.6
#1  0x00007fb04c47cf6f in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fb04c39eb7f in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fb04a1d10a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb04ad9902d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb0349b4700 (LWP 3763)):
#0  0x00007fb04ad90bfd in poll () from /lib64/libc.so.6
#1  0x00007fb047349e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb047349f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb04c4ccf9e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fb04c49ed0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fb04c49f005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fb04c39c49f in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fb04c480613 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fb04c39eb7f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fb04a1d10a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb04ad9902d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb0515d1900 (LWP 3762)):
[KCrash Handler]
#6  0x00007fb04bb2d716 in QSortFilterProxyModel::parent(QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#7  0x00007fb04baf0676 in QTreeViewPrivate::itemDecorationRect(QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#8  0x00007fb04baf07c4 in QTreeViewPrivate::itemDecorationAt(QPoint const&) const () from /usr/lib64/libQtGui.so.4
#9  0x00007fb04baf09cf in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib64/libQtGui.so.4
#10 0x00007fb04baf43ac in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00007fb04b60c9a0 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007fb04b9a9d5e in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007fb04bab9573 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007fb04baf8060 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007fb04c4a02b6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#16 0x00007fb04b5bd6dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007fb04b5c3c3d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007fb04cf01e9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x00007fb04c4a014d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x00007fb04b6070c1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fb04b60795f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#23 0x00007fb04b60795f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#24 0x00007fb04b60795f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#25 0x00007fb04b60795f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#26 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#27 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#28 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#29 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#30 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#31 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#32 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#33 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#34 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#35 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#36 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#37 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#38 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#39 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#40 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#41 0x00007fb04b607af0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#42 0x00007fb04b606c7c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#43 0x00007fb04b7c5df6 in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007fb04b5fc570 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#45 0x00007fb04b60c51a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007fb04b9c2813 in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#47 0x00007fb04cfed929 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#48 0x00007fb04b5bd6fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#49 0x00007fb04b5c3c3d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#50 0x00007fb04cf01e9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#51 0x00007fb04c4a014d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#52 0x00007fb04c4a341d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#53 0x00007fb04c4cd7be in ?? () from /usr/lib64/libQtCore.so.4
#54 0x00007fb047349c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#55 0x00007fb047349ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#56 0x00007fb047349f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#57 0x00007fb04c4ccf7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#58 0x00007fb04b65a606 in ?? () from /usr/lib64/libQtGui.so.4
#59 0x00007fb04c49ed0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#60 0x00007fb04c49f005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#61 0x00007fb04c4a4459 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#62 0x0000000000449d5f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/k3b/src/main.cpp:146

Reported using DrKonqi
Comment 1 Leslie Zhai 2016-10-25 08:01:00 UTC
Hi sebastian,

I am maintaining K3b for KF5 now http://www.leetcode.cn/2016/08/k3b.html please try master branch https://github.com/KDE/k3b 

> #3  0x00007fb0510f3a45 in K3b::MediaCache::PollThread::run (this=0x1c788a0) at /usr/src/debug/k3b/libk3b/tools/k3bmediacache.cpp:106

kdelibs4/qt4 was NO longer maintained!

Regards,
Leslie Zhai
Comment 2 Andrew Crouthamel 2018-11-01 13:54:11 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-16 11:45:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-12-02 03:51:08 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!