Bug 168660

Summary: Won't burn CDRW: "Could not open for writing" after "Starting TAO writing at 4x speed", program stalls (ERASING CDRW works, though)
Product: [Applications] k3b Reporter: S Clark <smc+kdebugs>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED FIXED    
Severity: normal CC: michalm, notusedanymore, pij, praktoreio2002, trueg
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: k3b error log

Description S Clark 2008-08-07 21:07:53 UTC
Version:           Current SVN (20080807) (using KDE 4.1.0)
Installed from:    Gentoo Packages
Compiler:          gcc (Gentoo 4.3.1-r1 p1.1) 4.3.1  AMD64
OS:                Linux

K3B for KDE4 just plain refuses to burn CD's.  This doesn't appear to be a permissions problem as it WILL correctly erase CDRW's on the same drive.

Trying to burn a data CD brings up the status dialog which shows:
"Using Wodim 1.1.8"[... etc.]
"Starting TAO writing at 4x speed" (the maximum speed the media I'm using at the moment supports)
"Could not open for writing"

The program stalls here.  There is no evidence of drive activity but K3B appears to think burning is still going on, as it doesn't pop up a failure notice, and there doesn't seem to be any way to pull up a full log of what's going on up to this point.  "Cancel" works, however.

Attempting to exit K3B and restart doesn't change the behavior, however if I instead load the old KDE3 version of K3B (v1.0.5), it will successfully burn the same file to the same disk on the same drive.
(Minor note: 1.0.5 also doesn't seem to recognize that the process has stopped - after closing the session it successfully finishes and ejects the CD, but K3B sits there with the "successful" message in the dialog but the progres bars still showing as though the session closing was still ongoing.  Possibly related problem?)
Comment 1 Ajay 2008-09-11 11:03:48 UTC
I have the exact same problem trying to burn CDs. I'm using KDE 4.1.1 on Arch Linux and my K3B version shows 1.95-SVN. *"Using Wodim 1.1.8"*, using same version here.
Comment 2 Dimitris 2008-10-03 19:54:11 UTC
Created attachment 27677 [details]
k3b error log

This is my attempt to create a Data DVD.I started the program, selected new Data DVD, inserted a directory to the project and hit burn with the default settings.
Comment 3 Dimitris 2008-10-03 19:56:31 UTC
With the attachment above, i am also confirming this bug. 
I can't write any cd/dvd.
Comment 4 Dimitris 2008-10-10 14:23:08 UTC
Any thoughts on this bug? 
I'd like to add that burning with gnomebeaker, wodim, growisofs, works fine.
Comment 5 Sebastian Trueg 2008-10-14 09:30:01 UTC
K3b for KDE4 is NOT EVEN ALPHA. It has NOT been released. Nothing has been tested yet. It is NOT intended to be used. Do NOT expect it to work.
Comment 6 Pavel Zheltobryukhov 2008-11-23 17:37:42 UTC
*** Bug 175906 has been marked as a duplicate of this bug. ***
Comment 7 Michał Małek 2009-01-15 20:19:36 UTC
SVN commit 911613 by mmalek:

- K3bProcess::stdinFd() returns correct descriptor now (it caused "Could not open for writing" error)
- K3bProcess::writeToFd() started to work
- K3bActivePipe now ignores a situation when ::write() returns -1 (input pipe to wodim process for some reason returns -1 on wodim's initialization)
BUG:168660

 M  +5 -6      core/k3bprocess.cpp  
 M  +0 -5      tools/k3bactivepipe.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=911613