Bug 322720

Summary: CD once burnt in K3b, did not eject or stop running (spinning). I'm using Ubuntu version 12.04 LTS
Product: [Applications] k3b Reporter: Stephen Wills <av8a4022>
Component: Burning/HardwareAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: crash CC: joerg.schilling, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stephen Wills 2013-07-23 07:06:08 UTC
Devices
-----------------------
TSSTcorp DVD-ROM SH-D162C TS04 (/dev/sr0, CD-ROM, DVD-ROM) [DVD-ROM, CD-ROM] [None] [%7]
PIONEER DVD-RW  DVR-109 1.13 (/dev/sr1, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite] [%7]

System
-----------------------
K3b Version: 2.0.2
KDE Version: 4.8.5 (4.8.5)
QT Version:  4.8.1
Kernel:      3.2.0-31-generic

Used versions
-----------------------
cdrecord: 1.1.11

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/sr1'
devname: '/dev/sr1'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Text len: 414
TOC Type: 0 = CD-DA
Driveropts: 'burnfree'
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'PIONEER '
Identification : 'DVD-RW  DVR-109 '
Revision       : '1.13'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM) 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size      : 12582912 = 12288 KB
Speed set to 5644 KB/s
pregap1: -1
Track 01: audio   67 MB (06:41.85) no preemp swab copy
Total size:       67 MB (06:41.85) = 30139 sectors
Lout start:       67 MB (06:43/64) = 30139 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -11607 (97:27/18)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 329710
Starting to write CD/DVD at speed  32.0 in real SAO mode for single session.
Last chance to quit, starting real write in    2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
SAO startsec: -11607
Writing lead-in...
Lead-in write time:   31.059s
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:    0 of   67 MB written.
Track 01:    1 of   67 MB written (fifo  99%) [buf  93%]  17.5x.
Track 01:    2 of   67 MB written (fifo 100%) [buf  87%]  15.3x.
Track 01:    3 of   67 MB written (fifo 100%) [buf  90%]  17.6x.
Track 01:    4 of   67 MB written (fifo 100%) [buf  97%]  18.0x.
Track 01:    5 of   67 MB written (fifo  99%) [buf  99%]  17.3x.
Track 01:    6 of   67 MB written (fifo  99%) [buf  92%]  15.1x.
Track 01:    7 of   67 MB written (fifo  98%) [buf  95%]  17.5x.
Track 01:    8 of   67 MB written (fifo 100%) [buf  89%]  15.2x.
Track 01:    9 of   67 MB written (fifo  99%) [buf  92%]  17.6x.
Track 01:   10 of   67 MB written (fifo  98%) [buf  98%]  17.8x.
Track 01:   11 of   67 MB written (fifo 100%) [buf  88%]  14.7x.
Track 01:   12 of   67 MB written (fifo  99%) [buf  94%]  17.8x.
Track 01:   13 of   67 MB written (fifo  99%) [buf  97%]  17.4x.
Track 01:   14 of   67 MB written (fifo 100%) [buf  90%]  15.1x.
Track 01:   15 of   67 MB written (fifo  99%) [buf  93%]  17.4x.
Track 01:   16 of   67 MB written (fifo 100%) [buf  86%]  15.1x.
Track 01:   17 of   67 MB written (fifo 100%) [buf  89%]  17.4x.
Track 01:   18 of   67 MB written (fifo  98%) [buf  96%]  17.7x.
Track 01:   19 of   67 MB written (fifo 100%) [buf  98%]  17.2x.
Track 01:   20 of   67 MB written (fifo  99%) [buf  91%]  15.0x.
Track 01:   21 of   67 MB written (fifo 100%) [buf  93%]  17.2x.
Track 01:   22 of   67 MB written (fifo 100%) [buf  87%]  15.1x.
Track 01:   23 of   67 MB written (fifo 100%) [buf  90%]  17.4x.
Track 01:   24 of   67 MB written (fifo  98%) [buf  97%]  17.7x.
Track 01:   25 of   67 MB written (fifo 100%) [buf  86%]  14.6x.
Track 01:   26 of   67 MB written (fifo  99%) [buf  93%]  17.7x.
Track 01:   27 of   67 MB written (fifo  99%) [buf  96%]  17.2x.
Track 01:   28 of   67 MB written (fifo 100%) [buf  89%]  14.8x.
Track 01:   29 of   67 MB written (fifo  99%) [buf  92%]  17.3x.
Track 01:   30 of   67 MB written (fifo  98%) [buf  99%]  17.7x.
Track 01:   31 of   67 MB written (fifo 100%) [buf  88%]  14.4x.
Track 01:   32 of   67 MB written (fifo  99%) [buf  95%]  17.7x.
Track 01:   33 of   67 MB written (fifo  98%) [buf  97%]  17.2x.
Track 01:   34 of   67 MB written (fifo  99%) [buf  90%]  14.8x.
Track 01:   35 of   67 MB written (fifo  99%) [buf  93%]  17.2x.
Track 01:   36 of   67 MB written (fifo 100%) [buf  87%]  14.9x.
Track 01:   37 of   67 MB written (fifo 100%) [buf  90%]  17.2x.
Track 01:   38 of   67 MB written (fifo  98%) [buf  97%]  17.6x.
Track 01:   39 of   67 MB written (fifo 100%) [buf  99%]  17.0x.
Track 01:   40 of   67 MB written (fifo  99%) [buf  92%]  14.8x.
Track 01:   41 of   67 MB written (fifo  98%) [buf  95%]  17.0x.
Track 01:   42 of   67 MB written (fifo 100%) [buf  89%]  14.8x.
Track 01:   43 of   67 MB written (fifo  98%) [buf  96%]  18.1x.
Track 01:   44 of   67 MB written (fifo  98%) [buf  97%]  17.3x.
Track 01:   45 of   67 MB written (fifo 100%) [buf  90%]  15.1x.
Track 01:   46 of   67 MB written (fifo  99%) [buf  93%]  17.5x.
Track 01:   47 of   67 MB written (fifo 100%) [buf  86%]  15.2x.
Track 01:   48 of   67 MB written (fifo 100%) [buf  89%]  17.6x.
Track 01:   49 of   67 MB written (fifo  98%) [buf  96%]  17.9x.
Track 01:   50 of   67 MB written (fifo 100%) [buf   5%]   6.3x.
Track 01:   51 of   67 MB written (fifo  96%) [buf 100%] 143.9x.
Track 01:   52 of   67 MB written (fifo  99%) [buf  97%]  13.0x.
Track 01:   53 of   67 MB written (fifo  99%) [buf  91%]  15.1x.
Track 01:   54 of   67 MB written (fifo 100%) [buf  94%]  17.5x.
Track 01:   55 of   67 MB written (fifo 100%) [buf  88%]  15.1x.
Track 01:   56 of   67 MB written (fifo 100%) [buf  90%]  17.4x.
Track 01:   57 of   67 MB written (fifo 100%) [buf  97%]  17.8x.
Track 01:   58 of   67 MB written (fifo 100%) [buf  87%]  14.7x.
Track 01:   59 of   67 MB written (fifo 100%) [buf  93%]  17.8x.
Track 01:   60 of   67 MB written (fifo 100%) [buf  96%]  17.3x.
Track 01:   61 of   67 MB written (fifo 100%) [buf  88%]  14.9x.
Track 01:   62 of   67 MB written (fifo 100%) [buf  91%]  17.4x.
Track 01:   63 of   67 MB written (fifo 100%) [buf  98%]  17.7x.
Track 01:   64 of   67 MB written (fifo 100%) [buf  87%]  14.6x.
Track 01:   65 of   67 MB written (fifo 100%) [buf  94%]  17.7x.
Track 01:   66 of   67 MB written (fifo 100%) [buf  97%]  17.3x.
Track 01:   67 of   67 MB written (fifo 100%) [buf  90%]  14.9x.
Track 01: Total bytes read/written: 70886928/70886928 (30139 sectors).
Writing  time:   56.569s
Average write speed  15.8x.
Min drive buffer fill was 5%
Total of 1 possible drive buffer underruns predicted.
Fixating...
Errno: 5 (Input/output error), flush cache scsi sendcmd: no error
CDB:  35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 72 0B 00 00 00 00 00 0E 09 0C 00 00 00 03 00 00
Sense Key: 0x0 No Additional Sense, Segment 11
Sense Code: 0x00 Qual 0x03 (setmark detected) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 271.018s timeout 200s
Trouble flushing the cache
Fixating time:  284.042s
Errno: 5 (Input/output error), prevent/allow medium removal scsi sendcmd: fatal error
CDB:  1E 00 00 00 00 00
cmd finished after 0.000s timeout 200s
/usr/bin/wodim: fifo had 1117 puts and 1117 gets.
/usr/bin/wodim: fifo was 0 times empty and 354 times full, min fill was 95%.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/sr1 speed=32 -sao driveropts=burnfree textfile=/tmp/qt_temp.du2330 -useinfo -audio /tmp/kde-az4u/k3b_audio_0_01.inf

Reproducible: Always

Steps to Reproduce:
1. Open K3b
2. Select creat Music CD
3. Insert tracks
4. Edit track details, ISRC, names etc.
5. Check properties for output
6. Proceed to burn and monitor output.
7. Check for bug report
8. Wait for cd to finish and eject
Actual Results:  
CD did not eject and continued to spin

Expected Results:  
Completion of CD

The program should have completed the task to final outcome.
Comment 1 joerg.schilling 2013-12-19 14:32:40 UTC
You are not using recent original software, I recommend you to first upograde
to recent original cdrtools from ftp.berlios.de/pub/cdrecord/alpha/
Comment 2 Andrew Crouthamel 2018-10-31 04:14:36 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 joerg.schilling 2018-10-31 10:33:36 UTC
Did you consider to warn people in case they are using this fake program "wodim" instead of the original "cdrtools"?

"wodim" has been created by Debian in May 2004 with the background that 
some uninformed people at Debian believed, sending SCSI commands works
without root privileges.

As a result, the Debian people removed all sanity checks from the source code
after Linux came up with an incompatible SCSI kernel interface change that
allowed **some** SCSI commands to be send without root privileges.

As a result from both changes, the fake code from Debian succeeded in some 
cases without root privileges and failed in many other cases, resulting in a
very unreliable behavior.

Finally, the Debian people stopped working on that program in May 2007 and
as a result, you may today safely consider this "wodim" as an artefact of
a social attack initiated by some unfriendly Debian people.

People who have been interested in reliable software always used the
original software instead of that fake program from Debian. This applies
even to non-technical people: 10 years ago, one of the chiefs from
Bundeskrimialamt asked me "Why do I need to compile cdrtools myself in
order to get working CD/DVD/BD burning software?", so the constraints
are well known, just many people don't know the background.


So I believe that people who have "wodim" instead of cdrecord, "genisoimage"
instead of mkisofs, ... should be warned about the bugs in the installed
software and deserve a hint to the original software.
Comment 4 Bug Janitor Service 2018-11-15 10:41:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 joerg.schilling 2018-11-15 11:01:56 UTC
I am not sure about your question. You have all information you need, just read the comments from the bugreport.
Comment 6 Bug Janitor Service 2018-11-30 03:45:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2018-12-15 03:44:27 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!