Bug 311849

Summary: k3b crashes while adding flacs of 24 bit, 44.1 kHz
Product: [Applications] k3b Reporter: Aurelijus <odysei>
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 Aurelijus 2012-12-17 20:17:39 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
Dragged files from Dolphin (4.9.3) to the k3b and it crashed. Every single time.

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 0x7f88600657c0 (LWP 21272))]

Thread 3 (Thread 0x7f8858c0d700 (LWP 21273)):
#0  0x00007f886cef4303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8868c9bd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8868c9bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f886e59bc16 in QEventDispatcherGlib::processEvents (this=0x7f88540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f886e56c2bf in QEventLoop::processEvents (this=this@entry=0x7f8858c0cd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f886e56c548 in QEventLoop::exec (this=0x7f8858c0cd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f886e46db10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f886e54c9af in QInotifyFileSystemWatcherEngine::run (this=0x105f900) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f886e470aec in QThreadPrivate::start (arg=0x105f900) at thread/qthread_unix.cpp:338
#9  0x00007f8868a3ee9a in start_thread (arg=0x7f8858c0d700) at pthread_create.c:308
#10 0x00007f886ceffcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f884f2e8700 (LWP 21296)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f886e46f6f6 in thread_sleep (ti=ti@entry=0x7f884f2e7d80) at thread/qthread_unix.cpp:475
#2  0x00007f886e46fe96 in QThread::sleep (secs=<optimized out>) at thread/qthread_unix.cpp:489
#3  0x00007f8872a85825 in K3b::MediaCache::PollThread::run (this=0x1151490) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f886e470aec in QThreadPrivate::start (arg=0x1151490) at thread/qthread_unix.cpp:338
#5  0x00007f8868a3ee9a in start_thread (arg=0x7f884f2e8700) at pthread_create.c:308
#6  0x00007f886ceffcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f88600657c0 (LWP 21272)):
[KCrash Handler]
#6  0x000000007fffffff in ?? ()
#7  0x00007f8852e2bb14 in av_free_packet (pkt=0x1fa7150) at /build/buildd/libav-0.8.4/libavcodec/avpacket.c:154
#8  0x00007f8853becd3e in K3bFFMpegFile::close (this=this@entry=0x1b32020) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x00007f8853becda0 in K3bFFMpegFile::open (this=this@entry=0x1b32020) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x00007f8853bed839 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x00007f8853bec432 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#12 0x00007f8872a94ed8 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#13 0x00007f8872ae1052 in getDecoderForUrl (reused=0x7fff1f6aa63f, url=..., this=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#14 K3b::AudioDoc::getDecoderForUrl (this=0x165d550, url=..., reused=0x7fff1f6aa63f) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:445
#15 0x00000000004ba5e3 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x1f1e790) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#16 0x00007f886e58243e in QObject::event (this=0x1f1e790, e=<optimized out>) at kernel/qobject.cpp:1195
#17 0x00007f886d6e90da in QWidget::event (this=0x1f1e790, event=0x15504e0) at kernel/qwidget.cpp:8830
#18 0x00007f886d699e9c in QApplicationPrivate::notify_helper (this=this@entry=0xf53d40, receiver=receiver@entry=0x1f1e790, e=e@entry=0x15504e0) at kernel/qapplication.cpp:4562
#19 0x00007f886d69e30a in QApplication::notify (this=0x7fff1f6ac0b0, receiver=0x1f1e790, e=0x15504e0) at kernel/qapplication.cpp:4423
#20 0x00007f886efab1d6 in KApplication::notify (this=0x7fff1f6ac0b0, receiver=0x1f1e790, event=0x15504e0) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f886e56d56e in QCoreApplication::notifyInternal (this=0x7fff1f6ac0b0, receiver=receiver@entry=0x1f1e790, event=event@entry=0x15504e0) at kernel/qcoreapplication.cpp:915
#22 0x00007f886e5713f1 in sendEvent (event=0x15504e0, receiver=0x1f1e790) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xead220) at kernel/qcoreapplication.cpp:1539
#24 0x00007f886e59ba63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=0xf32e40) at kernel/qeventdispatcher_glib.cpp:279
#26 0x00007f8868c9bab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f8868c9bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f8868c9bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f886e59bbf6 in QEventDispatcherGlib::processEvents (this=0xeaeb00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f886d73ec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f886e56c2bf in QEventLoop::processEvents (this=this@entry=0x7fff1f6ab3a0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f886e56c548 in QEventLoop::exec (this=0x7fff1f6ab3a0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f886db52428 in QDialog::exec (this=0x1f1e790) at dialogs/qdialog.cpp:554
#34 0x00007f886db52b9e in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qdialog.cpp:70
#35 QDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qdialog.cpp:60
#36 0x00007f886e58243e in QObject::event (this=0x1f1e790, e=<optimized out>) at kernel/qobject.cpp:1195
#37 0x00007f886d6e90da in QWidget::event (this=0x1f1e790, event=0x1b39510) at kernel/qwidget.cpp:8830
#38 0x00007f886d699e9c in QApplicationPrivate::notify_helper (this=this@entry=0xf53d40, receiver=receiver@entry=0x1f1e790, e=e@entry=0x1b39510) at kernel/qapplication.cpp:4562
#39 0x00007f886d69e30a in QApplication::notify (this=0x7fff1f6ac0b0, receiver=0x1f1e790, e=0x1b39510) at kernel/qapplication.cpp:4423
#40 0x00007f886efab1d6 in KApplication::notify (this=0x7fff1f6ac0b0, receiver=0x1f1e790, event=0x1b39510) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007f886e56d56e in QCoreApplication::notifyInternal (this=0x7fff1f6ac0b0, receiver=receiver@entry=0x1f1e790, event=event@entry=0x1b39510) at kernel/qcoreapplication.cpp:915
#42 0x00007f886e5713f1 in sendEvent (event=0x1b39510, receiver=0x1f1e790) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xead220) at kernel/qcoreapplication.cpp:1539
#44 0x00007f886e59ba63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#45 postEventSourceDispatch (s=0xf32e40) at kernel/qeventdispatcher_glib.cpp:279
#46 0x00007f8868c9bab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f8868c9bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f8868c9bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f886e59bbf6 in QEventDispatcherGlib::processEvents (this=0xeaeb00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007f886d73ec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f886e56c2bf in QEventLoop::processEvents (this=this@entry=0x7fff1f6abee0, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f886e56c548 in QEventLoop::exec (this=0x7fff1f6abee0, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f886e571708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#54 0x0000000000444962 in main (argc=<optimized out>, argv=0x7fff1f6ac1f8) at /build/buildd/k3b-2.0.2/src/main.cpp:165

This bug may be a duplicate of or related to bug 293123.

Possible duplicates by query: bug 311161, bug 310744, bug 310419, bug 310042, bug 308541.

Reported using DrKonqi
Comment 1 Christoph Feck 2012-12-17 21:28:18 UTC

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