Bug 405046

Summary: Crash while ripping audio from CD
Product: [Applications] k3b Reporter: Jonathan Wakely <zilla>
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED DUPLICATE    
Severity: crash CC: a.samirh78, michalm, trueg
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Wakely 2019-03-03 21:22:18 UTC
Application: k3b (18.04.3)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.20.8-100.fc28.x86_64 x86_64
Distribution: "Fedora release 28 (Twenty Eight)"

-- Information about the crash:
- What I was doing when the application crashed:

Ripping audio from a CDR copy of an audio CD. The output format was variable bitrate MP3.

There were five files created, so either it crashed while ripping the fifth or just before starting the sixth.

I deleted the fifth track and tried ripping again from track 5 onwards, and it worked OK. I also tried ripping the whole album again (to a different directory) and that also worked.

The crash does not seem to be reproducible.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
28	  return SYSCALL_CANCEL (nanosleep, requested_time, remaining);
[Current thread is 1 (Thread 0x7fda81006e40 (LWP 22129))]

Thread 5 (Thread 0x7fda3b1e0700 (LWP 22256)):
#0  0x00007fda71903dc4 in __GI___pthread_rwlock_unlock (rwlock=0x7fda76ec6c60 <tree_lock>) at pthread_rwlock_unlock.c:32
#1  0x00007fda76b3d1b3 in __dcigettext (domainname=0x7fda76c8c5d8 <_libc_intl_domainname> "libc", msgid1=0x7fda76c8ca27 "Bad file descriptor", msgid2=msgid2@entry=0x0, plural=plural@entry=0, n=n@entry=0, category=category@entry=5) at dcigettext.c:572
#2  0x00007fda76b3c00f in __GI___dcgettext (domainname=<optimized out>, msgid=<optimized out>, category=category@entry=5) at dcgettext.c:47
#3  0x00007fda76b93e3c in __GI___strerror_r (errnum=errnum@entry=9, buf=buf@entry=0x0, buflen=buflen@entry=0) at _strerror.c:71
#4  0x00007fda76b93d5f in strerror (errnum=9) at strerror.c:31
#5  0x00007fda394590ef in run_mmc_cmd_linux () at /lib64/libcdio.so.18
#6  0x00007fda39463563 in mmc_read_sectors () at /lib64/libcdio.so.18
#7  0x00007fda3967872c in read_blocks () at /lib64/libcdio_cdda.so.2
#8  0x00007fda39678fcd in cdio_cddap_read_timed () at /lib64/libcdio_cdda.so.2
#9  0x00007fda39246f0b in cdio_paranoia_read_limited () at /lib64/libcdio_paranoia.so.2
#10 0x00007fda80b4c6ad in K3b::CdparanoiaLibData::paranoiaRead(void (*)(long, int), int) () at /lib64/libk3blib.so.7
#11 0x00007fda80b4f506 in K3b::CdparanoiaLib::read(int*, unsigned int*, bool) () at /lib64/libk3blib.so.7
#12 0x000055f269e14865 in K3b::(anonymous namespace)::AudioCdReader::readData(char*, long long) ()
#13 0x00007fda777a29b7 in QIODevicePrivate::read(char*, long long, bool) () at /lib64/libQt5Core.so.5
#14 0x000055f269e2404e in K3b::MassAudioEncodingJob::encodeTrack(int, QString const&, QString const&) ()
#15 0x000055f269e2c370 in K3b::MassAudioEncodingJob::run() ()
#16 0x00007fda80b3d399 in K3b::Thread::run() () at /lib64/libk3blib.so.7
#17 0x00007fda776b408b in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#18 0x00007fda718fe594 in start_thread (arg=<optimized out>) at pthread_create.c:463
#19 0x00007fda76c05f4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fda52a7d700 (LWP 22132)):
#0  0x00007fda776a779a in QMutex::lock() () at /lib64/libQt5Core.so.5
#1  0x00007fda77893c5f in postEventSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#2  0x00007fda6d0d0199 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#3  0x00007fda6d0d0b8b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007fda6d0d0d80 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007fda77893d5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fda778425bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007fda776aac16 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007fda7bd6ab39 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#9  0x00007fda776b408b in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007fda718fe594 in start_thread (arg=<optimized out>) at pthread_create.c:463
#11 0x00007fda76c05f4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fda58ccd700 (LWP 22131)):
#0  0x00007fda76bfb429 in __GI___poll (fds=0x7fda58cccb38, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fda6948804f in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fda69489caa in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fda5ac08f09 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fda776b408b in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fda718fe594 in start_thread (arg=<optimized out>) at pthread_create.c:463
#6  0x00007fda76c05f4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fda627cb700 (LWP 22130)):
#0  0x00007fda719045ec in futex_wait_cancelable (private=0, expected=0, futex_word=0x7fda7b4d4f30) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fda719045ec in __pthread_cond_wait_common (abstime=0x0, mutex=0x55f26a3fcb60, cond=0x7fda7b4d4f08) at pthread_cond_wait.c:502
#2  0x00007fda719045ec in __pthread_cond_wait (cond=0x7fda7b4d4f08, mutex=0x55f26a3fcb60) at pthread_cond_wait.c:655
#3  0x00007fda77318290 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /usr/src/debug/gcc-8.2.1-6.fc28.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/x86_64-redhat-linux/bits/gthr-default.h:864
#4  0x00007fda77318290 in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:53
#5  0x00007fda7a9b73aa in bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() () at /lib64/libQt5WebKit.so.5
#6  0x00007fda7a9b74df in  () at /lib64/libQt5WebKit.so.5
#7  0x00007fda7731e543 in execute_native_thread_routine (__p=0x55f26a3fcb90) at ../../../../../libstdc++-v3/src/c++11/thread.cc:80
#8  0x00007fda718fe594 in start_thread (arg=<optimized out>) at pthread_create.c:463
#9  0x00007fda76c05f4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fda81006e40 (LWP 22129)):
[KCrash Handler]
#6  0x00007fda7d4217aa in KFileItem::~KFileItem() () at /lib64/libKF5KIOCore.so.5
#7  0x00007fda7d4f5d2e in KCoreDirListerCache::reinsert(KFileItem const&, QUrl const&) () at /lib64/libKF5KIOCore.so.5
#8  0x00007fda7d4ed41d in KCoreDirListerCache::processPendingUpdates() () at /lib64/libKF5KIOCore.so.5
#9  0x00007fda7786b973 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#10 0x00007fda7787763b in QTimer::timeout(QTimer::QPrivateSignal) () at /lib64/libQt5Core.so.5
#11 0x00007fda7786c50b in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#12 0x00007fda7b64f565 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007fda7b656c80 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007fda77843676 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007fda77893039 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#16 0x00007fda778938cc in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#17 0x00007fda6d0d091d in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#18 0x00007fda6d0d0ce8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#19 0x00007fda6d0d0d80 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#20 0x00007fda77893d43 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#21 0x00007fda5ac9cb65 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#22 0x00007fda778425bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#23 0x00007fda7b840afd in QDialog::exec() () at /lib64/libQt5Widgets.so.5
#24 0x000055f269d3fcd1 in K3b::JobProgressDialog::startJob(K3b::Job*) ()
#25 0x000055f269e198b4 in K3b::AudioRippingDialog::slotStartClicked() ()
#26 0x000055f269e66fd5 in K3b::InteractionDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.91] ()
#27 0x00007fda7786b84e in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#28 0x00007fda7b737896 in QAbstractButton::clicked(bool) () at /lib64/libQt5Widgets.so.5
#29 0x00007fda7b737abe in QAbstractButtonPrivate::emitClicked() () at /lib64/libQt5Widgets.so.5
#30 0x00007fda7b738f13 in QAbstractButtonPrivate::click() () at /lib64/libQt5Widgets.so.5
#31 0x00007fda7b7390e5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007fda7b68e658 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#33 0x00007fda7b64f565 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007fda7b656ec8 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007fda77843676 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#36 0x00007fda7b6561bd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#37 0x00007fda7b6a93f8 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#38 0x00007fda7b6abf9e in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#39 0x00007fda7b64f565 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#40 0x00007fda7b656c80 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#41 0x00007fda77843676 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#42 0x00007fda77dde183 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#43 0x00007fda77de0285 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#44 0x00007fda77dbb3bb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#45 0x00007fda5ac9cb6f in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#46 0x00007fda778425bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#47 0x00007fda7b840afd in QDialog::exec() () at /lib64/libQt5Widgets.so.5
#48 0x000055f269d4a99a in K3b::InteractionDialog::exec() ()
#49 0x000055f269e1f1da in K3b::AudioCdView::startRip() ()
#50 0x00007fda7786b84e in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#51 0x00007fda7b648d16 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#52 0x00007fda7b64b3e0 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#53 0x00007fda7b738eb1 in QAbstractButtonPrivate::click() () at /lib64/libQt5Widgets.so.5
#54 0x00007fda7b7390e5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#55 0x00007fda7b826ede in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#56 0x00007fda7b68e658 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#57 0x00007fda7b826f87 in QToolButton::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#58 0x00007fda7b64f565 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#59 0x00007fda7b656ec8 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#60 0x00007fda77843676 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#61 0x00007fda7b6561bd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#62 0x00007fda7b6a93f8 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#63 0x00007fda7b6abf9e in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#64 0x00007fda7b64f565 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#65 0x00007fda7b656c80 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#66 0x00007fda77843676 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#67 0x00007fda77dde183 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#68 0x00007fda77de0285 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#69 0x00007fda77dbb3bb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#70 0x00007fda5ac9cb6f in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#71 0x00007fda778425bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#72 0x00007fda7784a686 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#73 0x000055f269d0f4b8 in main ()

Reported using DrKonqi
Comment 1 Ahmad Samir 2019-09-14 18:46:45 UTC

*** This bug has been marked as a duplicate of bug 401916 ***