[kopete-bugs] [Bug 207094] New: Kopete crashed in Kopete::Contact::contactId() while editing a contact's alias

Jonathan Thomas echidnaman at kubuntu.org
Fri Sep 11 17:10:25 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=207094

           Summary: Kopete crashed in Kopete::Contact::contactId() while
                    editing a contact's alias
           Product: kopete
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: echidnaman at kubuntu.org


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++

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list