Bug 285516

Summary: Adding m4a files crashes k3b
Product: [Applications] k3b Reporter: Luis Zaldivar <luis.zaldivar>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: BjoernTiedemann, trueg
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Luis Zaldivar 2011-11-01 22:19:35 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Create a new audio cd. Add any m4a file, k3b will crash everytime.

The crash can be reproduced every time.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe347fba7a0 (LWP 867))]

Thread 5 (Thread 0x7fe32f851700 (LWP 868)):
#0  0x00007fe341c7d773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe33dd18f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe33dd19429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe34333df3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fe343311cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fe343311ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fe34322927f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fe3432f4cbf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fe34322bd05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fe33dabeefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fe341c8989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe3295b7700 (LWP 891)):
#0  0x00007fe33dac33cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fe34322afe8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fe34322b386 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fe34789d80a in K3b::MediaCache::PollThread::run (this=0x18862c0) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fe34322bd05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fe33dabeefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fe341c8989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe321cf0700 (LWP 917)):
#0  0x00007fe33dac21f4 in pthread_mutex_unlock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fe33dd183f5 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe33dd18e6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe33dd19429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe34333df3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fe343311cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fe343311ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fe34322927f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fe3432f4cbf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fe34322bd05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fe33dabeefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fe341c8989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe3214e7700 (LWP 944)):
[KCrash Handler]
#6  0x00007fe32db0b472 in av_free_packet (pkt=0x2092680) at /build/buildd/libav-0.7.2/libavcodec/avpacket.c:154
#7  0x00007fe32e78ec6e in K3bFFMpegFile::close (this=0x20535f0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007fe32e78ecd3 in K3bFFMpegFile::open (this=0x20535f0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007fe32e78f8f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007fe32e78e3c7 in K3bFFMpegDecoder::analyseFileInternal (this=0x7fe324741230, frames=..., samplerate=@0x7fe3249bcfc0, ch=@0x7fe3249bcfc4) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:95
#11 0x00007fe3478adfde in K3b::AudioDecoder::analyseFile (this=0x7fe324741230) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:150
#12 0x00007fe3478de4c9 in K3b::AudioFileAnalyzerJob::run (this=0x7fe3246c8a30) at /build/buildd/k3b-2.0.2/libk3b/jobs/k3baudiofileanalyzerjob.cpp:58
#13 0x00007fe347873b15 in K3b::Thread::run (this=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/core/k3bthread.cpp:62
#14 0x00007fe34322bd05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007fe33dabeefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#16 0x00007fe341c8989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe347fba7a0 (LWP 867)):
#0  0x00007fe341c7d773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe33a8264f2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe33a827aaf in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe3401dbb7d in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007fe3401d71f3 in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007fe34263cdd5 in QRasterWindowSurface::syncX() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007fe34263d291 in QRasterWindowSurface::beginPaint(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007fe34265aeaf in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007fe34248e360 in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007fe34249b15c in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007fe34285cceb in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007fe343e44638 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#12 0x00007fe34244a424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007fe34244f291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fe343d48126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007fe343312afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007fe34331651f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007fe34333da73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007fe33dd18a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fe33dd19258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fe33dd19429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fe34333ded6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007fe3424f207e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fe343311cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007fe343311ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007fe342901216 in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007fe3429019f8 in QDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fe343c9efe5 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#28 0x00000000004c5730 in K3b::AudioTrackAddingDialog::qt_metacall (this=0x7fe324962af0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fe32473a980) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3baudiotrackaddingdialog.moc:73
#29 0x00007fe343329a5e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fe34249a6eb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007fe34244a424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fe34244f291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007fe343d48126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#34 0x00007fe343312afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007fe34331651f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007fe34333da73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007fe33dd18a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fe33dd19258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fe33dd19429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fe34333ded6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007fe3424f207e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007fe343311cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#43 0x00007fe343311ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007fe343316789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x0000000000443366 in main (argc=1, argv=0x7fffa7f17648) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 285082, bug 283672, bug 283287.

Reported using DrKonqi
Comment 1 Tiedemate 2011-11-05 11:17:44 UTC
Created attachment 65256 [details]
New crash information added by DrKonqi

k3b (2.0.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

Tried to add mp4s to audio project. K3B Version 2.0.2
Using KDE Development Platform 4.7.2 (4.7.2)

-- Backtrace (Reduced):
#7  0x00007f8f71c4cd34 in av_free_packet () from /usr/lib/libavcodec.so.53
#8  0x00007f8f728d4c6e in K3bFFMpegFile::close (this=0x2b23700) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x00007f8f728d4cd3 in K3bFFMpegFile::open (this=0x2b23700) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x00007f8f728d58f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x00007f8f728d4362 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=<optimized out>) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
Comment 2 Michał Małek 2011-11-06 18:26:24 UTC

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