Bug 394799

Summary: K3B hangs when writing ripped track to new blank CDROM
Product: [Applications] k3b Reporter: Otto <otto9otto>
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aacid, michalm, paradox, trueg
Priority: NOR Keywords: drkonqi
Version: 2.0.3   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Otto 2018-05-28 17:18:10 UTC
Application: k3b (2.0.3)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.13.0-41-generic x86_64
Distribution: Linux Mint 18.3 Sylvia

-- Information about the crash:
- What I was doing when the application crashed: I had ripped a few tracks from some other audio CDs, then I tried to write them to a black CDROM.  K3B stalled, saying it is "decoding audio track" - forever. This is a consistent new problem: I am no longer able to use K3B.

The crash can be reproduced sometimes.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdb98d88940 (LWP 3081))]

Thread 6 (Thread 0x7fdb61fdc700 (LWP 3148)):
#0  0x00007fdb8d2eb360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdb935f73a6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fdb9890cbe7 in  () at /usr/lib/libk3blib.so.6
#3  0x00007fdb9899e10f in K3b::AudioCdTrackSource::initParanoia() () at /usr/lib/libk3blib.so.6
#4  0x00007fdb9899e4cb in K3b::AudioCdTrackSource::read(char*, unsigned int) () at /usr/lib/libk3blib.so.6
#5  0x00007fdb98985e8e in K3b::AudioTrack::read(char*, unsigned int) () at /usr/lib/libk3blib.so.6
#6  0x00007fdb9899b266 in  () at /usr/lib/libk3blib.so.6
#7  0x00007fdb988f1db5 in K3b::Thread::run() () at /usr/lib/libk3blib.so.6
#8  0x00007fdb935f6e3c in  () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fdb8d2e56ba in start_thread (arg=0x7fdb61fdc700) at pthread_create.c:333
#10 0x00007fdb91fc041d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fdb630e6700 (LWP 3147)):
#0  0x00007fdb91fb027d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdb8e0156f0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fdb630e5bb0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007fdb8e0156f0 in g_wakeup_acknowledge (wakeup=0x1af8b30) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007fdb8dfd1e74 in g_main_context_check (context=context@entry=0x1b5b620, max_priority=2147483647, fds=fds@entry=0x7fdb540010c0, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007fdb8dfd2330 in g_main_context_iterate (context=0x1b5b620, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007fdb8dfd2712 in g_main_loop_run (loop=0x1b5b5b0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4034
#6  0x00007fdb7fb7d9d6 in gdbus_shared_thread_func (user_data=0x1b5b5f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gio/gdbusprivate.c:246
#7  0x00007fdb8dff8bb5 in g_thread_proxy (data=0xf398f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#8  0x00007fdb8d2e56ba in start_thread (arg=0x7fdb630e6700) at pthread_create.c:333
#9  0x00007fdb91fc041d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fdb638e7700 (LWP 3146)):
#0  0x00007fdb8e016a94 in g_mutex_unlock (mutex=0x1b2abf0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1347
#1  0x00007fdb8dfd1bf9 in g_main_context_query (context=context@entry=0x1b2abf0, max_priority=2147483647, timeout=timeout@entry=0x7fdb638e6c94, fds=fds@entry=0x7fdb5c0008c0, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3589
#2  0x00007fdb8dfd2307 in g_main_context_iterate (context=context@entry=0x1b2abf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3822
#3  0x00007fdb8dfd249c in g_main_context_iteration (context=0x1b2abf0, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007fdb8dfd24d9 in glib_worker_main (data=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:5672
#5  0x00007fdb8dff8bb5 in g_thread_proxy (data=0xf398a0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007fdb8d2e56ba in start_thread (arg=0x7fdb638e7700) at pthread_create.c:333
#7  0x00007fdb91fc041d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fdb6dbfd700 (LWP 3115)):
#0  0x00007fdb8d2eb709 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fdb935f57ea in  () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fdb935f60e3 in QThread::sleep(unsigned long) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fdb9891e0dd in K3b::MediaCache::PollThread::run() () at /usr/lib/libk3blib.so.6
#4  0x00007fdb935f6e3c in  () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fdb8d2e56ba in start_thread (arg=0x7fdb6dbfd700) at pthread_create.c:333
#6  0x00007fdb91fc041d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdb753bf700 (LWP 3084)):
#0  0x00007fdb91fce0ef in __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007fdb91fb4742 in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007fdb8dfd238c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fdb70003260, timeout=<optimized out>, context=0x7fdb700009a0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#3  0x00007fdb8dfd238c in g_main_context_iterate (context=context@entry=0x7fdb700009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#4  0x00007fdb8dfd249c in g_main_context_iteration (context=0x7fdb700009a0, may_block=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#5  0x00007fdb937372ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fdb9370518f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fdb937054f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fdb935f4549 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fdb936e5223 in  () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fdb935f6e3c in  () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fdb8d2e56ba in start_thread (arg=0x7fdb753bf700) at pthread_create.c:333
#12 0x00007fdb91fc041d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdb98d88940 (LWP 3081)):
[KCrash Handler]
#6  0x00007fdb92006cde in __memmove_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:265
#7  0x00007fdb93616f84 in QListData::remove(int) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fdb988f1478 in K3b::Job::unregisterSubJob(K3b::Job*) () at /usr/lib/libk3blib.so.6
#9  0x00007fdb988f15b8 in K3b::Job::jobFinished(bool) () at /usr/lib/libk3blib.so.6
#10 0x00007fdb988f16b1 in K3b::Job::~Job() () at /usr/lib/libk3blib.so.6
#11 0x00007fdb9899af7a in  () at /usr/lib/libk3blib.so.6
#12 0x00007fdb9371f2b1 in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007fdb93721954 in QObject::~QObject() () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007fdb988f165e in K3b::Job::~Job() () at /usr/lib/libk3blib.so.6
#15 0x00007fdb98980a8a in  () at /usr/lib/libk3blib.so.6
#16 0x00000000004c25cd in  ()
#17 0x000000000053d745 in  ()
#18 0x000000000053e230 in  ()
#19 0x00007fdb9371b010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007fdb92e6ed12 in QAbstractButton::clicked(bool) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007fdb92ba42b3 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007fdb92ba5664 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fdb92ba5774 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007fdb928208d0 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007fdb927c9fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007fdb927d10d6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fdb943ce64a in KApplication::notify(QObject*, QEvent*) () at /usr/lib/libkdeui.so.5
#28 0x00007fdb9370690d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007fdb927d06dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007fdb9284e3f2 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007fdb9284dc83 in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fdb92877542 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007fdb8dfd2197 in g_main_context_dispatch (context=0xd61df0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#34 0x00007fdb8dfd2197 in g_main_context_dispatch (context=context@entry=0xd61df0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#35 0x00007fdb8dfd23f0 in g_main_context_iterate (context=context@entry=0xd61df0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#36 0x00007fdb8dfd249c in g_main_context_iteration (context=0xd61df0, may_block=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#37 0x00007fdb937372ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007fdb92877616 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007fdb9370518f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007fdb937054f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007fdb92caca3c in QDialog::exec() () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x000000000053dd77 in  ()
#43 0x00000000004bea3c in  ()
#44 0x00007fdb9371b010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007fdb927c3d62 in QAction::triggered(bool) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#46 0x00007fdb927c50b3 in QAction::activate(QAction::ActionEvent) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007fdb92ba5623 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#48 0x00007fdb92ba5774 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#49 0x00007fdb92c6b73a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#50 0x00007fdb928208d0 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#51 0x00007fdb927c9fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#52 0x00007fdb927d10d6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#53 0x00007fdb943ce64a in KApplication::notify(QObject*, QEvent*) () at /usr/lib/libkdeui.so.5
#54 0x00007fdb9370690d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#55 0x00007fdb927d06dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#56 0x00007fdb9284e3f2 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#57 0x00007fdb9284dc83 in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#58 0x00007fdb92877542 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#59 0x00007fdb8dfd2197 in g_main_context_dispatch (context=0xd61df0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#60 0x00007fdb8dfd2197 in g_main_context_dispatch (context=context@entry=0xd61df0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#61 0x00007fdb8dfd23f0 in g_main_context_iterate (context=context@entry=0xd61df0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#62 0x00007fdb8dfd249c in g_main_context_iteration (context=0xd61df0, may_block=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#63 0x00007fdb937372ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#64 0x00007fdb92877616 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#65 0x00007fdb9370518f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#66 0x00007fdb937054f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#67 0x00007fdb9370b4b9 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#68 0x00000000004451cd in  ()
#69 0x00007fdb91ed9830 in __libc_start_main (main=0x443630, argc=1, argv=0x7fffa85c3478, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa85c3468) at ../csu/libc-start.c:291
#70 0x0000000000445c79 in _start ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:37:54 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2021-01-01 04:38:29 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 3 Otto 2021-01-02 21:40:01 UTC
After wiping my HDD clean and installing the latest Linux Mint 20, K3b works without error.
Comment 4 Thomas Hammar 2023-04-27 09:04:48 UTC
Created attachment 158480 [details]
New crash information added by DrKonqi

k3b (21.12.2) using Qt 5.15.3

- What I was doing when the application crashed:
I wanted to burn a wav file to a blank CDROM. I cose the file, clicked on "burn" and K3b answered that it had started the burning process, then nothing happened. I clicked on "Cancel" and the program crashed.

-- Backtrace (Reduced):
#5  0x00007f43537eb444 in QListData::remove(int) () from /lib64/libQt5Core.so.5
#6  0x00007f4355799534 in K3b::Job::unregisterSubJob(K3b::Job*) () from /lib64/libk3blib.so.7
#7  0x00007f435579e160 in K3b::Job::jobFinished(bool) () from /lib64/libk3blib.so.7
#8  0x00007f435579e336 in K3b::Job::~Job() () from /lib64/libk3blib.so.7
#9  0x00007f43557ca21d in K3b::CdrdaoWriter::~CdrdaoWriter() () from /lib64/libk3blib.so.7