Bug 277606 - Kopete crashed at exit
Summary: Kopete crashed at exit
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 1.0.80
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 276978 309653 318065 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-12 09:07 UTC by Richard Weinberger
Modified: 2013-11-24 10:33 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12


Attachments
New crash information added by DrKonqi (7.27 KB, text/plain)
2011-08-04 13:47 UTC, Richard Weinberger
Details
New crash information added by DrKonqi (5.48 KB, text/plain)
2011-08-25 10:38 UTC, Richard Weinberger
Details
New crash information added by DrKonqi (6.17 KB, text/plain)
2011-09-09 11:44 UTC, mehmet selcuk
Details
New crash information added by DrKonqi (5.93 KB, text/plain)
2012-02-29 13:37 UTC, the.climber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Weinberger 2011-07-12 09:07:46 UTC
Application: kopete (1.0.80)
KDE Platform Version: 4.6.5 (4.6.5) "release 8"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
My internet connection was down and all chat connections failed.
So, I decided to shut Kopete down, then it crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fdec89ae760 (LWP 4479))]

Thread 2 (Thread 0x7fdeab282700 (LWP 4587)):
#0  0x00007fdec4e62503 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdebf4bf084 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007fdebf4bf5c0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fdec64b3286 in QEventDispatcherGlib::processEvents (this=0xd74830, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fdec64878d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdec6487ae5 in QEventLoop::exec (this=0xdd63b0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fdeb00ca335 in XMPP::SyncThread::run (this=0x10b6520) at /usr/src/debug/kdenetwork-4.6.5/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#7  0x00007fdec639f095 in QThreadPrivate::start (arg=0x10b6520) at thread/qthread_unix.cpp:320
#8  0x00007fdec491ba3f in start_thread (arg=0x7fdeab282700) at pthread_create.c:297
#9  0x00007fdec4e6b67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdec89ae760 (LWP 4479)):
[KCrash Handler]
#6  ucstrncmp (a=0x6888aa00, b=0x6a177a, l=7) at tools/qstring.cpp:179
#7  0x00007fdec63de517 in ucstrcmp (a=<value optimized out>, alen=<value optimized out>, b=<value optimized out>, blen=8) at tools/qstring.cpp:192
#8  0x00007fdec63e1a19 in QString::operator< (this=<value optimized out>, other=<value optimized out>) at tools/qstring.cpp:2204
#9  0x00007fdec808e88a in qMapLessThanKey<QString> (this=<value optimized out>, key=...) at /usr/include/QtCore/qmap.h:107
#10 findNode (this=<value optimized out>, key=...) at /usr/include/QtCore/qmap.h:484
#11 contains (this=<value optimized out>, key=...) at /usr/include/QtCore/qmap.h:552
#12 Kopete::PropertyContainer::hasProperty (this=<value optimized out>, key=...) at /usr/src/debug/kdenetwork-4.6.5/kopete/libkopete/kopetepropertycontainer.cpp:108
#13 0x00007fdec806e4b9 in Kopete::nameFromContact (c=0xb576a0) at /usr/src/debug/kdenetwork-4.6.5/kopete/libkopete/kopetemetacontact.cpp:719
#14 0x00007fdec80702fc in Kopete::MetaContact::displayName (this=0xae5be0) at /usr/src/debug/kdenetwork-4.6.5/kopete/libkopete/kopetemetacontact.cpp:684
#15 0x00007fdec8073f32 in Kopete::MetaContact::removeContact (this=0xae5be0, c=0xb576a0, deleted=true) at /usr/src/debug/kdenetwork-4.6.5/kopete/libkopete/kopetemetacontact.cpp:173
#16 0x00007fdec80744fe in Kopete::MetaContact::qt_metacall (this=0xae5be0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7fff6aca7b60) at /usr/src/debug/kdenetwork-4.6.5/build/kopete/libkopete/kopetemetacontact.moc:191
#17 0x00007fdec649ca5f in QMetaObject::activate (sender=0xb576a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff6aca7b60) at kernel/qobject.cpp:3278
#18 0x00007fdec805aac2 in Kopete::Contact::contactDestroyed (this=<value optimized out>, _t1=0xb576a0) at /usr/src/debug/kdenetwork-4.6.5/build/kopete/libkopete/kopetecontact.moc:211
#19 0x00007fdec805aaef in Kopete::Contact::~Contact (this=0xb576a0, __in_chrg=<value optimized out>) at /usr/src/debug/kdenetwork-4.6.5/kopete/libkopete/kopetecontact.cpp:127
#20 0x00007fdeb0c1cf53 in SkypeContact::~SkypeContact (this=0xb576a0, __in_chrg=<value optimized out>) at /usr/src/debug/kdenetwork-4.6.5/kopete/protocols/skype/skypecontact.cpp:133
#21 0x00007fdeb0c1d019 in SkypeContact::~SkypeContact (this=0xb576a0, __in_chrg=<value optimized out>) at /usr/src/debug/kdenetwork-4.6.5/kopete/protocols/skype/skypecontact.cpp:138
#22 0x00007fdec8044080 in Kopete::Account::~Account (this=0x1040640, __in_chrg=<value optimized out>) at /usr/src/debug/kdenetwork-4.6.5/kopete/libkopete/kopeteaccount.cpp:128
#23 0x00007fdeb0c0f163 in SkypeAccount::~SkypeAccount (this=0x1040640, __in_chrg=<value optimized out>) at /usr/src/debug/kdenetwork-4.6.5/kopete/protocols/skype/skypeaccount.cpp:175
#24 0x00007fdeb0c0f299 in SkypeAccount::~SkypeAccount (this=0x1040640, __in_chrg=<value optimized out>) at /usr/src/debug/kdenetwork-4.6.5/kopete/protocols/skype/skypeaccount.cpp:184
#25 0x00007fdec649c3a8 in QObject::event (this=0x1040640, e=<value optimized out>) at kernel/qobject.cpp:1200
#26 0x00007fdec55d8144 in QApplicationPrivate::notify_helper (this=0x6ab260, receiver=0x1040640, e=0xfbe340) at kernel/qapplication.cpp:4462
#27 0x00007fdec55e06fa in QApplication::notify (this=<value optimized out>, receiver=0x1040640, e=0xfbe340) at kernel/qapplication.cpp:4341
#28 0x00007fdec6deb346 in KApplication::notify (this=0x7fff6aca8710, receiver=0x1040640, event=0xfbe340) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#29 0x00007fdec648847c in QCoreApplication::notifyInternal (this=0x7fff6aca8710, receiver=0x1040640, event=0xfbe340) at kernel/qcoreapplication.cpp:731
#30 0x00007fdec648bc75 in sendEvent (receiver=0x0, event_type=0, data=0x640720) at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x640720) at kernel/qcoreapplication.cpp:1372
#32 0x00007fdec64b3093 in sendPostedEvents (s=0x6ada90) at kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x6ada90) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007fdebf4beb43 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#35 0x00007fdebf4bf320 in ?? () from /lib64/libglib-2.0.so.0
#36 0x00007fdebf4bf5c0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#37 0x00007fdec64b322f in QEventDispatcherGlib::processEvents (this=0x6460e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007fdec567dbae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fdec64878d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fdec6487ae5 in QEventLoop::exec (this=0x7fff6aca8660, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007fdec648bf2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x00000000004157f2 in main (argc=3, argv=0x7fff6aca9598) at /usr/src/debug/kdenetwork-4.6.5/kopete/kopete/main.cpp:105

Possible duplicates by query: bug 276978.

Reported using DrKonqi
Comment 1 Richard Weinberger 2011-08-04 13:47:55 UTC
Created attachment 62541 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.5 (4.6.5) "release 8" using Qt 4.7.3

The problem still exists...

Thanks,
//richard

-- Backtrace (Reduced):
#6  ucstrncmp (a=0x68839a00, b=0x6a195a, l=7) at tools/qstring.cpp:179
#7  0x00007f2327236517 in ucstrcmp (a=<value optimized out>, alen=<value optimized out>, b=<value optimized out>, blen=8) at tools/qstring.cpp:192
#8  0x00007f2327239a19 in QString::operator< (this=<value optimized out>, other=<value optimized out>) at tools/qstring.cpp:2204
#9  0x00007f2328ee688a in qMapLessThanKey<QString> (this=<value optimized out>, key=...) at /usr/include/QtCore/qmap.h:107
#10 findNode (this=<value optimized out>, key=...) at /usr/include/QtCore/qmap.h:484
Comment 2 Richard Weinberger 2011-08-25 10:38:50 UTC
Created attachment 63135 [details]
New crash information added by DrKonqi

kopete (1.1.0) on KDE Platform 4.7.00 (4.7.0) "release 10" using Qt 4.7.3

- What I was doing when the application crashed:

1. My DSL connection failed. 
2. Terminated kopete to avoid nasty error messages from jabber, icq and skype.
3. While terminating kopete crashed (again!!!)

-- Backtrace (Reduced):
#6  ucstrncmp (a=0x819a6a6c, b=0x6a057a, l=7) at tools/qstring.cpp:179
#7  0x00007f9124c2d907 in ucstrcmp (a=<value optimized out>, alen=<value optimized out>, b=<value optimized out>, blen=8) at tools/qstring.cpp:192
#8  0x00007f9124c30e09 in QString::operator< (this=<value optimized out>, other=<value optimized out>) at tools/qstring.cpp:2204
#9  0x00007f9126964f4a in Kopete::PropertyContainer::hasProperty(QString const&) const () from /usr/lib64/libkopete.so.4
#10 0x00007f9126945019 in Kopete::nameFromContact(Kopete::Contact*) () from /usr/lib64/libkopete.so.4
Comment 3 mehmet selcuk 2011-09-09 11:44:41 UTC
Created attachment 63528 [details]
New crash information added by DrKonqi

kopete (1.1.0) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:

kopete was crashed just when i close this application

-- Backtrace (Reduced):
#6  ucstrncmp (a=0x1c3131a6c, b=0x1de88ea, l=7) at tools/qstring.cpp:179
#7  0x00007f9137e90007 in ucstrcmp (a=<value optimized out>, alen=<value optimized out>, b=<value optimized out>, blen=8) at tools/qstring.cpp:192
#8  0x00007f9137e935a9 in QString::operator< (this=<value optimized out>, other=<value optimized out>) at tools/qstring.cpp:2204
#9  0x00007f9139b91f1a in Kopete::PropertyContainer::hasProperty(QString const&) const () from /usr/lib/libkopete.so.4
#10 0x00007f9139b71f27 in Kopete::nameFromContact(Kopete::Contact*) () from /usr/lib/libkopete.so.4
Comment 4 the.climber 2012-02-29 13:37:36 UTC
Created attachment 69180 [details]
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:
I clicked >>file>> qui or strg+Q to quit the program.

-- Backtrace (Reduced):
#6  ucstrncmp (a=0x1e6c04a00, b=0x1e6c61a, l=7) at tools/qstring.cpp:179
#7  0x00007f800be2cdc7 in ucstrcmp (a=<optimized out>, alen=<optimized out>, b=<optimized out>, blen=8) at tools/qstring.cpp:192
#8  0x00007f800be302c9 in QString::operator< (this=<optimized out>, other=<optimized out>) at tools/qstring.cpp:2205
#9  0x00007f800db4d5a4 in qMapLessThanKey<QString> (key2=..., key1=...) at /usr/include/qt4/QtCore/qmap.h:107
#10 findNode (akey=..., this=0x1e6b140) at /usr/include/qt4/QtCore/qmap.h:484
Comment 5 Jekyll Wu 2012-10-05 13:40:15 UTC
*** Bug 276978 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2012-11-06 14:39:28 UTC
*** Bug 309653 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2013-04-08 22:01:34 UTC
*** Bug 318065 has been marked as a duplicate of this bug. ***
Comment 8 Raul Malea 2013-04-08 22:53:12 UTC
This bug is unconfirmed?? Perhaps now status is New because is confirmed with more backtracks and crashes!
Comment 9 Pali Rohár 2013-11-18 09:23:23 UTC
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 290171

M  +1    -1    libkopete/kopetemetacontact.cpp

http://commits.kde.org/kopete/2301331ccf4a5eee71816c079667e3941cdbb3e2
Comment 10 Pali Rohár 2013-11-24 10:33:20 UTC
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 290171
FIXED-IN: 4.12

M  +1    -1    libkopete/kopetemetacontact.cpp

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