Bug 298309 - ktp-contactlist crashes when changing status from offline to available
Summary: ktp-contactlist crashes when changing status from offline to available
Status: RESOLVED WORKSFORME
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: contactlist (show other bugs)
Version: 0.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-17 15:34 UTC by Guilherme Buonfiglio
Modified: 2013-01-04 15:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.10 KB, text/plain)
2012-08-01 09:59 UTC, Raif Sarcich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Buonfiglio 2012-04-17 15:34:13 UTC
Application: ktp-contactlist (0.3)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- I've setup ktp-contactlist to autostart and it is starting offline. Soon after it appears I change status from offline to available and it crashes everytime I try.
- If I start it latter, it sometimes does not crash, but if I loose network conectivity as soon I regain conectivity it crashes again.
- I've 4 Jabber accounts (2 GTalk, 1 GTalk enterprise and 1 Facebook) and 1 MSN account.

These are all packages I have in my system with "telepathy" in its name:
gir1.2-telepathyglib-0.12 / 0.18.0-1ubuntu1                                                                                                                                         
gir1.2-telepathylogger-0.2 / 0.4.0-0ubuntu1                                                                                                                                         
indicator-status-provider-mc5 / 0.6.0-0ubuntu1                                                                                                                                      
kde-config-telepathy-accounts / 0.3.1-0ubuntu1                                                                                                                                      
kde-telepathy / 0.3.0-0ubuntu2                                                                                                                                                      
kde-telepathy-approver / 0.3.1-0ubuntu1                                                                                                                                             
kde-telepathy-approver-dbg / 0.3.1-0ubuntu1                                                                                                                                         
kde-telepathy-auth-handler / 0.3.1-0ubuntu1                                                                                                                                         
kde-telepathy-auth-handler-dbg / 0.3.1-0ubuntu1                                                                                                                                     
kde-telepathy-contact-list / 0.3.1-0ubuntu1                                                                                                                                         
kde-telepathy-contact-list-dbg / 0.3.1-0ubuntu1                                                                                                                                     
kde-telepathy-data / 0.3.1-0ubuntu1                                                                                                                                                 
kde-telepathy-filetransfer-handler / 0.3.1-0ubuntu1                                                                                                                                 
kde-telepathy-filetransfer-handler-dbg / 0.3.1-0ubuntu1                                                                                                                             
kde-telepathy-integration-module / 0.3.1-0ubuntu1                                                                                                                                   
kde-telepathy-integration-module-dbg / 0.3.1-0ubuntu1
kde-telepathy-send-file / 0.3.1-0ubuntu1
kde-telepathy-send-file-dbg / 0.3.1-0ubuntu1
kde-telepathy-text-ui / 0.3.1-0ubuntu1
kde-telepathy-text-ui-dbg / 0.3.1-0ubuntu1
libfolks-telepathy25 / 0.6.8-2
libtelepathy-farstream2 / 0.4.0-0ubuntu1
libtelepathy-glib0 / 0.18.0-1ubuntu1
libtelepathy-logger2 / 0.4.0-0ubuntu1
libtelepathy-qt4-2 / 0.9.1-0ubuntu1
plasma-widget-telepathy-contact / 0.3.1-0ubuntu1
plasma-widget-telepathy-presence / 0.3.1-0ubuntu1
python-telepathy / 0.15.19-2.1build1
telepathy-core / 26
telepathy-gabble / 0.16.0-0ubuntu1
telepathy-haze / 0.6.0-0ubuntu1
telepathy-idle / 0.1.11-2
telepathy-indicator / 0.2.1-0ubuntu1
telepathy-logger / 0.4.0-0ubuntu1
telepathy-mission-control-5 / 1:5.12.0-0ubuntu2
telepathy-ring / 2.0.0~git.3.029acdc2-0ubuntu2
telepathy-salut / 0.8.0-0ubuntu1
telepathy-sofiasip / 0.7.1-2

[]s,
Guilherme

The crash can be reproduced every time.

-- Backtrace:
Application: Lista de Contatos do Telepathy para o KDE (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fcaa8ec8f91 in Tp::AccountSet::accounts() const () from /usr/lib/libtelepathy-qt4.so.2
#7  0x00007fcaa8be4487 in KTp::GlobalPresence::setPresence(Tp::Presence const&) () from /usr/lib/libktpcommoninternalsprivate.so.0
#8  0x0000000000434f06 in GlobalPresenceChooser::onCurrentIndexChanged (this=0xfb1a90, index=<optimized out>) at /build/buildd/ktp-contact-list-0.3.1/global-presence-chooser.cpp:344
#9  0x00007fcaa7918281 in QMetaObject::activate (sender=0xfb1a90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa0c3d850) at kernel/qobject.cpp:3547
#10 0x00007fcaa691f251 in QComboBox::activated (this=<optimized out>, _t1=0) at .moc/release-shared/moc_qcombobox.cpp:288
#11 0x00007fcaa691f2d2 in QComboBoxPrivate::emitActivated (this=<optimized out>, index=...) at widgets/qcombobox.cpp:1261
#12 0x00007fcaa6920397 in QComboBoxPrivate::_q_itemSelected (this=0x1102f70, item=...) at widgets/qcombobox.cpp:1252
#13 0x00007fcaa7918281 in QMetaObject::activate (sender=0x14cce10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa0c3da00) at kernel/qobject.cpp:3547
#14 0x00007fcaa6bc8cd2 in QComboBoxPrivateContainer::itemSelected (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qcombobox_p.cpp:253
#15 0x00007fcaa691a84a in QComboBoxPrivateContainer::eventFilter (this=0x14cce10, o=0x14bae80, e=0x7fffa0c3e1e0) at widgets/qcombobox.cpp:691
#16 0x00007fcaa7904028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x14bae80, event=0x7fffa0c3e1e0) at kernel/qcoreapplication.cpp:986
#17 0x00007fcaa653785f in notify_helper (e=0x7fffa0c3e1e0, receiver=0x14bae80, this=0xfb1cd0) at kernel/qapplication.cpp:4555
#18 QApplicationPrivate::notify_helper (this=0xfb1cd0, receiver=0x14bae80, e=0x7fffa0c3e1e0) at kernel/qapplication.cpp:4531
#19 0x00007fcaa653d0bf in QApplication::notify (this=<optimized out>, receiver=0x14bae80, e=0x7fffa0c3e1e0) at kernel/qapplication.cpp:4102
#20 0x00007fcaa8587b46 in KApplication::notify (this=0x7fffa0c3eec0, receiver=0x14bae80, event=0x7fffa0c3e1e0) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007fcaa7903e9c in QCoreApplication::notifyInternal (this=0x7fffa0c3eec0, receiver=0x14bae80, event=0x7fffa0c3e1e0) at kernel/qcoreapplication.cpp:876
#22 0x00007fcaa6538862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QApplicationPrivate::sendMouseEvent (receiver=0x14bae80, event=0x7fffa0c3e1e0, alienWidget=0x14bae80, nativeWidget=0x14cce10, buttonDown=0x14bae80, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#24 0x00007fcaa65b82c1 in QETWidget::translateMouseEvent (this=0x14cce10, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#25 0x00007fcaa65b6bae in QApplication::x11ProcessEvent (this=0x7fffa0c3eec0, event=0x7fffa0c3eab0) at kernel/qapplication_x11.cpp:3732
#26 0x00007fcaa65e00e2 in x11EventSourceDispatch (s=0xfb43a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007fcaa29efc9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fcaa29f0060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fcaa29f0124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fcaa79333bf in QEventDispatcherGlib::processEvents (this=0xf7f4b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007fcaa65dfd6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fcaa7902c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fcaa7902ed7 in QEventLoop::exec (this=0x7fffa0c3ee50, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007fcaa7907f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#35 0x000000000041b2c0 in main (argc=3, argv=0x7fffa0c3f198) at /build/buildd/ktp-contact-list-0.3.1/main.cpp:62

Reported using DrKonqi
Comment 1 David Edmundson 2012-05-01 17:26:42 UTC
Do you still have this crash?
Comment 2 Raif Sarcich 2012-08-01 09:59:34 UTC
Created attachment 72869 [details]
New crash information added by DrKonqi

ktp-contactlist (0.3) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

Set to autostart kde-telepathy on login. When I log in there is an error message showing (no useful information). On trying to switch my status to online, the application crashes.

- Custom settings of the application:

Autostart

-- Backtrace (Reduced):
#6  0x00007fe2cd31df91 in Tp::AccountSet::accounts() const () from /usr/lib/libtelepathy-qt4.so.2
#7  0x00007fe2cd039487 in KTp::GlobalPresence::setPresence(Tp::Presence const&) () from /usr/lib/libktpcommoninternalsprivate.so.0
#8  0x0000000000434f06 in GlobalPresenceChooser::onCurrentIndexChanged (this=0x18db560, index=<optimized out>) at /build/buildd/ktp-contact-list-0.3.1/global-presence-chooser.cpp:344
[...]
#10 0x00007fe2cad6a241 in QComboBox::activated (this=<optimized out>, _t1=0) at .moc/release-shared/moc_qcombobox.cpp:288
#11 0x00007fe2cad6a2c2 in QComboBoxPrivate::emitActivated (this=<optimized out>, index=...) at widgets/qcombobox.cpp:1261
Comment 3 Martin Klapetek 2012-08-01 10:03:27 UTC
The 0.3 version is really old. Please try updating all KTp components to v0.4.1 and try again. Also don't forget to update Telepathy-qt to 0.9.3.

Report back if this crash still happens, thanks.
Comment 4 Martin Klapetek 2013-01-04 15:47:01 UTC
I'm closing this as no information was provided for 6 months. Please reopen if you still get this crash with 0.5.x, thanks.