Bug 219962 - K3B crashes after disc tray loads the DVD back for verification
Summary: K3B crashes after disc tray loads the DVD back for verification
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.69.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 223419 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-24 15:33 UTC by jounin.f
Modified: 2010-01-19 16:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jounin.f 2009-12-24 15:33:37 UTC
Application that crashed: k3b
Version of the application: 1.68.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
K3B crashed right after the disc loaded the DVD back for verification.

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

Thread 2 (Thread 0xb59f4b70 (LWP 4266)):
#0  0x004e9422 in __kernel_vsyscall ()
#1  0x0059e142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0675f7e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0221481e in ?? () from /usr/lib/libQtCore.so.4
#4  0x022149c0 in QThread::sleep(unsigned long) () from /usr/lib/libQtCore.so.4
#5  0x0064c2e9 in K3b::MediaCache::PollThread::run() () from /usr/lib/libk3b.so.6
#6  0x02214e32 in ?? () from /usr/lib/libQtCore.so.4
#7  0x0059980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x067527ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7897920 (LWP 4113)):
[KCrash Handler]
#6  0x003bf5b7 in K3b::Device::Track::type() const () from /usr/lib/libk3bdevice.so.6
#7  0x006a54d0 in ?? () from /usr/lib/libk3b.so.6
#8  0x006a5c77 in ?? () from /usr/lib/libk3b.so.6
#9  0x0231b263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x0231bec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x0062a273 in K3b::Device::DeviceHandler::finished(K3b::Device::DeviceHandler*) () from /usr/lib/libk3b.so.6
#12 0x0062a346 in K3b::Device::DeviceHandler::jobFinished(bool) () from /usr/lib/libk3b.so.6
#13 0x006192a6 in K3b::ThreadJob::slotThreadFinished() () from /usr/lib/libk3b.so.6
#14 0x0061933b in K3b::ThreadJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libk3b.so.6
#15 0x0062a9ba in K3b::Device::DeviceHandler::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libk3b.so.6
#16 0x02313f0b in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#17 0x023155fe in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x02519f54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x0252167c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x02006bfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x023056cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x023062b2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#23 0x0230647d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#24 0x023303ff in ?? () from /usr/lib/libQtCore.so.4
#25 0x091a5e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x091a9730 in ?? () from /lib/libglib-2.0.so.0
#27 0x091a9863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x0233002c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x025babe5 in ?? () from /usr/lib/libQtGui.so.4
#30 0x02303c79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x023040ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x02a06d53 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#33 0x08189f18 in _start ()

Reported using DrKonqi
Comment 1 Michał Małek 2009-12-26 10:25:30 UTC
Hi, thanks for the report. What flow did you run when crash occurred (i.e. was it DVD copying, burning new data project or video DVD project)?
Comment 2 jounin.f 2009-12-26 10:44:52 UTC
Hi

It was after I burned a data DVD. The verification didn't continue since K3B
crashed.

Regards,

./francis


2009/12/26 Michał Małek <michalm@jabster.pl>

> https://bugs.kde.org/show_bug.cgi?id=219962
>
>
>
>
>
> --- Comment #1 from Michał Małek <michalm jabster pl>  2009-12-26 10:25:30
> ---
> Hi, thanks for the report. What flow did you run when crash occurred (i.e.
> was
> it DVD copying, burning new data project or video DVD project)?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Michał Małek 2009-12-28 17:05:16 UTC
SVN commit 1066990 by mmalek:

* Cleanup: iterate and access tracks directly instead of referencing it by index. It minimizes possibility of accessing non-existent track in some edge cases.
* Added additional TOC check. Apparently sometimes disc gets detected too early, TOC is empty (or too small?) and K3b crashes.
BUG: 219962

 M  +101 -85   k3bverificationjob.cpp  
 M  +1 -4      k3bverificationjob.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1066990
Comment 4 Michał Małek 2009-12-28 17:15:22 UTC
I haven't reproduced your bug but thanks to the backtrace, I was (hopefully) able to deduce what was the reason of it. If you stumble upon this bug again in the future (on version > 1.69) it will mean my guess was wrong. In that case, please reopen this report.
Cheers
Comment 5 Michał Małek 2010-01-19 16:57:35 UTC
*** Bug 223419 has been marked as a duplicate of this bug. ***