Bug 120140 - K3b ends dvd burning with a failure
Summary: K3b ends dvd burning with a failure
Status: RESOLVED NOT A BUG
Alias: None
Product: k3b
Classification: Applications
Component: Burning/Hardware (show other bugs)
Version: 0.12.x
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 00:09 UTC by Francois Marier
Modified: 2008-01-07 17:37 UTC (History)
0 users

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 Francois Marier 2006-01-15 00:09:00 UTC
Version:           0.12.10 (using KDE KDE 3.4.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Grégoire Druant <g.druant@gmail.com> reported the following bug on the Debian bug tracker (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344428).

I suspected that the problem might be coming from growisofs but he has tried it and it works with growisofs but not with k3b. --Francois

------------------------------------
I've got a problem with k3b for about two month now : each time I burn
a dvd, it fails.

Here is the tail of the log :

 99.86% done, estimate finish Thu Dec 22 18:10:13 2005
 99.93% done, estimate finish Thu Dec 22 18:10:13 2005
Total translation table size: 0
Total rockridge attributes bytes: 927
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
713978 extents written (1394 MB)
/dev/hdc: flushing cache
/dev/hdc: stopping de-icing
/dev/hdc: writing lead-out

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/hdc -use-the-force-luke=notray -use-the-force-luke=tty -speed=2.4 -gui -graft-points -volid K3b data project -volset  -appid K3B THE CD KREATOR VERSION 0.11.20 (C) 2003 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer K3b - Version 0.11.20 -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-greg5eG6Yv/k3bmujfkc.tmp -rational-rock -hide-list /tmp/kde-greg5eG6Yv/k3b1BVGsb.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-greg5eG6Yv/k3bdwBujc.tmp -untranslated-filenames -iso-level 2 -path-list /tmp/kde-greg5eG6Yv/k3b0RqpNb.tmp 


I've managed to end dvd burnings by using the multisession mode, but
it never works at the first try.
Comment 1 Sebastian Trueg 2006-01-16 18:54:41 UTC
there is no error here. what seems to be the problem?
Comment 2 Sebastian Trueg 2006-11-18 16:02:08 UTC
no error
Comment 3 Raúl 2008-01-07 17:37:09 UTC
I have experienced this problem on a recent k3b version.

  k3b is version 1.0.4-3 and dvd+rw-tools is 7.0-9 rebuilded with debug 
symbols (I had the same problem on pristine 7.0-9)

 Well, I went to the k3b DVD copy dialog, and choose to do a DVD copy on the 
fly from my laptop internal DVD to an USB external drive. I chose 4x speed.

  When k3b was about to finish it, it stalled, k3b and growisofs were both 
taking high CPU, top excerpt:

23584 rasasi    20   0  336m  35m  19m S   95  1.8  34:18.50 k3b
23723 rasasi    20   0 46820  33m 1052 R   82  1.7   3:41.88 growisofs

 the growisofs command line is:

rasasi   23723 15.6  1.6  46820 34052 ?        Tl   16:28   
3:27 /usr/bin/growisofs -Z /dev/scd1 /dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:2267840 -dvd-compat -speed=4 -use-the-force-luke=bufsize:32m

  and when I went to get a backtrace for growisofs I got this:

(gdb) bt
#0  0x00002ae63faf86c7 in sched_yield () from /lib/libc.so.6
#1  0x0000000000402708 in builtin_dd (infd=5, outfd=8, outoff=4644536320) at 
mp.h:53
#2  0x0000000000404edf in main (argc=9, argv=0x7fff6bc4d578) at 
growisofs.c:3276
#3  0x00002ae63fa581c4 in __libc_start_main () from /lib/libc.so.6
#4  0x0000000000402109 in _start ()

  After this I kill growisofs and then it's k3b that takes 99% cpu time, this is a k3b backtrace then:
(gdb) bt
#0  0x00002ab82bc7b174 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00002ab82bc76b08 in _L_lock_104 () from /lib/libpthread.so.0
#2  0x00002ab82bc76470 in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0x00002ab829860869 in QRealMutexPrivate::lock (this=0x9cc6e0) at tools/qmutex_unix.cpp:142
#4  0x00002ab829860652 in QMutex::lock (this=0x9cc630) at tools/qmutex_unix.cpp:464
#5  0x00002ab8260b180f in K3bDevice::ScsiCommand::transport () from /usr/lib/libk3bdevice.so.5
#6  0x00002ab8260ae59a in K3bDevice::Device::getFeature () from /usr/lib/libk3bdevice.so.5
#7  0x00002ab8260ae76b in K3bDevice::Device::featureCurrent () from /usr/lib/libk3bdevice.so.5
#8  0x0000000000482c9a in ?? ()
#9  0x0000000000482cef in ?? ()
#10 0x000000000058d0be in ?? ()
#11 0x0000000000486d30 in ?? ()
#12 0x0000000000487f45 in ?? ()
#13 0x000000000058d540 in ?? ()
#14 0x00002ab8295942af in QObject::activate_signal (this=0x2aaaac0361f0, clist=0x2aaaac009820,
    o=0x7fff84c320b0) at kernel/qobject.cpp:2380
#15 0x00000000004a0691 in ?? ()
---Type <return> to continue, or q <return> to quit---
#16 0x00000000004a1d7b in ?? ()
#17 0x00000000004a1f3a in ?? ()
#18 0x00002ab8295942af in QObject::activate_signal (this=0x98a060, clist=0x98a410,
    o=0x7fff84c32290) at kernel/qobject.cpp:2380
#19 0x000000000049bec1 in ?? ()
#20 0x000000000049c613 in ?? ()
#21 0x000000000045920f in ?? ()
#22 0x00002ab82639f939 in K3bCore::customEvent () from /usr/lib/libk3b.so.3
#23 0x00002ab829592263 in QObject::event (this=0x8b0cf0, e=0x12c7e90) at kernel/qobject.cpp:755
#24 0x00002ab82952c3aa in QApplication::internalNotify (this=0x7fff84c35290, receiver=0x8b0cf0,
    e=0x12c7e90) at kernel/qapplication.cpp:2635
#25 0x00002ab82952e158 in QApplication::notify (this=0x7fff84c35290, receiver=0x8b0cf0,
    e=0x12c7e90) at kernel/qapplication.cpp:2358
#26 0x00002ab8282c3aad in KApplication::notify (this=0x7fff84c35290, receiver=0x8b0cf0,
    event=0x12c7e90) at /tmp/buildd/kdelibs-3.5.8.dfsg.1/./kdecore/kapplication.cpp:550
#27 0x00002ab8294bdabe in QApplication::sendEvent (receiver=0x8b0cf0, event=0x12c7e90)
    at ../include/qapplication.h:520
---Type <return> to continue, or q <return> to quit---
#28 0x00002ab82952d3c1 in QApplication::sendPostedEvents (receiver=0x0, event_type=0)
    at kernel/qapplication.cpp:3299
#29 0x00002ab82952d4b9 in QApplication::sendPostedEvents () at kernel/qapplication.cpp:3210
#30 0x00002ab8294d11b1 in QEventLoop::processEvents (this=0x89e6d0, flags=4)
    at kernel/qeventloop_x11.cpp:144
#31 0x00002ab829546673 in QEventLoop::enterLoop (this=0x89e6d0) at kernel/qeventloop.cpp:198
#32 0x000000000047e8f2 in ?? ()
#33 0x000000000058dd9b in ?? ()
#34 0x0000000000487922 in ?? ()
#35 0x0000000000487ecb in ?? ()
#36 0x000000000058d540 in ?? ()
#37 0x00002ab829594186 in QObject::activate_signal (this=0x2aaaac098e50, clist=0x2aaaac0a1a90,
    o=0x7fff84c33010) at kernel/qobject.cpp:2356
#38 0x00002ab829594d04 in QObject::activate_signal (this=0x2aaaac098e50, signal=4)
    at kernel/qobject.cpp:2325
#39 0x00002ab8299151ab in QButton::clicked (this=0x2aaaac098e50)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
---Type <return> to continue, or q <return> to quit---
#40 0x00002ab82962ec3f in QButton::mouseReleaseEvent (this=0x2aaaac098e50, e=0x7fff84c33650)
    at widgets/qbutton.cpp:836
#41 0x00002ab8295c85fa in QWidget::event (this=0x2aaaac098e50, e=0x7fff84c33650)
    at kernel/qwidget.cpp:4702
#42 0x00002ab82952c3aa in QApplication::internalNotify (this=0x7fff84c35290,
    receiver=0x2aaaac098e50, e=0x7fff84c33650) at kernel/qapplication.cpp:2635
#43 0x00002ab82952e52a in QApplication::notify (this=0x7fff84c35290, receiver=0x2aaaac098e50,
    e=0x7fff84c33650) at kernel/qapplication.cpp:2421
#44 0x00002ab8282c3aad in KApplication::notify (this=0x7fff84c35290, receiver=0x2aaaac098e50,
    event=0x7fff84c33650) at /tmp/buildd/kdelibs-3.5.8.dfsg.1/./kdecore/kapplication.cpp:550
#45 0x00002ab8294bdb30 in QApplication::sendSpontaneousEvent (receiver=0x2aaaac098e50,
    event=0x7fff84c33650) at kernel/qapplication.h:523
#46 0x00002ab8294bc761 in QETWidget::translateMouseEvent (this=0x2aaaac098e50,
    event=0x7fff84c33bf0) at kernel/qapplication_x11.cpp:4301
#47 0x00002ab8294baabd in QApplication::x11ProcessEvent (this=0x7fff84c35290, event=0x7fff84c33bf0)
    at kernel/qapplication_x11.cpp:3478
#48 0x00002ab8294d1263 in QEventLoop::processEvents (this=0x89e6d0, flags=4)
---Type <return> to continue, or q <return> to quit---
    at kernel/qeventloop_x11.cpp:192
#49 0x00002ab829546673 in QEventLoop::enterLoop (this=0x89e6d0) at kernel/qeventloop.cpp:198
#50 0x00000000004882e9 in ?? ()
#51 0x000000000046628b in ?? ()
#52 0x00000000004696ac in ?? ()
#53 0x00002ab829594186 in QObject::activate_signal (this=0x2aaaac02a000, clist=0x2aaaac02a420,
    o=0x7fff84c34210) at kernel/qobject.cpp:2356
#54 0x00002ab829594d04 in QObject::activate_signal (this=0x2aaaac02a000, signal=2)
    at kernel/qobject.cpp:2325
#55 0x00002ab8279be6e9 in KAction::qt_invoke (this=0x2aaaac02a000, _id=17, _o=0x7fff84c342f0)
    at ./kaction.moc:220
#56 0x00002ab829594186 in QObject::activate_signal (this=0x2aaaac08e510, clist=0x2aaaac08f5d0,
    o=0x7fff84c342f0) at kernel/qobject.cpp:2356
#57 0x00002ab8278f0b87 in KToolBarButton::buttonClicked (this=0x9cc6e8, t0=<value optimized out>,
    t1=LeftButton) at ./ktoolbarbutton.moc:154
#58 0x00002ab8278f0e2b in KToolBarButton::mouseReleaseEvent (this=0x2aaaac08e510, e=0x7fff84c349a0)
    at /tmp/buildd/kdelibs-3.5.8.dfsg.1/./kdeui/ktoolbarbutton.cpp:479
---Type <return> to continue, or q <return> to quit---
#59 0x00002ab8295c85fa in QWidget::event (this=0x2aaaac08e510, e=0x7fff84c349a0)
    at kernel/qwidget.cpp:4702
#60 0x00002ab82792a396 in KToolBarButton::event (this=0x9cc6e8, e=0x80)
    at /tmp/buildd/kdelibs-3.5.8.dfsg.1/./kdeui/ktoolbarbutton.cpp:651
#61 0x00002ab82952c3aa in QApplication::internalNotify (this=0x7fff84c35290,
    receiver=0x2aaaac08e510, e=0x7fff84c349a0) at kernel/qapplication.cpp:2635
#62 0x00002ab82952e52a in QApplication::notify (this=0x7fff84c35290, receiver=0x2aaaac08e510,
    e=0x7fff84c349a0) at kernel/qapplication.cpp:2421
#63 0x00002ab8282c3aad in KApplication::notify (this=0x7fff84c35290, receiver=0x2aaaac08e510,
    event=0x7fff84c349a0) at /tmp/buildd/kdelibs-3.5.8.dfsg.1/./kdecore/kapplication.cpp:550
#64 0x00002ab8294bdb30 in QApplication::sendSpontaneousEvent (receiver=0x2aaaac08e510,
    event=0x7fff84c349a0) at kernel/qapplication.h:523
#65 0x00002ab8294bc761 in QETWidget::translateMouseEvent (this=0x2aaaac08e510,
    event=0x7fff84c34f40) at kernel/qapplication_x11.cpp:4301
#66 0x00002ab8294baabd in QApplication::x11ProcessEvent (this=0x7fff84c35290, event=0x7fff84c34f40)
    at kernel/qapplication_x11.cpp:3478
#67 0x00002ab8294d1263 in QEventLoop::processEvents (this=0x89e6d0, flags=4)
---Type <return> to continue, or q <return> to quit---
    at kernel/qeventloop_x11.cpp:192
#68 0x00002ab829546673 in QEventLoop::enterLoop (this=0x89e6d0) at kernel/qeventloop.cpp:198
#69 0x00002ab82954635f in QEventLoop::exec (this=0x89e6d0) at kernel/qeventloop.cpp:145
#70 0x00002ab82952de8c in QApplication::exec (this=0x7fff84c35290) at kernel/qapplication.cpp:2758
#71 0x000000000046df68 in ?? ()
#72 0x00002ab82d4d41c4 in __libc_start_main () from /lib/libc.so.6
#73 0x0000000000454aa9 in ?? ()
#74 0x00007fff84c35608 in ?? ()
#75 0x0000000000000000 in ?? ()

  I'm available to test patches or workarounds, feel free to contact me.