Bug 204333

Summary: K3B crashes in closing burn dialog (with burn error)
Product: [Applications] k3b Reporter: Charles-henri de Blesson <cdeblesson>
Component: generalAssignee: Sebastian Trueg <trueg>
Status: RESOLVED FIXED    
Severity: crash CC: michalm
Priority: NOR    
Version: 1.66.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Charles-henri de Blesson 2009-08-18 21:57:38 UTC
Application that crashed: k3b
Version of the application: 1.66.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH i686

What I was doing when the application crashed:
After a burn failure, I clicked close button on burn dialog, then crash occurs

 -- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
[Current thread is 0 (LWP 13517)]

Thread 4 (Thread 0xb0c73b70 (LWP 13538)):
#0  0xb80c4424 in __kernel_vsyscall ()
#1  0xb533fef2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb549a404 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5ff4a31 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5ff4bc0 in QThread::sleep () from /usr/lib/libQtCore.so.4
#5  0xb7f38b09 in K3b::MediaCache::PollThread::run () from /usr/lib/libk3b.so.6
#6  0xb5ff5032 in ?? () from /usr/lib/libQtCore.so.4
#7  0xb533b68c in start_thread () from /lib/libpthread.so.0
#8  0xb548ce2e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb0472b70 (LWP 13623)):
#0  0xb80c4424 in __kernel_vsyscall ()
#1  0xb533fef2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb549a404 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5ff4a31 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5ff4bc0 in QThread::sleep () from /usr/lib/libQtCore.so.4
#5  0xb7f38b09 in K3b::MediaCache::PollThread::run () from /usr/lib/libk3b.so.6
#6  0xb5ff5032 in ?? () from /usr/lib/libQtCore.so.4
#7  0xb533b68c in start_thread () from /lib/libpthread.so.0
#8  0xb548ce2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf7a2b70 (LWP 13659)):
[KCrash Handler]
#6  0xb8080bed in K3b::Device::Track::firstSector () from /usr/lib/libk3bdevice.so.6
#7  0xb7fee9cc in K3b::DataMultiSessionParameterJob::setupMultiSessionParameters () from /usr/lib/libk3b.so.6
#8  0xb7fef8a3 in K3b::DataMultiSessionParameterJob::run () from /usr/lib/libk3b.so.6
#9  0xb7f0546b in K3b::Thread::run () from /usr/lib/libk3b.so.6
#10 0xb5ff5032 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb533b68c in start_thread () from /lib/libpthread.so.0
#12 0xb548ce2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4732710 (LWP 13517)):
#0  0xb80c4424 in __kernel_vsyscall ()
#1  0xb5482dc6 in poll () from /lib/libc.so.6
#2  0xb4780080 in _xcb_conn_wait () from /usr/lib/libxcb.so.1
#3  0xb47823d1 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0xb4eddaa6 in _XReply () from /usr/lib/libX11.so.6
#5  0xb4ed1ab7 in XSync () from /usr/lib/libX11.so.6
#6  0xb5798931 in QApplication::syncX () from /usr/lib/libQtGui.so.4
#7  0xb579cdd5 in ?? () from /usr/lib/libQtGui.so.4
#8  0xb57a9eb3 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#9  0xb57d4f92 in ?? () from /usr/lib/libQtGui.so.4
#10 0xb49ced98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0xb49d23e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#12 0xb49d2513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#13 0xb610e6cc in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#14 0xb57d46c5 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb60e2579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#16 0xb60e29ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#17 0xb5c19263 in QDialog::exec () from /usr/lib/libQtGui.so.4
#18 0x08181af8 in _start ()

Reported using DrKonqi
Comment 1 Michał Małek 2009-10-15 22:36:08 UTC
SVN commit 1035770 by mmalek:

Fixed GPF. Make sure that we don't have an empty Toc when continuing/finishing multisession disk
BUG: 204333

 M  +7 -0      k3bdatamultisessionparameterjob.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1035770
Comment 2 Michał Małek 2009-10-15 22:36:31 UTC
Thanks for the report!