Bug 197023

Summary: Kopete crashes twice upon startup
Product: [Unmaintained] kopete Reporter: Tristan Miller <psychonaut>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tristan Miller 2009-06-18 16:19:26 UTC
Version:           4.2.90 (using KDE 4.2.90)
Installed from:    SuSE RPMs

When I start up Kopete, the Kopete window appears and a KWallet dialog pops up.  After entering my Kwallet password, Kopete throws up two crash windows, one after the other.  The first is a Signal 6, the second a Signal 11.  This is using the openSUSE 11.1 RPM kde4-kopete-4.2.90-83.4.  The last version known to work properly was kde4-kopete-4.2.3-71.4.

Here's the backtrace from the first crash:

Application: Kopete (kopete), signal: Aborted
[KCrash Handler]
#5  0x00007fca22670645 in raise () from /lib64/libc.so.6
#6  0x00007fca22671c33 in abort () from /lib64/libc.so.6
#7  0x00007fca241bcf05 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#8  0x00007fca241bd04b in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#9  0x00007fca26f8124c in Kopete::MessageHandlerFactory::Private::factories() () from /usr/lib64/libkopete.so.4
#10 0x00007fca26f81427 in Kopete::MessageHandlerFactory::~MessageHandlerFactory() () from /usr/lib64/libkopete.so.4
#11 0x00007fca163823ad in ?? () from /usr/lib64/kde4/kopete_history.so
#12 0x00007fca26f9e1c9 in ?? () from /usr/lib64/libkopete.so.4
#13 0x00007fca26f97aa7 in ?? () from /usr/lib64/libkopete.so.4
#14 0x00007fca226732ed in exit () from /lib64/libc.so.6
#15 0x00007fca125f33e7 in gg_resolve () from /usr/lib64/libgadu.so.3
#16 0x00007fca125f3789 in gg_login () from /usr/lib64/libgadu.so.3
#17 0x00007fca12822943 in ?? () from /usr/lib64/kde4/kopete_gadu.so
#18 0x00007fca12822e2a in ?? () from /usr/lib64/kde4/kopete_gadu.so
#19 0x00007fca12834ca2 in ?? () from /usr/lib64/kde4/kopete_gadu.so
#20 0x00007fca128358ac in ?? () from /usr/lib64/kde4/kopete_gadu.so
#21 0x00007fca12836492 in ?? () from /usr/lib64/kde4/kopete_gadu.so
#22 0x00007fca12836a8e in ?? () from /usr/lib64/kde4/kopete_gadu.so
#23 0x00007fca242c3c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#24 0x00007fca26f922e9 in ?? () from /usr/lib64/libkopete.so.4
#25 0x00007fca26f953c9 in ?? () from /usr/lib64/libkopete.so.4
#26 0x00007fca26f93c95 in ?? () from /usr/lib64/libkopete.so.4
#27 0x00007fca26f923d1 in ?? () from /usr/lib64/libkopete.so.4
#28 0x00007fca242c3c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#29 0x00007fca26face3f in ?? () from /usr/lib64/libkopete.so.4
#30 0x00007fca26face6e in Kopete::WalletManager::emitWalletOpened(KWallet::Wallet*) () from /usr/lib64/libkopete.so.4
#31 0x00007fca26fad321 in Kopete::WalletManager::slotWalletChangedStatus() () from /usr/lib64/libkopete.so.4
#32 0x00007fca26fadfe8 in Kopete::WalletManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkopete.so.4
#33 0x00007fca242c3c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#34 0x00007fca24f11572 in KWallet::Wallet::walletOpened(bool) () from /usr/lib64/libkdeui.so.5
#35 0x00007fca24f12324 in KWallet::Wallet::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#36 0x00007fca242c3c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#37 0x00007fca24fd3f1f in ?? () from /usr/lib64/libkdeui.so.5
#38 0x00007fca24fd5359 in ?? () from /usr/lib64/libkdeui.so.5
#39 0x00007fca245c8394 in ?? () from /usr/lib64/libQtDBus.so.4
#40 0x00007fca245cffef in ?? () from /usr/lib64/libQtDBus.so.4
#41 0x00007fca242be2b8 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#42 0x00007fca232af78d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007fca232b7a2a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007fca24e9004b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#45 0x00007fca242ae15c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#46 0x00007fca242aedda in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#47 0x00007fca242d7c13 in ?? () from /usr/lib64/libQtCore.so.4
#48 0x00007fca1eb1f0fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fca1eb228cd in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fca1eb22a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fca242d789f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#52 0x00007fca23346b0f in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00007fca242ac9f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007fca242acdbd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#55 0x00007fca242af0a4 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#56 0x0000000000415778 in _start ()


Here's the backtrace from the second crash:

Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fca28265750 (LWP 23810))]

Thread 2 (Thread 0x7fca0f0d7950 (LWP 23818)):
#0  0x00007fca23f54d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fca241c5ed9 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fca255535ec in ?? () from /usr/lib64/libQtNetwork.so.4
#3  0x00007fca241c4f22 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fca23f51070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fca2271110d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fca28265750 (LWP 23810)):
[KCrash Handler]
#5  0x00007fca242cc46a in QVariant::toInt(bool*) const () from /usr/lib64/libQtCore.so.4
#6  0x00007fca2492cf89 in KToolInvocation::startServiceInternal(char const*, QString const&, QStringList const&, QString*, QString*, int*, QByteArray const&, bool, QString const&) ()
   from /usr/lib64/libkdecore.so.5
#7  0x00007fca2492d631 in KToolInvocation::startServiceByDesktopPath(QString const&, QStringList const&, QString*, QString*, int*, QByteArray const&, bool) () from /usr/lib64/libkdecore.so.5
#8  0x00007fca24f125be in ?? () from /usr/lib64/libkdeui.so.5
#9  0x00007fca24f1548b in KWallet::Wallet::readPassword(QString const&, QString&) () from /usr/lib64/libkdeui.so.5
#10 0x00007fca26f9541b in ?? () from /usr/lib64/libkopete.so.4
#11 0x00007fca26f93c95 in ?? () from /usr/lib64/libkopete.so.4
#12 0x00007fca26f923d1 in ?? () from /usr/lib64/libkopete.so.4
#13 0x00007fca242c3c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#14 0x00007fca26face3f in ?? () from /usr/lib64/libkopete.so.4
#15 0x00007fca26face6e in Kopete::WalletManager::emitWalletOpened(KWallet::Wallet*) () from /usr/lib64/libkopete.so.4
#16 0x00007fca26fad321 in Kopete::WalletManager::slotWalletChangedStatus() () from /usr/lib64/libkopete.so.4
#17 0x00007fca26fadfe8 in Kopete::WalletManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkopete.so.4
#18 0x00007fca242c3c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007fca24f11572 in KWallet::Wallet::walletOpened(bool) () from /usr/lib64/libkdeui.so.5
#20 0x00007fca24f12324 in KWallet::Wallet::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#21 0x00007fca242c3c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#22 0x00007fca24fd3f1f in ?? () from /usr/lib64/libkdeui.so.5
#23 0x00007fca24fd5359 in ?? () from /usr/lib64/libkdeui.so.5
#24 0x00007fca245c8394 in ?? () from /usr/lib64/libQtDBus.so.4
#25 0x00007fca245cffef in ?? () from /usr/lib64/libQtDBus.so.4
#26 0x00007fca242be2b8 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007fca232af78d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007fca232b7a2a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007fca24e9004b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00007fca242ae15c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#31 0x00007fca242aedda in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#32 0x00007fca242d7c13 in ?? () from /usr/lib64/libQtCore.so.4
#33 0x00007fca1eb1f0fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fca1eb228cd in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fca1eb22a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fca242d789f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007fca23346b0f in ?? () from /usr/lib64/libQtGui.so.4
#38 0x00007fca242ac9f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#39 0x00007fca242acdbd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x00007fca242af0a4 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#41 0x0000000000415778 in _start ()


Here's the console output:

[psy@weasel:~]$ kopete                                                          
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Object::connect: No such slot GaduAccount::search()                             
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
Calling appendChild() on a null node does nothing.                              
[psy@weasel:~]$ Object::connect: No such signal ClientStream::disconnected()
Object::connect:  (receiver name: 'yahooclient')
Fatal Error: Accessed global static 'MessageHandlerFactory::FactoryList *g_list()' after destruction. Defined at /usr/src/packages/BUILD/kdenetwork-4.2.90/kopete/libkopete/kopetemessagehandler.cpp:82
KCrash: Application 'kopete' crashing...
sock_file=/home/psy/.kde4/socket-weasel/kdeinit4__0
kdeinit4: Shutting down running client.
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_klauncher.so
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kded4.so
KDE Daemon (kded) already running.
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
KCrash: Application 'kopete' crashing...
sock_file=/home/psy/.kde4/socket-weasel/kdeinit4__0
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_/drkonqi.so
Could not open library /usr/lib64/kde4/libexec/drkonqi: Cannot load library /usr/lib64/libkdeinit4_/drkonqi.so: (/usr/lib64/libkdeinit4_/libdrkonqi.so: cannot open shared object file: No such file or directory)
Comment 1 Dario Andres 2009-06-19 15:21:51 UTC
The first backtrace is bug 196738 (libgadu functions failing and calling exit())
Second backtrace seems a different one (which it is a bit incomplete)

If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace in a NEW report?

Tip for future uses: try to not mix backtraces in the same report.

Thanks!

*** This bug has been marked as a duplicate of bug 196738 ***
Comment 2 Roman Jarosz 2009-06-19 15:38:57 UTC
The second crash is caused by the first one (by the exit) ... so fix for first crash should also fix the second one.