Bug 312317 - K3b crashes whever a non-audio file is clicked in the file-picker dialouge
Summary: K3b crashes whever a non-audio file is clicked in the file-picker dialouge
Status: RESOLVED DUPLICATE of bug 283287
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 2.0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Michał Małek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-28 19:14 UTC by James Cain
Modified: 2013-01-20 01:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Cain 2012-12-28 19:14:12 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.9.95
Qt Version: 4.8.3
Operating System: Linux 3.7.0-7-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

-- Information about the crash:
- What I was doing when the application crashed: Adding audio files to a CD project. Clicked on a txt file by accident and crashed. Re-tried and this time clicked on a .jpg file and it also crashed. Reproduceable every time. 

Please note that I did not mark this as a duplicate bug, as all of the others I looked at were crashes caused by adding vairious audio files (mp3 and PLAC), whereas on my system, audio files get selected, analyzed, and added to the project just fine.

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 0x7f8a979cb7c0 (LWP 17059))]

Thread 4 (Thread 0x7f8a90575700 (LWP 17060)):
#0  0x00007f8aa035bfd3 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f8aa05f3e01 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8aa05b6603 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8aa05b6c8b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8aa05b6e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8aa5ec0c16 in QEventDispatcherGlib::processEvents (this=0x7f8a880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f8aa5e912bf in QEventLoop::processEvents (this=this@entry=0x7f8a90574d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f8aa5e91548 in QEventLoop::exec (this=0x7f8a90574d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8aa5d92b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f8aa5e719af in QInotifyFileSystemWatcherEngine::run (this=0x22e2190) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f8aa5d95aec in QThreadPrivate::start (arg=0x22e2190) at thread/qthread_unix.cpp:338
#11 0x00007f8aa0359f9f in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f8aa48250cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f8a7ec97700 (LWP 17111)):
#0  0x00007f8aa481944d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f8aa05b6d64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8aa05b6e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8aa5ec0c16 in QEventDispatcherGlib::processEvents (this=0x7f8a740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8aa5e912bf in QEventLoop::processEvents (this=this@entry=0x7f8a7ec96d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8aa5e91548 in QEventLoop::exec (this=0x7f8a7ec96d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f8aa5d92b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f8aa5e719af in QInotifyFileSystemWatcherEngine::run (this=0x2b3bbb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8aa5d95aec in QThreadPrivate::start (arg=0x2b3bbb0) at thread/qthread_unix.cpp:338
#9  0x00007f8aa0359f9f in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f8aa48250cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f8a7e496700 (LWP 18017)):
#0  0x00007f8aa035e08e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f8aa5d946f6 in thread_sleep (ti=ti@entry=0x7f8a7e495d80) at thread/qthread_unix.cpp:475
#2  0x00007f8aa5d94e96 in QThread::sleep (secs=<optimized out>) at thread/qthread_unix.cpp:489
#3  0x00007f8aaa3ac7f5 in K3b::MediaCache::PollThread::run (this=0x2103a60) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f8aa5d95aec in QThreadPrivate::start (arg=0x2103a60) at thread/qthread_unix.cpp:338
#5  0x00007f8aa0359f9f in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8aa48250cd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f8a979cb7c0 (LWP 17059)):
[KCrash Handler]
#5  0x000000007fffffff in ?? ()
#6  0x00007f8a8e7605c4 in av_free_packet () from /usr/lib/x86_64-linux-gnu/libavcodec.so.53
#7  0x00007f8a8f527d5e in K3bFFMpegFile::close (this=this@entry=0x3bf1a60) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007f8a8f527dc0 in K3bFFMpegFile::open (this=this@entry=0x3bf1a60) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007f8a8f528859 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007f8a8f527452 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#11 0x00007f8aaa3bbea8 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#12 0x00007f8aaa408002 in getDecoderForUrl (reused=0x7fff6cad278f, url=..., this=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#13 K3b::AudioDoc::getDecoderForUrl (this=0x2b45030, url=..., reused=0x7fff6cad278f) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:445
#14 0x00000000004ba563 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x3845310) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#15 0x00007f8aa5ea743e in QObject::event (this=0x3845310, e=<optimized out>) at kernel/qobject.cpp:1195
#16 0x00007f8aa500e0da in QWidget::event (this=0x3845310, event=0x3b0e840) at kernel/qwidget.cpp:8830
#17 0x00007f8aa4fbee9c in QApplicationPrivate::notify_helper (this=this@entry=0x216cab0, receiver=receiver@entry=0x3845310, e=e@entry=0x3b0e840) at kernel/qapplication.cpp:4562
#18 0x00007f8aa4fc330a in QApplication::notify (this=0x7fff6cad4200, receiver=0x3845310, e=0x3b0e840) at kernel/qapplication.cpp:4423
#19 0x00007f8aa68d1836 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x00007f8aa5e9256e in QCoreApplication::notifyInternal (this=0x7fff6cad4200, receiver=receiver@entry=0x3845310, event=event@entry=0x3b0e840) at kernel/qcoreapplication.cpp:915
#21 0x00007f8aa5e963f1 in sendEvent (event=0x3b0e840, receiver=0x3845310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x20d6220) at kernel/qcoreapplication.cpp:1539
#23 0x00007f8aa5ec0a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x2103710) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007f8aa05b6a95 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f8aa05b6dc8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f8aa05b6e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f8aa5ec0bf6 in QEventDispatcherGlib::processEvents (this=0x20d7b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f8aa5063c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f8aa5e912bf in QEventLoop::processEvents (this=this@entry=0x7fff6cad34f0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f8aa5e91548 in QEventLoop::exec (this=0x7fff6cad34f0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f8aa5477428 in QDialog::exec (this=0x3845310) at dialogs/qdialog.cpp:554
#33 0x00007f8aa5477b9e in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qdialog.cpp:70
#34 QDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qdialog.cpp:60
#35 0x00007f8aa5ea743e in QObject::event (this=0x3845310, e=<optimized out>) at kernel/qobject.cpp:1195
#36 0x00007f8aa500e0da in QWidget::event (this=0x3845310, event=0x3b0e7e0) at kernel/qwidget.cpp:8830
#37 0x00007f8aa4fbee9c in QApplicationPrivate::notify_helper (this=this@entry=0x216cab0, receiver=receiver@entry=0x3845310, e=e@entry=0x3b0e7e0) at kernel/qapplication.cpp:4562
#38 0x00007f8aa4fc330a in QApplication::notify (this=0x7fff6cad4200, receiver=0x3845310, e=0x3b0e7e0) at kernel/qapplication.cpp:4423
#39 0x00007f8aa68d1836 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#40 0x00007f8aa5e9256e in QCoreApplication::notifyInternal (this=0x7fff6cad4200, receiver=receiver@entry=0x3845310, event=event@entry=0x3b0e7e0) at kernel/qcoreapplication.cpp:915
#41 0x00007f8aa5e963f1 in sendEvent (event=0x3b0e7e0, receiver=0x3845310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x20d6220) at kernel/qcoreapplication.cpp:1539
#43 0x00007f8aa5ec0a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0x2103710) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007f8aa05b6a95 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f8aa05b6dc8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f8aa05b6e84 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f8aa5ec0bf6 in QEventDispatcherGlib::processEvents (this=0x20d7b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x00007f8aa5063c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f8aa5e912bf in QEventLoop::processEvents (this=this@entry=0x7fff6cad4030, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f8aa5e91548 in QEventLoop::exec (this=0x7fff6cad4030, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f8aa5e96708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#53 0x00000000004449a2 in main (argc=<optimized out>, argv=0x7fff6cad4348) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 311998, bug 311849, bug 311161, bug 310744, bug 310419.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-12-28 19:15:26 UTC

*** This bug has been marked as a duplicate of bug 283287 ***
Comment 2 Christoph Feck 2013-01-10 14:29:52 UTC
Which version of the FFMPEG libraries do you have installed?
Comment 3 Christoph Feck 2013-01-19 19:15:29 UTC
If you can provide the information requested in comment #2, please add it.
Comment 4 James Cain 2013-01-20 01:13:52 UTC
Hello. Muon package manager shows FFMpeg as 6:0.0.4-0Ubuntu2.
Comment 5 James Cain 2013-01-20 01:14:37 UTC
Sorry - make that 6:0.8.4-0Ubuntu2
Comment 6 Christoph Feck 2013-01-20 01:44:18 UTC
Woah, that is quite old, considering that you are using a development snapshot of Ubuntu. Please ask in an Ubuntu forum, how to update FFMPEG to 0.11 or newer, and report back, if this fixes the crash.
Comment 7 Jekyll Wu 2013-01-20 01:51:50 UTC
(In reply to comment #5)
> Sorry - make that 6:0.8.4-0Ubuntu2

(In reply to comment #6)
> Woah, that is quite old, considering that you are using a development
> snapshot of Ubuntu. Please ask in an Ubuntu forum, how to update FFMPEG to
> 0.11 or newer, and report back, if this fixes the crash.

Well,  I think the poor debian/ubuntu ship (stupid) libav instead of the real ffmpeg.