Bug 117730 - crash on copying encrypted DVDs
Summary: crash on copying encrypted DVDs
Status: RESOLVED WORKSFORME
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 17:12 UTC by Leszek
Modified: 2006-02-15 21:09 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 Leszek 2005-12-05 17:12:01 UTC
Version:           0.12.8 (using KDE KDE 3.4.2)
Installed from:    Slackware Packages
Compiler:          gcc (GCC) 3.3.6 
OS:                Linux

k3b will crash on some (not all) encrypted DVDs when trying to copy DVD or copy DVD only to *.iso image. The problem is repeatable. Details:
system: GNU/Linux Slackware 10.2
kernel: 2.4.32-rc1
cdrtools: cdrtools-2.01-i486-1
cdrdao: cdrdao-1.1.9-i486-1
dvd+rw-tools: 5.21.4.10.8-i486-1
libdvdread: 0.9.4
libdvdcss: 1.2.9
DVD drive: NEC Model: DVD_RW ND-3540A   Rev: 1.01

k3b will crash almost immediately after clicking "start" in dialog windows of DVD copying, after displaying a few lines about reading encrypted DVD and something about keys - it is displayed for too short a period to take note of it. The debug information is:
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 2604)]
[New Thread 32769 (LWP 2634)]
[New Thread 32770 (LWP 2636)]
[KCrash handler]
#6  0x40237fe8 in ?? ()
#7  0x41eb38f3 in CrackTitleKey (dvdcss=) at css.c:1457

It MIGHT be a bug of dvdcss and not k3b, but:
mplayer WILL play the problematic DVDs without problems
ogle (v. 0.9.2) WILL play the problematic DVDs without problems, the logs (when run from terminal) show it reads the keys correctly.

NOTE: gdb WILL NOT RUN!:

[lesio@prosiak:~]$ cd /opt/kde/bin/
[lesio@prosiak:bin]$ gdb k3b
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /opt/kde/bin/k3b
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3058)]
ERROR: Communication problem with k3b, it probably crashed.

Program exited with code 0377.
(gdb) quit

Again: it MIGHT not be a problem with k3b, but I am not experienced enough to determine it.
Comment 1 Leszek 2005-12-05 17:15:56 UTC
actually, KDE was installed from packages and k3b 0.12.8 was compiled from sources. Previous version of k3b (installed from the package), the one included in Slackware 10.2, would crash on ANY encrypted DVD
Comment 2 Sebastian Trueg 2005-12-05 17:47:51 UTC
you may run k3b through gdb with --nofork
Comment 3 Leszek 2005-12-11 21:07:20 UTC
First, I changed the kernel to 2.4.32. The problem persisted. The gdb follows:

Here we start...

(gdb) run --nofork
Starting program: /opt/kde/bin/k3b --nofork
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 608)]
k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi
k3b: (K3bExternalBinManager) 2 1 -1  seems to be cdrecord version >= 1.11a02, using burnfree instead of burnproof
k3b: (K3bExternalBinManager) seems to be cdrecord version >= 1.11a31, support for Just Link via burnfree driveroption
k3b: /dev/sr0 resolved to /dev/sr0
k3b: /dev/sr0 is block device (0)
k3b: /dev/sr0 seems to be cdrom
k3b: bus: 0, id: 0, lun: 0
k3b: (K3bDevice::Device) /dev/sr0: init()
k3b: (K3bDevice::Device) /dev/sr0 feature: CD Mastering
k3b: (K3bDevice::Device) /dev/sr0 feature: CD Track At Once
k3b: (K3bDevice::Device) /dev/sr0 feature: CD-RW Media Write Support
k3b: (K3bDevice::Device) /dev/sr0 feature: DVD+R
k3b: (K3bDevice::Device) /dev/sr0 feature: DVD+RW
k3b: (K3bDevice::Device) /dev/sr0 feature: DVD+R Double Layer
k3b: (K3bDevice::Device) /dev/sr0 feature: DVD-R/-RW Write
k3b: (K3bDevice::Device) /dev/sr0 feature: Rigid Restricted Overwrite
k3b: (K3bDevice::Device) /dev/sr0: dataLen: 60
k3b: (K3bDevice::Device) /dev/sr0: checking for TAO
k3b: (K3bDevice::Device) Error: could not open device /dev/sr0for writing
k3b: (K3bDevice::Device) /dev/sr0: checking for SAO
k3b: (K3bDevice::Device) /dev/sr0: checking for SAO_R96P
k3b: (K3bDevice::Device) /dev/sr0: checking for SAO_R96R
k3b: (K3bDevice::Device) /dev/sr0: checking for RAW_R16
k3b: (K3bDevice::Device) /dev/sr0: checking for RAW_R96P
k3b: (K3bDevice::Device) /dev/sr0: checking for RAW_R96R
k3b: (K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET PERFORMANCE: 8
k3b: (K3bDevice::Device) /dev/sr0 : 22160 KB/s
k3b: (K3bDevice::Device) /dev/sr0 : 16620 KB/s
k3b: (K3bDevice::Device) /dev/sr0 : 11080 KB/s
k3b: (K3bDevice::Device) /dev/sr0 : 8310 KB/s
k3b: (K3bDevice::Device) /dev/sr0 : 5540 KB/s
k3b: (K3bDevice::Device) /dev/sr0 : 3324 KB/s
k3b: (K3bDevice::Device) /dev/sr0 : 2770 KB/s
k3b: (K3bDevice::Device) /dev/sr0 : 1385 KB/s
k3b: (K3bDevice::DeviceManager) setting current write speed of device /dev/sr0 to 22160
k3b: /dev/scd0 resolved to /dev/scd0
k3b: /dev/scd0 is block device (0)
k3b: /dev/scd0 seems to be cdrom
k3b: bus: 0, id: 0, lun: 0
k3b: (K3bDevice::DeviceManager) dev /dev/scd0 already found
k3b: (K3bDevice::DeviceManager) Link: /dev/dvd -> /dev/sr0
k3b: (K3bDevice::DeviceManager) Link: /dev/cdrom -> /dev/sr0
k3b: (K3bDevice::DeviceManager) SCANNING FOR GENERIC DEVICES.
k3b: bus: 0, id: 0, lun: 0
k3b: (K3bDevice::Device) Error: could not open device /dev/sg1for reading
k3b: could not open device /dev/sg1 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg2for reading
k3b: could not open device /dev/sg2 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg3for reading
k3b: could not open device /dev/sg3 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg4for reading
k3b: could not open device /dev/sg4 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg5for reading
k3b: could not open device /dev/sg5 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg6for reading
k3b: could not open device /dev/sg6 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg7for reading
k3b: could not open device /dev/sg7 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg8for reading
k3b: could not open device /dev/sg8 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg9for reading
k3b: could not open device /dev/sg9 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg10for reading
k3b: could not open device /dev/sg10 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg11for reading
k3b: could not open device /dev/sg11 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg12for reading
k3b: could not open device /dev/sg12 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg13for reading
k3b: could not open device /dev/sg13 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg14for reading
k3b: could not open device /dev/sg14 (Brak dost??pu)
k3b: (K3bDevice::Device) Error: could not open device /dev/sg15for reading
k3b: could not open device /dev/sg15 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda3
k3b: (K3bDevice::Device) Error: could not open device /dev/hda3for reading
k3b: could not open device /dev/hda3 (Brak dost??pu)
k3b: /dev/hda3 resolved to /dev/hda3
k3b: (K3bDevice::Device) Error: could not open device /dev/hda3for reading
k3b: could not open device /dev/hda3 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda2
k3b: (K3bDevice::Device) Error: could not open device /dev/hda2for reading
k3b: could not open device /dev/hda2 (Brak dost??pu)
k3b: /dev/hda2 resolved to /dev/hda2
k3b: (K3bDevice::Device) Error: could not open device /dev/hda2for reading
k3b: could not open device /dev/hda2 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda1
k3b: (K3bDevice::Device) Error: could not open device /dev/hda1for reading
k3b: could not open device /dev/hda1 (Brak dost??pu)
k3b: /dev/hda1 resolved to /dev/hda1
k3b: (K3bDevice::Device) Error: could not open device /dev/hda1for reading
k3b: could not open device /dev/hda1 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda5
k3b: (K3bDevice::Device) Error: could not open device /dev/hda5for reading
k3b: could not open device /dev/hda5 (Brak dost??pu)
k3b: /dev/hda5 resolved to /dev/hda5
k3b: (K3bDevice::Device) Error: could not open device /dev/hda5for reading
k3b: could not open device /dev/hda5 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda6
k3b: (K3bDevice::Device) Error: could not open device /dev/hda6for reading
k3b: could not open device /dev/hda6 (Brak dost??pu)
k3b: /dev/hda6 resolved to /dev/hda6
k3b: (K3bDevice::Device) Error: could not open device /dev/hda6for reading
k3b: could not open device /dev/hda6 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda7
k3b: (K3bDevice::Device) Error: could not open device /dev/hda7for reading
k3b: could not open device /dev/hda7 (Brak dost??pu)
k3b: /dev/hda7 resolved to /dev/hda7
k3b: (K3bDevice::Device) Error: could not open device /dev/hda7for reading
k3b: could not open device /dev/hda7 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hdc1
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc1for reading
k3b: could not open device /dev/hdc1 (Brak dost??pu)
k3b: /dev/hdc1 resolved to /dev/hdc1
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc1for reading
k3b: could not open device /dev/hdc1 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hdc5
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc5for reading
k3b: could not open device /dev/hdc5 (Brak dost??pu)
k3b: /dev/hdc5 resolved to /dev/hdc5
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc5for reading
k3b: could not open device /dev/hdc5 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/cdrom
k3b: (K3bDevice::DeviceManager) found device for /dev/cdrom: /dev/scd0
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/fd0
k3b: (K3bDevice::Device) Error: could not open device /dev/fd0for reading
k3b: could not open device /dev/fd0 (Brak dost??pu)
k3b: /dev/fd0 resolved to /dev/fd0
k3b: (K3bDevice::Device) Error: could not open device /dev/fd0for reading
k3b: could not open device /dev/fd0 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: devpts
k3b: Could not resolve devpts
k3b: (K3bDevice::Device) Error: could not open device devptsfor reading
k3b: could not open device devpts (Nie ma takiego pliku ani katalogu)
k3b: Could not resolve devpts
k3b: devpts resolved to devpts
k3b: (K3bDevice::Device) Error: could not open device devptsfor reading
k3b: could not open device devpts (Nie ma takiego pliku ani katalogu)
k3b: (K3bDevice::DeviceManager) scanning fstab: proc
k3b: Could not resolve proc
k3b: (K3bDevice::Device) Error: could not open device procfor reading
k3b: could not open device proc (Nie ma takiego pliku ani katalogu)
k3b: Could not resolve proc
k3b: proc resolved to proc
k3b: (K3bDevice::Device) Error: could not open device procfor reading
k3b: could not open device proc (Nie ma takiego pliku ani katalogu)
k3b: (K3bDevice::DeviceManager) scanning fstab: //192.168.0.2/C
k3b: Could not resolve //192.168.0.2/C
k3b: (K3bDevice::Device) Error: could not open device //192.168.0.2/Cfor reading
k3b: could not open device //192.168.0.2/C (Nie ma takiego pliku ani katalogu)
k3b: Could not resolve //192.168.0.2/C
k3b: //192.168.0.2/C resolved to //192.168.0.2/C
k3b: (K3bDevice::Device) Error: could not open device //192.168.0.2/Cfor reading
k3b: could not open device //192.168.0.2/C (Nie ma takiego pliku ani katalogu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/sda1
k3b: (K3bDevice::Device) Error: could not open device /dev/sda1for reading
k3b: could not open device /dev/sda1 (Brak dost??pu)
k3b: /dev/sda1 resolved to /dev/sda1
k3b: (K3bDevice::Device) Error: could not open device /dev/sda1for reading
k3b: could not open device /dev/sda1 (Brak dost??pu)
k3b: /dev/sr0 resolved to /dev/sr0
k3b: /dev/sr0 is block device (0)
k3b: /dev/sr0 seems to be cdrom
k3b: (K3bDevice::DeviceManager) dev /dev/sr0 already found
k3b: (K3bDevice::DeviceManager) found config entry for devicetype: _NEC DVD_RW ND-3540A
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda3
k3b: (K3bDevice::Device) Error: could not open device /dev/hda3for reading
k3b: could not open device /dev/hda3 (Brak dost??pu)
k3b: /dev/hda3 resolved to /dev/hda3
k3b: (K3bDevice::Device) Error: could not open device /dev/hda3for reading
k3b: could not open device /dev/hda3 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda2
k3b: (K3bDevice::Device) Error: could not open device /dev/hda2for reading
k3b: could not open device /dev/hda2 (Brak dost??pu)
k3b: /dev/hda2 resolved to /dev/hda2
k3b: (K3bDevice::Device) Error: could not open device /dev/hda2for reading
k3b: could not open device /dev/hda2 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda1
k3b: (K3bDevice::Device) Error: could not open device /dev/hda1for reading
k3b: could not open device /dev/hda1 (Brak dost??pu)
k3b: /dev/hda1 resolved to /dev/hda1
k3b: (K3bDevice::Device) Error: could not open device /dev/hda1for reading
k3b: could not open device /dev/hda1 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda5
k3b: (K3bDevice::Device) Error: could not open device /dev/hda5for reading
k3b: could not open device /dev/hda5 (Brak dost??pu)
k3b: /dev/hda5 resolved to /dev/hda5
k3b: (K3bDevice::Device) Error: could not open device /dev/hda5for reading
k3b: could not open device /dev/hda5 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda6
k3b: (K3bDevice::Device) Error: could not open device /dev/hda6for reading
k3b: could not open device /dev/hda6 (Brak dost??pu)
k3b: /dev/hda6 resolved to /dev/hda6
k3b: (K3bDevice::Device) Error: could not open device /dev/hda6for reading
k3b: could not open device /dev/hda6 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hda7
k3b: (K3bDevice::Device) Error: could not open device /dev/hda7for reading
k3b: could not open device /dev/hda7 (Brak dost??pu)
k3b: /dev/hda7 resolved to /dev/hda7
k3b: (K3bDevice::Device) Error: could not open device /dev/hda7for reading
k3b: could not open device /dev/hda7 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hdc1
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc1for reading
k3b: could not open device /dev/hdc1 (Brak dost??pu)
k3b: /dev/hdc1 resolved to /dev/hdc1
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc1for reading
k3b: could not open device /dev/hdc1 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/hdc5
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc5for reading
k3b: could not open device /dev/hdc5 (Brak dost??pu)
k3b: /dev/hdc5 resolved to /dev/hdc5
k3b: (K3bDevice::Device) Error: could not open device /dev/hdc5for reading
k3b: could not open device /dev/hdc5 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/cdrom
k3b: (K3bDevice::DeviceManager) found device for /dev/cdrom: /dev/scd0
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/fd0
k3b: (K3bDevice::Device) Error: could not open device /dev/fd0for reading
k3b: could not open device /dev/fd0 (Brak dost??pu)
k3b: /dev/fd0 resolved to /dev/fd0
k3b: (K3bDevice::Device) Error: could not open device /dev/fd0for reading
k3b: could not open device /dev/fd0 (Brak dost??pu)
k3b: (K3bDevice::DeviceManager) scanning fstab: devpts
k3b: Could not resolve devpts
k3b: (K3bDevice::Device) Error: could not open device devptsfor reading
k3b: could not open device devpts (Nie ma takiego pliku ani katalogu)
k3b: Could not resolve devpts
k3b: devpts resolved to devpts
k3b: (K3bDevice::Device) Error: could not open device devptsfor reading
k3b: could not open device devpts (Nie ma takiego pliku ani katalogu)
k3b: (K3bDevice::DeviceManager) scanning fstab: proc
k3b: Could not resolve proc
k3b: (K3bDevice::Device) Error: could not open device procfor reading
k3b: could not open device proc (Nie ma takiego pliku ani katalogu)
k3b: Could not resolve proc
k3b: proc resolved to proc
k3b: (K3bDevice::Device) Error: could not open device procfor reading
k3b: could not open device proc (Nie ma takiego pliku ani katalogu)
k3b: (K3bDevice::DeviceManager) scanning fstab: //192.168.0.2/C
k3b: Could not resolve //192.168.0.2/C
k3b: (K3bDevice::Device) Error: could not open device //192.168.0.2/Cfor reading
k3b: could not open device //192.168.0.2/C (Nie ma takiego pliku ani katalogu)
k3b: Could not resolve //192.168.0.2/C
k3b: //192.168.0.2/C resolved to //192.168.0.2/C
k3b: (K3bDevice::Device) Error: could not open device //192.168.0.2/Cfor reading
k3b: could not open device //192.168.0.2/C (Nie ma takiego pliku ani katalogu)
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/sda1
k3b: (K3bDevice::Device) Error: could not open device /dev/sda1for reading
k3b: could not open device /dev/sda1 (Brak dost??pu)
k3b: /dev/sda1 resolved to /dev/sda1
k3b: (K3bDevice::Device) Error: could not open device /dev/sda1for reading
k3b: could not open device /dev/sda1 (Brak dost??pu)
k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn, cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi
k3b: (K3bExternalBinManager) 2 1 -1  seems to be cdrecord version >= 1.11a02, using burnfree instead of burnproof
k3b: (K3bExternalBinManager) seems to be cdrecord version >= 1.11a31, support for Just Link via burnfree driveroption
k3b: Devices:
k3b: ------------------------------
k3b: Blockdevice:    /dev/sr0
k3b: Generic device: /dev/sg0
k3b: Vendor:         _NEC
k3b: Description:    DVD_RW ND-3540A
k3b: Version:        1.01
k3b: MountDevice:    /dev/cdrom
k3b: Mountpoint:     /cdrom
k3b: Write speed:    8400
k3b: Profiles:       DVD-ROM; DVD-R sekwencyjna; DVD-R dwuwarstwowa sekwencyjna; DVD-RW w trybie ograniczonego zastępowania; DVD-RW sekwencyjny; DVD+RW; DVD+R; DVD+R dwuwarstwowa; CD-ROM; CD-R; CD-RW
k3b: Devicetype:     CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD-R dwuwarstwowa; DVD+R; DVD+RW; DVD+R dwuwarstwowa
k3b: Writing modes:  Sesja naraz (SAO); TAO; RAW; SAO/R96P; SAO/R96R; Surowe/R16; Surowe/R96P; Surowe/R96R; Ograniczone zastępowanie
k3b: Reader aliases: /dev/sr0, /dev/scd0, /dev/dvd, /dev/cdrom
k3b: ------------------------------
k3b: (K3bAudioServer::findOutputPlugin) could not find output plugin arts
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done

Here we click "copy DVD button"

k3b: (K3bDevice::DeviceManager) request for empty device!
k3b: (K3bDevice::DeviceManager) request for empty device!

Here we choose "only create image" (or whatever it is called in the English version)

k3b: linux kernel version: 2.4.32-1-epcam-1
k3b: (K3bDevice::DeviceHandler) starting command: 4096
[New Thread 32769 (LWP 697)]
[New Thread 16386 (LWP 698)]
k3b: First sec data area: 43:41:33 (LBA 196608) (402653184 Bytes) (384,0 MB)
k3b: Last sec data area: 3669:22:58 (LBA 16512208) (33817001984 Bytes) (31,5 GB)
k3b: Last sec layer 1: 463:35:02 (LBA 2086127) (4272388096 Bytes) (4,0 GB)
k3b: Layer 1 length: 419:53:45 (LBA 1889520) (3869736960 Bytes) (3,6 GB)
k3b: Layer 2 length: 3205:47:56 (LBA 14426081) (29544613888 Bytes) (27,5 GB)
k3b: (K3bDevice::Device) READ CAPACITY: 824:35:15 other capacity: 00:00:00
[Thread 16386 (LWP 698) exited]
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bThreadJob) thread finished.
k3b: (K3bDvdCopyJob) trying to open libdvdcss.
k3b: (K3bLibDvdCss) succeeded.
k3b: (K3bLibDvdCss) dvdcss_open(/dev/sr0) = true
[New Thread 32771 (LWP 699)]
k3b: (K3bDevice::DeviceHandler) thread emitted finished. Waiting for thread actually finishing
k3b: (K3bDevice::DeviceHandler) success: true
k3b: (K3bDevice::DeviceHandler) deleting thread.
k3b: (K3bDataTrackReader::WorkThread) found encrypted dvd. using libdvdcss.
k3b: (K3bLibDvdCss) cracking all keys.
k3b: (K3bDevice::Device) Error: could not open device /dev/sr0for writing
k3b: (K3bLibDvdCss) Get key for /VIDEO_TS/VIDEO_TS.VOB at 313
k3b: (K3bLibDvdCss) Get key for /VIDEO_TS/VTS_01_0.VOB at 265904
k3b: (K3bLibDvdCss) Get key for /VIDEO_TS/VTS_01_1.VOB at 586038
k3b: (K3bLibDvdCss) Title 1 6 vobs with length 3040277
k3b: (K3bLibDvdCss) Get key for /VIDEO_TS/VTS_02_0.VOB at 3626379
k3b: (K3bLibDvdCss) Get key for /VIDEO_TS/VTS_02_1.VOB at 3626384
k3b: (K3bLibDvdCss) Title 2 1 vobs with length 78909
k3b: (K3bLibDvdCss) Get key for /VIDEO_TS/VTS_03_0.VOB at 3705311
k3b: (K3bLibDvdCss) Get key for /VIDEO_TS/VTS_03_1.VOB at 3710309

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 699)]
0x40237fe8 in ?? ()

And finally, here's the backtrace

(gdb) backtrace
#0  0x40237fe8 in ?? ()
#1  0x41eb38f3 in CrackTitleKey (dvdcss=Cannot access memory at address 0xc5da7960
) at css.c:1457
Cannot access memory at address 0xc5da7958

Could it be a problem with my RAM and not with k3b? But why doesn't the kernel panic? Or is it a problem with libdvdcss, anyway?

What is the exact command k3b uses to generate the iso? I might run it manually from the console and check.
Comment 4 Sebastian Trueg 2005-12-12 09:52:04 UTC
there is no command.
It crashes inside libdvdcss which does not nessessarily mean that there is no 
bug in K3b.... but I don't know where... I will have to look into that.
Comment 5 Leszek 2005-12-13 17:38:19 UTC
I found the cause - it was neither a bug in k3b nor in libdvdcss. The problem was that the dvd region of the drive had not been set. I found the solution at http://forum.videolan.org/viewtopic.php?t=9386. The regionset program from http://linvdr.org/projects/regionset/ fixed it.

There is still, however, the bug (feature?) which causes k3b to block the drive when copying dvd to dvd. When after creating iso there is the dialogue to eject/force/cancel the tray, only "cancel" is active. I can of course first "only create iso", then manually unblock the drive from the menu and then press "burn dvd from iso", but isn't it too much work? ;-) I found the description of this bug here, but the suggested solutions (turning off/removing all the automouts/autostarts) would not work - I do not use any of them, anyway. It is not a major problem, though.
Comment 6 Sebastian Trueg 2006-02-15 21:09:29 UTC
the blocking issue is fixed in 0.12.12.