Bug 262109

Summary: Kopete crashes on exit after having deleted all config files
Product: [Unmaintained] kopete Reporter: Luis Silva <lacsilva>
Component: Bonjour PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luis Silva 2011-01-04 20:26:29 UTC
Application: kopete (1.0.80)
KDE Platform Version: 4.5.90 (4.6 RC1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-11-generic x86_64
Distribution: Ubuntu natty (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I deleted all the configuration files relative to kopete in my $HOME
I then launched kopete and started adding my accounts. Kopete crashed on exit (Ctrl+Q).

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9c74865780 (LWP 27349))]

Thread 3 (Thread 0x7f9c6e899700 (LWP 27364)):
#0  __pthread_getspecific (key=0) at pthread_getspecific.c:32
#1  0x0000003299272a91 in QThreadData::current () at thread/qthread_unix.cpp:163
#2  0x0000003299384489 in postEventSourcePrepare (s=0x18b70e0, timeout=0x7f9c6e898c4c) at kernel/qeventdispatcher_glib.cpp:254
#3  0x0000003024242122 in g_main_context_prepare (context=0x18b5510, priority=0x7f9c6e898cbc) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:2761
#4  0x0000003024243024 in g_main_context_iterate (context=0x18b5510, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:3071
#5  0x00000030242436c9 in g_main_context_iteration (context=0x18b5510, may_block=1) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:3154
#6  0x0000003299384a26 in QEventDispatcherGlib::processEvents (this=0x1acd1f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#7  0x0000003299358ed2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x000000329935910c in QEventLoop::exec (this=0x7f9c6e898dd0, flags=...) at kernel/qeventloop.cpp:201
#9  0x0000003299270214 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#10 0x000000329933b3df in QInotifyFileSystemWatcherEngine::run (this=0xbb0680) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00000032992729ce in QThreadPrivate::start (arg=0xbb0680) at thread/qthread_unix.cpp:285
#12 0x0000003029606d8c in start_thread (arg=0x7f9c6e899700) at pthread_create.c:304
#13 0x00000030202e061d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9c6adb6700 (LWP 27373)):
#0  0x00000030202d34b3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030242431a0 in g_main_context_poll (context=0x1e57100, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:3404
#2  g_main_context_iterate (context=0x1e57100, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:3086
#3  0x00000030242436c9 in g_main_context_iteration (context=0x1e57100, may_block=1) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:3154
#4  0x0000003299384a26 in QEventDispatcherGlib::processEvents (this=0x1e4fd10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x0000003299358ed2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000329935910c in QEventLoop::exec (this=0x7f9c6adb5de0, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003299270214 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x000000329deaf13c in Herqq::Upnp::HControlPointThread::run() () from /usr/lib/libHUpnp.so.0
#9  0x00000032992729ce in QThreadPrivate::start (arg=0x1e596c0) at thread/qthread_unix.cpp:285
#10 0x0000003029606d8c in start_thread (arg=0x7f9c6adb6700) at pthread_create.c:304
#11 0x00000030202e061d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9c74865780 (LWP 27349)):
[KCrash Handler]
#6  0x00000000006ed841 in ?? ()
#7  0x00000032a0298680 in Kopete::Account::~Account (this=0x5a46f60, __in_chrg=<value optimized out>) at ../../../kopete/libkopete/kopeteaccount.cpp:128
#8  0x00007f9c65353569 in BonjourAccount::~BonjourAccount (this=0x5a46f60, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/bonjour/bonjouraccount.cpp:76
#9  0x000000329936c1e4 in QObjectPrivate::deleteChildren (this=0xc56a10) at kernel/qobject.cpp:1957
#10 0x0000003299370bb4 in QObject::~QObject (this=0x4c49f70, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#11 0x00000032a02e288a in Kopete::Protocol::~Protocol (this=0x4c49f70, __in_chrg=<value optimized out>) at ../../../kopete/libkopete/kopeteprotocol.cpp:63
#12 0x00007f9c6534e699 in BonjourProtocol::~BonjourProtocol (this=0x4c49f70, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/bonjour/bonjourprotocol.cpp:54
#13 0x00000032a02d5ba4 in ~PluginManagerPrivate () at ../../../kopete/libkopete/kopetepluginmanager.cpp:78
#14 destroy () at ../../../kopete/libkopete/kopetepluginmanager.cpp:104
#15 0x00000030202394c1 in __run_exit_handlers (status=0) at exit.c:78
#16 exit (status=0) at exit.c:100
#17 0x000000302021ed25 in __libc_start_main (main=0x411d40 <main(int, char**)>, argc=3, ubp_av=0x7fff224a8d78, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff224a8d68) at libc-start.c:258
#18 0x0000000000411c79 in _start ()

Reported using DrKonqi
Comment 1 Luis Silva 2011-09-25 21:00:17 UTC
Can't reproduce this bug anymore.
Marking as solved in kde 4.7