kopete crashes on logout / quit

Bug #719017 reported by Philipp Kießler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kopete
Fix Released
High
kopete (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: kopete

ubuntu verion: Kubuntu 10.10 "Maverick"
kopete version: 4.5.1-0ubuntu2.1
expected behavior: quit kopete
real behavior: kopete crashes when quitting

Revision history for this message
Philipp Kießler (pocytac) wrote :
Revision history for this message
In , Kai Krakow (hurikhan77) wrote :
Download full text (9.2 KiB)

Application: kopete (1.1.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-rc7 x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
- What I was doing when the application crashed:

When exiting kopete it crashes in 99% of all tries. This is extremely uncomfortable when kopete crashes during logout because the system will not logout and shutdown then and logout cannot be left unattended.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7f09d88b7700 (LWP 2976)):
#0 0x00007fffcbeb5933 in ?? ()
#1 0x00007f09e69afaa8 in clock_gettime () from /lib64/librt.so.1
#2 0x00007f09ed08c0ea in do_gettime (frac=<optimized out>, sec=<optimized out>) at tools/qelapsedtimer_unix.cpp:123
#3 qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4 0x00007f09ed14f475 in QTimerInfoList::updateCurrentTime (this=0x24a9f30) at kernel/qeventdispatcher_unix.cpp:339
#5 0x00007f09ed14f81e in QTimerInfoList::timerWait (this=0x24a9f30, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6 0x00007f09ed14e25c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f09d88b6b4c) at kernel/qeventdispatcher_glib.cpp:136
#7 0x00007f09ed14e305 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8 0x00007f09e66d5667 in g_main_context_prepare (context=0x1e2a360, priority=0x7f09d88b6bbc) at gmain.c:2762
#9 0x00007f09e66d6589 in g_main_context_iterate (context=0x1e2a360, block=1, dispatch=1, self=<optimized out>) at gmain.c:3072
#10 0x00007f09e66d6c2d in g_main_context_iteration (context=0x1e2a360, may_block=1) at gmain.c:3155
#11 0x00007f09ed14ea76 in QEventDispatcherGlib::processEvents (this=0x1dbb590, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007f09ed122d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f09ed122f9c in QEventLoop::exec (this=0x24a9c20, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007f09cf639793 in QCA::SyncThread::run (this=0x1f3d190) at support/syncthread.cpp:195
#15 0x00007f09ed03aff5 in QThreadPrivate::start (arg=0x1f3d190) at thread/qthread_unix.cpp:331
#16 0x00007f09eb549d2c in start_thread () from /lib64/libpthread.so.0
#17 0x00007f09ebac077d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f09c76e8700 (LWP 2977)):
#0 0x00007f09ebab6093 in poll () from /lib64/libc.so.6
#1 0x00007f09e66d66f4 in g_main_context_poll (n_fds=1, fds=0x2198730, timeout=2023, context=0x20f5c30, priority=<optimized out>) at gmain.c:3405
#2 g_main_context_iterate (context=0x20f5c30, block=1, dispatch=1, self=<optimized out>) at gmain.c:3087
#3 0x00007f09e66d6c2d in g_main_context_iteration (context=0x20f5c30, may_block=1) at gmain.c:3155
#4 0x00007f09ed14ea76 in QEventDispatcherGlib::processEvents (this=0x2051b10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5 0x00007f09ed122d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloo...

Read more...

Revision history for this message
In , Kai Krakow (hurikhan77) wrote :

This is extremely annoying as every change I do to my contact list or blocked contacts is not saved!

Revision history for this message
In , Kai Krakow (hurikhan77) wrote :

Created attachment 67244
New crash information added by DrKonqi

kopete (1.1.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Well actually it's now always crashing... :-(

-- Backtrace (Reduced):
#6 ConnectionHandler::connectionForFamily (this=0x690020006e0125, family=19) at /var/tmp/portage/kde-base/kopete-4.7.3/work/kopete-4.7.3/kopete/protocols/oscar/liboscar/connectionhandler.cpp:88
#7 0x00007fb6948cc6a3 in Client::changeContactAlias (this=0x1d16a1a, contact=..., alias=...) at /var/tmp/portage/kde-base/kopete-4.7.3/work/kopete-4.7.3/kopete/protocols/oscar/liboscar/client.cpp:976
#8 0x00007fb694c0acbe in OscarContact::sync (this=0x22eb170, flags=<optimized out>) at /var/tmp/portage/kde-base/kopete-4.7.3/work/kopete-4.7.3/kopete/protocols/oscar/oscarcontact.cpp:194
#9 0x00007fb6af8c0a72 in Kopete::MetaContact::setDisplayNameSourceContact (this=0x27d4580, contact=<optimized out>) at /var/tmp/portage/kde-base/kopete-4.7.3/work/kopete-4.7.3/kopete/libkopete/kopetemetacontact.cpp:835
#10 0x00007fb6af8c243a in Kopete::MetaContact::removeContact (this=0x27d4580, c=0x1f4d020, deleted=true) at /var/tmp/portage/kde-base/kopete-4.7.3/work/kopete-4.7.3/kopete/libkopete/kopetemetacontact.cpp:179

Revision history for this message
In , Bodom-z (bodom-z) wrote :

Created attachment 68261
New crash information added by DrKonqi

kopete (1.1.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

When closing the application, it crashes every time.

-- Backtrace (Reduced):
#6 ConnectionHandler::connectionForFamily (this=0x690020006e0125, family=19) at ../../../../../kopete/protocols/oscar/liboscar/connectionhandler.cpp:88
#7 0x00007fda886d97eb in Client::changeContactAlias (this=0x1bca7ea, contact=..., alias=...) at ../../../../../kopete/protocols/oscar/liboscar/client.cpp:976
#8 0x00007fda88a0f65a in sync (flags=<optimized out>, this=0xd3acc0) at ../../../../kopete/protocols/oscar/oscarcontact.cpp:194
#9 OscarContact::sync (this=0xd3acc0, flags=<optimized out>) at ../../../../kopete/protocols/oscar/oscarcontact.cpp:162
#10 0x00007fdaa0a38ac2 in Kopete::MetaContact::setDisplayNameSourceContact (this=0x1dfcb30, contact=0x0) at ../../../kopete/libkopete/kopetemetacontact.cpp:835

Revision history for this message
In , Christoph-maxiom (christoph-maxiom) wrote :

*** Bug 294504 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kai Krakow (hurikhan77) wrote :

Created attachment 69739
New crash information added by DrKonqi

kopete (1.1.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

Stopped Kopete to restart it. I got a crash but not sure if this resulted from exiting or starting Kopete.

-- Backtrace (Reduced):
#6 ConnectionHandler::connectionForFamily (this=0x690020006e0125, family=19) at /var/tmp/portage/kde-base/kopete-4.7.4/work/kopete-4.7.4/kopete/protocols/oscar/liboscar/connectionhandler.cpp:88
#7 0x00007f3fd60f06a3 in Client::changeContactAlias (this=0x2499c4a, contact=..., alias=...) at /var/tmp/portage/kde-base/kopete-4.7.4/work/kopete-4.7.4/kopete/protocols/oscar/liboscar/client.cpp:976
#8 0x00007f3fd642ecbe in OscarContact::sync (this=0x231cc70, flags=<optimized out>) at /var/tmp/portage/kde-base/kopete-4.7.4/work/kopete-4.7.4/kopete/protocols/oscar/oscarcontact.cpp:194
#9 0x00007f3ff579ea72 in Kopete::MetaContact::setDisplayNameSourceContact (this=0x2551a00, contact=<optimized out>) at /var/tmp/portage/kde-base/kopete-4.7.4/work/kopete-4.7.4/kopete/libkopete/kopetemetacontact.cpp:835
#10 0x00007f3ff57a043a in Kopete::MetaContact::removeContact (this=0x2551a00, c=0x18ab580, deleted=true) at /var/tmp/portage/kde-base/kopete-4.7.4/work/kopete-4.7.4/kopete/libkopete/kopetemetacontact.cpp:179

Revision history for this message
In , adaptee (adaptee) wrote :

*** Bug 294934 has been marked as a duplicate of this bug. ***

Revision history for this message
In , tommu (tolpero) wrote :

Created attachment 74514
New crash information added by DrKonqi

kopete (1.2.3) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2

- What I was doing when the application crashed:
Closing down or exiting Kopete

- Custom settings of the application:
I use SILC Plugin, Messenger (WLM) Plugin, andd Skype integration plugin, all should be standard..

Mixed Debian Testing/Unstable environment,

-- Backtrace (Reduced):
#6 0x00007f412d11a48f in Kopete::Account::~Account() () from /usr/lib/libkopete.so.4
[...]
#8 0x00007f412b49ea58 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9 0x00007f412a5b670c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f412a5bab8a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007f412bf158a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5

Revision history for this message
In , adaptee (adaptee) wrote :

*** Bug 317213 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Pali (pali) wrote :

Git commit 2301331ccf4a5eee71816c079667e3941cdbb3e2 by Pali Rohár.
Committed on 18/11/2013 at 09:22.
Pushed by pali into branch 'master'.

Do not try to sync metacontact which has display name source from NULL contact
Related: bug 218308, bug 254494, bug 277606

M +1 -1 libkopete/kopetemetacontact.cpp

http://commits.kde.org/kopete/2301331ccf4a5eee71816c079667e3941cdbb3e2

Changed in kopete:
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
In , Pali (pali) wrote :

Git commit 1f1bf7b606915520832c386d151ddae7a5add6e5 by Pali Rohár.
Committed on 18/11/2013 at 09:22.
Pushed by pali into branch 'KDE/4.12'.

Do not try to sync metacontact which has display name source from NULL contact
Related: bug 218308, bug 254494, bug 277606
FIXED-IN: 4.12

M +1 -1 libkopete/kopetemetacontact.cpp

http://commits.kde.org/kopete/1f1bf7b606915520832c386d151ddae7a5add6e5

Changed in kopete (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Changed in kopete (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.