[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#45383: kscd crashes when play is clicked quickly and no CD in drive
From:       jju () dif ! dk
Date:       2002-07-17 16:03:22
[Download RAW message or body]

Package: kscd
Version: KDE 3.0.6 CVS/CVSup/Snapshot
Severity: crash
Installed from:    Compiled sources
Compiler:          gcc 2.95.3
OS:                Linux
OS/Compiler notes: Not Specified


I use Kscd to play music CD's from my SCSI DVD drive (/dev/scd0), and usually it \
works just fine.  But today When I started it I had forgotten to insert a CD before I \
pressed play and kscd crashed.

I tried to reproduce the crash, and initially I couldn't do it. But then I found out \
that it depends on how shortly after kscd starts up that you press the play button. \
If you start kscd and just stare at it for a few seconds and then press play, then is \
usually does not crash (although sometimes it does). If you start kscd and quickly \
hit the play button as soon as the app appears on screen, then it crashes every time \
(at least on my system). If I insert a music CD in the drive before starting kscd, \
then I cannot reproduce the crash - it just starts playing the CD.

Here's a backtrace from one of the crashes:

0x4103c389 in wait4 () from /lib/libc.so.6
#0  0x4103c389 in wait4 () from /lib/libc.so.6
#1  0x410b4058 in __check_rhosts_file () from /lib/libc.so.6
#2  0x40f21263 in waitpid () from /lib/libpthread.so.0
#3  0x4067e6ff in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:224
#4  0x40f1ed94 in pthread_kill () from /lib/libpthread.so.0
#5  0x40fc5908 in sigaction () from /lib/libc.so.6
#6  0x8059f4a in KSCD::playClicked (this=0x8107208) at kscd.cpp:797
#7  0x806e079 in KSCD::qt_invoke (this=0x8107208, _id=57, _o=0xbffff228)
    at kscd.moc:291
#8  0x409dbff6 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0x409dbf4e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#10 0x40ca11b0 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#11 0x40a696b7 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#12 0x40a08991 in QWidget::event () from /usr/lib/libqt-mt.so.3
#13 0x4097f466 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#14 0x4097edb3 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#15 0x405ddac4 in KApplication::notify (this=0xbffff890, receiver=0x8121790, 
    event=0xbffff510) at kapplication.cpp:556
#16 0x4092ecbb in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#17 0x4092c34f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#18 0x4092b06e in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.3
#19 0x4098087f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#20 0x4092afdb in QApplication::exec () from /usr/lib/libqt-mt.so.3
#21 0x806dc9a in main (argc=7, argv=0xbffffa14) at kscd.cpp:3187
#22 0x40fb574f in __libc_start_main () from /lib/libc.so.6



Here's another backtrace created by a scecond crash (identical except for a few \
memory addresses) :

0x4103c389 in wait4 () from /lib/libc.so.6
#0  0x4103c389 in wait4 () from /lib/libc.so.6
#1  0x410b4058 in __check_rhosts_file () from /lib/libc.so.6
#2  0x40f21263 in waitpid () from /lib/libpthread.so.0
#3  0x4067e6ff in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:224
#4  0x40f1ed94 in pthread_kill () from /lib/libpthread.so.0
#5  0x40fc5908 in sigaction () from /lib/libc.so.6
#6  0x8059f4a in KSCD::playClicked (this=0x8107200) at kscd.cpp:797
#7  0x806e079 in KSCD::qt_invoke (this=0x8107200, _id=57, _o=0xbffff228)
    at kscd.moc:291
#8  0x409dbff6 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0x409dbf4e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#10 0x40ca11b0 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#11 0x40a696b7 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#12 0x40a08991 in QWidget::event () from /usr/lib/libqt-mt.so.3
#13 0x4097f466 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#14 0x4097edb3 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#15 0x405ddac4 in KApplication::notify (this=0xbffff890, receiver=0x8121788, 
    event=0xbffff510) at kapplication.cpp:556
#16 0x4092ecbb in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#17 0x4092c34f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#18 0x4092b06e in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.3
#19 0x4098087f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#20 0x4092afdb in QApplication::exec () from /usr/lib/libqt-mt.so.3
#21 0x806dc9a in main (argc=7, argv=0xbffffa14) at kscd.cpp:3187
#22 0x40fb574f in __libc_start_main () from /lib/libc.so.6


I should probably also note that it crashes with signal 11 (SIGSEGV).


Let me know if you need more info.


/Jesper Juhl - jju@dif.dk


(Submitted via bugs.kde.org)


(Complete bug history is available at http://bugs.kde.org/db/45/45383.html)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic