Bug 137269 - konqueror crash while copying kabc stdvcf files
Summary: konqueror crash while copying kabc stdvcf files
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-13 04:21 UTC by Ted Hansen
Modified: 2009-08-05 16:31 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 Ted Hansen 2006-11-13 04:21:14 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I am attempting to move my address list to a new system by copying the address list cards using konqueror. Clicking on the card file opens the kaddressbook dialog box asking to import the contact into kaddressbook. I OK this and it works fine the first time. When I attempt this with the next card, konqueror crashes when I OK to import the new contact.
Here is the backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
{snip}
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1500477760 (LWP 4863)]
(no debugging symbols found)
{snip}
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0xa55e9365 in KABC::AddressBook::requestSaveTicket ()
   from /usr/lib/libkabc.so.1
#6  0xa59ae9d7 in KABLock::lock () from /usr/lib/libkaddressbook.so.0
#7  0xa59af997 in NewCommand::execute () from /usr/lib/libkaddressbook.so.0
#8  0xa6d834a1 in KCommandHistory::addCommand () from /usr/lib/libkdeui.so.4
#9  0xa59c006f in XXPortManager::slotImport ()
   from /usr/lib/libkaddressbook.so.0
#10 0xa59c02a6 in XXPortManager::importVCard ()
   from /usr/lib/libkaddressbook.so.0
#11 0xa59c0437 in KABCore::importVCard () from /usr/lib/libkaddressbook.so.0
#12 0xa5a66225 in KAddressbookPart::openURL ()
   from /usr/lib/kde3/libkaddressbookpart.so
#13 0xa66db960 in KonqView::openURL () from /usr/lib/libkdeinit_konqueror.so
#14 0xa66e737c in KonqMainWindow::openView ()
   from /usr/lib/libkdeinit_konqueror.so
#15 0xa66e9269 in KonqMainWindow::openURL ()
   from /usr/lib/libkdeinit_konqueror.so
#16 0xa66ec142 in KonqMainWindow::openURL ()
   from /usr/lib/libkdeinit_konqueror.so
#17 0xa66f8629 in KonqMainWindow::slotOpenURLRequest ()
   from /usr/lib/libkdeinit_konqueror.so
#18 0xa6702123 in KonqMainWindow::qt_invoke ()
   from /usr/lib/libkdeinit_konqueror.so
#19 0xa72becb3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xa7f73890 in KParts::BrowserExtension::openURLRequestDelayed ()
   from /usr/lib/libkparts.so.2
#21 0xa7f81bbe in KParts::BrowserExtension::slotEmitOpenURLRequestDelayed ()
   from /usr/lib/libkparts.so.2
#22 0xa7f81cb1 in KParts::BrowserExtension::qt_invoke ()
   from /usr/lib/libkparts.so.2
#23 0xa5bb46a3 in IconViewBrowserExtension::qt_invoke ()
   from /usr/lib/kde3/konq_iconview.so
#24 0xa72becb3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xa7647cef in QSignal::signal () from /usr/lib/libqt-mt.so.3
#26 0xa72de836 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#27 0xa72e6208 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#28 0xa7256bd6 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#29 0xa72589f3 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#30 0xa794ce6e in KApplication::notify () from /usr/lib/libkdecore.so.4
#31 0xa71ea3d1 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#32 0xa72495d3 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#33 0xa71fe71f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#34 0xa7271129 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#35 0xa7270f4a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#36 0xa725876f in QApplication::exec () from /usr/lib/libqt-mt.so.3
#37 0xa66fd495 in kdemain () from /usr/lib/libkdeinit_konqueror.so
#38 0xa7fa1524 in kdeinitmain () from /usr/lib/kde3/konqueror.so
#39 0x0804e457 in ?? ()
#40 0x00000002 in ?? ()
#41 0x08073ea0 in ?? ()
#42 0x00000001 in ?? ()
#43 0x00000000 in ?? ()
Comment 1 Will Stephenson 2007-01-30 02:30:47 UTC
I'm testing a fix.
Comment 2 Will Stephenson 2007-01-30 14:04:37 UTC
SVN commit 628578 by wstephens:

Refresh the pointer stored to the addressbook whenever KABLock::self() is called, otherwise we risk that StdAddressbook::close() has deleted the reference addressbook and invalidated the pointer.

BUG:137269


 M  +2 -0      kablock.cpp  


--- branches/KDE/3.5/kdepim/kaddressbook/kablock.cpp #628577:628578
@@ -57,6 +57,8 @@
 {
   if ( !mSelf )
     kabLockDeleter.setObject( mSelf, new KABLock( ab ) );
+  else
+    mSelf->mAddressBook = ab;
 
   return mSelf;
 }
Comment 3 Tobias Koenig 2009-08-05 16:31:32 UTC
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.