Bug 286565

Summary: Crash when adding flac files
Product: [Applications] k3b Reporter: utilisateur.test
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: art.alexion, t-dome, 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
New crash information added by DrKonqi

Description utilisateur.test 2011-11-14 08:35:00 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:

adding flac files (24 Bits / 96 kHz) to a new cd audio project.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f258d26d700 (LWP 1512)):
#0  0x00007f25a2160773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f259e1fbf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f259e1fc792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2593e93516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f259e2212b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f259dfa1efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f25a216c89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f257fd9c700 (LWP 1513)):
#0  0x00007f259dfa4034 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f259e1fb023 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f259e1fbdfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f259e1fc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f25a3820f3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f25a37f4cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f25a37f4ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f25a370c27f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f25a37d7cbf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f25a370ed05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f259dfa1efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f25a216c89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2578deb700 (LWP 1536)):
#0  0x00007f259dfa63cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f25a370dfe8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f25a370e386 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f25a7d8080a in K3b::MediaCache::PollThread::run (this=0xdfdf00) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f25a370ed05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f259dfa1efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f25a216c89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f25785ea700 (LWP 1537)):
#0  0x00007f259dfa63cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f25a370dfe8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f25a370e386 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f25a7d8080a in K3b::MediaCache::PollThread::run (this=0xd49110) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f25a370ed05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f259dfa1efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f25a216c89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f25a84a27a0 (LWP 1509)):
[KCrash Handler]
#6  0x00007f257d220fb2 in av_free_packet () from /usr/lib/libavcodec.so.53
#7  0x00007f257dea7c6e in K3bFFMpegFile::close (this=0x11214e0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007f257dea7cd3 in K3bFFMpegFile::open (this=0x11214e0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007f257dea88f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007f257dea7362 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=<optimized out>) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#11 0x00007f25a7d91850 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#12 0x00007f25a7dde5e0 in K3b::AudioDoc::getDecoderForUrl (this=0x10581b0, url=..., reused=0x7fffbb7dd4bf) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#13 0x00000000004c5117 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x10ea390) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#14 0x00000000004c5752 in K3b::AudioTrackAddingDialog::qt_metacall (this=0x10ea390, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x104cad0) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3baudiotrackaddingdialog.moc:78
#15 0x00007f25a380ca5e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f25a297d6eb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007f25a292d424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f25a2932291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f25a422b126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x00007f25a37f5afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007f25a37f951f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f25a3820a73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f259e1fba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f259e1fc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f259e1fc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f25a3820ed6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f25a29d507e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f25a37f4cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f25a37f4ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f25a2de4216 in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f25a2de49f8 in QDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f25a4181fe5 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#33 0x00000000004c5730 in K3b::AudioTrackAddingDialog::qt_metacall (this=0x10ea390, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x10144c0) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3baudiotrackaddingdialog.moc:73
#34 0x00007f25a380ca5e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007f25a297d6eb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f25a292d424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f25a2932291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007f25a422b126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0x00007f25a37f5afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f25a37f951f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f25a3820a73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x00007f259e1fba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f259e1fc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f259e1fc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f25a3820ed6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007f25a29d507e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007f25a37f4cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007f25a37f4ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007f25a37f9789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x0000000000443366 in main (argc=1, argv=0x7fffbb7df618) at /build/buildd/k3b-2.0.2/src/main.cpp:165

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

Reported using DrKonqi
Comment 1 t-dome 2011-11-16 00:30:38 UTC
Created attachment 65735 [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:

I can reproduce it anytime:
Open k3b, the drag and drop a 24 bits/44.1 kHz FLAC file. Then it crashes.
The same happens if I manually create a new audio project and the drop the FLAC file there, or when I drop the FLAC file's cue sheet.

-- Backtrace (Reduced):
#6  0x00007f56d3179472 in av_free_packet (pkt=0x1134a00) at /build/buildd/libav-0.7.2/libavcodec/avpacket.c:154
#7  0x00007f56d3dfcc6e in K3bFFMpegFile::close (this=0x1212490) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007f56d3dfccd3 in K3bFFMpegFile::open (this=0x1212490) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007f56d3dfd8f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007f56d3dfc362 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=<optimized out>) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
Comment 2 art alexion 2011-11-30 18:33:18 UTC
Created attachment 66233 [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:
Adding 24/96 flac files bot from the built in k3b file browser and from dolphin.

-- Backtrace (Reduced):
#7  0x00007f474c2de474 in av_free_packet (pkt=0x2a33770) at /build/buildd/libav-0.7.2/libavcodec/avpacket.c:154
#8  0x00007f474cf61c6e in K3bFFMpegFile::close (this=0x2926570) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x00007f474cf61cd3 in K3bFFMpegFile::open (this=0x2926570) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x00007f474cf628f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x00007f474cf61362 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=<optimized out>) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
Comment 3 Christoph Feck 2012-01-09 21:11:17 UTC

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