Bug 200459 - When starting Kopete, it closes unexpectedly.
Summary: When starting Kopete, it closes unexpectedly.
Status: RESOLVED DUPLICATE of bug 199222
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 17:13 UTC by Robert Couture
Modified: 2009-07-16 22:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
In case it is just my contactlist.xml doing it. (166.29 KB, text/xml)
2009-07-16 17:23 UTC, Robert Couture
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Couture 2009-07-16 17:13:24 UTC
Version:           0.70.90 (using KDE 4.2.96)
Compiler:          gcc (Ubuntu 4.4.0-11ubuntu1) 4.4.0 
OS:                Linux
Installed from:    Ubuntu Packages

When starting Kopete, it closes unexpectedly. It appears that it is caused by an error in ./kde/apps/kopete/contactlist.xml as deleting that file then allows Kopete to run as expected.

There is no error message shown, nor is crash reporter triggered.
Comment 1 Dario Andres 2009-07-16 17:22:35 UTC
Try to get a backtrace:

- Install the "kdenetwork-dbg" package.
- Open Konsole
- Type "gdb kopete" + Return
- Type "run --nofork" + Return
Kopete will start and crash
- Go back to the Konsole/GDB window, type "bt full" and press Return some times, then paste the shell output (of the "bt full" command) here.

Thanks!
Comment 2 Robert Couture 2009-07-16 17:23:37 UTC
Created attachment 35383 [details]
In case it is just my contactlist.xml doing it.
Comment 3 Robert Couture 2009-07-16 17:24:14 UTC
That should be:.kde/share/apps/kopete/contactlist.xml
Comment 4 Robert Couture 2009-07-16 22:36:33 UTC
Hope you can read this okay:

(gdb) bt full                                                            
#0  QString::operator< (this=0xfffffff0, other=...) at tools/qstring.cpp:1973
No locals.                                                                   
#1  0x00007fffdf9b688e in ?? () from /usr/lib/kde4/kopete_facebook.so        
No symbol table info available.                                              
#2  0x00007ffff76c1a35 in Kopete::MetaContact::slotProtocolLoaded (this=0xdb0870, p=0xea64c0)
    at ../../../kopete/libkopete/kopetemetacontact.cpp:1061                                  
        dataList = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {
                  0x0}}, d = 0xdb1600}, d = 0xdb1600}}                                                                      
#3  0x00007ffff76c59c9 in Kopete::MetaContact::qt_metacall (this=0xdb0870, _c=QMetaObject::InvokeMetaMethod,                
    _id=<value optimized out>, _a=0x7fffffffc610) at ./kopetemetacontact.moc:181                                            
No locals.                                                                                                                  
#4  0x00007ffff589ae1c in QMetaObject::activate (sender=0x78e298, from_signal_index=<value optimized out>,                  
    to_signal_index=<value optimized out>, argv=0xea9b9c) at kernel/qobject.cpp:3113                                        
        c = <value optimized out>                                                                                           
        previousSender = 0x0                                                                                                
        method = 36                                                                                                         
        currentSender = {sender = 0x78e298, signal = 6, ref = 1}                                                            
        i = <value optimized out>                                                                                           
        count = 130                                                                                                         
        signal = 6                                                                                                          
        empty_argv = {0x0}                                                                                                  
        locker = {{mtx = 0x6467b8, val = 6580152}}                                                                          
        currentThreadData = <value optimized out>                                                                           
        connectionLists = 0x893ae0                                                                                          
#5  0x00007ffff76d6842 in Kopete::PluginManager::protocolLoaded (this=0xfffffff0, _t1=0xea64c0)                             
    at ./kopetepluginmanager.moc:140                                                                                        
        _a = {0x0, 0x7fffffffc608}                                                                                          
#6  0x00007ffff76d83a6 in Kopete::PluginManager::loadPluginInternal (this=<value optimized out>,                            
    pluginId=<value optimized out>) at ../../../kopete/libkopete/kopetepluginmanager.cpp:394                                
        info = {d = {d = 0x80bd20}}                                                                                         
---Type <return> to continue, or q <return> to quit---                                                                      
        __PRETTY_FUNCTION__ = "Kopete::Plugin* Kopete::PluginManager::loadPluginInternal(const QString&)"                   
        error = {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 = 352}, alloc = 0, size = 0, data = 0x7ffff5b7685a,        
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},           
          d = 0x63a760, static codecForCStrings = 0x0}                                                                      
        plugin = 0xea64c0                                                                                                   
#7  0x00007ffff76d91ac in Kopete::PluginManager::slotLoadNextPlugin (this=0x78e298)                                         
    at ../../../kopete/libkopete/kopetepluginmanager.cpp:330                                                                
        key = {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 = 352}, alloc = 0, size = 0, data = 0x7ffff5b7685a,        
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},           
          d = 0x7334d0, static codecForCStrings = 0x0}                                                                      
#8  0x00007ffff76db878 in Kopete::PluginManager::qt_metacall (this=0x78e298, _c=QMetaObject::InvokeMetaMethod,              
    _id=<value optimized out>, _a=0x7fffffffcb10) at ./kopetepluginmanager.moc:114                                          
No locals.                                                                                                                  
#9  0x00007ffff589ae1c in QMetaObject::activate (sender=0xd0c080, from_signal_index=<value optimized out>,                  
    to_signal_index=<value optimized out>, argv=0xea9b9c) at kernel/qobject.cpp:3113                                        
        c = <value optimized out>                                                                                           
        previousSender = 0x0                                                                                                
        method = 16                                                                                                         
        currentSender = {sender = 0xd0c080, signal = 4, ref = 1}                                                            
        i = <value optimized out>                                                                                           
        count = 1                                                                                                           
        signal = 4                                                                                                          
        empty_argv = {0x0}                                                                                                  
        locker = {{mtx = 0x6467b8, val = 6580152}}                                                                          
        currentThreadData = <value optimized out>                                                                           
        connectionLists = 0xcd20d0                                                                                          
---Type <return> to continue, or q <return> to quit---                                                                      
#10 0x00007ffff589fe5f in QSingleShotTimer::timerEvent (this=0xd0c080) at kernel/qtimer.cpp:298                             
No locals.                                                                                                                  
#11 0x00007ffff5894dc3 in QObject::event (this=0xd0c080, e=0x7fffffffc400) at kernel/qobject.cpp:1075                       
No locals.                                                                                                                  
#12 0x00007ffff4d2e62c in QApplicationPrivate::notify_helper (this=0x688960, receiver=0xd0c080, e=0x7fffffffd120)           
    at kernel/qapplication.cpp:4056                                                                                         
        consumed = <value optimized out>                                                                                    
#13 0x00007ffff4d358fe in QApplication::notify (this=0x7fffffffd470, receiver=0xd0c080, e=0x7fffffffd120)                   
    at kernel/qapplication.cpp:4021                                                                                         
        res = true                                                                                                          
#14 0x00007ffff64933f6 in KApplication::notify (this=0x7fffffffd470, receiver=0xd0c080, event=0x7fffffffd120)               
    at ../../kdeui/kernel/kapplication.cpp:302                                                                              
No locals.                                                                                                                  
#15 0x00007ffff5885c6c in QCoreApplication::notifyInternal (this=0x7fffffffd470, receiver=0xd0c080, event=0x7fffffffd120)   
    at kernel/qcoreapplication.cpp:610                                                                                      
        threadData = 0x646760                                                                                               
        returnValue = <value optimized out>                                                                                 
        result = false                                                                                                      
        cbdata = {0xd0c080, 0x7fffffffd120, 0x7fffffffd0bf}                                                                 
#16 0x00007ffff58b0912 in QCoreApplication::sendEvent (this=0x68e3e0)                                                       
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213                                                 
No locals.                                                                                                                  
#17 QTimerInfoList::activateTimers (this=0x68e3e0) at kernel/qeventdispatcher_unix.cpp:572                                  
        e = {<QEvent> = {_vptr.QEvent = 0x7ffff5b72f50, d = 0x0, t = 1, posted = 0, spont = 0, m_accept = 1, reserved = 13}, 
          id = 14}                                                                                                           
        firstTime = false                                                                                                    
        n_act = 0                                                                                                            
        saveFirstTimerInfo = 0x0                                                                                             
        currentTime = {tv_sec = 20128, tv_usec = 174891}                                                                     
        saveCurrentTimerInfo = 0x0                                                                                           
---Type <return> to continue, or q <return> to quit---                                                                       
#18 0x00007ffff58ae2ad in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165         
No locals.                                                                                                                   
#19 0x00007ffff027c9fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0                                          
No symbol table info available.                                                                                              
#20 0x00007ffff02803c8 in ?? () from /usr/lib/libglib-2.0.so.0                                                               
No symbol table info available.                                                                                              
#21 0x00007ffff02804f0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0                                         
No symbol table info available.                                                                                              
#22 0x00007ffff58ae1f6 in QEventDispatcherGlib::processEvents (this=0x646390, flags=<value optimized out>)                   
    at kernel/qeventdispatcher_glib.cpp:327                                                                                  
        d = 0x688830                                                                                                         
        canWait = true                                                                                                       
        result = <value optimized out>                                                                                       
#23 0x00007ffff4dc2ace in QGuiEventDispatcherGlib::processEvents (this=0xfffffff0, flags=<value optimized out>)              
    at kernel/qguieventdispatcher_glib.cpp:202                                                                               
        d = 0x688830                                                                                                         
        returnValue = 112                                                                                                    
#24 0x00007ffff5884572 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 = 0x884a20                                                                                                          
#25 0x00007ffff5884944 in QEventLoop::exec (this=0x7fffffffd3c0, 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 = 0x884a20
        app = 0x7fffffffd470
#26 0x00007ffff5886af9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
        threadData = 0x646760
        eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff5b74fb0, static staticMetaObject = {d = {superdata = 0x0,
                stringdata = 0x7ffff591a7a0 "QObject", data = 0x7ffff591a840, extradata = 0x7ffff5b6e040}},
            d_ptr = 0x884a20, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff5924020 "Qt",
                data = 0x7ffff5926f00, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x63a5c0,
              stringdata = 0x7ffff592bd20 "QEventLoop", data = 0x7ffff592bd40, extradata = 0x0}}}
        returnCode = -1
---Type <return> to continue, or q <return> to quit---
#27 0x00000000004155a6 in main (argc=<value optimized out>, argv=<value optimized out>)
    at ../../../kopete/kopete/main.cpp:104
        aboutData = {d = 0x649c20}
        options = {d = 0x663b10}
        kopete = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {
                    _vptr.QObject = 0x42ea30, static staticMetaObject = {d = {superdata = 0x0,
                        stringdata = 0x7ffff591a7a0 "QObject", data = 0x7ffff591a840, extradata = 0x7ffff5b6e040}},
                    d_ptr = 0x688960, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff5924020 "Qt",
                        data = 0x7ffff5926f00, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x63a5c0,
                      stringdata = 0x7ffff592bdc0 "QCoreApplication", data = 0x7ffff592be60, extradata = 0x0}},
                  static self = 0x7fffffffd470}, static staticMetaObject = {d = {superdata = 0x7ffff5b75040,
                    stringdata = 0x7ffff5339120 "QApplication", data = 0x7ffff5339320, extradata = 0x0}}},
              static staticMetaObject = {d = {superdata = 0x7ffff570c960, stringdata = 0x7ffff65f3920 "KApplication",
                  data = 0x7ffff65f3ac0, extradata = 0x0}}, static loadedByKdeinit = false, static KApp = 0x7fffffffd470,
              d = 0x6cf7c0}, static staticMetaObject = {d = {superdata = 0x7ffff686ece0,
                stringdata = 0x7ffff65f4200 "KUniqueApplication", data = 0x7ffff65f4300, extradata = 0x0}}, d = 0x71b420},
          static staticMetaObject = {d = {superdata = 0x63a880, stringdata = 0x42e840 "KopeteApplication", data = 0x42e980,
              extradata = 0x0}}, m_mainWindow = {o = 0x707d90}, m_isShuttingDown = false, m_emoticonHandler = 0x7f3c80,
          m_fileEngineHandler = 0x890760}
Comment 5 Dario Andres 2009-07-16 22:41:27 UTC
This is bug 199222 / bug 198675. 
As a workaround you need to uninstall the facebook plugin which seems to be quite unstable
Thanks

*** This bug has been marked as a duplicate of bug 199222 ***