Bug 171231 - kopete crashes on exit if you performed an incomplete icq account creation
Summary: kopete crashes on exit if you performed an incomplete icq account creation
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 0.60.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
Depends on:
Reported: 2008-09-17 19:50 UTC by andreaswuest
Modified: 2008-09-18 23:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Note You need to log in before you can comment on or make changes to this bug.
Description andreaswuest 2008-09-17 19:50:38 UTC
Version:           0.60.1 (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-generic


kopete crashes reproducable for me. so far 
i have not yet created any accounts in kopete.
running it for the first time !

to reproduce : 

1. start kopete 
2. in the lower window click on "click to add an account" 
3. Select ICQ and press next.
4. on the new screen "Step two: account information" press cancel without entering any
5. The select File-> Quit.
6. Kopete quits and finally crashes.

hope you can reproduce the crash.

Comment 1 andreaswuest 2008-09-17 19:52:21 UTC
starting kopete on the command line i get the following output :

kopete(6359) Kopete::IdentityManager::load: Created identity  "jCLos4mkky"
andy@laptop:/windows$ Fatal Error: Accessed global static 'PluginManagerPrivate *_kpmp()' after destruction. Defined at /build/buildd/kdenetwork-kde4-4.1.1/kopete/libkopete/kopetepluginmanager.cpp:98
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kopete path = <unknown> pid = 6359
Comment 2 Oliver Putz 2008-09-18 12:14:44 UTC
Confirming with a recent svn checkout.

Steps to reproduce:

1) Go to Settings->configure->Add account
2) Double click on ICQ
3) Click back (in account creating dialog)
4) Click cancel (in account creating dialogue)
5) Click apply (in configure dialog)
6) Click ok
7) Click File->Quit
8) See kopete (recent svn checkout) crash with the following backtrace:

Application: Kopete (kopete), signal SIGABRT

Thread 1 (Thread 0xb5963720 (LWP 27407)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb6256690 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6257ed8 in *__GI_abort () at abort.c:88
#9  0xb664336f in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfb9e180 "Fatal Error: Accessed global static 'PluginManagerPrivate *_kpmp()' after destruction. Defined at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/libkopete/kopetepluginmanager.cpp:98") at global/qglobal.cpp:2061
#10 0xb664342e in qFatal (msg=0xb789f78c "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2263
#11 0xb787e66e in operator-> (this=0xb78bad30) at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/libkopete/kopetepluginmanager.cpp:98
#12 0xb787ec09 in Kopete::PluginManager::slotPluginDestroyed (this=0x81633f4, plugin=0x87ca260) at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/libkopete/kopetepluginmanager.cpp:412
#13 0xb78803d9 in Kopete::PluginManager::qt_metacall (this=0x81633f4, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfba030c)
    at /var/tmp/portage/kde-base/kopete-9999/work/kopete_build/kopete/libkopete/kopetepluginmanager.moc:103
#14 0xb6753131 in QMetaObject::activate (sender=0x87ca260, from_signal_index=<value optimized out>, to_signal_index=1, argv=0xbfba030c) at kernel/qobject.cpp:3007
#15 0xb6753554 in QMetaObject::activate (sender=0x87ca260, m=0x80aa500, from_local_signal_index=0, to_local_signal_index=1, argv=0xbfba030c) at kernel/qobject.cpp:3097
#16 0xb67535d5 in QObject::destroyed (this=0x87ca260, _t1=0x87ca260) at .moc/debug-shared/moc_qobject.cpp:115
#17 0xb675480d in ~QObject (this=0x87ca260) at kernel/qobject.cpp:796
#18 0xb787e0dc in ~Plugin (this=0x87ca260) at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/libkopete/kopeteplugin.cpp:44
#19 0xb7885b38 in ~Protocol (this=0x87ca260) at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/libkopete/kopeteprotocol.cpp:76
#20 0xb120d02f in ~OscarProtocol (this=0x87ca260) at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/protocols/oscar/oscarprotocol.cpp:42
#21 0xb12a89eb in ~ICQProtocol (this=0x87ca260) at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/protocols/oscar/icq/icqprotocol.cpp:191
#22 0xb78828aa in ~PluginManagerPrivate (this=0x81633e0) at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/libkopete/kopetepluginmanager.cpp:72
#23 0xb787e581 in destroy () at /var/tmp/portage/kde-base/kopete-9999/work/kopete/kopete/libkopete/kopetepluginmanager.cpp:98
#24 0xb781cabf in ~KCleanUpGlobalStatic (this=0xb78babec) at /usr/kde/svn/include/kglobal.h:67
#25 0xb6259571 in *__GI_exit (status=0) at exit.c:75
#26 0xb624263d in __libc_start_main (main=0x8084fc4 <main>, argc=3, ubp_av=0xbfba05f4, init=0x809b3d0 <__libc_csu_init>, fini=0x809b3c0 <__libc_csu_fini>, rtld_fini=0xb7f955e0 <_dl_fini>, 
    stack_end=0xbfba05ec) at libc-start.c:258
#27 0x08065571 in _start ()
Comment 3 Roman Jarosz 2008-09-18 23:18:47 UTC
SVN commit 862403 and 862404 by rjarosz:

Fix bug 171231: kopete crashes on exit if you performed an incomplete icq account creation

BUG: 171231

 M  +1 -1      kopeteprotocol.cpp