Bug 270514

Summary: I was trying to copy a cd and it stopped halfway and did not continue
Product: [Applications] k3b Reporter: Bradlee Sargent <bradlee.sargent>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED WORKSFORME    
Severity: crash CC: trueg
Priority: NOR    
Version: 2.0.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bradlee Sargent 2011-04-09 17:41:20 UTC
Application: k3b (2.0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I was copying a cd.  I had put cd into the drive, started k3b.
Then I clicked on duplicate,
I also unclicked "remove image"
I used default settings.
The cd maybe has errors or is bad or damaged which maybe the reason.

-- Backtrace:
Application: K3b (k3b), signal: Aborted
[Current thread is 1 (Thread 0x7fd55cc81760 (LWP 11714))]

Thread 5 (Thread 0x7fd54b9f0700 (LWP 11715)):
#0  0x00007fd5562edc9d in __pthread_mutex_unlock_usercnt (mutex=0x263e948) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x263e948) at pthread_mutex_unlock.c:290
#2  0x00007fd5508b1b02 in g_main_context_query () from /lib/libglib-2.0.so.0
#3  0x00007fd5508b6efc in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fd5508b77b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x00007fd54c1273c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x00007fd5508dc7e4 in ?? () from /lib/libglib-2.0.so.0
#7  0x00007fd5562ea971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007fd55494492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd53cd4e700 (LWP 11716)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fd5548dd1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007fd5548dbc78 in __libc_free (mem=0x7fd554bdce40) at malloc.c:3736
#3  0x00007fd556695e3a in QEventDispatcherGlib::~QEventDispatcherGlib() () from /usr/lib/libQtCore.so.4
#4  0x00007fd556574ac4 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fd556575286 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fd5562ea971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007fd55494492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd5377fe700 (LWP 11734)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fd556574845 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd5565749f6 in QThread::sleep(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007fd55c563715 in K3b::MediaCache::PollThread::run (this=0x285c1a0) at /build/buildd/k3b-2.0.1/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fd55657527e in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fd5562ea971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fd55494492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd537fff700 (LWP 12606)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fd5548dd1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007fd5548dbc78 in __libc_free (mem=0x7fd554bdce40) at malloc.c:3736
#3  0x00007fd55c8921b4 in K3b::Device::Device::readTocPmaAtip (this=<value optimized out>, data=0x7fd537ffec00, dataLen=<value optimized out>, format=5, time=<value optimized out>, track=<value optimized out>) at /build/buildd/k3b-2.0.1/libk3bdevice/k3bdevice_mmc.cpp:635
#4  0x00007fd55c8883fe in K3b::Device::Device::readRawCdText (this=0x28799f0, success=0x0) at /build/buildd/k3b-2.0.1/libk3bdevice/k3bdevice.cpp:1446
#5  0x00007fd55c88852b in K3b::Device::Device::readCdText (this=0x80) at /build/buildd/k3b-2.0.1/libk3bdevice/k3bdevice.cpp:1427
#6  0x00007fd55c55f7a1 in K3b::Medium::update (this=0x7fd537ffedc0) at /build/buildd/k3b-2.0.1/libk3b/tools/k3bmedium.cpp:202
#7  0x00007fd55c56368c in K3b::MediaCache::PollThread::run (this=0x28b2e40) at /build/buildd/k3b-2.0.1/libk3b/tools/k3bmediacache.cpp:87
#8  0x00007fd55657527e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fd5562ea971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fd55494492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd55cc81760 (LWP 11714)):
[KCrash Handler]
#6  0x00007fd554891ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fd5548956b0 in abort () at abort.c:92
#8  0x00007fd5548cb43b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fd5548d54b6 in malloc_printerr (action=3, str=0x7fd5549a9078 "double free or corruption (out)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007fd5548dbc83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007fd55667ad5f in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#12 0x00007fd55668241b in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#13 0x00007fd55bc2ba54 in ?? () from /usr/lib/libkio.so.5
#14 0x00007fd5548974f2 in __run_exit_handlers (status=1) at exit.c:78
#15 exit (status=1) at exit.c:100
#16 0x00007fd54a366746 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#17 0x00007fd5575dca68 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#18 0x00007fd5595e386e in _XIOError () from /usr/lib/libX11.so.6
#19 0x00007fd5595eb415 in ?? () from /usr/lib/libX11.so.6
#20 0x00007fd5595eb9b0 in _XReply () from /usr/lib/libX11.so.6
#21 0x00007fd5595c7a95 in XGetImage () from /usr/lib/libX11.so.6
#22 0x00007fd555638e80 in QX11PixmapData::toImage(QRect const&) const () from /usr/lib/libQtGui.so.4
#23 0x00007fd55563256a in QX11PixmapData::toImage() const () from /usr/lib/libQtGui.so.4
#24 0x00007fd55561f030 in QPixmap::toImage() const () from /usr/lib/libQtGui.so.4
#25 0x00007fd5555d8b50 in QWidgetPrivate::setWindowIcon_sys(bool) () from /usr/lib/libQtGui.so.4
#26 0x00007fd55558f1e1 in QWidget::create(unsigned long, bool, bool) () from /usr/lib/libQtGui.so.4
#27 0x00007fd55558f8ff in QWidget::winId() const () from /usr/lib/libQtGui.so.4
#28 0x00007fd5575d24b1 in KWidgetJobTracker::Private::ProgressWidget::init() () from /usr/lib/libkdeui.so.5
#29 0x00007fd5575d3266 in KWidgetJobTracker::registerJob(KJob*) () from /usr/lib/libkdeui.so.5
#30 0x00007fd55bc2c9c4 in ?? () from /usr/lib/libkio.so.5
#31 0x00007fd55bbd6769 in KIO::del(KUrl const&, QFlags<KIO::JobFlag>) () from /usr/lib/libkio.so.5
#32 0x00007fd55bc75f33 in KIO::NetAccess::delInternal(KUrl const&, QWidget*) () from /usr/lib/libkio.so.5
#33 0x00007fd55bc76c5f in KIO::NetAccess::del(KUrl const&, QWidget*) () from /usr/lib/libkio.so.5
#34 0x00007fd55c597b88 in K3b::CdCopyJob::cleanup (this=0x3296ef0) at /build/buildd/k3b-2.0.1/libk3b/jobs/k3bcdcopyjob.cpp:1128
#35 0x00007fd55c597c3f in K3b::CdCopyJob::finishJob (this=0x3296ef0, c=true, e=false) at /build/buildd/k3b-2.0.1/libk3b/jobs/k3bcdcopyjob.cpp:1246
#36 0x00007fd55c59bb4c in K3b::CdCopyJob::slotSessionReaderFinished (this=0x3296ef0, success=<value optimized out>) at /build/buildd/k3b-2.0.1/libk3b/jobs/k3bcdcopyjob.cpp:1021
#37 0x00007fd55c59da74 in K3b::CdCopyJob::qt_metacall (this=0x3296ef0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe5301b40) at /build/buildd/k3b-2.0.1/obj-x86_64-linux-gnu/libk3b/k3bcdcopyjob.moc:105
#38 0x00007fd556680b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#39 0x00007fd55c537b22 in K3b::Job::finished (this=0x2dc2, _t1=false) at /build/buildd/k3b-2.0.1/obj-x86_64-linux-gnu/libk3b/k3bjob.moc:205
#40 0x00007fd55c538bb4 in K3b::Job::jobFinished (this=0x2a16670, success=194) at /build/buildd/k3b-2.0.1/libk3b/core/k3bjob.cpp:129
#41 0x00007fd55c539d6c in K3b::ThreadJob::qt_metacall (this=0x2a16670, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /build/buildd/k3b-2.0.1/obj-x86_64-linux-gnu/libk3b/k3bthreadjob.moc:77
#42 0x00007fd55c59fab8 in K3b::AudioSessionReadingJob::qt_metacall (this=0x2dc2, _c=11714, _id=6, _a=0xffffffffffffffff) at /build/buildd/k3b-2.0.1/obj-x86_64-linux-gnu/libk3b/k3baudiosessionreadingjob.moc:67
#43 0x00007fd55667abde in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#44 0x00007fd555537fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x00007fd55553daed in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#46 0x00007fd5575dd156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#47 0x00007fd556668cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#48 0x00007fd55666bc22 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#49 0x00007fd556695653 in ?? () from /usr/lib/libQtCore.so.4
#50 0x00007fd5508b3342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x00007fd5508b72a8 in ?? () from /lib/libglib-2.0.so.0
#52 0x00007fd5508b745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0x00007fd556695193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0x00007fd5555eaa4e in ?? () from /usr/lib/libQtGui.so.4
#55 0x00007fd556667a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0x00007fd556667dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x00007fd555a2c7de in QDialog::exec() () from /usr/lib/libQtGui.so.4
#58 0x0000000000541e07 in K3b::JobProgressDialog::startJob (this=0x329aed0, job=<value optimized out>) at /build/buildd/k3b-2.0.1/src/k3bjobprogressdialog.cpp:632
#59 0x000000000046571e in K3b::MediaCopyDialog::slotStartClicked (this=0x7fffe5304750) at /build/buildd/k3b-2.0.1/src/misc/k3bmediacopydialog.cpp:383
#60 0x000000000054e292 in K3b::InteractionDialog::slotStartClickedInternal (this=0x7fffe5304750) at /build/buildd/k3b-2.0.1/src/k3binteractiondialog.cpp:312
#61 0x000000000054ea5d in K3b::InteractionDialog::qt_metacall (this=0x7fffe5304750, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffe5302fb0) at /build/buildd/k3b-2.0.1/obj-x86_64-linux-gnu/src/k3binteractiondialog.moc:161
#62 0x00000000004646f8 in K3b::MediaCopyDialog::qt_metacall (this=0x2dc2, _c=11714, _id=6, _a=0xffffffffffffffff) at /build/buildd/k3b-2.0.1/obj-x86_64-linux-gnu/src/k3bmediacopydialog.moc:69
#63 0x00007fd556680b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#64 0x00007fd555c15402 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#65 0x00007fd55590feeb in ?? () from /usr/lib/libQtGui.so.4
#66 0x00007fd5559115bb in ?? () from /usr/lib/libQtGui.so.4
#67 0x00007fd55591182c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#68 0x00007fd55558e04e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#69 0x00007fd555537fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#70 0x00007fd55553e30e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#71 0x00007fd5575dd156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#72 0x00007fd556668cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#73 0x00007fd55553cdbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#74 0x00007fd5555c0345 in ?? () from /usr/lib/libQtGui.so.4
#75 0x00007fd5555bec5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#76 0x00007fd5555eb0e2 in ?? () from /usr/lib/libQtGui.so.4
#77 0x00007fd5508b3342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#78 0x00007fd5508b72a8 in ?? () from /lib/libglib-2.0.so.0
#79 0x00007fd5508b745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#80 0x00007fd556695193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#81 0x00007fd5555eaa4e in ?? () from /usr/lib/libQtGui.so.4
#82 0x00007fd556667a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#83 0x00007fd556667dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#84 0x00007fd555a2c7de in QDialog::exec() () from /usr/lib/libQtGui.so.4
#85 0x000000000054dda2 in K3b::InteractionDialog::exec (this=0x7fffe5304750) at /build/buildd/k3b-2.0.1/src/k3binteractiondialog.cpp:526
#86 0x000000000052b7c2 in K3b::MainWindow::mediaCopy (this=<value optimized out>, dev=0x0) at /build/buildd/k3b-2.0.1/src/k3b.cpp:1421
#87 0x0000000000534b4a in K3b::MainWindow::qt_metacall (this=0x292cd50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffe53049d0) at /build/buildd/k3b-2.0.1/obj-x86_64-linux-gnu/src/k3b.moc:181
#88 0x00007fd556680b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#89 0x00007fd555530852 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#90 0x00007fd555531f5b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#91 0x00007fd555998dc1 in ?? () from /usr/lib/libQtGui.so.4
#92 0x00007fd55599e782 in ?? () from /usr/lib/libQtGui.so.4
#93 0x00007fd5576bdcee in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#94 0x00007fd55558e04e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#95 0x00007fd5559a090b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#96 0x00007fd555537fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#97 0x00007fd55553e30e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#98 0x00007fd5575dd156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#99 0x00007fd556668cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#100 0x00007fd55553cdbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#101 0x00007fd5555c07bd in ?? () from /usr/lib/libQtGui.so.4
#102 0x00007fd5555bec5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#103 0x00007fd5555eb0e2 in ?? () from /usr/lib/libQtGui.so.4
#104 0x00007fd5508b3342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#105 0x00007fd5508b72a8 in ?? () from /lib/libglib-2.0.so.0
#106 0x00007fd5508b745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#107 0x00007fd556695193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#108 0x00007fd5555eaa4e in ?? () from /usr/lib/libQtGui.so.4
#109 0x00007fd556667a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#110 0x00007fd556667dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#111 0x00007fd55666bebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#112 0x0000000000536f28 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/k3b-2.0.1/src/main.cpp:165

Possible duplicates by query: bug 257944, bug 255680, bug 255512, bug 255312, bug 254668.

Reported using DrKonqi
Comment 1 Michał Małek 2011-05-03 13:48:16 UTC
Thanks for the report but unfortunately I cannot reproduce it.
It seems memory freeing failed deep inside Qt. It might be memory failure or some other problem, most probably not in K3b.