Bug 288587

Summary: K3b crashes when adding jpg to new Audio Project
Product: [Applications] k3b Reporter: Sean Colgan <sean>
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 Sean Colgan 2011-12-09 19:03:09 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:
Just dragged an entire folder into a new K3b audio cd project.  The folder contains a 'folder.jpg' album art file.  K3b crashed when trying to analyze this file.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7fd6c9013700 (LWP 8317)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fd6c9012ad0 in ?? ()
#2  0x00007fff78be97e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7fd6c3683700 (LWP 8334)):
#0  0x00007fd6dc3623cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fd6e1ac9fe8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fd6e1aca386 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fd6e613c80a in K3b::MediaCache::PollThread::run (this=0x216ace0) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fd6e1acad05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fd6dc35defc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fd6e052889d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd6bbfff700 (LWP 8351)):
#0  0x00007fd6dc3611fd in pthread_mutex_unlock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fd6dc5b767a in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd6dc5b7f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd6dc5b8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd6e1bdcf3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fd6e1bb0cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fd6e1bb0ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fd6e1ac827f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fd6e1b93cbf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fd6e1acad05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fd6dc35defc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fd6e052889d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd6e68607a0 (LWP 8316)):
[KCrash Handler]
#6  0x00007fd6c73d6472 in av_free_packet (pkt=0x2e8f7e0) at /build/buildd/libav-0.7.2/libavcodec/avpacket.c:154
#7  0x00007fd6c8059c6e in K3bFFMpegFile::close (this=0x28da910) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007fd6c8059cd3 in K3bFFMpegFile::open (this=0x28da910) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007fd6c805a8f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007fd6c8059362 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=<optimized out>) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#11 0x00007fd6e614d850 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#12 0x00007fd6e619a5e0 in K3b::AudioDoc::getDecoderForUrl (this=0x2469510, url=..., reused=0x7fff78b3fe3f) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#13 0x00000000004c5117 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x28d4fe0) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#14 0x00000000004c5752 in K3b::AudioTrackAddingDialog::qt_metacall (this=0x28d4fe0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x2a02320) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3baudiotrackaddingdialog.moc:78
#15 0x00007fd6e1bc8a5e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007fd6e0d396eb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fd6e0ce9424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fd6e0cee291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007fd6e25e7126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x00007fd6e1bb1afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007fd6e1bb551f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007fd6e1bdca73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007fd6dc5b7a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fd6dc5b8258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fd6dc5b8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fd6e1bdced6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007fd6e0d9107e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fd6e1bb0cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007fd6e1bb0ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fd6e11a0216 in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007fd6e11a09f8 in QDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fd6e253dfe5 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#33 0x00000000004c5730 in K3b::AudioTrackAddingDialog::qt_metacall (this=0x28d4fe0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x28a82e0) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3baudiotrackaddingdialog.moc:73
#34 0x00007fd6e1bc8a5e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007fd6e0d396eb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007fd6e0ce9424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007fd6e0cee291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007fd6e25e7126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0x00007fd6e1bb1afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007fd6e1bb551f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007fd6e1bdca73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x00007fd6dc5b7a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fd6dc5b8258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fd6dc5b8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fd6e1bdced6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007fd6e0d9107e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007fd6e1bb0cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007fd6e1bb0ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007fd6e1bb5789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x0000000000443366 in main (argc=1, argv=0x7fff78b41f98) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 287336, bug 286976, bug 286565, bug 285893, bug 285516.

Reported using DrKonqi
Comment 1 Christoph Feck 2012-01-09 21:09:55 UTC

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