Bug 367660

Summary: Crash trying to rip audio CD
Product: [Applications] k3b Reporter: rjwgnr27
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: crash CC: michalm, trueg, zhaixiang
Priority: NOR Keywords: drkonqi
Version: 2.0.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rjwgnr27 2016-08-22 00:39:21 UTC
Application: k3b (2.0.3)
KDE Platform Version: 4.14.20
Qt Version: 4.8.7
Operating System: Linux 4.5.7-202.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
Inserted an audio CD to rip. Crashed whil trying to get table of contents.

The CD was a bit scratched, so it may be related to a failure in reading the disk

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 0x7f4fea742940 (LWP 21119))]

Thread 3 (Thread 0x7f4fc0cdd700 (LWP 21120)):
#0  0x00007f4fe119fb1d in poll () at /lib64/libc.so.6
#1  0x00007f4fdd4fa18c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f4fdd4fa29c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f4fe30aed9e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x00007f4fe307d071 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00007f4fe307d3e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007f4fe2f6caa9 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x00007f4fe305d153 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#8  0x00007f4fe2f6f39c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#9  0x00007f4fe2ccc61a in start_thread () at /lib64/libpthread.so.0
#10 0x00007f4fe11ab59d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f4fb8bd2700 (LWP 21248)):
[KCrash Handler]
#6  0x00007f4fe6228b27 in K3b::Msf::operator=(K3b::Msf const&) () at /lib64/libk3bdevice.so.6
#7  0x00007f4fe621a0db in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#8  0x00007f4fe6219cc1 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#9  0x00007f4fe6219cc1 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#10 0x00007f4fe6219cd2 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#11 0x00007f4fe6219cc1 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#12 0x00007f4fe6219cc1 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#13 0x00007f4fe6219cc1 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#14 0x00007f4fe6219cc1 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#15 0x00007f4fe6219cc1 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#16 0x00007f4fe6219cd2 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#17 0x00007f4fe6219cd2 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#18 0x00007f4fe6219cd2 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#19 0x00007f4fe6219cd2 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#20 0x00007f4fe6219cd2 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#21 0x00007f4fe6219cd2 in K3b::Device::Device::searchIndexTransitions(long, long, K3b::Device::Track&) const () at /lib64/libk3bdevice.so.6
#22 0x00007f4fe621aa96 in K3b::Device::Device::indexScan(K3b::Device::Toc&) const () at /lib64/libk3bdevice.so.6
#23 0x00005570f01bfaa9 in K3b::AudioRipJob::run() ()
#24 0x00007f4fea2f0819 in K3b::Thread::run() () at /lib64/libk3blib.so.6
#25 0x00007f4fe2f6f39c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#26 0x00007f4fe2ccc61a in start_thread () at /lib64/libpthread.so.0
#27 0x00007f4fe11ab59d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f4fea742940 (LWP 21119)):
#0  0x00007f4fe2cd4b5d in read () at /lib64/libpthread.so.0
#1  0x00007f4fdd53d3f0 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f4fdd4f9c84 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f4fdd4fa130 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f4fdd4fa29c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f4fe30aed7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007f4fe1fb0416 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#7  0x00007f4fe307d071 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#8  0x00007f4fe307d3e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#9  0x00007f4fe23e643c in QDialog::exec() () at /lib64/libQtGui.so.4
#10 0x00005570f021060f in K3b::JobProgressDialog::startJob(K3b::Job*) ()
#11 0x00005570f01c4113 in K3b::AudioRippingDialog::slotStartClicked() ()
#12 0x00005570f021c056 in K3b::InteractionDialog::slotStartClickedInternal() ()
#13 0x00005570f021cae5 in K3b::InteractionDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.12] ()
#14 0x00007f4fe3092950 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#15 0x00007f4fe25a8732 in QAbstractButton::clicked(bool) () at /lib64/libQtGui.so.4
#16 0x00007f4fe22dda33 in QAbstractButtonPrivate::emitClicked() () at /lib64/libQtGui.so.4
#17 0x00007f4fe22dee94 in QAbstractButtonPrivate::click() () at /lib64/libQtGui.so.4
#18 0x00007f4fe22defa4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQtGui.so.4
#19 0x00007f4fe1f5e110 in QWidget::event(QEvent*) () at /lib64/libQtGui.so.4
#20 0x00007f4fe1f0793c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#21 0x00007f4fe1f0e956 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#22 0x00007f4fe3d9263a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#23 0x00007f4fe307e7fd in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#24 0x00007f4fe1f0df5d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQtGui.so.4
#25 0x00007f4fe1f88832 in QETWidget::translateMouseEvent(_XEvent const*) () at /lib64/libQtGui.so.4
#26 0x00007f4fe1f871fd in QApplication::x11ProcessEvent(_XEvent*) () at /lib64/libQtGui.so.4
#27 0x00007f4fe1fb0279 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtGui.so.4
#28 0x00007f4fdd4f9e5a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#29 0x00007f4fdd4fa1f0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#30 0x00007f4fdd4fa29c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#31 0x00007f4fe30aed9e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#32 0x00007f4fe1fb0416 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#33 0x00007f4fe307d071 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#34 0x00007f4fe307d3e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#35 0x00007f4fe23e643c in QDialog::exec() () at /lib64/libQtGui.so.4
#36 0x00005570f021c674 in K3b::InteractionDialog::exec() ()
#37 0x00005570f01c967e in K3b::AudioCdView::startRip() ()
#38 0x00007f4fe3092950 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#39 0x00007f4fe1f019d2 in QAction::triggered(bool) () at /lib64/libQtGui.so.4
#40 0x00007f4fe1f02d33 in QAction::activate(QAction::ActionEvent) () at /lib64/libQtGui.so.4
#41 0x00007f4fe22dee53 in QAbstractButtonPrivate::click() () at /lib64/libQtGui.so.4
#42 0x00007f4fe22defa4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQtGui.so.4
#43 0x00007f4fe23a4fea in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQtGui.so.4
#44 0x00007f4fe1f5e110 in QWidget::event(QEvent*) () at /lib64/libQtGui.so.4
#45 0x00007f4fe1f0793c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#46 0x00007f4fe1f0e956 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#47 0x00007f4fe3d9263a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#48 0x00007f4fe307e7fd in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#49 0x00007f4fe1f0df5d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQtGui.so.4
#50 0x00007f4fe1f88832 in QETWidget::translateMouseEvent(_XEvent const*) () at /lib64/libQtGui.so.4
#51 0x00007f4fe1f871fd in QApplication::x11ProcessEvent(_XEvent*) () at /lib64/libQtGui.so.4
#52 0x00007f4fe1fb0279 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtGui.so.4
#53 0x00007f4fdd4f9e5a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#54 0x00007f4fdd4fa1f0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#55 0x00007f4fdd4fa29c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#56 0x00007f4fe30aed9e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#57 0x00007f4fe1fb0416 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#58 0x00007f4fe307d071 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#59 0x00007f4fe307d3e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#60 0x00007f4fe3082f79 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#61 0x00005570f012cacf in main ()

Possible duplicates by query: bug 275082.

Reported using DrKonqi
Comment 1 Leslie Zhai 2016-08-26 04:18:45 UTC
Hi rjwgnr27,

Please try master branch, only maintaining for KF5!

Regards,
Leslie Zhai
Comment 2 Leslie Zhai 2016-09-13 09:29:54 UTC
Git commit 734db5e8f61a620ce7273a17e5b5e13324a1f548 by Leslie Zhai.
Committed on 13/09/2016 at 09:27.
Pushed by lesliezhai into branch 'master'.

Check QList array boundary.

M  +2    -1    libk3bdevice/k3bdevice.cpp

http://commits.kde.org/k3b/734db5e8f61a620ce7273a17e5b5e13324a1f548
Comment 3 Andrew Crouthamel 2018-11-01 13:51:08 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 4 Bug Janitor Service 2018-11-16 11:43:47 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 5 Bug Janitor Service 2018-12-02 03:49:38 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!