kopete crashed with SIGSEGV in QString()

Bug #427914 reported by Ryan Ren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Network
Unknown
High
kdenetwork (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: kdenetwork

crash when I m modifying contact alias.

ProblemType: Crash
Architecture: amd64
Date: Fri Sep 11 22:29:28 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kopete
Package: kopete 4:4.3.1-0ubuntu1
ProcCmdline: /usr/bin/kopete -caption Kopete
ProcEnviron:
 LANGUAGE=
 LC_COLLATE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-8.28-generic
SegvAnalysis:
 Segfault happened at: 0x7f9dfd1efa40 <_ZNK6Kopete7Contact9contactIdEv>: mov 0x20(%rsi),%rdx
 PC (0x7f9dfd1efa40) ok
 source "0x20(%rsi)" (0x00000021) not located in a known VMA region (needed readable region)!
 destination "%rdx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: kdenetwork
StacktraceTop:
 QString (this=0x1) at /usr/include/qt4/QtCore/qstring.h:711
 Kopete::Contact::contactId (this=0x1)
 Kopete::XmlContactStorage::storeMetaContact (
 Kopete::XmlContactStorage::save (this=0x35f7e70)
 Kopete::ContactList::save (this=0x20be6c0)
Title: kopete crashed with SIGSEGV in QString()
Uname: Linux 2.6.31-8-generic x86_64
UserGroups: adm admin audio cdrom dialout disk lp lpadmin mail plugdev sambashare saned ssh sudo

Revision history for this message
Ryan Ren (pemryan) wrote :
Changed in kdenetwork (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
In , Jonathan Thomas (echidnaman-f) wrote :
Download full text (12.1 KiB)

Version: (using KDE 4.3.1)
OS: Linux
Installed from: Ubuntu Packages

Originally reported at https://launchpad.net/bugs/427914

The user reported a crash while editing a contact's alias. This looks similar to bug 194155, but the situation is somewhat different, and that one is supposed to be fixed.

Here's the backtrace:

.
Thread 2 (Thread 31810):
#0 pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
No locals.
#1 0x00007f9dfb2e24db in QWaitConditionPrivate::wait (
    this=<value optimized out>, mutex=0x2818e88, time=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:87
        code = -422875088
#2 QWaitCondition::wait (this=<value optimized out>, mutex=0x2818e88,
    time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
        returnValue = <value optimized out>
#3 0x00007f9df86d977c in QHostInfoAgent::run (this=0x2818e70)
    at kernel/qhostinfo.cpp:260
        locker = {{mtx = 0x2818e89, val = 42045065}}
        info = {d = 0x7f9ddc000ee0}
        id = 42929920
#4 0x00007f9dfb2e1425 in QThreadPrivate::start (arg=0x2818e70)
    at thread/qthread_unix.cpp:188
        data = 0x2819230
#5 0x00007f9df594ca04 in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7f9de6cb7910
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140316158687504,
                3107188231428688504, 140734926485280, 140316158687504, 0, 3,
                -3160050650747450760, -3160093096012625288},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
#6 0x00007f9dfa12f64d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#7 0x0000000000000000 in ?? ()
No symbol table info available.
.
Thread 1 (Thread 31808):
#0 QString (this=0x1) at /usr/include/qt4/QtCore/qstring.h:711
No locals.
#1 Kopete::Contact::contactId (this=0x1)
    at ../../../kopete/libkopete/kopetecontact.cpp:451
No locals.
#2 0x00007f9dfd1ca5bf in Kopete::XmlContactStorage::storeMetaContact (
    this=<value optimized out>, metaContact=0x255d860,
    minimal=<value optimized out>)
    at ../../../kopete/libkopete/contactlist/xmlcontactstorage.cpp:684
        contactNameSource = {<QDomNode> = {
            impl = 0x35b9a40}, <No data fields>}
        displayName = {<QDomNode> = {impl = 0x35b4320}, <No data fields>}
        propertySources = {<QDomNode> = {impl = 0x3605920}, <No data fields>}
        _nameSource = {<QDomNode> = {impl = 0x36aece0}, <No data fields>}
        _photoSource = {<QDomNode> = {impl = 0x35baf40}, <No data fields>}
        metaContactDoc = {<QDomNode> = {impl = 0x35b41b0}, <No data fields>}
        photo = {<QDomNode> = {impl = 0x35b4240}, <No data fields>}
#3 0x00007f9dfd1cd811 in Kopete::XmlContactStorage::save (this=0x35f7e70)
    at ../../../kopete/libkopete/contactlist/xmlcontactstorage.cpp:269
        node = {impl = 0x35b4410}
        metaContact = <value optimized out>
        _container_ = ...

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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

Changed in kdenetwork:
status: Unknown → Confirmed
Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

From bug 211196:
I started Kopete and saw that all the meta
contact-to-addressbook-to-icq-contacts-association where no longer connected.
The ICQ contacts are still there and the meta contacts too, but as seperate
entrys in the contact list and the meta contacts don't show anything but the
default kopete offline icon on the left. No Name is shown. When I right click
on the empty contact and select settings I still can see the name of the
contact in the user defined name textfield (Benutzerdefiniert in German). The
contact is no longer connected to the addressbook. When I try to connect the
contacts again to the addressbook kopete crashs, not always, but always on the
same contacts.

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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

Revision history for this message
In , Jonathan Thomas (echidnaman-f) wrote :

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

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. But don't worry! This issue is being tracked by the KDE developers at: http://bugs.kde.org/show_bug.cgi?id=207094
Once fixed in KDE, it will be included in Kubuntu once the KDE version the fix is in in reaches Kubuntu.

Thanks!

Changed in kdenetwork (Ubuntu):
status: Triaged → Invalid
Changed in kdenetwork:
importance: Unknown → High
Revision history for this message
In , Justin Zobel (justin-zobel) wrote :

Thank you for the report, Jonathan.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.

Changed in kdenetwork:
status: Confirmed → Unknown
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.