[k3b] [Bug 350186] New: K3b hangs when burning iso image without read permissions.

Kari Koskinen kakoskin at gmail.com
Mon Jul 13 17:28:55 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=350186

            Bug ID: 350186
           Summary: K3b hangs when burning iso image without read
                    permissions.
           Product: k3b
           Version: 2.0.3
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: GUI/Usability
          Assignee: k3b at kde.org
          Reporter: kakoskin at gmail.com
                CC: michalm at jabster.pl, trueg at kde.org

K3b hangs indefinitely at stage Starting SAO writing at 10x speed wiht both
progress indicators showing 0% when burning an iso image you do not have read
permission for. 

Note that burning the same image works using exactly same procedure if you have
read permission to the image.


Reproducible: Always

Steps to Reproduce:
1. Make sure you do not have read permissions for an iso image:
$chmod a-r image.iso

2. Open k3b.
3. Select "Burn Image"
4. Note that k3b reports "Seems not to be useable image"
5. Set Image type to correct one (Plain data image).
6. Click "Start".


Actual Results:  
K3b hangs indefinitely. 

Expected Results:  
Failure to burn the disk and report that it is unable to read file image.iso.

Alternatively:
Instead of reporting "Seems not to be useable image" report "Unable to read
file" and not let user to proceed to actual burning stage. 

Devices
-----------------------
MATSHITA DVD-RAM UJ-851S 1.50 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R,
DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R
Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted
Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R,
CD-RW] [SAO, TAO, Restricted Overwrite, Layer Jump] [%7]

System
-----------------------
K3b Version: 2.0.3
KDE Version: 4.14.9
QT Version:  4.8.6
Kernel:      4.0.7-300.fc22.x86_64

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

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
limits.
scsidev: '/dev/sr0'
devname: '/dev/sr0'
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.
TOC Type: 1 = CD-ROM
Driveropts: 'burnfree'
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'MATSHITA'
Identification : 'DVD-RAM UJ-851S '
Revision       : '1.50'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A (CD-RW)
Profile: 0x0012 (DVD-RAM) 
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: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) (current)
Profile: 0x0009 (CD-R) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO
Drive buf size : 1310720 = 1280 KB
FIFO size      : 4194304 = 4096 KB
Speed set to 1764 KB/s
Track 01: data   448 MB        
Total size:      514 MB (50:58.34) = 229376 sectors
Lout start:      514 MB (51:00/26) = 229376 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 2
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11077 (97:34/23)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  4 1T speed high: 10
  2T speed low:  2 2T speed high: 10
  power mult factor: 2 6
  recommended erase/write power: 5
  A1 values: 24 2C DC
  A2 values: 14 A4 4A
  A3 values: 04 C4 80
Disk type:    Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 130473
Starting to write CD/DVD at speed  10.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 ... /usr/bin/wodim: Caught
interrupt.
/usr/bin/wodim: fifo had 0 puts and 0 gets.
Debug output from failed and cancelled run:

/usr/bin/wodim: fifo was 1 times empty and 0 times full, min fill was 0%.
BURN-Free was never needed.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=10 -sao driveropts=burnfree
-data -tsize=229376s -

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list