Bug 308844

Summary: kde telepathy crash on change the settings
Product: [Unmaintained] telepathy Reporter: TOM Harrison <l12436.tw>
Component: accounts-kcmAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: jaredharrison2010, johannes, kde, mklapetek
Priority: NOR    
Version: 0.5.1   
Target Milestone: Future   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description TOM Harrison 2012-10-23 03:34:45 UTC
Application: ktp-contactlist (0.5.1)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
1.open the settings
2.select a account
3.edit the account and password
4.then press OK.
and it will crash on first OK or on the second OK

-- Backtrace:
Application: KDE Telepathy 聯絡人清單 (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00000000024390e8 in ?? ()
#7  0x00007f340008f6e1 in QObject::disconnect (sender=0x22c88d0, signal=0x28fa179 "selectionChanged(QItemSelection,QItemSelection)", receiver=0x28f9920, method=0x241c889 "_k_slotSelectionChanged(QItemSelection,QItemSelection)") at kernel/qobject.cpp:2891
#8  0x00007f3400cb2667 in eventFilter (event=0x7fff743d10c0, watched=0x2412620, this=0x2900a70) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:272
#9  KWidgetItemDelegatePrivate::eventFilter (this=0x2900a70, watched=0x2412620, event=0x7fff743d10c0) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:236
#10 0x00007f34000776d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x2412620, event=0x7fff743d10c0) at kernel/qcoreapplication.cpp:1025
#11 0x00007f33fece6e6c in QApplicationPrivate::notify_helper (this=this@entry=0x22527b0, receiver=receiver@entry=0x2412620, e=e@entry=0x7fff743d10c0) at kernel/qapplication.cpp:4558
#12 0x00007f33feceb30a in QApplication::notify (this=0x7fff743d6770, receiver=0x2412620, e=0x7fff743d10c0) at kernel/qapplication.cpp:4423
#13 0x00007f3400cd01d6 in KApplication::notify (this=0x7fff743d6770, receiver=0x2412620, event=0x7fff743d10c0) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f340007756e in QCoreApplication::notifyInternal (this=0x7fff743d6770, receiver=0x2412620, event=0x7fff743d10c0) at kernel/qcoreapplication.cpp:915
#15 0x00007f33fed2e010 in sendEvent (event=0x7fff743d10c0, receiver=0x2412620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QWidgetPrivate::setWinId (this=0x241b430, id=0) at kernel/qwidget.cpp:1731
#17 0x00007f33fed80702 in QWidget::destroy (this=0x2412620, destroyWindow=<optimized out>, destroySubWindows=<optimized out>) at kernel/qwidget_x11.cpp:1118
#18 0x00007f33fed30c4d in QWidget::~QWidget (this=0x2412620, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1686
#19 0x00007f33ff20e899 in QListView::~QListView (this=0x2412620, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:207
#20 0x00007f340008a182 in QObjectPrivate::deleteChildren (this=0x2419fc0) at kernel/qobject.cpp:1908
#21 0x00007f33fed30c24 in QWidget::~QWidget (this=0x28cb7d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#22 0x00007f33fed30f79 in QWidget::~QWidget (this=0x28cb7d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1701
#23 0x00007f340008a182 in QObjectPrivate::deleteChildren (this=0x24157b0) at kernel/qobject.cpp:1908
#24 0x00007f33fed30c24 in QWidget::~QWidget (this=0x2412b00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#25 0x00007f3400d5f948 in KCModule::~KCModule (this=0x2412b00, __in_chrg=<optimized out>) at ../../kdeui/widgets/kcmodule.cpp:193
#26 0x00007f33ee91f049 in ?? () from /usr/lib/kde4/kcm_ktp_accounts.so
#27 0x00007f34003f00e4 in KCModuleProxy::deleteClient (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:219
#28 0x00007f34003eda5c in KCMultiDialogPrivate::_k_dialogClosed (this=0x285e680) at ../../kutils/kcmultidialog.cpp:201
#29 0x00007f340008cf5f in QMetaObject::activate (sender=0x27561a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#30 0x00007f33fed36be8 in QWidget::event (this=0x27561a0, event=0x7fff743d1d10) at kernel/qwidget.cpp:8582
#31 0x00007f33fece6e9c in QApplicationPrivate::notify_helper (this=this@entry=0x22527b0, receiver=receiver@entry=0x27561a0, e=e@entry=0x7fff743d1d10) at kernel/qapplication.cpp:4562
#32 0x00007f33feceb30a in QApplication::notify (this=0x7fff743d6770, receiver=0x27561a0, e=0x7fff743d1d10) at kernel/qapplication.cpp:4423
#33 0x00007f3400cd01d6 in KApplication::notify (this=0x7fff743d6770, receiver=0x27561a0, event=0x7fff743d1d10) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f340007756e in QCoreApplication::notifyInternal (this=0x7fff743d6770, receiver=0x27561a0, event=0x7fff743d1d10) at kernel/qcoreapplication.cpp:915
#35 0x00007f33fed3752b in sendEvent (event=0x7fff743d1d10, receiver=0x27561a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QWidgetPrivate::hide_helper (this=this@entry=0x285fff0) at kernel/qwidget.cpp:7637
#37 0x00007f33fed390a8 in QWidget::setVisible (this=0x27561a0, visible=<optimized out>) at kernel/qwidget.cpp:7810
#38 0x00007f33ff1a0703 in QDialog::setVisible (this=0x27561a0, visible=<optimized out>) at dialogs/qdialog.cpp:793
#39 0x00007f33ff19faa4 in hide (this=0x27561a0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:498
#40 QDialog::done (this=0x27561a0, r=1) at dialogs/qdialog.cpp:591
#41 0x00007f340008cf5f in QMetaObject::activate (sender=0x27561a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#42 0x00007f3400c30fe8 in KDialog::slotButtonClicked (this=0x27561a0, button=4) at ../../kdeui/dialogs/kdialog.cpp:884
#43 0x00007f3400c31414 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#44 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#45 0x00007f340008cf5f in QMetaObject::activate (sender=0x285e710, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff743d2110) at kernel/qobject.cpp:3547
#46 0x00007f3400092e2e in QSignalMapper::mapped (this=this@entry=0x285e710, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:115
#47 0x00007f3400093035 in QSignalMapper::map (this=0x285e710, sender=0x28681d0) at kernel/qsignalmapper.cpp:266
#48 0x00007f340008cf5f in QMetaObject::activate (sender=0x28681d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff743d22a0) at kernel/qobject.cpp:3547
#49 0x00007f33ff351422 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#50 0x00007f33ff0a4d2e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2868210) at widgets/qabstractbutton.cpp:548
#51 0x00007f33ff0a5560 in QAbstractButtonPrivate::click (this=this@entry=0x2868210) at widgets/qabstractbutton.cpp:541
#52 0x00007f33ff0a57cc in QAbstractButton::mouseReleaseEvent (this=0x28681d0, e=0x7fff743d2b40) at widgets/qabstractbutton.cpp:1123
#53 0x00007f33fed36850 in QWidget::event (this=0x28681d0, event=0x7fff743d2b40) at kernel/qwidget.cpp:8371
#54 0x00007f33fece6e9c in QApplicationPrivate::notify_helper (this=this@entry=0x22527b0, receiver=receiver@entry=0x28681d0, e=e@entry=0x7fff743d2b40) at kernel/qapplication.cpp:4562
#55 0x00007f33fecebb6b in QApplication::notify (this=<optimized out>, receiver=0x28681d0, e=0x7fff743d2b40) at kernel/qapplication.cpp:4105
#56 0x00007f3400cd01d6 in KApplication::notify (this=0x7fff743d6770, receiver=0x28681d0, event=0x7fff743d2b40) at ../../kdeui/kernel/kapplication.cpp:311
#57 0x00007f340007756e in QCoreApplication::notifyInternal (this=0x7fff743d6770, receiver=0x28681d0, event=0x7fff743d2b40) at kernel/qcoreapplication.cpp:915
#58 0x00007f33fece7cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#59 QApplicationPrivate::sendMouseEvent (receiver=0x28681d0, event=0x7fff743d2b40, alienWidget=0x28681d0, nativeWidget=0x2862030, buttonDown=0x7f33ff7c3308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#60 0x00007f33fed65554 in QETWidget::translateMouseEvent (this=this@entry=0x2862030, event=event@entry=0x7fff743d32c0) at kernel/qapplication_x11.cpp:4622
#61 0x00007f33fed6444f in QApplication::x11ProcessEvent (this=0x7fff743d6770, event=0x7fff743d32c0) at kernel/qapplication_x11.cpp:3737
#62 0x00007f33fed8bfa2 in x11EventSourceDispatch (s=0x2245e70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#63 0x00007f33faf8fab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f33faf8fde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f33faf8fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f34000a5bf6 in QEventDispatcherGlib::processEvents (this=0x22024c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#67 0x00007f33fed8bc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f34000762bf in QEventLoop::processEvents (this=this@entry=0x7fff743d36a0, flags=...) at kernel/qeventloop.cpp:149
#69 0x00007f3400076548 in QEventLoop::exec (this=0x7fff743d36a0, flags=...) at kernel/qeventloop.cpp:204
#70 0x00007f33ff19f428 in QDialog::exec (this=0x27561a0) at dialogs/qdialog.cpp:554
#71 0x00000000004215ab in _start ()

Possible duplicates by query: bug 305931, bug 302972, bug 296373.

Reported using DrKonqi
Comment 1 David Edmundson 2012-10-23 04:38:55 UTC
Can you reproduce it (does it crash if you try again)

on what screen did it crash? When it was closing the settings dialog?
Comment 2 TOM Harrison 2012-10-23 09:18:41 UTC
i have try many times.
and i open the modify of yahoo account.

press OK.
and it will crash many times.

and if i did not modify anything or only change some checkbox.
then it will not crash.
Comment 3 TOM Harrison 2012-10-24 14:53:05 UTC
is there any package change list that could use.
is use do-release-upgrade.
and there are some different between 12.04 and 12.10.
and i do not have change list to change my package.
Comment 4 TOM Harrison 2012-10-24 14:53:59 UTC
wrong:is use do-release-upgrade.
right: I use do-release-upgrade.
Comment 5 Martin Klapetek 2012-10-24 14:57:04 UTC
I'm sorry, your last message is not exactly clear - you have updated from 12.04 to 12.10 and the KTp packages are different in 12.10? 

You can always try to remove all of kde-telepathy packages and reinstall kde-telepathy (the metapackage), your accounts should stay.
Comment 6 TOM Harrison 2012-10-24 15:03:19 UTC
i did not install ktp in 12.04
i install it manually at 12.10.
and i think i have something did not install.
because except this problem, my facebook chat in ktp is also not work.
that why i need something like which is remove in 12.10, and which is install in 12.10.

and the facebook chat is always show 
Some of the IM components are not working correctly
Comment 7 TOM Harrison 2012-10-24 15:10:23 UTC
sorry my poor English.
i live in the none English country :(
Comment 8 Martin Klapetek 2012-10-24 15:17:21 UTC
Don't worry :) 

Did you compile the code or installed packages? Can you check you have telepathy-gabble and telepathy-haze installed (from packages)?
Comment 9 TOM Harrison 2012-10-24 15:27:23 UTC
two of this right?
ii  telepathy-gabble                      0.16.1-2                                            amd64        Jabber/XMPP connection manager
ii  telepathy-haze                        0.6.0-1                                             amd64        Telepathy connection manager that
it seems auto install by the ktp.
it seems it is the dependency of ktp

and i did not compile the code.
but I have add a ppa that belong to telepathy
if that will cause the problem ?
Comment 10 TOM Harrison 2012-10-24 15:45:19 UTC
i have remove the ppa and reinstall.
and it still have problem.
Comment 11 Martin Klapetek 2012-10-24 19:45:31 UTC
Remove the PPA from your system and install from default Kubuntu repositories. We are being shipped by default now.
Comment 12 TOM Harrison 2012-10-25 00:51:16 UTC
yeah, i have try.
useless
and i do not try to remove the ppa that is use by kde.
kde backreport.
Comment 13 TOM Harrison 2012-10-25 00:58:56 UTC
the same problem.
expect the ktp isself package.
is there any package that is not ktp and it also require on the facebook chat?
Comment 14 TOM Harrison 2012-10-25 05:31:24 UTC
i have some output from terminal

tp-qt 0.9.3 WARN: Nested PendingReady for true failed with "org.freedesktop.DBus.Error.NameHasNoOwner" : "Name owner lost (service crashed?)"                                                                                                             
tp-qt 0.9.3 WARN: Building connection "/org/freedesktop/Telepathy/Connection/gabble/jabber/l12436_40chat_2efacebook_2ecom_2fkde_2dtelepathy" failed with "org.freedesktop.DBus.Error.NameHasNoOwner" - "Name owner lost (service crashed?)"                                 
tp-qt 0.9.3 WARN: Nested PendingReady for true failed with "org.freedesktop.DBus.Error.NameHasNoOwner" : "Name owner lost (service crashed?)"                                                                                                                               
tp-qt 0.9.3 WARN: Properties::GetAll(Connection) failed with "org.freedesktop.DBus.Error.NoReply": "Message did not receive a reply (timeout by message bus)"                                                                                                               
tp-qt 0.9.3 WARN: Building connection "/org/freedesktop/Telepathy/Connection/gabble/jabber/l12436_40chat_2efacebook_2ecom_2fkde_2dtelepathy" failed with "org.freedesktop.DBus.Error.NameHasNoOwner" - "Name owner lost (service crashed?)" 

and it seems cause by the dbus.
but is don't know what package that i didn't install.
Comment 15 TOM Harrison 2012-10-25 07:27:33 UTC
a another question.
if i don't use the lightdm, is there any impact to the kde software.
i prefer use the kdm.

and i have post the another bug for ark.
Comment 16 Martin Klapetek 2012-10-25 11:41:46 UTC
All you should need is to install kde-telepathy package and all should be pulled as dependency.

Lightdm has no impact on KDE software, it just looks and works better than kdm.
Comment 17 TOM Harrison 2012-10-25 12:07:15 UTC
yeah, i install the kde-telepathy and it also install other dependency

but it can not login into facebook.
did i need to post my install package list ?
Comment 18 TOM Harrison 2012-10-25 15:18:57 UTC
through this website
http://community.kde.org/Real-Time_Communication_and_Collaboration/FAQ#Providing_debug
and I use the command of website, i know what is that problem.
because the .cache in my home directory is link by ln -s
and it seems the telepathy is not support the link.

i just remove the ln-s and change to mount.
and it tunrs normal.
Comment 19 TOM Harrison 2012-10-25 15:30:18 UTC
i think you could change the code of telepathy.
that support when the ~/.cache is link by ln -s (symbolic link)
and it also could normal create the file ~/.cache/dconf/user
Comment 20 Martin Klapetek 2012-10-25 15:44:12 UTC
That's unfortunately a bug not in our product, sorry. But you can file a bug against Telepathy here: https://bugs.freedesktop.org/

Let us know if you'll do so.
Comment 21 Martin Klapetek 2013-01-08 10:51:26 UTC
*** Bug 312871 has been marked as a duplicate of this bug. ***
Comment 22 Jared Harrison 2013-05-11 05:59:52 UTC
Created attachment 79821 [details]
New crash information added by DrKonqi

ktp-contactlist (0.6.1) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:

1. Open Settings
2. Click on any account to edit
3. Words get jumbled up
4. Attempt to close and get crash error

-- Backtrace (Reduced):
#7  0x00007f323d37ce51 in QObject::disconnect (sender=0xb10ba0, signal=0x105cd49 "selectionChanged(QItemSelection,QItemSelection)", signal@entry=0x7f323e55ad38 "2selectionChanged(QItemSelection,QItemSelection)", receiver=0xeef460, method=0x105cc99 "_k_slotSelectionChanged(QItemSelection,QItemSelection)", method@entry=0x7f323e55df88 "1_k_slotSelectionChanged(QItemSelection,QItemSelection)") at kernel/qobject.cpp:2887
#8  0x00007f323e3e1ef7 in eventFilter (event=0x7fff69e813e0, watched=0xefcc60, this=0x10bf050) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:272
#9  KWidgetItemDelegatePrivate::eventFilter (this=0x10bf050, watched=0xefcc60, event=0x7fff69e813e0) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:236
#10 0x00007f323d3667a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xb90f50, receiver=receiver@entry=0xefcc60, event=event@entry=0x7fff69e813e0) at kernel/qcoreapplication.cpp:1056
#11 0x00007f323bfd28bc in QApplicationPrivate::notify_helper (this=this@entry=0xb90f50, receiver=receiver@entry=0xefcc60, e=e@entry=0x7fff69e813e0) at kernel/qapplication.cpp:4563