Bug 323502

Summary: K3b crash on minimal file addition to audio project
Product: [Applications] k3b Reporter: W Davis <wd>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: trueg
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description W Davis 2013-08-14 16:09:17 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-44-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

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

I created an empty audio project and drug a single WAV file to it. It crashed immediately.

The directory from which it was drug contained both MP3 and WAV files.

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 0x7f6a4fa177c0 (LWP 2267))]

Thread 4 (Thread 0x7f6a34e49700 (LWP 2269)):
#0  0x00007fff4e0d38de in ?? ()
#1  0x00007f6a43bfe15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f6a4aa44bb4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6a4ab1cb8d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f6a4ab1cec3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f6a4ab1b97c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6a4ab1ba25 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f6a45436806 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f6a45436f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6a45437124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6a4ab1c426 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f6a4aaebc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f6a4aaebed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f6a4a9eafa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f6a4aacb9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007f6a4a9edfcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f6a451d9e9a in start_thread (arg=0x7f6a34e49700) at pthread_create.c:308
#17 0x00007f6a4945bccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6a2a309700 (LWP 2289)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f6a4a9ecc98 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f6a4a9ed3f6 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6a4f2ff05a in K3b::MediaCache::PollThread::run (this=0xc5aa50) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f6a4a9edfcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f6a451d9e9a in start_thread (arg=0x7f6a2a309700) at pthread_create.c:308
#6  0x00007f6a4945bccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6a23fff700 (LWP 2314)):
#0  0x00007fff4e0d38de in ?? ()
#1  0x00007f6a43bfe15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f6a4aa44bb4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6a4ab1cb8d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f6a4ab1cec3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f6a4ab1b97c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6a4ab1ba25 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f6a45436806 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f6a45436f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6a45437124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6a4ab1c426 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f6a4aaebc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f6a4aaebed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f6a4a9eafa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f6a4aacb9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007f6a4a9edfcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f6a451d9e9a in start_thread (arg=0x7f6a23fff700) at pthread_create.c:308
#17 0x00007f6a4945bccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6a4fa177c0 (LWP 2267)):
[KCrash Handler]
#6  0x000000007fffffff in ?? ()
#7  0x00007f6a2f094164 in av_free_packet () from /usr/lib/x86_64-linux-gnu/libavcodec.so.53
#8  0x00007f6a2fdfbcfe in K3bFFMpegFile::close (this=0x15f6230) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x00007f6a2fdfbd63 in K3bFFMpegFile::open (this=0x15f6230) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x00007f6a2fdfc989 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x00007f6a2fdfb3f2 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#12 0x00007f6a4f3100b0 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#13 0x00007f6a4f35c880 in K3b::AudioDoc::getDecoderForUrl (this=0x15bf2f0, url=..., reused=0x7fff4e01f98f) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#14 0x00000000004c50a7 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x16003f0) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#15 0x00007f6a4ab06446 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f6a49c42b7b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007f6a49bf2894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f6a49bf7713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f6a4b5523f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x00007f6a4aaece9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007f6a4aaf0c6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f6a4ab1bf93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f6a45436d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f6a45437060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f6a45437124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f6a4ab1c3bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f6a49c9ad5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f6a4aaebc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f6a4aaebed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f6a4a0c2936 in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f6a4a0c30ca in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f6a4ab06446 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f6a49c42b7b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f6a49bf2894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007f6a49bf7713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f6a4b5523f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007f6a4aaece9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007f6a4aaf0c6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007f6a4ab1bf93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f6a45436d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f6a45437060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f6a45437124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f6a4ab1c3bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007f6a49c9ad5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007f6a4aaebc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007f6a4aaebed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007f6a4aaf0f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00000000004434d6 in main (argc=1, argv=0x7fff4e021d98) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 323228, bug 323171, bug 322215, bug 322041, bug 321048.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-14 19:44:28 UTC

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