kio_audiocd crashes

Andras Mantia amantia at kde.org
Sun Jan 9 13:03:13 GMT 2005


Hi,

 Since I completely recompiled (and installed to a new directory) KDE 
CVS HEAD kio_audiocd crashes for me and I'm clueless about the real 
reason. Here are the valgrind (mixed with the stdout debug info) and 
gdb logs. As it seems it crashes in NetAccess::enter_loop(), but the 
stdout info tells about some linkage problem. I rebuilt kio, kcddb and 
kio_audiocd in this order, yet nothing helps and I'm really clueless 
about where is the problem. Might be some Makefile.am issue?

Valgrind:
==9018== Conditional jump or move depends on uninitialised value(s)
==9018==    at 0x45B3FE19: scsi_init_drive 
(in /usr/lib/libcdda_interface.so.0.9.8)
==9018==    by 0x45B3BA60: cdda_open 
(in /usr/lib/libcdda_interface.so.0.9.8)
==9018==    by 0x45A666DF: AudioCD::AudioCDProtocol::initRequest(KURL 
const&) (audiocd.cpp:361)
==9018==    by 0x45A678C6: AudioCD::AudioCDProtocol::stat(KURL const&) 
(audiocd.cpp:580)
QWidget: Cannot create a QWidget when no GUI is being used
==9018==
==9018== Invalid read of size 4
==9018==    at 0x40DDE3E9: QWidget::create(unsigned long, bool, bool) 
(in /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3.3.3)
==9018==    by 0x40E9EEDE: QWidget::QWidget(QWidget*, char const*, 
unsigned) (in /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3.3.3)
==9018==    by 0x403C0936: KIO::NetAccess::enter_loop() 
(netaccess.cpp:457)
==9018==    by 0x403C08C2: 
_ZN3KIO9NetAccess22synchronousRunInternalEPNS_3JobEP7QWidgetP9QMemArrayIcEP4KURLP4QMapI7QStringSB_E 
(netaccess.cpp:441)
==9018==    Address 0x8C is not stack'd, malloc'd or free'd
kioslave: ####### CRASH ###### protocol = audiocd pid = 9018 signal = 11
/opt/kde-cvs/lib/libkio.so.4(_ZN3KIO9SlaveBase15sigsegv_handlerEi+0xad)
[0x403d01dd]
/usr/local//lib/valgrind/valgrind.so(vgPlain_signalreturn_bogusRA+0x0)
[0x40182fec]
/usr/lib/qt-copy-3.3/lib/libqt-mt.so.3(_ZN7QWidgetC1EPS_PKcj+0x10f)
[0x40e9eedf]
/opt/kde-cvs/lib/libkio.so.4(_ZN3KIO9NetAccess10enter_loopEv+0x2b)
[0x403c0937]
/opt/kde-cvs/lib/libkio.so.4
(_ZN3KIO9NetAccess22synchronousRunInternalEPNS_3JobEP7QWidgetP9QMemArrayIcEP4KURLP4QMapI7QStringSB_E+0x1c7)
[0x403c08c3]
/opt/kde-cvs/lib/libkio.so.4
(_ZN3KIO9NetAccess14synchronousRunEPNS_3JobEP7QWidgetP9QMemArrayIcEP4KURLP4QMapI7QStringSB_E+0x3e)
[0x403bfc38]
/opt/kde-cvs/lib/libkcddb.so.1
(_ZN5KCDDB14SyncHTTPLookup8fetchURLEv+0xd8)[0x45b88000]
/opt/kde-cvs/lib/libkcddb.so.1(_ZN5KCDDB10HTTPLookup9sendQueryEv+0xbc)
[0x45b86f4e]
/opt/kde-cvs/lib/libkcddb.so.1
(_ZN5KCDDB14SyncHTTPLookup8runQueryEv+0x60)[0x45b87dd0]
/opt/kde-cvs/lib/libkcddb.so.1
(_ZN5KCDDB14SyncHTTPLookup6lookupERK7QStringjRK10QValueListIjE+0x6a)
[0x45b87be8]
/opt/kde-cvs/lib/libkcddb.so.1
(_ZN5KCDDB6Client6lookupERK10QValueListIjE+0x385)[0x45b82b0f]
/opt/kde-cvs/lib/kde3/kio_audiocd.so(_ZN7AudioCD15AudioCDProtocol8updateCDEP11cdrom_drive+0x22e)
[0x45a67e44]
/opt/kde-cvs/lib/kde3/kio_audiocd.so(_ZN7AudioCD15AudioCDProtocol11initRequestERK4KURL+0x1aa)
[0x45a66786]
/opt/kde-cvs/lib/kde3/kio_audiocd.so(_ZN7AudioCD15AudioCDProtocol4statERK4KURL+0x21)
[0x45a678c7]
/opt/kde-cvs/lib/libkio.so.4
(_ZN3KIO9SlaveBase8dispatchEiRK9QMemArrayIcE+0x522)[0x403d1e4a]
/opt/kde-cvs/lib/libkio.so.4(_ZN3KIO9SlaveBase12dispatchLoopEv+0x2c4)
[0x403ce456]
/opt/kde-cvs/lib/kde3/kio_audiocd.so(kdemain+0x1d0)[0x45a66010]
/opt/kde-cvs/bin/kioslave[0x8048b1a]
/lib/libc.so.6(__libc_start_main+0xbb)[0x4169492b]
/opt/kde-cvs/bin/kioslave(_init+0xf1)[0x80488d1]

gdb:
Program received signal SIGSEGV, Segmentation fault.
0x40c183e9 in QWidget::create () 
from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
(gdb) bt
#0  0x40c183e9 in QWidget::create () 
from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#1  0x40cd8edf in QWidget::QWidget () 
from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#2  0x401fa937 in KIO::NetAccess::enter_loop (this=0xbfffe350)
    at /data/development/sources/kde-head/kdelibs/kio/kio/netaccess.cpp:457
#3  0x401fa8c3 in KIO::NetAccess::synchronousRunInternal 
(this=0xbfffe350, job=0x819d688, window=0x0, data=0x8223d44,
    finalURL=0x0, metaData=0x0) 
at /data/development/sources/kde-head/kdelibs/kio/kio/netaccess.cpp:441
#4  0x401f9c38 in KIO::NetAccess::synchronousRun (job=0x819d688, 
window=0x0, data=0x8223d44, finalURL=0x0, metaData=0x0)
    at /data/development/sources/kde-head/kdelibs/kio/kio/netaccess.cpp:239
#5  0x41fde000 in KCDDB::SyncHTTPLookup::fetchURL (this=0x8223cd0) at 
synchttplookup.cpp:122
#6  0x41fdcf4e in KCDDB::HTTPLookup::sendQuery (this=0x8223cd0) at 
httplookup.cpp:46
#7  0x41fdddd0 in KCDDB::SyncHTTPLookup::runQuery (this=0x8223cd0) at 
synchttplookup.cpp:88
#8  0x41fddbe8 in KCDDB::SyncHTTPLookup::lookup (this=0x8223cd0, 
hostName=@0xbfffe5d0, port=80,
    trackOffsetList=@0xbfffe7b0) at synchttplookup.cpp:58
#9  0x41fd8b0f in KCDDB::Client::lookup (this=0xbfffe720, 
trackOffsetList=@0xbfffe7b0) at client.cpp:162
#10 0x4099e8c6 in AudioCD::AudioCDProtocol::updateCD () 
from /opt/kde-cvs/lib/kde3/kio_audiocd.so
#11 0x4099ee16 in AudioCD::AudioCDProtocol::initRequest () 
from /opt/kde-cvs/lib/kde3/kio_audiocd.so
#12 0x409a09b5 in AudioCD::AudioCDProtocol::stat () 
from /opt/kde-cvs/lib/kde3/kio_audiocd.so
#13 0x4020be4a in KIO::SlaveBase::dispatch (this=0xbfffec70, command=69, 
data=@0xbfffeb40)
    at /data/development/sources/kde-head/kdelibs/kio/kio/slavebase.cpp:1030
#14 0x40208456 in KIO::SlaveBase::dispatchLoop (this=0xbfffec70)
    at /data/development/sources/kde-head/kdelibs/kio/kio/slavebase.cpp:290
#15 0x409a2900 in kdemain () from /opt/kde-cvs/lib/kde3/kio_audiocd.so
#16 0x0804e465 in launch (argc=4, _name=0x8161dbc "kio_audiocd", 
args=0x8161e32 "", cwd=0x0, envc=0, envs=0x8161e36 "",
    reset_env=false, tty=0x0, avoid_loops=false, 
startup_id_str=0x8052e87 "0")
    at /data/development/sources/kde-head/kdelibs/kinit/kinit.cpp:623
#17 0x0804f77f in handle_launcher_request (sock=8) 
at /data/development/sources/kde-head/kdelibs/kinit/kinit.cpp:1187
#18 0x0804fe48 in handle_requests (waitForPid=0) 
at /data/development/sources/kde-head/kdelibs/kinit/kinit.cpp:1388
#19 0x08051324 in main (argc=1, argv=0xbffff334, envp=0xbffff33c)
    at /data/development/sources/kde-head/kdelibs/kinit/kinit.cpp:1841

-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050109/3edb3dca/attachment.sig>


More information about the kde-core-devel mailing list