Bug 8647 - kscd crashes while doing a cddb lookup
Summary: kscd crashes while doing a cddb lookup
Status: CLOSED FIXED
Alias: None
Product: kscd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR normal
Target Milestone: ---
Assignee: Dirk Foersterling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-20 17:03 UTC by Unknown
Modified: 2003-02-17 07:32 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 Sean Kendall Schneyer 2000-08-20 17:04:50 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kscd
Version: 2000-08-20 CVS version

Kscd seems to work fine until a CDDB query is performed at which point the
application segfaults. Unfortunately Dr. Konqi is unable to generate a
backtrace on the application. I have generated an strace so that may be
of some help in tracking down the problem:

te(2 "kscd: " 6kscd: )                   = 6
write(2 "\n" 1
)                       = 1
close(-1)                               = -1 EBADF (Bad file descriptor)
write(6 "quit\n\0" 6)                 = 6
write(2 "kscd: " 6kscd: )                   = 6
write(2 "SOCKET CONNECTION TERMINATED\n" 29SOCKET CONNECTION TERMINATED
) = 29
write(2 "kscd: " 6kscd: )                   = 6
write(2 "\n" 1
)                       = 1
close(6)                                = 0
write(2 "kscd: " 6kscd: )                   = 6
write(2 "cddb_done() called\n" 19cddb_done() called
)    = 19
write(2 "kscd: " 6kscd: )                   = 6
write(2 "\n" 1
)                       = 1
write(2 "kscd: " 6kscd: )                   = 6
write(2 "REVISION 3\n" 11REVISION 3
)            = 11
write(2 "kscd: " 6kscd: )                   = 6
write(2 "\n" 1
)                       = 1
write(2 "kscd: " 6kscd: )                   = 6
write(2 "DISCDID dc0cf70f\r\n" 18DISCDID dc0cf70f
)    = 18
write(2 "kscd: " 6kscd: )                   = 6
write(2 "\n" 1
)                       = 1
write(2 "kscd: " 6kscd: )                   = 6
write(2 "FOUND 1 DISCID\'s\n" 17FOUND 1 DISCID's
)     = 17
write(2 "kscd: " 6kscd: )                   = 6
write(2 "\n" 1
)                       = 1                                   

Regards
Sean Kendall Schneyer
Comment 1 Sean Kendall Schneyer 2000-08-20 17:11:53 UTC
Okay I finally got Dr. Konqi to generate a backtrace:



Here is a backtrace generated by DrKonqi:
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x40c78e19 in wait4 () from /lib/libc.so.6
#0  0x40c78e19 in wait4 () from /lib/libc.so.6
#1  0x40cd4078 in __check_rhosts_file () from /lib/libc.so.6
#2  0x40e5b64b in waitpid () from /lib/libpthread.so.0
#3  0x403e03b0 in KCrash::defaultCrashHandler ()
   from /usr/local/kde/lib/libkdecore.so.3
#4  0x40c1a868 in sigaction () from /lib/libc.so.6
#5  0x80701d5 in cddb_playlist_decode ()
#6  0x806fac1 in CDDB::getData ()
#7  0x8061273 in KSCD::cddb_done ()
#8  0x406cc040 in QObject::activate_signal () from /usr/local/qt/lib/libqt.so.2
#9  0x80717e2 in CDDB::cddb_done ()
#10 0x806c791 in CDDB::do_state_machine ()
#11 0x8069f7a in CDDB::cddb_read ()
#12 0x403a8b7f in KSocket::readEvent () from /usr/local/kde/lib/libkdecore.so.3
#13 0x403a7b2a in KSocket::slotRead () from /usr/local/kde/lib/libkdecore.so.3
#14 0x406cc34f in QObject::activate_signal () from /usr/local/qt/lib/libqt.so.2
#15 0x4073f290 in QSocketNotifier::activated ()
   from /usr/local/qt/lib/libqt.so.2
#16 0x4071519e in QSocketNotifier::event () from /usr/local/qt/lib/libqt.so.2
#17 0x4065dcd9 in QApplication::notify () from /usr/local/qt/lib/libqt.so.2
#18 0x40626ff6 in sn_activate () from /usr/local/qt/lib/libqt.so.2
#19 0x40627326 in QApplication::processNextEvent ()
   from /usr/local/qt/lib/libqt.so.2
#20 0x4065f8b4 in QApplication::enter_loop () from /usr/local/qt/lib/libqt.so.2
#21 0x406270c7 in QApplication::exec () from /usr/local/qt/lib/libqt.so.2
#22 0x8064440 in main ()
#23 0x40c14a42 in __libc_start_main () from /lib/libc.so.6
Comment 2 Dirk Foersterling 2000-08-24 08:10:48 UTC
The bug has been fixed.

-- 
                   D i r k   F "o r s t e r l i n g                  
  milliByte@gmx.net  ********  http://www.DeathsDoor.com/milliByte/
                           -------------
    "Never again is what you swore the time before" - M.L. Gore