Bug 257061 - Knotify crashes immediately after K3b stopped burning because of buffer underrun
Summary: Knotify crashes immediately after K3b stopped burning because of buffer underrun
Status: RESOLVED DUPLICATE of bug 191366
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knotify (show other bugs)
Version: 4.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Olivier Goffart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 14:14 UTC by rele
Modified: 2010-11-16 15:08 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 rele 2010-11-16 14:14:09 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.36-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
K3b started to simulate burning a video DVD which stopped a few seconds after starting. Then Knotify crashed immediately.


KDE 4.4.5

Devices
-----------------------
Optiarc DVD RW AD-7241S 1.03 (/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, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7]

System
-----------------------
K3b Version: 2.0.1
KDE Version: 4.4.5 (KDE 4.4.5)
QT Version:  4.6.3
Kernel:      2.6.36-gentoo-r1

Used versions
-----------------------
cdrecord: 3.0

cdrecord
-----------------------
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Warning: Cannot read drive buffer.
/usr/bin/cdrecord: Warning: The DMA speed test has been skipped.
Cdrecord-ProDVD-ProBD-Clone 3.00 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2010 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'Optiarc '
Identifikation : 'DVD RW AD-7241S '
Revision       : '1.03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R sequential recording
Profile: DVD+R/DL 
Profile: DVD+R 
Profile: DVD+RW 
Profile: DVD-R/DL layer jump recording 
Profile: DVD-R/DL sequential recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD-RAM 
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM 
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Profile: Removable Disk 
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 1802240 = 1760 KB
FIFO size      : 67108864 = 65536 KB
/usr/bin/cdrecord: Data does not fit on current disk.
/usr/bin/cdrecord: Notice: -overburn is not expected to work with DVD/BD media.
/usr/bin/cdrecord: Notice: Overburning active. Trying to write more than the official disk capacity.
Track 01: data  4498 MB        
Total size:     4498 MB = 2303145 sectors
Current Secsize: 2048
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: -4649
Reducing transfer size from 64512 to 32768 bytes.
Starting to write CD/DVD/BD at speed 20 in dummy SAO mode for single session.
Last chance to quit, starting dummy write in 3 seconds.
   2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... /usr/bin/cdrecord: Input/output error. reserve_track_rzone: scsi sendcmd: no error
CDB:  53 00 00 00 00 00 23 24 A9 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.001s timeout 200s
/usr/bin/cdrecord: Cannot open next track.
input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Writing  time:    0.031s
Average write speed 999.0x.
Fixating...
Fixating time:    0.001s
/usr/bin/cdrecord: fifo had 2046 puts and 0 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
BURN-Free was not used.

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=20 -sao -dummy driveropts=burnfree fs=64m -overburn -data -tsize=2303145s -


 -- Backtrace:
Application: KNotify (knotify4), signal: Aborted
[Current thread is 1 (Thread 0x7f5ce80d0760 (LWP 4304))]

Thread 6 (Thread 0x7f5cd7c90710 (LWP 4387)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f5cdcb04be1 in fprintf (this=0x1e2d004, key=0x7f5cd7c8fe10 "\005\203\342L", exp_level=31641600, changed_cb=0x1e2cfd8, cb_data=0x7f5cd7c8fe00) at /usr/include/bits/stdio2.h:98
#2  config_register_key (this=0x1e2d004, key=0x7f5cd7c8fe10 "\005\203\342L", exp_level=31641600, changed_cb=0x1e2cfd8, cb_data=0x7f5cd7c8fe00) at configfile.c:471
#3  0x00007f5ce68b2de0 in ?? () from /lib/libpthread.so.0
#4  0x00007f5cd7c909d0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5cd748f710 (LWP 4390)):
[KCrash Handler]
#5  0x00007f5ce4e8cb45 in raise () from /lib/libc.so.6
#6  0x00007f5ce4e8e350 in abort () from /lib/libc.so.6
#7  0x00007f5ce6b30024 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2266
#8  0x00007f5ce6b301be in qt_message (msgType=QtFatalMsg, msg=0x7f5ce6c88068 "ASSERT: \"%s\" in file %s, line %d", ap=0x7f5cd748e140) at global/qglobal.cpp:2312
#9  0x00007f5ce6b30375 in qFatal (msg=0x1126 <Address 0x1126 out of bounds>) at global/qglobal.cpp:2495
#10 0x00007f5cdcd62429 in Phonon::Xine::XineStream::nullAudioPort (this=0x2447150) at /mnt/bigdata/ebuild/working/portage/media-sound/phonon-4.4.2/work/phonon-4.4.2/xine/xinestream.cpp:216
#11 0x00007f5cdcd6624f in Phonon::Xine::XineStream::createStream (this=0x2447150) at /mnt/bigdata/ebuild/working/portage/media-sound/phonon-4.4.2/work/phonon-4.4.2/xine/xinestream.cpp:527
#12 0x00007f5cdcd6708b in Phonon::Xine::XineStream::event (this=0x2447150, ev=0x24413f0) at /mnt/bigdata/ebuild/working/portage/media-sound/phonon-4.4.2/work/phonon-4.4.2/xine/xinestream.cpp:1244
#13 0x00007f5ce5b4ce8c in QApplicationPrivate::process_cmdline (this=0x1cd1ba0) at kernel/qapplication.cpp:577
#14 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f5cd6a84710 (LWP 4397)):
#0  0x00007f5ce4f36a13 in poll () from /lib/libc.so.6
#1  0x00007f5cd6a8b15e in ?? ()
#2  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5cd6283710 (LWP 4398)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5cdcb12ce3 in ao_exit (this_gen=<value optimized out>) at audio_out.c:1734
#2  0x00007f5cdcb12dbb in ao_exit (this_gen=<value optimized out>) at audio_out.c:1676
#3  0x0000000001e73950 in ?? ()
#4  0x0000000001e73980 in ?? ()
#5  0x00007f5cdcb146fa in _x_ao_new_port (xine=<value optimized out>, driver=<value optimized out>, grab_only=<value optimized out>) at audio_out.c:2166
#6  0x00007f5ce68a8a21 in start_thread () from /lib/libpthread.so.0
#7  0x00007f5ce4f4066d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f5cd5660710 (LWP 13299)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f5cdcb04be1 in fprintf (this=0x243e4f4, key=0x7f5cd565fe10 "\005\203\342L", exp_level=38003952, changed_cb=0x243e4c8, cb_data=0x7f5cd565fe00) at /usr/include/bits/stdio2.h:98
#2  config_register_key (this=0x243e4f4, key=0x7f5cd565fe10 "\005\203\342L", exp_level=38003952, changed_cb=0x243e4c8, cb_data=0x7f5cd565fe00) at configfile.c:471
#3  0x00007f5ce68b2de0 in ?? () from /lib/libpthread.so.0
#4  0x00007f5cd56609d0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5ce80d0760 (LWP 4304)):
#0  0xffffffffff60014c in ?? ()
#1  0x00007fff4670e5d0 in ?? ()
#2  0x00007fff467c382e in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Possible duplicates by query: bug 243190, bug 230718, bug 230717, bug 220048.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-11-16 15:08:18 UTC

*** This bug has been marked as a duplicate of bug 191366 ***