Bug 68193 - Kaddressbook crashes on startup and wont run
Summary: Kaddressbook crashes on startup and wont run
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 11:22 UTC by Steve Nicholson
Modified: 2009-08-05 16:01 UTC (History)
1 user (show)

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 Steve Nicholson 2003-11-14 11:22:57 UTC
Version:           ? latest one (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.3.2 (Debian) 

Kaddressbook crashes on startup. Can access email addresses ok from Kmail but when trying to run kaddressbook to get at other information it crashes. 

Traceback below and running it from the CLI.

traceback.
----------------
[New Thread 16384 (LWP 7338)]
0x41955bb8 in waitpid () from /lib/libpthread.so.0
#0  0x41955bb8 in waitpid () from /lib/libpthread.so.0
#1  0x41065804 in __JCR_LIST__ () from /opt/kde/lib/libkdecore.so.4
#2  0x40f93a74 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#3  0x419547f5 in __pthread_sighandler () from /lib/libpthread.so.0
#4  <signal handler called>
#5  0x400c5ab5 in ViewManager::refreshView(QString const&) (this=0x0, 
    uid=@0x417c5f94) at viewmanager.cpp:232
#6  0x400a3270 in KABCore::addressBookChanged() (this=0x80c8178)
    at kabcore.cpp:808
#7  0x400a5ab2 in KABCore::qt_invoke(int, QUObject*) (this=0x80c8178, _id=52, 
    _o=0xbfffdc80) at kabcore.moc:310
#8  0x4137622c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#9  0x40664add in KABC::AddressBook::loadingFinished(KABC::Resource*) (
    this=0x80c7f58, t0=0x0) at addressbook.moc:178
#10 0x4066a2ee in KABC::AddressBook::resourceLoadingFinished(KABC::Resource*) (
    this=0x80c7f58, res=0x80d8ca0) at addressbook.cpp:797
#11 0x40664c78 in KABC::AddressBook::qt_invoke(int, QUObject*) (
    this=0x80c7f58, _id=2, _o=0xbfffdd80) at qucom_p.h:312
#12 0x4137622c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#13 0x40691b1a in KABC::Resource::loadingFinished(KABC::Resource*) (
    this=0x80d8ca0, t0=0x0) at resource.moc:112
#14 0x41d41414 in KABC::ResourceFile::downloadFinished(KIO::Job*) (
    this=0x80d8ca0) at resourcefile.cpp:326
#15 0x41d416dd in KABC::ResourceFile::qt_invoke(int, QUObject*) (
    this=0x80d8ca0, _id=2, _o=0xbfffdf00) at qucom_p.h:312
#16 0x4137622c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#17 0x40970a4a in KIO::Job::result(KIO::Job*) (this=0x80e5448, t0=0x0)
    at jobclasses.moc:156
#18 0x40959fd7 in KIO::Job::emitResult() (this=0x80e5448) at job.cpp:204
#19 0x40959dfb in KIO::Job::removeSubjob(KIO::Job*) (this=0x80e5448, job=0x0)
    at job.cpp:166
#20 0x40962c8c in KIO::FileCopyJob::slotResult(KIO::Job*) (this=0x80e5448, 
    job=0x812ebc0) at job.cpp:1638
#21 0x40972e1d in KIO::FileCopyJob::qt_invoke(int, QUObject*) (this=0x80e5448, 
    _id=9, _o=0xbfffe0c0) at qucom_p.h:312
#22 0x4137622c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#23 0x40970a4a in KIO::Job::result(KIO::Job*) (this=0x812ebc0, t0=0x0)
    at jobclasses.moc:156
#24 0x40959fd7 in KIO::Job::emitResult() (this=0x812ebc0) at job.cpp:204
#25 0x4095bb3e in KIO::SimpleJob::slotFinished() (this=0x812ebc0)
    at job.cpp:524
#26 0x409714ad in KIO::SimpleJob::qt_invoke(int, QUObject*) (this=0x812ebc0, 
    _id=7, _o=0xbfffe310) at jobclasses.moc:396
#27 0x4137622c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#28 0x41376064 in QObject::activate_signal(int) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#29 0x4094d27e in KIO::SlaveInterface::finished() (this=0x0)
    at qmetaobject.h:261
#30 0x4094a393 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) (
    this=0x812f2e0, _cmd=104, rawdata=@0xbfffe690) at slaveinterface.cpp:255
#31 0x409495d0 in KIO::SlaveInterface::dispatch() (this=0x812f2e0)
    at slaveinterface.cpp:191
#32 0x409463e8 in KIO::Slave::gotInput() (this=0x812f2e0) at slave.cpp:294
#33 0x40948b68 in KIO::Slave::qt_invoke(int, QUObject*) (this=0x812f2e0, 
    _id=4, _o=0xbfffe7f0) at slave.moc:113
#34 0x4137622c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#35 0x4137638d in QObject::activate_signal(int, int) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#36 0x416949e2 in QSocketNotifier::activated(int) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#37 0x413921b0 in QSocketNotifier::event(QEvent*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#38 0x4131aa6f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#39 0x4131a07b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#40 0x40ee5c6f in KApplication::notify(QObject*, QEvent*) (this=0xbffffae0, 
    receiver=0x812ed60, event=0xbfffeb40) at kapplication.cpp:509
#41 0x4130a7aa in QEventLoop::activateSocketNotifiers() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#42 0x412c7148 in QEventLoop::processEvents(unsigned) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#43 0x4132e248 in QEventLoop::enterLoop() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#44 0x4131ad21 in QApplication::enter_loop() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#45 0x414f6890 in QDialog::exec() () from /usr/local/qt-copy/lib/libqt-mt.so.3
#46 0x40d450d5 in createKMessageBox (dialog=0x81225c8, icon=Warning, 
    text=@0xbfffef90, strlist=@0xbfffee90, ask=@0x417c5f94, 
    checkboxReturn=0x0, options=1, details=@0x417c5f94) at qguardedptr.h:113
#47 0x40d47b81 in KMessageBox::sorryWId(unsigned long, QString const&, QString const&, int) (parent_id=0, text=@0x0, caption=@0x81215c8, options=0)
    at qvaluelist.h:431
#48 0x40d4797d in KMessageBox::sorry(QWidget*, QString const&, QString const&, int) (parent=0x0, text=@0x0, caption=@0x0, options=0) at qwidget.h:712
#49 0x409df41c in KMimeType::errorMissingMimeType(QString const&) (_type=@0x0)
    at kmessageboxwrapper.h:50
#50 0x409de6dd in KMimeType::buildDefaultType() () at kmimetype.cpp:80
#51 0x409df586 in KMimeType::mimeType(QString const&) (_name=@0xb)
    at kmimetype.cpp:151
#52 0x409f2419 in KService::hasServiceType(QString const&) const (
    this=0x8121818, _servicetype=@0xbffff200) at kservice.cpp:342
#53 0x400c6712 in ViewManager::createViewFactories() (this=0x811b7d8)
    at viewmanager.cpp:354
#54 0x400c4c39 in ViewManager (this=0x811b7d8, core=0x80c8178, 
    parent=0x80f3650, name=0x0) at viewmanager.cpp:59
#55 0x400a36eb in KABCore::initGUI() (this=0x80c8178) at kabcore.cpp:861
#56 0x4009ffda in KABCore (this=0x80c8178, client=0x80567d8, readWrite=true, 
    parent=0x8056720, name=0x0) at kabcore.cpp:105
#57 0x400a8039 in KAddressBookMain (this=0x8056720) at kaddressbookmain.cpp:40
#58 0x0804a5e9 in KAddressBookApp::newInstance() (this=0xbffffae0)
    at main.cpp:85
#59 0x40fb62c3 in KUniqueApplication::processDelayed() (this=0xbffffae0)
    at kuniqueapplication.cpp:398
#60 0x40fb670f in KUniqueApplication::qt_invoke(int, QUObject*) (
    this=0xbffffae0, _id=18, _o=0x0) at kuniqueapplication.moc:86
#61 0x4137622c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#62 0x41693bda in QSignal::signal(QVariant const&) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#63 0x4138fcf6 in QSignal::activate() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#64 0x41397383 in QSingleShotTimer::event(QEvent*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#65 0x4131aa6f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#66 0x4131a07b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#67 0x40ee5c6f in KApplication::notify(QObject*, QEvent*) (this=0xbffffae0, 
    receiver=0x80bfab0, event=0xbffff930) at kapplication.cpp:509
#68 0x4130a5d5 in QEventLoop::activateTimers() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#69 0x412c718d in QEventLoop::processEvents(unsigned) ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#70 0x4132e248 in QEventLoop::enterLoop() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#71 0x4132e0f8 in QEventLoop::exec() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#72 0x4131acc1 in QApplication::exec() ()
   from /usr/local/qt-copy/lib/libqt-mt.so.3
#73 0x0804a800 in main (argc=1, argv=0xbffffc24) at main.cpp:130
------endtraceback---------------

---trying to run from CLI---------------------
steve@ysl-dev:~/music$ kaddressbook
kabc: StdAddressBook::self()
kresources: Factory::self()
kio (KTrader): KServiceTypeProfile::offers( KResources/Plugin, )
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-steve/ksycoca
kio (KTrader): Returning 13 offers
kresources: ManagerImpl::ManagerImpl()
kresources: Connecting DCOP signals...
kresources: ManagerImpl::readConfig()
kresources: Factory::self()
kresources: ManagerImpl::readResourceConfig() KKxYKugI0R
kresources: Factory::resource( file, config )
kio (KDirWatch): Can't use FAM (fam daemon not running?)
kio (KDirWatch): Available methods: Stat
kabc: FormatFactory::self()
kio (KDirWatch): Added File /home/steve/.kde/share/apps/kabc/std.vcf [KDirWatch-1]
kio (KDirWatch): Global Poll Freq is now 500 msec
kio (KDirWatch):  Started Polling Timer, freq 500
kio (KDirWatch):  Setup Stat (freq 500) for /home/steve/.kde/share/apps/kabc/std.vcf
kio (KDirWatch): KDirWatch-1 restarted scanning /home/steve/.kde/share/apps/kabc/std.vcf (now 1 watchers)
kabc: StdAddressBook::StdAddressBook( bool )
kresources: Opening resource resource-name
kresources: ManagerImpl::writeConfig()
kresources: Saving resource KKxYKugI0R
kresources: Resource::writeConfig()
kresources: Saving general info
kresources: ManagerImpl::save() finished
kabc: AddressBook::asyncLoad()
kio (KTrader): KServiceTypeProfile::offers( KAddressBook/View, )
kio (KTrader): Returning 3 offers
ERROR: Communication problem with kaddressbook, it probably crashed.
----endfromCLI-------------
Comment 1 Tobias Koenig 2003-11-14 15:38:43 UTC
Hi,

is this a fresh install or is there a possebility that old librarys lounge around?
Are the resources configured correctly in KControl->KDE Components->KDE Resources?

Ciao,
Tobias
Comment 2 Grzegorz Jaskiewicz 2003-11-14 18:38:16 UTC
Subject: Re:  Kaddressbook crashes on startup and wont run      
   

> is this a fresh install or is there a possebility that old librarys lounge around?
> Are the resources configured correctly in KControl->KDE Components->KDE Resources?
> 
KDEbase,KDElibs and kdepim are all newest versions. 
I don't think there is need to configure anything in Kcontrol

--
GJ

Comment 3 Tobias Koenig 2003-11-15 16:53:51 UTC
@ Grzegorz

The question is not if the sources are current version, but if there are some
old libraries lounge around, we had a bug some month ago which caused a crash...

Comment 4 Grzegorz Jaskiewicz 2003-11-15 20:50:14 UTC
Subject: Re:  Kaddressbook crashes on startup and wont run      
   

> The question is not if the sources are current version, but if there are some
> old libraries lounge around, we had a bug some month ago which caused a crash...
Yes, I know what you meant. I am working on kde too.
As the matter of fact, I've spend a day on just recompiling KDE from 
scratch. And i removed whole /opt/kde before to quite sure no lounge is 
left. Still fails, i'll try to debug it and will keep you updated.


Comment 5 Grzegorz Jaskiewicz 2003-11-17 17:11:46 UTC
My recent commit to kaddressbook fixes this issue. 
So i am closing it.
Comment 6 Grzegorz Jaskiewicz 2003-11-17 17:14:59 UTC
Subject: kdepim/kaddressbook (silent)

CVS commit by gj: 

CVS_SILENT: sorry, wrong bug number
CCMAIL:68193@bugs.kde.org


  M +1 -1      kabcore.cpp   1.57


--- kdepim/kaddressbook/kabcore.cpp  #1.56:1.57
@@ -101,5 +101,5 @@ KABCore::KABCore( KXMLGUIClient *client,
   initGUI();
 
-// BUG 58583: Grzegorz Jaskiewicz gj AT pointblue.com.pl
+// BUG 68193: Grzegorz Jaskiewicz gj AT pointblue.com.pl
 // init it here, as addresssBookChaned() uses mViewManager
 // which is initialised in initGUI(); 


Comment 7 Tobias Koenig 2009-08-05 16:01:23 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.