Bug 207094 - Kopete crashed while editing a contact's alias (Contact::contactId, XmlContactStorage::storeMetaContact, XmlContactStorage::save)
Summary: Kopete crashed while editing a contact's alias (Contact::contactId, XmlContac...
Status: CONFIRMED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 195806 201946 209027 211196 213742 216794 220026 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-11 17:10 UTC by Jonathan Thomas
Modified: 2020-12-03 22:18 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Thomas 2009-09-11 17:10:22 UTC
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_ = {c = {{p = {static shared_null = {ref = {_q_value = 1}, 
                  alloc = 0, begin = 0, end = 0, sharable = 1, array = {
                    0x0}}, d = 0x33e4530}, d = 0x33e4530}}, brk = 0, i = {
            i = 0x33e4588}, e = {i = 0x33e4e50}}
        groupList = {{p = {static shared_null = {ref = {_q_value = 1}, 
                alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
              d = 0x230c190}, d = 0x230c190}}
        metaContactList = {{p = {static shared_null = {ref = {_q_value = 1}, 
                alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
              d = 0x33e4530}, d = 0x33e4530}}
        stream = {_vptr.QTextStream = 0x0, d_ptr = 0x1560000013d}
        filename = {static null = {<No data fields>}, static shared_null = {
            ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x63a77a, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {
            ref = {_q_value = 202}, alloc = 0, size = 0, 
            data = 0x7f9dfb6b885a, clean = 0, simpletext = 0, 
            righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
            array = {0}}, d = 0x361c6b0, static codecForCStrings = 0x0}
        contactListFile = {<QFile> = {<QIODevice> = {<QObject> = {
                _vptr.QObject = 0x7f9dfbda6550, static staticMetaObject = {
                  d = {superdata = 0x0, 
                    stringdata = 0x7f9dfb45c580 "QObject", 
                    data = 0x7f9dfb45c620, extradata = 0x7f9dfb6b0040}}, 
                d_ptr = 0x361c9e0, static staticQtMetaObject = {d = {
                    superdata = 0x0, stringdata = 0x7f9dfb465e00 "Qt", 
                    data = 0x7f9dfb469180, extradata = 0x0}}}, 
              static staticMetaObject = {d = {superdata = 0x63a5c0, 
                  stringdata = 0x7f9dfb46d580 "QIODevice", 
                  data = 0x7f9dfb46d5e0, extradata = 0x0}}}, 
            static staticMetaObject = {d = {superdata = 0x7f9dfb6b6160, 
                stringdata = 0x7f9dfb46d520 "QFile", data = 0x7f9dfb46d540, 
                extradata = 0x0}}}, d = 0x365ba30}
        doc = {<QDomNode> = {impl = 0x35e4270}, <No data fields>}
#4  0x00007f9dfd1f6f09 in Kopete::ContactList::save (this=0x20be6c0)
    at ../../../kopete/libkopete/kopetecontactlist.cpp:391
        __PRETTY_FUNCTION__ = "void Kopete::ContactList::save()"
#5  0x00007f9dfd1f766d in Kopete::ContactList::qt_metacall (this=0x20be6c0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff674d0cd0) at ./kopetecontactlist.moc:139
No locals.
#6  0x00007f9dfb3dcd2c in QMetaObject::activate (sender=0x20da460, 
    from_signal_index=<value optimized out>, 
    to_signal_index=<value optimized out>, argv=0x35bba01)
    at kernel/qobject.cpp:3113
        c = <value optimized out>
        previousSender = 0x0
        method = 25
        currentSender = {sender = 0x20da460, signal = 4, ref = 1}
        i = <value optimized out>
        count = 1
        signal = 4
        empty_argv = {0x0}
        locker = {{mtx = 0x1ece988, val = 32303496}}
        currentThreadData = <value optimized out>
        connectionLists = 0x20d90c0
#7  0x00007f9dfb3d6cd3 in QObject::event (this=0x20da460, e=0x1)
    at kernel/qobject.cpp:1075
No locals.
#8  0x00007f9dfa86fefc in QApplicationPrivate::notify_helper (this=0x1ef27c0, 
    receiver=0x20da460, e=0x7fff674d12d0) at kernel/qapplication.cpp:4056
        consumed = <value optimized out>
#9  0x00007f9dfa8771ce in QApplication::notify (this=0x7fff674d1620, 
    receiver=0x20da460, e=0x7fff674d12d0) at kernel/qapplication.cpp:4021
        res = true
#10 0x00007f9dfbfd9db6 in KApplication::notify (this=0x7fff674d1620, 
    receiver=0x20da460, event=0x7fff674d12d0)
    at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#11 0x00007f9dfb3c7b7c in QCoreApplication::notifyInternal (
    this=0x7fff674d1620, receiver=0x20da460, event=0x7fff674d12d0)
    at kernel/qcoreapplication.cpp:610
        threadData = 0x1ece930
        returnValue = <value optimized out>
        result = false
        cbdata = {0x20da460, 0x7fff674d12d0, 0x7fff674d126f}
#12 0x00007f9dfb3f27b2 in QCoreApplication::sendEvent (this=0x1ef4ba0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
No locals.
#13 QTimerInfoList::activateTimers (this=0x1ef4ba0)
    at kernel/qeventdispatcher_unix.cpp:572
        e = {<QEvent> = {_vptr.QEvent = 0x7f9dfb6b4f50, d = 0x0, t = 1, 
            posted = 0, spont = 0, m_accept = 1, reserved = 3305}, 
          id = 33554452}
        firstTime = true
        n_act = 1
        saveFirstTimerInfo = 0x0
        currentTime = {tv_sec = 293301, tv_usec = 452003}
        saveCurrentTimerInfo = 0x0
#14 0x00007f9dfb3f01ad in timerSourceDispatch (source=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:165
No locals.
#15 0x00007f9df5b9dbee in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0x00007f9df5ba15b8 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0x00007f9df5ba16e0 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0x00007f9dfb3f00f6 in QEventDispatcherGlib::processEvents (
    this=0x1ece560, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:327
        d = 0x1f02140
        canWait = true
        result = <value optimized out>
#19 0x00007f9dfa9043de in QGuiEventDispatcherGlib::processEvents (
    this=0x7fff674d05e0, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
        d = 0x1f02140
        returnValue = true
#20 0x00007f9dfb3c6482 in QEventLoop::processEvents (
    this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
        d = 0x2284e80
#21 0x00007f9dfb3c6854 in QEventLoop::exec (this=0x7fff674d1570, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:201
        d = 0x2284e80
        app = 0x7fff674d1620
#22 0x00007f9dfb3c8a09 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:888
        threadData = 0x1ece930
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f9dfb6b6fb0, 
            static staticMetaObject = {d = {superdata = 0x0, 
                stringdata = 0x7f9dfb45c580 "QObject", data = 0x7f9dfb45c620, 
                extradata = 0x7f9dfb6b0040}}, d_ptr = 0x2284e80, 
            static staticQtMetaObject = {d = {superdata = 0x0, 
                stringdata = 0x7f9dfb465e00 "Qt", data = 0x7f9dfb469180, 
                extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x63a5c0, stringdata = 0x7f9dfb46e280 "QEventLoop", 
              data = 0x7f9dfb46e2a0, extradata = 0x0}}}
        returnCode = -1
#23 0x00000000004155c6 in main (argc=<value optimized out>, 
    argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:104
        aboutData = {d = 0x1ed1df0}
        options = {d = 0x1eebcd0}
        kopete = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x42ea70, 
                    static staticMetaObject = {d = {superdata = 0x0, 
                        stringdata = 0x7f9dfb45c580 "QObject", 
                        data = 0x7f9dfb45c620, extradata = 0x7f9dfb6b0040}}, 
                    d_ptr = 0x1ef27c0, static staticQtMetaObject = {d = {
                        superdata = 0x0, stringdata = 0x7f9dfb465e00 "Qt", 
                        data = 0x7f9dfb469180, extradata = 0x0}}}, 
                  static staticMetaObject = {d = {superdata = 0x63a5c0, 
                      stringdata = 0x7f9dfb46e320 "QCoreApplication", 
                      data = 0x7f9dfb46e3c0, extradata = 0x0}}, 
                  static self = 0x7fff674d1620}, static staticMetaObject = {
                  d = {superdata = 0x7f9dfb6b7040, 
                    stringdata = 0x7f9dfae7ab40 "QApplication", 
                    data = 0x7f9dfae7ad40, extradata = 0x0}}}, 
              static staticMetaObject = {d = {superdata = 0x7f9dfb24e960, 
                  stringdata = 0x7f9dfc13ad80 "KApplication", 
                  data = 0x7f9dfc13af20, extradata = 0x0}}, 
              static loadedByKdeinit = false, static KApp = 0x7fff674d1620, 
              d = 0x1f6ae00}, static staticMetaObject = {d = {
                superdata = 0x7f9dfc3b6ce0, 
                stringdata = 0x7f9dfc13b660 "KUniqueApplication", 
                data = 0x7f9dfc13b760, extradata = 0x0}}, d = 0x2091520}, 
          static staticMetaObject = {d = {superdata = 0x63a880, 
              stringdata = 0x42e880 "KopeteApplication", data = 0x42e9c0, 
              extradata = 0x0}}, m_mainWindow = {o = 0x2030f30}, 
          m_isShuttingDown = false, m_emoticonHandler = 0x228d5e0, 
          m_fileEngineHandler = 0x228d4d0}
Current language:  auto; currently asm
Current language:  auto; currently c++
Comment 1 Dario Andres 2009-09-12 16:52:37 UTC
*** Bug 201946 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-09-12 16:52:59 UTC
*** Bug 195806 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-10-01 01:38:04 UTC
*** Bug 209027 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-10-21 15:13:32 UTC
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.
Comment 5 Dario Andres 2009-10-21 15:13:38 UTC
*** Bug 211196 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan Thomas 2009-11-10 02:46:55 UTC
*** Bug 213742 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-12-06 22:13:25 UTC
*** Bug 216794 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-12-25 21:26:08 UTC
*** Bug 220026 has been marked as a duplicate of this bug. ***
Comment 9 Justin Zobel 2020-12-03 22:18:01 UTC
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.