Bug 290896

Summary: k3b crashes when adding files
Product: [Applications] k3b Reporter: Mebuntu <salsa_temps>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: natehdez, salsa_temps, 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 Mebuntu 2012-01-07 18:18:34 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-030200-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
fresh compilation of mp3 files being added to a new disk and k3b crashed.

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

Thread 5 (Thread 0x7f2183528700 (LWP 21653)):
#0  0x00007f21915211fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0xa49428) at pthread_mutex_unlock.c:290
#2  0x00007f2191776fe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2191777dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2191778429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2196d9cf3e in QEventDispatcherGlib::processEvents (this=0xa973a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f2196d70cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2196d70ef7 in QEventLoop::exec (this=0x7f2183527db0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f2196c8827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007f2196d53cbf in QInotifyFileSystemWatcherEngine::run (this=0xa0bf20) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f2196c8ad05 in QThreadPrivate::start (arg=0xa0bf20) at thread/qthread_unix.cpp:331
#11 0x00007f219151defc in start_thread (arg=0x7f2183528700) at pthread_create.c:304
#12 0x00007f21956e889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f21789e4700 (LWP 21654)):
#0  0x00007f21956e1913 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2196d53671 in QProcessManager::run (this=0x7f21970a5580) at io/qprocess_unix.cpp:245
#2  0x00007f2196c8ad05 in QThreadPrivate::start (arg=0x7f21970a5580) at thread/qthread_unix.cpp:331
#3  0x00007f219151defc in start_thread (arg=0x7f21789e4700) at pthread_create.c:304
#4  0x00007f21956e889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2173fff700 (LWP 21670)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f2196c89fe8 in thread_sleep (ti=0x7f2173ffedb0) at thread/qthread_unix.cpp:493
#2  0x00007f2196c8a386 in QThread::sleep (secs=<optimized out>) at thread/qthread_unix.cpp:507
#3  0x00007f219b2fd80a in K3b::MediaCache::PollThread::run (this=0xb51c80) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f2196c8ad05 in QThreadPrivate::start (arg=0xb51c80) at thread/qthread_unix.cpp:331
#5  0x00007f219151defc in start_thread (arg=0x7f2173fff700) at pthread_create.c:304
#6  0x00007f21956e889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2170441700 (LWP 21689)):
#0  0x00007f21956dc773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2191777f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2191778429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2196d9cf3e in QEventDispatcherGlib::processEvents (this=0xd218c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2196d70cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2196d70ef7 in QEventLoop::exec (this=0x7f2170440db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f2196c8827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f2196d53cbf in QInotifyFileSystemWatcherEngine::run (this=0xf8d940) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2196c8ad05 in QThreadPrivate::start (arg=0xf8d940) at thread/qthread_unix.cpp:331
#9  0x00007f219151defc in start_thread (arg=0x7f2170441700) at pthread_create.c:304
#10 0x00007f21956e889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f219ba207a0 (LWP 21652)):
[KCrash Handler]
#6  0x00000000ffcfbfbf in ?? ()
#7  0x00007f21818c3d34 in av_free_packet () from /usr/lib/libavcodec.so.53
#8  0x00007f218254bc6e in K3bFFMpegFile::close (this=0x17c1030) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x00007f218254bcd3 in K3bFFMpegFile::open (this=0x17c1030) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x00007f218254c8f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x00007f218254b362 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=<optimized out>) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#12 0x00007f219b30e850 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#13 0x00007f219b35b5e0 in K3b::AudioDoc::getDecoderForUrl (this=0x171ddf0, url=..., reused=0x7fff34dab07f) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#14 0x00000000004c5117 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x1845100) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#15 0x00000000004c5752 in K3b::AudioTrackAddingDialog::qt_metacall (this=0x1845100, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x1809960) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3baudiotrackaddingdialog.moc:78
#16 0x00007f2196d88a5e in QObject::event (this=0x1845100, e=<optimized out>) at kernel/qobject.cpp:1217
#17 0x00007f2195ef96eb in QWidget::event (this=0x1845100, event=0x18723e0) at kernel/qwidget.cpp:8754
#18 0x00007f2195ea9424 in notify_helper (e=0x18723e0, receiver=0x1845100, this=0x945f40) at kernel/qapplication.cpp:4486
#19 QApplicationPrivate::notify_helper (this=0x945f40, receiver=0x1845100, e=0x18723e0) at kernel/qapplication.cpp:4458
#20 0x00007f2195eae291 in QApplication::notify (this=0x7fff34dac590, receiver=0x1845100, e=0x18723e0) at kernel/qapplication.cpp:4365
#21 0x00007f21977a7126 in KApplication::notify (this=0x7fff34dac590, receiver=0x1845100, event=0x18723e0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f2196d71afc in QCoreApplication::notifyInternal (this=0x7fff34dac590, receiver=0x1845100, event=0x18723e0) at kernel/qcoreapplication.cpp:787
#23 0x00007f2196d7551f in sendEvent (event=0x18723e0, receiver=0x1845100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b5460) at kernel/qcoreapplication.cpp:1428
#25 0x00007f2196d9ca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f2191777a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f2191778258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2191778429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2196d9ced6 in QEventDispatcherGlib::processEvents (this=0x8b6f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f2195f5107e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f2196d70cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f2196d70ef7 in QEventLoop::exec (this=0x7fff34daba80, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f2196360216 in QDialog::exec (this=0x1845100) at dialogs/qdialog.cpp:552
#35 0x00007f21963609f8 in QDialog::qt_metacall (this=0x1845100, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x18397d0) at .moc/release-shared/moc_qdialog.cpp:93
#36 0x00007f21976fdfe5 in KDialog::qt_metacall (this=0x1845100, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x18397d0) at ./kdialog.moc:151
#37 0x00000000004c5730 in K3b::AudioTrackAddingDialog::qt_metacall (this=0x1845100, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x18397d0) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3baudiotrackaddingdialog.moc:73
#38 0x00007f2196d88a5e in QObject::event (this=0x1845100, e=<optimized out>) at kernel/qobject.cpp:1217
#39 0x00007f2195ef96eb in QWidget::event (this=0x1845100, event=0x1871920) at kernel/qwidget.cpp:8754
#40 0x00007f2195ea9424 in notify_helper (e=0x1871920, receiver=0x1845100, this=0x945f40) at kernel/qapplication.cpp:4486
#41 QApplicationPrivate::notify_helper (this=0x945f40, receiver=0x1845100, e=0x1871920) at kernel/qapplication.cpp:4458
#42 0x00007f2195eae291 in QApplication::notify (this=0x7fff34dac590, receiver=0x1845100, e=0x1871920) at kernel/qapplication.cpp:4365
#43 0x00007f21977a7126 in KApplication::notify (this=0x7fff34dac590, receiver=0x1845100, event=0x1871920) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007f2196d71afc in QCoreApplication::notifyInternal (this=0x7fff34dac590, receiver=0x1845100, event=0x1871920) at kernel/qcoreapplication.cpp:787
#45 0x00007f2196d7551f in sendEvent (event=0x1871920, receiver=0x1845100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b5460) at kernel/qcoreapplication.cpp:1428
#47 0x00007f2196d9ca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007f2191777a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f2191778258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f2191778429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f2196d9ced6 in QEventDispatcherGlib::processEvents (this=0x8b6f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#53 0x00007f2195f5107e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f2196d70cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f2196d70ef7 in QEventLoop::exec (this=0x7fff34dac520, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007f2196d75789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#57 0x0000000000443366 in main (argc=1, argv=0x7fff34dad1d8) at /build/buildd/k3b-2.0.2/src/main.cpp:165

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

Possible duplicates by query: bug 289043, bug 288587, bug 287336, bug 286976, bug 286565.

Reported using DrKonqi
Comment 1 Mebuntu 2012-01-07 18:47:08 UTC
Created attachment 67552 [details]
New crash information added by DrKonqi

k3b (2.0.2) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

simply adding a folder of mp3 files to a new compilation in k3b

-- Backtrace (Reduced):
#6  0x00007f77f737bd32 in av_free_packet () from /usr/lib/libavcodec.so.53
#7  0x00007f77fc93fc6e in K3bFFMpegFile::close (this=0x25e7d60) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007f77fc93fcd3 in K3bFFMpegFile::open (this=0x25e7d60) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007f77fc9408f9 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007f77fc93f362 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=<optimized out>) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
Comment 2 Christoph Feck 2012-01-09 21:09:12 UTC

*** This bug has been marked as a duplicate of bug 283287 ***
Comment 3 Nathan Hernandez 2012-02-01 18:50:34 UTC
Created attachment 68410 [details]
New crash information added by DrKonqi

k3b (2.0.2) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:
 I was adding a folder of .mp3 files to a new audio cd project, and K3B immediately crashed.

-- Backtrace (Reduced):
#7  0xb3edd506 in av_free_packet (pkt=0x9543bb0) at /build/buildd/libav-0.7.3/libavcodec/avpacket.c:154
#8  0x06e0333e in K3bFFMpegFile::close (this=0x94ed7c8) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#9  0x06e033cc in K3bFFMpegFile::open (this=0x94ed7c8) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#10 0x06e041f6 in K3bFFMpegWrapper::open (this=0x93325f0, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#11 0x06e027b0 in K3bFFMpegDecoderFactory::canDecode (this=0x90743f0, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60