Version: (using KDE 4.1.0) Installed from: Debian testing/unstable Packages OS: Linux Kaddressbook crashes when a contact has been removed from the addressbook. step to reproduce: 1. add an xmlrpc (egroupware) ressource 2. the contact are displayed 3. close kaddressbook 4. remove one contact using the egroupware web interface 5. open kaddressbook 6. kaddressbook *briefly* display the removed contact then crashes It seems that kaddressbook caches the contacts and crashes when the contact is in cache and no more on the server. This crash happens using egroupware 1.4 and 1.6pre1. Please let me know if you need a test account on my egroupware server! backtrace: Application: KAddressBook (kaddressbook), signal SIGSEGV (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb5193920 (LWP 7858)] [KCrash handler] #6 0xb6c5314b in QString::operator< (this=0x8150be8, other=@0x811e328) at tools/qstring.cpp:166 #7 0xb665f628 in QMap<QString, QString>::remove (this=0x81045d4, akey=@0x811e328) at /usr/include/qt4/QtCore/qmap.h:106 #8 0xb665d28a in KRES::IdMapper::removeRemoteId (this=0x8121254, remoteId=@0xbfbb5fcc) at /tmp/buildd/kdepimlibs-4.1.0/kresources/idmapper.cpp:169 #9 0xb64cc844 in KABC::ResourceCached::cleanUpCache (this=0x811f4c8, addrList=@0xbfbb6088) at /tmp/buildd/kdepimlibs-4.1.0/kabc/resourcecached.cpp:217 #10 0xb39acc72 in KABC::ResourceXMLRPC::listContactsFinished () from /usr/lib/libkabc_xmlrpc.so.4 #11 0xb39b2551 in KABC::ResourceXMLRPC::qt_metacall () from /usr/lib/libkabc_xmlrpc.so.4 #12 0xb6d16830 in QMetaObject::activate (sender=0x8166318, from_signal_index=4, to_signal_index=4, argv=0xbfbb61a8) at kernel/qobject.cpp:3016 #13 0xb6d175b2 in QMetaObject::activate (sender=0x8166318, m=0xb39c0234, local_signal_index=0, argv=0xbfbb61a8) at kernel/qobject.cpp:3086 #14 0xb39b5579 in ?? () from /usr/lib/libkabc_xmlrpc.so.4 #15 0x08166318 in ?? () #16 0xb39c0234 in typeinfo for KABC::ResourceXMLRPCConfig () from /usr/lib/libkabc_xmlrpc.so.4 #17 0xb39b7ba9 in ?? () from /usr/lib/libkabc_xmlrpc.so.4 #18 0x08166318 in ?? () #19 0xbfbb6254 in ?? () #20 0x08166324 in ?? () #21 0xbfbb6264 in ?? () #22 0xbfbb6260 in ?? () #23 0xbfbb625c in ?? () #24 0xbfbb61f8 in ?? () #25 0x08166330 in ?? () #26 0xbfbb6268 in ?? () #27 0x080fc8c8 in ?? () #28 0x080fc8c0 in ?? () #29 0xb6ac9ff4 in ?? () from /lib/i686/cmov/libc.so.6 #30 0x08526658 in ?? () #31 0x08166320 in ?? () #32 0xbfbb6234 in ?? () #33 0xb69e4f0d in _int_realloc () from /lib/i686/cmov/libc.so.6 Backtrace stopped: previous frame inner to this frame (corrupt stack?) #0 0xffffe410 in __kernel_vsyscall () Best regards Marc
According to winterz, this is a duplicate of bug 168363 *** This bug has been marked as a duplicate of bug 168363 ***
Hello. I am afraid, this is another issue than bug 168363, and patch from it did not help. Same thing happens to me with openSUSE KDE 4.1.2 packages. I checked source packages, and that patch is applied, but kaddressbook still crashes. KAddressbook from KDE3 works. KCrash report: Приложение: KAddressBook (kaddressbook), сигнал SIGSEGV [?1034h[Thread debugging using libthread_db enabled] [New Thread 0xb4bf16d0 (LWP 9239)] [KCrash handler] #6 0xb680227b in QString::operator< (this=0x83b7b30, other=@0x8485ea0) at tools/qstring.cpp:160 #7 0xb796e150 in QMap<QString, QString>::remove (this=0x841156c, akey=@0x8485ea0) at /usr/include/QtCore/qmap.h:100 #8 0xb796c2e3 in KRES::IdMapper::removeRemoteId (this=0x83ac9cc, remoteId=@0xbfb6eb50) at /usr/src/debug/kdepimlibs-4.1.2/kresources/idmapper.cpp:169 #9 0xb327e7ca in KABC::ResourceXMLRPC::deleteContactFinished (this=0x8173780, id=@0x840d4fc) at /usr/src/debug/kdepim-4.1.2/kresources/egroupware/kabc_resourcexmlrpc.cpp:392 #10 0xb32881f1 in KABC::ResourceXMLRPC::qt_metacall (this=0x8173780, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfb6ec58) at /usr/src/debug/kdepim-4.1.2/build/kresources/egroupware/kabc_resourcexmlrpc.moc:99 #11 0xb68c6730 in QMetaObject::activate (sender=0x840d4f0, from_signal_index=4, to_signal_index=4, argv=0xbfb6ec58) at kernel/qobject.cpp:3031 #12 0xb68c74b2 in QMetaObject::activate (sender=0x840d4f0, m=0xb3296a34, local_signal_index=0, argv=0xbfb6ec58) at kernel/qobject.cpp:3101 #13 0xb328bbf9 in KXMLRPC::Query::message (this=0x840d4f0, _t1=@0xbfb6ed04, _t2=@0x840d4fc) at /usr/src/debug/kdepim-4.1.2/build/kresources/egroupware/xmlrpciface.moc:101 #14 0xb328dff9 in KXMLRPC::Query::slotResult (this=0x840d4f0, job=0x8118038) at /usr/src/debug/kdepim-4.1.2/kresources/egroupware/xmlrpciface.cpp:127 #15 0xb328ffd4 in KXMLRPC::Query::qt_metacall (this=0x840d4f0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfb6ee3c) at /usr/src/debug/kdepim-4.1.2/build/kresources/egroupware/xmlrpciface.moc:90 #16 0xb68c6730 in QMetaObject::activate (sender=0x8118038, from_signal_index=7, to_signal_index=7, argv=0xbfb6ee3c) at kernel/qobject.cpp:3031 #17 0xb68c74b2 in QMetaObject::activate (sender=0x8118038, m=0xb6d514a8, local_signal_index=3, argv=0xbfb6ee3c) at kernel/qobject.cpp:3101 #18 0xb6c2fe53 in KJob::result (this=0x8118038, _t1=0x8118038) at /usr/src/debug/kdelibs-4.1.2/build/kdecore/kjob.moc:186 #19 0xb6c302f2 in KJob::emitResult (this=0x8118038) at /usr/src/debug/kdelibs-4.1.2/kdecore/jobs/kjob.cpp:290 #20 0xb729b5b5 in KIO::SimpleJob::slotFinished (this=0x8118038) at /usr/src/debug/kdelibs-4.1.2/kio/kio/job.cpp:498 #21 0xb729c143 in KIO::TransferJob::slotFinished (this=0x8118038) at /usr/src/debug/kdelibs-4.1.2/kio/kio/job.cpp:967 #22 0xb729d1cb in KIO::TransferJob::qt_metacall (this=0x8118038, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfb6f078) at /usr/src/debug/kdelibs-4.1.2/build/kio/jobclasses.moc:336 #23 0xb68c6730 in QMetaObject::activate (sender=0x82dc960, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3031 #24 0xb68c74b2 in QMetaObject::activate (sender=0x82dc960, m=0xb7410624, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3101 #25 0xb73476c7 in KIO::SlaveInterface::finished (this=0x82dc960) at /usr/src/debug/kdelibs-4.1.2/build/kio/slaveinterface.moc:161 #26 0xb734a21f in KIO::SlaveInterface::dispatch (this=0x82dc960, _cmd=104, rawdata=@0xbfb6f214) at /usr/src/debug/kdelibs-4.1.2/kio/kio/slaveinterface.cpp:175 #27 0xb7347f77 in KIO::SlaveInterface::dispatch (this=0x82dc960) at /usr/src/debug/kdelibs-4.1.2/kio/kio/slaveinterface.cpp:90 #28 0xb733abf0 in KIO::Slave::gotInput (this=0x82dc960) at /usr/src/debug/kdelibs-4.1.2/kio/kio/slave.cpp:322 #29 0xb733af63 in KIO::Slave::qt_metacall (this=0x82dc960, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfb6f308) at /usr/src/debug/kdelibs-4.1.2/build/kio/slave.moc:75 #30 0xb68c6730 in QMetaObject::activate (sender=0x8254b58, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031 #31 0xb68c74b2 in QMetaObject::activate (sender=0x8254b58, m=0xb740d280, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101 #32 0xb726acb7 in KIO::Connection::readyRead (this=0x8254b58) at /usr/src/debug/kdelibs-4.1.2/build/kio/connection.moc:84 #33 0xb726c6e3 in KIO::ConnectionPrivate::dequeue (this=0x80f3a28) at /usr/src/debug/kdelibs-4.1.2/kio/kio/connection.cpp:82 #34 0xb726cd36 in KIO::Connection::qt_metacall (this=0x8254b58, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8290e40) at /usr/src/debug/kdelibs-4.1.2/build/kio/connection.moc:72 #35 0xb68bf87b in QMetaCallEvent::placeMetaCall (this=0x83f6d58, object=0x8254b58) at kernel/qobject.cpp:529 #36 0xb68c1439 in QObject::event (this=0x8254b58, e=0x83f6d58) at kernel/qobject.cpp:1155 #37 0xb569c82c in QApplicationPrivate::notify_helper (this=0x8063a98, receiver=0x8254b58, e=0x83f6d58) at kernel/qapplication.cpp:3803 #38 0xb56a46ce in QApplication::notify (this=0xbfb6faa8, receiver=0x8254b58, e=0x83f6d58) at kernel/qapplication.cpp:3393 #39 0xb6fdee0d in KApplication::notify (this=0xbfb6faa8, receiver=0x8254b58, event=0x83f6d58) at /usr/src/debug/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311 #40 0xb68b1a61 in QCoreApplication::notifyInternal (this=0xbfb6faa8, receiver=0x8254b58, event=0x83f6d58) at kernel/qcoreapplication.cpp:587 #41 0xb68b26d5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8054388) at kernel/qcoreapplication.h:209 #42 0xb68b28cd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091 #43 0xb68dc5af in postEventSourceDispatch (s=0x8068b10) at kernel/qcoreapplication.h:214 #44 0xb4fc22d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #45 0xb4fc585b in ?? () from /usr/lib/libglib-2.0.so.0 #46 0xb4fc59d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #47 0xb68dc1f8 in QEventDispatcherGlib::processEvents (this=0x8061aa0, flags= {i = -1078527560}) at kernel/qeventdispatcher_glib.cpp:319 #48 0xb5735885 in QGuiEventDispatcherGlib::processEvents (this=0x8061aa0, flags={i = -1078527512}) at kernel/qguieventdispatcher_glib.cpp:198 #49 0xb68b013a in QEventLoop::processEvents (this=0xbfb6fa60, flags= {i = -1078527448}) at kernel/qeventloop.cpp:143 #50 0xb68b02fa in QEventLoop::exec (this=0xbfb6fa60, flags={i = -1078527384}) at kernel/qeventloop.cpp:194 #51 0xb68b2995 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #52 0xb569c6a7 in QApplication::exec () at kernel/qapplication.cpp:3331 #53 0x0804d804 in main (argc=) at /usr/src/debug/kdepim-4.1.2/kaddressbook/main.cpp:123 #0 0xffffe430 in __kernel_vsyscall ()
The development of the old KAddressBook will be discontinued for KDE 4.4. Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.