Bug 332000

Summary: K3b crashes when adding too many flac files to an audio cd project
Product: [Applications] k3b Reporter: Gary Wagner <princehydraxan14>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: trueg
Priority: NOR Keywords: drkonqi
Version: 2.0.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Just before the crash.

Description Gary Wagner 2014-03-11 01:25:20 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Linux Mint 16 Petra

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

I was preparing to make a 44.1K/16 FLAC CD using an 800MB CD-R.
I am able to drag 16 tracks (totalling 54:34 in duration) to the AudioCD0 project tab at the bottom of the window.  When attempting to add a 17th track, K3b crashes.
No matter what order I add the tracks in, I can only add 16, because adding one more instantly crashes K3b.  I've tested this several times.
RAM is not in short supply, and neither is /temp.
Total available space on the disc is 79:57, and the 17th track is only 6:02, so I'm not exceeding the space limit.
All the FLAC files are valid and play in Amarok, Kaffine, and Dolphin preview.

KDE Platform binaries are from the Linux Mint repositories (Ubuntu derivative.)

The crash can be reproduced every time.

-- 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 0x7fc6f9d29800 (LWP 18445))]

Thread 4 (Thread 0x7fc6dbfcf700 (LWP 18446)):
#0  0x00007fc6f318df7d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fc6ee5106a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6ee5107ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc6f484fa76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fc6f48215ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fc6f48218e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fc6f472088f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fc6f4802d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fc6f4722f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fc6ed787f6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fc6f319a9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7fc6cbfff700 (LWP 18473)):
#0  0x00007fc6ed78c03e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fc6f4721b7a in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fc6f47222d6 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fc6f960f7f5 in K3b::MediaCache::PollThread::run (this=0x170b320) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fc6f4722f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fc6ed787f6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fc6f319a9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7fc6ca10f700 (LWP 18506)):
#0  0x00007fff75b58993 in clock_gettime ()
#1  0x00007fc6f31af96d in clock_gettime () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fc6f4777757 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fc6f4850fe5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fc6f484f82c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fc6f484f8d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fc6ee50fd4d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fc6ee5105c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fc6ee5107ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fc6f484fa76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fc6f48215ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fc6f48218e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007fc6f472088f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007fc6f4802d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007fc6f4722f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007fc6ed787f6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#16 0x00007fc6f319a9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7fc6f9d29800 (LWP 18445)):
[KCrash Handler]
#5  0x000000007fffffff in ?? ()
#6  0x00007fc6da2e0454 in av_free_packet () from /usr/lib/x86_64-linux-gnu/libavcodec.so.53
#7  0x00007fc6dafd3d5e in K3bFFMpegFile::close (this=this@entry=0x1e584d0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007fc6dafd3dc0 in K3bFFMpegFile::open (this=this@entry=0x1e584d0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007fc6dafd4859 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007fc6dafd3452 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#11 0x00007fc6f961eea8 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#12 0x00007fc6f966b002 in getDecoderForUrl (reused=0x7fff75ab02af, url=..., this=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#13 K3b::AudioDoc::getDecoderForUrl (this=0x1811010, url=..., reused=reused@entry=0x7fff75ab02af) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:445
#14 0x00000000004ba563 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x26f2110) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#15 0x00007fc6f483adce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007fc6f398936b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fc6f3939dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fc6f3940470 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007fc6f5279a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x00007fc6f48228bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007fc6f4825e1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007fc6f4850073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007fc6ee5103b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fc6ee510708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fc6ee5107ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fc6f484fa55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007fc6f39db9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fc6f48215ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007fc6f48218e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fc6f3de038c in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007fc6f3de04c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fc6f483adce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007fc6f398936b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007fc6f3939dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007fc6f3940470 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007fc6f5279a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007fc6f48228bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007fc6f4825e1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007fc6f4850073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007fc6ee5103b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fc6ee510708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fc6ee5107ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fc6f484fa55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007fc6f39db9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007fc6f48215ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007fc6f48218e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007fc6f4826e5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00000000004449a2 in main (argc=<optimized out>, argv=0x7fff75ab1648) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 331780, bug 331431, bug 330998, bug 330642, bug 330160.

Reported using DrKonqi
Comment 1 Gary Wagner 2014-03-11 01:28:08 UTC
Created attachment 85519 [details]
Just before the crash.
Comment 2 Jekyll Wu 2014-03-11 01:57:39 UTC

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