Bug 247233 - k3b crashes when closing Audio Ripping dialog
Summary: k3b crashes when closing Audio Ripping dialog
Status: RESOLVED DUPLICATE of bug 241630
Alias: None
Product: k3b
Classification: Applications
Component: Audio Project (show other bugs)
Version: 2.0.0
Platform: Compiled Sources FreeBSD
: NOR crash
Target Milestone: ---
Assignee: Michał Małek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 13:29 UTC by David Naylor
Modified: 2010-09-05 09:28 UTC (History)
2 users (show)

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


Attachments
traceback of crashed (7.55 KB, text/plain)
2010-08-10 13:29 UTC, David Naylor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor 2010-08-10 13:29:20 UTC
Created attachment 49968 [details]
traceback of crashed 

Version:           2.0.0 (using KDE 4.4.5) 
OS:                FreeBSD

k3b crashes when closing the Audio Ripping dialog (the one where k3b actually rips the music).  This happens regardless of completion or abortion.  

Reproducible: Always

Steps to Reproduce:
Rip any audio CD to ogg vorbis.

Actual Results:  
k3b crashes

Expected Results:  
k3b does not crash

Removing the ``delete d->panaroiaLib'' line from k3baudioripjob.cpp and rebuilding fixes the problem.  The following symptoms do still occur.  

The following symptom also occur, I'm not sure if it is related:
 - the tracks are not ripped in order (i.e. track 1 is not ripped first, etc)
 - track 1 does not rip (file size 0) unless done separately

Attached is the traceback produced when k3b crashes
Comment 1 Nicolas L. 2010-08-11 12:12:08 UTC
from the bugreport : 

Thread 3 (Thread 80a4071c0 (LWP 100275)):
[KCrash Handler]
#6  qDeleteAll<QMap<K3b::Device::Device*, K3b::CdparanoiaLibData*>::const_iterator> (begin=) at qalgorithms.h:322
#7  0x0000000800a77772 in ~CdparanoiaLib (this=) at qalgorithms.h:330
#8  0x00000000005131cf in ~AudioRipJob (this=0x81374cbb0) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/src/rip/k3baudioripjob.cpp:101
#9  0x000000000051fadb in K3b::AudioRippingDialog::slotStartClicked (this=0x7fffffffc4b0) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/src/rip/k3baudiorippingdialog.cpp:307
#10 0x000000000059bf00 in K3b::InteractionDialog::slotStartClickedInternal (this=0x7fffffffc4b0) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/src/k3binteractiondialog.cpp:312
#11 0x000000000059c94d in K3b::InteractionDialog::qt_metacall (this=0x7fffffffc4b0, _c=QMetaObject::InvokeMetaMethod, _id=) at k3binteractiondialog.moc:161
#12 0x000000000051efe4 in K3b::AudioRippingDialog::qt_metacall (this=0x7fffffffc4b0, _c=QMetaObject::InvokeMetaMethod, _id=) at k3baudiorippingdialog.moc:70
#13 0x00000008056859e7 in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.4
#14 0x000000080630fe1a in QAbstractButton::clicked () from /usr/local/lib/qt4/libQtGui.so.4
#15 0x000000080604e522 in QAbstractButtonPrivate::emitClicked () from /usr/local/lib/qt4/libQtGui.so.4
#16 0x000000080604f4da in QAbstractButtonPrivate::click () from /usr/local/lib/qt4/libQtGui.so.4
#17 0x000000080604f6b0 in QAbstractButton::mouseReleaseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#18 0x0000000805d0ab94 in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4
#19 0x000000080604e9ce in QAbstractButton::event () from /usr/local/lib/qt4/libQtGui.so.4
#20 0x00000008060e0125 in QPushButton::event () from /usr/local/lib/qt4/libQtGui.so.4
#21 0x0000000805cb63ef in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.4
#22 0x0000000805cbe718 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4
#23 0x00000008047f83a6 in KApplication::notify () from /usr/local/lib/libkdeui.so.7
#24 0x000000080567480e in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4
#25 0x0000000805cb9729 in QApplicationPrivate::sendMouseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#26 0x0000000805d33f77 in QETWidget::translateMouseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#27 0x0000000805d33124 in QApplication::x11ProcessEvent () from /usr/local/lib/qt4/libQtGui.so.4
#28 0x0000000805d5a4a8 in x11EventSourceDispatch () from /usr/local/lib/qt4/libQtGui.so.4
#29 0x00000008091ebf2e in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#30 0x00000008091ef230 in g_main_context_check () from /usr/local/lib/libglib-2.0.so.0
#31 0x00000008091ef812 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#32 0x000000080569cd9c in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#33 0x0000000805d5a2fe in QGuiEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtGui.so.4
#34 0x0000000805673bab in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#35 0x0000000805673e85 in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.4
#36 0x000000080615573c in QDialog::exec () from /usr/local/lib/qt4/libQtGui.so.4
#37 0x000000000059f579 in K3b::InteractionDialog::exec (this=0x7fffffffc4b0) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/src/k3binteractiondialog.cpp:526
#38 0x0000000000523d2a in K3b::AudioCdView::startRip (this=0x80e3af380) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/src/rip/k3baudiocdview.cpp:313
#39 0x0000000000527e2a in K3b::AudioCdView::qt_metacall (this=0x80e3af380, _c=QMetaObject::InvokeMetaMethod, _id=) at k3baudiocdview.moc:93
#40 0x00000008056859e7 in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.4
#41 0x0000000805cb05c4 in QAction::triggered () from /usr/local/lib/qt4/libQtGui.so.4
#42 0x0000000805cb17c2 in QAction::activate () from /usr/local/lib/qt4/libQtGui.so.4
#43 0x000000080604f497 in QAbstractButtonPrivate::click () from /usr/local/lib/qt4/libQtGui.so.4
#44 0x000000080604f6b0 in QAbstractButton::mouseReleaseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#45 0x000000080610fbbc in QToolButton::mouseReleaseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#46 0x0000000805d0ab94 in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4
#47 0x000000080604e9ce in QAbstractButton::event () from /usr/local/lib/qt4/libQtGui.so.4
#48 0x0000000806111d91 in QToolButton::event () from /usr/local/lib/qt4/libQtGui.so.4
#49 0x0000000805cb63ef in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.4
#50 0x0000000805cbe718 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4
#51 0x00000008047f83a6 in KApplication::notify () from /usr/local/lib/libkdeui.so.7
#52 0x000000080567480e in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4
#53 0x0000000805cb9729 in QApplicationPrivate::sendMouseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#54 0x0000000805d33f77 in QETWidget::translateMouseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#55 0x0000000805d33124 in QApplication::x11ProcessEvent () from /usr/local/lib/qt4/libQtGui.so.4
#56 0x0000000805d5a4a8 in x11EventSourceDispatch () from /usr/local/lib/qt4/libQtGui.so.4
#57 0x00000008091ebf2e in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#58 0x00000008091ef230 in g_main_context_check () from /usr/local/lib/libglib-2.0.so.0
#59 0x00000008091ef812 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#60 0x000000080569cd9c in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#61 0x0000000805d5a2fe in QGuiEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtGui.so.4
#62 0x0000000805673bab in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#63 0x0000000805673e85 in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.4
#64 0x0000000805675c36 in QCoreApplication::exec () from /usr/local/lib/qt4/libQtCore.so.4
#65 0x000000000057b6f8 in main (argc=1, argv=0x7fffffffe7f0) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/src/main.cpp:151

Thread 2 (Thread 80a408dc0 (LWP 100514)):
#0  0x0000000806abbadc in __error () from /lib/libthr.so.3
#1  0x0000000806ab9f91 in pthread_cond_signal () from /lib/libthr.so.3
#2  0x000000080558ae7d in thread_sleep () from /usr/local/lib/qt4/libQtCore.so.4
#3  0x000000080558b07d in QThread::sleep () from /usr/local/lib/qt4/libQtCore.so.4
#4  0x0000000800a980e6 in K3b::MediaCache::PollThread::run (this=0x80a7a1640) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/libk3b/tools/k3bmediacache.cpp:106
#5  0x000000080558b7ed in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#6  0x0000000806ab2de1 in pthread_getprio () from /lib/libthr.so.3
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 80a40b980 (LWP 100515)):
#0  0x0000000806abbadc in __error () from /lib/libthr.so.3
#1  0x0000000806ab9f91 in pthread_cond_signal () from /lib/libthr.so.3
#2  0x000000080558ae7d in thread_sleep () from /usr/local/lib/qt4/libQtCore.so.4
#3  0x000000080558b07d in QThread::sleep () from /usr/local/lib/qt4/libQtCore.so.4
#4  0x0000000800a980e6 in K3b::MediaCache::PollThread::run (this=0x80a7a1380) at /tmp/usr/ports/sysutils/k3b-kde4/work/k3b-2.0.0/libk3b/tools/k3bmediacache.cpp:106
#5  0x000000080558b7ed in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#6  0x0000000806ab2de1 in pthread_getprio () from /lib/libthr.so.3
#7  0x0000000000000000 in ?? ()
Comment 2 Michał Małek 2010-09-05 09:28:16 UTC

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