Bug 317165

Summary: K3b crashes when a .CUE file is opened
Product: [Applications] k3b Reporter: correo.bastian
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: correo.bastian, 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 correo.bastian 2013-03-22 02:54:06 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-38-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

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

Trying to open a brasero created .CUE/.BIN pair, either k3b doesn't recognize the .cue as a valid cuesheet if i try the " burn image" option or crashes if i try to open it. Trying to convert a .BIN image of an audio CD Image to NAMED wavs or mp3. (check the last comment in : http://ubuntuforums.org/archive/index.php/t-474148.html)

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 0x7f683da217c0 (LWP 24303))]

Thread 5 (Thread 0x7f6821a1a700 (LWP 24304)):
#0  0x00007f683745e303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f6833446036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f683344649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6821a1f98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f68334679e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68331e8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f6837469cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6821219700 (LWP 24305)):
#0  0x00007f68331eae8a in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f68334815a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6833445c36 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68334460a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f683344649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68275a6406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f68334679e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f68331e8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f6837469cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f680c286700 (LWP 24307)):
#0  0x00007fff11f198de in ?? ()
#1  0x00007f6831c0d15d in clock_gettime () from /lib/x86_64-linux-gnu/librt.so.1
#2  0x00007f6838a52bb4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6838b2ab8d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f6838b2aec3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f6838b2997c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6838b29a25 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f6833445846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f6833445f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6833446164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6838b2a426 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f6838af9c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f6838af9ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f68389f8fa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f6838ad99ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007f68389fbfcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f68331e8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#17 0x00007f6837469cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f67fbfff700 (LWP 24336)):
#0  0x00007f68331ed0fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f68389fac98 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f68389fb3f6 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f683d30d05a in K3b::MediaCache::PollThread::run (this=0xeb3d50) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f68389fbfcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f68331e8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f6837469cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f683da217c0 (LWP 24303)):
[KCrash Handler]
#6  0x00000000b6cc1313 in ?? ()
#7  0x00007f68088eb0e4 in av_free_packet () from /usr/lib/x86_64-linux-gnu/libavcodec.so.53
#8  0x00007f6809651cfe in K3bFFMpegFile::close (this=0x1852260) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x00007f6809651d63 in K3bFFMpegFile::open (this=0x1852260) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x00007f6809652989 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x00007f68096513f2 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#12 0x00007f683d31e0b0 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#13 0x00007f683d36a880 in K3b::AudioDoc::getDecoderForUrl (this=0x15a3d80, url=..., reused=0x7fff11f14e3f) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#14 0x00007f683d36aa7b in K3b::AudioDoc::createAudioFile (this=0x15a3d80, url=...) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:474
#15 0x00007f683d36ef0b in K3b::AudioDoc::createTrack (this=0x15a3d80, url=...) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:490
#16 0x00007f683d36fdab in K3b::AudioDoc::addTracks (this=0x15a3d80, urls=..., position=99) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:263
#17 0x00007f683d3245ac in K3b::Doc::addUrl (this=0x15a3d80, url=...) at /build/buildd/k3b-2.0.2/libk3b/projects/k3bdoc.cpp:80
#18 0x00000000005150a9 in K3b::MainWindow::openDocument (this=0xeb3660, url=...) at /build/buildd/k3b-2.0.2/src/k3b.cpp:684
#19 0x00000000005154e1 in K3b::MainWindow::slotFileOpen (this=0xeb3660) at /build/buildd/k3b-2.0.2/src/k3b.cpp:999
#20 0x000000000051810a in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3b.moc:174
#21 K3b::MainWindow::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3b.moc:130
#22 0x00007f6838b0f281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f6837bfa132 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f6837bfa31f in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007f6837fcfd4a in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f6837fcfffc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007f683808d5da in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f6837c51144 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007f6837c00894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007f6837c060bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f68395603f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00007f6838afae9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f6837c01862 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f6837c80bf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007f6837c7fbae in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f6837ca90d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f6833445d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f68334460a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f6833446164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f6838b2a3bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f6837ca8d5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007f6838af9c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#43 0x00007f6838af9ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007f6838afef67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00000000004434d6 in main (argc=1, argv=0x7fff11f17558) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 316585, bug 316540, bug 315277, bug 313685, bug 313376.

Reported using DrKonqi
Comment 1 correo.bastian 2013-03-22 16:49:16 UTC
Created attachment 78297 [details]
New crash information added by DrKonqi

k3b (2.0.2) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Trying to import a .CUE  crashes k3b  every time

-- Backtrace (Reduced):
#7  0x00007fc0188eb0e4 in av_free_packet () from /usr/lib/x86_64-linux-gnu/libavcodec.so.53
#8  0x00007fc019651cfe in K3bFFMpegFile::close (this=0x1f2ba00) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x00007fc019651d63 in K3bFFMpegFile::open (this=0x1f2ba00) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x00007fc019652989 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x00007fc0196513f2 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
Comment 2 Christoph Feck 2013-04-11 20:40:04 UTC

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