kio_lan crashes in KInstancePrivate

Michael Brade brade at kde.org
Thu Mar 24 19:53:24 GMT 2005


Hi,

as I mentioned already kio_lan crashes on exit rather often, I haven been able 
to explain it yet. I haven't got the Lisa deamon running and the slave 
usually crashes when it is stopped befored it has a chance to pop up the 
dialog saying the Lisa deamon is running.

Does anyone know why it crashes in KInstancePrivate? It seems the 
mimeSourceFactory is invalid, but just from reading the code I can't see 
anything wrong with it.

kio (Scheduler): Scheduler: killing slave 473
kio (Slave): killing slave pid=473 (lan://)
kio (kioslave):  dispatchLoop() slave was killed, returning
==473== Invalid read of size 4
==473==    at 0x1BA964E1: KShared::_KShared_unref() const (ksharedptr.h:68)
==473==    by 0x1C0E88D3: KSharedPtr<KSharedConfig>::~KSharedPtr() 
(ksharedptr.h:126)
==473==    by 0x1C12E9FB: KInstancePrivate::~KInstancePrivate() 
(kinstance.cpp:60)
==473==    by 0x1C12D973: KInstance::~KInstance() (kinstance.cpp:140)
==473==    by 0x1C24C6D3: kdemain (kio_lan.cpp:87)
==473==    by 0x8048999: main (in /opt/kde-3/bin/kioslave)
==473==  Address 0x1D72E524 is 84 bytes inside a block of size 88 free'd
==473==    at 0x1B906CA8: operator delete(void*) (vg_replace_malloc.c:155)
==473==    by 0x1C0B4D87: KSharedConfig::~KSharedConfig() (kconfig.cpp:365)
==473==    by 0x1C24CF2B: LANProtocol::LANProtocol(int, QCString const&, 
QCString const&) (kio_lan.cpp:130)
==473==    by 0x1C24C696: kdemain (kio_lan.cpp:85)
==473==    by 0x8048999: main (in /opt/kde-3/bin/kioslave)

Thanks,
-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience
-------------- 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/20050324/84b566b6/attachment.sig>


More information about the kde-core-devel mailing list