[Bug 178631] [gutsy] k3b crashes with *** stack smashing detected ***
Luke Plant
L.Plant.98 at cantab.net
Tue Dec 25 21:00:45 GMT 2007
Public bug reported:
Binary package hint: k3b
My machine:
- AMD Athlon 64
- two CD/DVD writers, on /dev/hdc (/dev/cdrom) and /dev/hdd (/dev/cdrom1)
Software: Kubuntu Gutsy (I upgraded from a Feisty system, which has
seemed to be the cause of some other bugs, most still unresolved).
k3b usually fails to open. When running from a console, I get this:
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
(K3bDevice::HalConnection) initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3520A to device /dev/hdd
Mapping udi /org/freedesktop/Hal/devices/storage_serial_K25E5O13307________ to device /dev/hdc
/dev/hdd resolved to /dev/hdd
/dev/hdd is block device (64)
/dev/hdd seems to be cdrom
(K3bDevice::Device) /dev/hdd: init()
(K3bDevice::Device) /dev/hdd feature: CD Mastering
(K3bDevice::Device) /dev/hdd feature: CD Track At Once
(K3bDevice::Device) /dev/hdd feature: CD-RW Media Write Support
(K3bDevice::Device) /dev/hdd feature: DVD+R
(K3bDevice::Device) /dev/hdd feature: DVD+RW
(K3bDevice::Device) /dev/hdd feature: DVD+R Double Layer
(K3bDevice::Device) /dev/hdd feature: DVD-R/-RW Write
(K3bDevice::Device) /dev/hdd feature: Rigid Restricted Overwrite
(K3bDevice::Device) /dev/hdd: dataLen: 60
(K3bDevice::Device) /dev/hdd: checking for TAO
(K3bDevice::Device) /dev/hdd: checking for SAO
(K3bDevice::Device) /dev/hdd: checking for SAO_R96P
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for SAO_R96R
(K3bDevice::Device) /dev/hdd: checking for RAW_R16
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for RAW_R96P
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for RAW_R96R
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
(K3bDevice::DeviceManager) setting current write speed of device /dev/hdd to 8467
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
/dev/hdc seems to be cdrom
(K3bDevice::Device) /dev/hdc: init()
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::Device) /dev/hdc feature: DVD Read (pre-MMC5)
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::Device) /dev/hdc feature: BD Read
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::Device) /dev/hdc feature: Layer Jump Recording
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
*** stack smashing detected ***: <unknown> terminated
KCrash: Application 'k3b' crashing...
Unable to start Dr. Konqi
[luke at calvin www.cciw.co.uk]$ k3b
[luke at calvin www.cciw.co.uk]$ kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
(K3bDevice::HalConnection) initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3520A to device /dev/hdd
Mapping udi /org/freedesktop/Hal/devices/storage_serial_K25E5O13307________ to device /dev/hdc
/dev/hdd resolved to /dev/hdd
/dev/hdd is block device (64)
/dev/hdd seems to be cdrom
(K3bDevice::Device) /dev/hdd: init()
(K3bDevice::Device) /dev/hdd feature: CD Mastering
(K3bDevice::Device) /dev/hdd feature: CD Track At Once
(K3bDevice::Device) /dev/hdd feature: CD-RW Media Write Support
(K3bDevice::Device) /dev/hdd feature: DVD+R
(K3bDevice::Device) /dev/hdd feature: DVD+RW
(K3bDevice::Device) /dev/hdd feature: DVD+R Double Layer
(K3bDevice::Device) /dev/hdd feature: DVD-R/-RW Write
(K3bDevice::Device) /dev/hdd feature: Rigid Restricted Overwrite
(K3bDevice::Device) /dev/hdd: dataLen: 60
(K3bDevice::Device) /dev/hdd: checking for TAO
(K3bDevice::Device) /dev/hdd: checking for SAO
(K3bDevice::Device) /dev/hdd: checking for SAO_R96P
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for SAO_R96R
(K3bDevice::Device) /dev/hdd: checking for RAW_R16
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for RAW_R96P
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for RAW_R96R
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
(K3bDevice::DeviceManager) setting current write speed of device /dev/hdd to 8467
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
/dev/hdc seems to be cdrom
(K3bDevice::Device) /dev/hdc: init()
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::Device) /dev/hdc feature: DVD Read (pre-MMC5)
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::Device) /dev/hdc feature: BD Read
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::Device) /dev/hdc feature: Layer Jump Recording
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
(K3bDevice::ScsiCommand) failed:
command: GET CONFIGURATION (46)
errorcode: 70
sense key: HARDWARE ERROR (4)
asc: 8
ascq: 3
*** stack smashing detected ***: <unknown> terminated
KCrash: Application 'k3b' crashing...
Unable to start Dr. Konqi
This happens whether I have a CD in either drive or not. This did not occur with Feisty, with identical hardware.
I have found one condition when it does not crash: I installed
kaudiocreator to rip tracks (since k3b didn't work), and found that if I
have an audio CD in the drive, and kaudiocreator is actually ripping the
CD in /dev/hdd, then k3b opens and seems to work. It only detects
/dev/hdd, and not /dev/hdc. It appears to be able to rip the CD, I
haven't tested whether it can burn CDs. When it successfullytarts, the
output on a terminal looks like this:
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
(K3bDevice::HalConnection) initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3520A to device /dev/hdd
Mapping udi /org/freedesktop/Hal/devices/storage_serial_K25E5O13307________ to device /dev/hdc
/dev/hdd resolved to /dev/hdd
/dev/hdd is block device (64)
/dev/hdd seems to be cdrom
(K3bDevice::Device) /dev/hdd: init()
(K3bDevice::Device) /dev/hdd feature: CD Mastering
(K3bDevice::Device) /dev/hdd feature: CD Track At Once
(K3bDevice::Device) /dev/hdd feature: CD-RW Media Write Support
(K3bDevice::Device) /dev/hdd feature: DVD+R
(K3bDevice::Device) /dev/hdd feature: DVD+RW
(K3bDevice::Device) /dev/hdd feature: DVD+R Double Layer
(K3bDevice::Device) /dev/hdd feature: DVD-R/-RW Write
(K3bDevice::Device) /dev/hdd feature: Rigid Restricted Overwrite
(K3bDevice::Device) /dev/hdd: dataLen: 60
(K3bDevice::Device) /dev/hdd: checking for TAO
(K3bDevice::Device) /dev/hdd: checking for SAO
(K3bDevice::Device) /dev/hdd: checking for SAO_R96P
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for SAO_R96R
(K3bDevice::Device) /dev/hdd: checking for RAW_R16
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for RAW_R96P
(K3bDevice::ScsiCommand) failed:
command: MODE SELECT (55)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 26
ascq: 0
(K3bDevice::Device) /dev/hdd: checking for RAW_R96R
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
(K3bDevice::DeviceManager) setting current write speed of device /dev/hdd to 8467
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
(K3bDevice::ScsiCommand) failed:
command: INQUIRY (12)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 24
ascq: 1
(K3bDevice::Device) Unable to do inquiry. /dev/hdc is not a cdrom device
/dev/hdd resolved to /dev/hdd
(K3bDevice::DeviceManager) dev /dev/hdd already found
/dev/hdc resolved to /dev/hdc
/dev/hdc is block device (0)
(K3bDevice::ScsiCommand) failed:
command: INQUIRY (12)
errorcode: 70
sense key: ILLEGAL REQUEST (5)
asc: 24
ascq: 1
(K3bDevice::Device) Unable to do inquiry. /dev/hdc is not a cdrom device
(K3bDevice::DeviceManager) found config entry for devicetype: _NEC DVD_RW ND-3520A
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
Devices:
------------------------------
Blockdevice: /dev/hdd
Generic device:
Vendor: _NEC
Description: DVD_RW ND-3520A
Version: 1.04
Write speed: 8400
Profiles: DVD-ROM, DVD-R Sequential, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Read Cap: DVD-ROM, DVD-R, DVD-R Sequential, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Write Cap: DVD-R, DVD-R Sequential, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW
Writing modes: SAO, TAO, RAW, SAO/R96R, RAW/R96R, Restricted Overwrite
Reader aliases: /dev/hdd
------------------------------
kdecore (KAction): WARNING: KActionCollection::operator+=(): function is severely deprecated.
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
(K3bDevice::Device) READ CAPACITY: 48:00:08 other capacity: 00:00:00
(K3bDevice::Device) READ CAPACITY: 48:00:08 other capacity: 00:00:00
DiskInfo:
Mediatype: CD-ROM
Current Profile: CD-ROM
Disk state: complete
Empty: 0
Rewritable: 0
Appendable: 0
Sessions: 1
Tracks: 11
Layers: 1
Capacity: 48:00:09 (LBA 216009) (442386432 Bytes)
Remaining size: 00:00:00 (LBA 0) (0 Bytes)
Used Size: 48:00:09 (LBA 216009) (442386432 Bytes)
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
Session | ADR | CONTROL| TNO | POINT | Min | Sec | Frame | Zero | PMIN | PSEC | PFRAME |
1 | 1 | 0 | 0 | a0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
1 | 1 | 0 | 0 | a1 | 0 | 0 | 0 | 0 | 11 | 0 | 0 |
1 | 1 | 0 | 0 | a2 | 0 | 0 | 0 | 0 | 48 | 2 | 9 |
1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 |
1 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 4 | 2 | 62 |
1 | 1 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 8 | 18 | 45 |
1 | 1 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 12 | 47 | 0 |
1 | 1 | 0 | 0 | 5 | 0 | 0 | 0 | 0 | 16 | 51 | 7 |
1 | 1 | 0 | 0 | 6 | 0 | 0 | 0 | 0 | 20 | 58 | 67 |
1 | 1 | 0 | 0 | 7 | 0 | 0 | 0 | 0 | 24 | 43 | 35 |
1 | 1 | 0 | 0 | 8 | 0 | 0 | 0 | 0 | 29 | 22 | 22 |
1 | 1 | 0 | 0 | 9 | 0 | 0 | 0 | 0 | 33 | 19 | 7 |
1 | 1 | 0 | 0 | a | 0 | 0 | 0 | 0 | 38 | 47 | 62 |
1 | 1 | 0 | 0 | b | 0 | 0 | 0 | 0 | 43 | 32 | 70 |
(K3bDevice::Device) found invalid bcd values. No bcd toc.
/dev/hdd: setting last sector of last track to 216008
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
(K3bDevice::HalConnection) lock queued for /org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3520A
(K3bDevice::Device) /dev/hdd: READ TOC/PMA/ATIP invalid length returned: 4
Session | ADR | CONTROL| TNO | POINT | Min | Sec | Frame | Zero | PMIN | PSEC | PFRAME |
1 | 1 | 0 | 0 | a0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
1 | 1 | 0 | 0 | a1 | 0 | 0 | 0 | 0 | 11 | 0 | 0 |
1 | 1 | 0 | 0 | a2 | 0 | 0 | 0 | 0 | 48 | 2 | 9 |
1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 |
1 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 4 | 2 | 62 |
1 | 1 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 8 | 18 | 45 |
1 | 1 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 12 | 47 | 0 |
1 | 1 | 0 | 0 | 5 | 0 | 0 | 0 | 0 | 16 | 51 | 7 |
1 | 1 | 0 | 0 | 6 | 0 | 0 | 0 | 0 | 20 | 58 | 67 |
1 | 1 | 0 | 0 | 7 | 0 | 0 | 0 | 0 | 24 | 43 | 35 |
1 | 1 | 0 | 0 | 8 | 0 | 0 | 0 | 0 | 29 | 22 | 22 |
1 | 1 | 0 | 0 | 9 | 0 | 0 | 0 | 0 | 33 | 19 | 7 |
1 | 1 | 0 | 0 | a | 0 | 0 | 0 | 0 | 38 | 47 | 62 |
1 | 1 | 0 | 0 | b | 0 | 0 | 0 | 0 | 43 | 32 | 70 |
(K3bDevice::Device) found invalid bcd values. No bcd toc.
/dev/hdd: setting last sector of last track to 216008
(K3bDevice::Device) found index 0: -1
(K3bDevice::Device) searching for index transitions between 0 and 18061
(K3bDevice::Device) indices: 0 - 1 and 18061 - 1
(K3bDevice::Device) found index 0: -1
(K3bDevice::Device) searching for index transitions between 18062 and 37244
(K3bDevice::Device) indices: 18062 - 1 and 37244 - 1
(K3bDevice::Device) found index 0: 57360
(K3bDevice::Device) searching for index transitions between 37245 and 57359
(K3bDevice::Device) indices: 37245 - 1 and 57359 - 1
(K3bDevice::Device) found index 0: 75647
(K3bDevice::Device) searching for index transitions between 57375 and 75646
(K3bDevice::Device) indices: 57375 - 1 and 75646 - 1
(K3bDevice::Device) found index 0: 94217
(K3bDevice::Device) searching for index transitions between 75682 and 94216
(K3bDevice::Device) indices: 75682 - 1 and 94216 - 1
(K3bDevice::Device) found index 0: 111000
(K3bDevice::Device) searching for index transitions between 94267 and 110999
(K3bDevice::Device) indices: 94267 - 1 and 110999 - 1
(K3bDevice::Device) found index 0: 131947
(K3bDevice::Device) searching for index transitions between 111110 and 131946
(K3bDevice::Device) indices: 111110 - 1 and 131946 - 1
(K3bDevice::Device) found index 0: -1
(K3bDevice::Device) searching for index transitions between 132022 and 149781
(K3bDevice::Device) indices: 132022 - 1 and 149781 - 1
(K3bDevice::Device) found index 0: -1
(K3bDevice::Device) searching for index transitions between 149782 and 174436
(K3bDevice::Device) indices: 149782 - 1 and 174436 - 1
(K3bDevice::Device) found index 0: -1
(K3bDevice::Device) searching for index transitions between 174437 and 195819
(K3bDevice::Device) indices: 174437 - 1 and 195819 - 1
(K3bDevice::Device) found index 0: -1
(K3bDevice::Device) searching for index transitions between 195820 and 216008
(K3bDevice::Device) indices: 195820 - 1 and 216008 - 1
** Affects: k3b (Ubuntu)
Importance: Undecided
Status: New
--
[gutsy] k3b crashes with *** stack smashing detected ***
https://bugs.launchpad.net/bugs/178631
You received this bug notification because you are a member of Ubuntu
Burning Team, which is a bug contact for k3b in ubuntu.
More information about the Ubuntu-burning
mailing list