Bug 283986 - Crash when removing salut account
Summary: Crash when removing salut account
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: accounts-kcm (show other bugs)
Version: git-latest
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks: 282193
  Show dependency treegraph
 
Reported: 2011-10-14 12:32 UTC by Daniele E. Domenichelli
Modified: 2012-07-06 12:47 UTC (History)
1 user (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 Daniele E. Domenichelli 2011-10-14 12:32:56 UTC
Removing salut account causes this crash


Application: kcmshell4 ()
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[KCrash Handler]
#6  Tp::DBusProxy::objectPath (this=0x0) at /opt/telepathy/telepathy-qt4/TelepathyQt4/dbus-proxy.cpp:131
#7  0x00007f942488dd90 in Tp::Account::uniqueIdentifier (this=<optimized out>) at /opt/telepathy/telepathy-qt4/TelepathyQt4/account.cpp:1970
#8  0x00007f9424fbd40a in WalletInterface::removePassword (this=<optimized out>, account=...) at /opt/telepathy/telepathy-accounts-kcm/src/wallet-interface.cpp:100
#9  0x00007f9424fab719 in KCMTelepathyAccounts::onRemoveAccountClicked (this=0xc1f6c0) at /opt/telepathy/telepathy-accounts-kcm/src/kcm-telepathy-accounts.cpp:316
#10 0x00007f9424fae94c in KCMTelepathyAccounts::qt_metacall (this=0xc1f6c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1cc30410) at /opt/telepathy/telepathy-accounts-kcm/build/src/kcm-telepathy-accounts.moc:98
#11 0x00007f94346dfb1a in QMetaObject::activate (sender=0xc5bff0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1cc30410) at kernel/qobject.cpp:3278
#12 0x00007f94340ec722 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#13 0x00007f9433e34dfe in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#14 0x00007f9433e3613b in QAbstractButtonPrivate::click (this=0xc5c030) at widgets/qabstractbutton.cpp:539
#15 0x00007f9433e363ac in QAbstractButton::mouseReleaseEvent (this=0xc5bff0, e=0x7fff1cc30e60) at widgets/qabstractbutton.cpp:1121
#16 0x00007f9433ad6016 in QWidget::event (this=0xc5bff0, event=0x7fff1cc30e60) at kernel/qwidget.cpp:8259
#17 0x00007f9433a859f4 in notify_helper (e=0x7fff1cc30e60, receiver=0xc5bff0, this=0x9f1e60) at kernel/qapplication.cpp:4467
#18 QApplicationPrivate::notify_helper (this=0x9f1e60, receiver=0xc5bff0, e=0x7fff1cc30e60) at kernel/qapplication.cpp:4439
#19 0x00007f9433a8b17b in QApplication::notify (this=<optimized out>, receiver=0xc5bff0, e=0x7fff1cc30e60) at kernel/qapplication.cpp:4028
#20 0x00007f94353b4a66 in KApplication::notify (this=0x7fff1cc31a00, receiver=0xc5bff0, event=0x7fff1cc30e60) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f94346ccfbc in QCoreApplication::notifyInternal (this=0x7fff1cc31a00, receiver=0xc5bff0, event=0x7fff1cc30e60) at kernel/qcoreapplication.cpp:731
#22 0x00007f9433a869c2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QApplicationPrivate::sendMouseEvent (receiver=0xc5bff0, event=0x7fff1cc30e60, alienWidget=0xc5bff0, nativeWidget=0xaef890, buttonDown=0xc5bff0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3127
#24 0x00007f9433b02de8 in QETWidget::translateMouseEvent (this=0xaef890, event=<optimized out>) at kernel/qapplication_x11.cpp:4465
#25 0x00007f9433b01bea in QApplication::x11ProcessEvent (this=0x7fff1cc31a00, event=0x7fff1cc31580) at kernel/qapplication_x11.cpp:3591
#26 0x00007f9433b29d32 in x11EventSourceDispatch (s=0x9f71a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007f94303694a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f9430369c80 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f9430369f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f94346f7abf in QEventDispatcherGlib::processEvents (this=0x9d6c80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f9433b299ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f94346cc1c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f94346cc3bf in QEventLoop::exec (this=0x7fff1cc31950, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f9433f344d6 in QDialog::exec (this=0xaef890) at dialogs/qdialog.cpp:552
#35 0x00007f9435da3d92 in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:287
#36 0x00007f9435a36ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1cc32188) at libc-start.c:228
#37 0x00000000004006b1 in _start ()
Comment 1 David Edmundson 2011-10-14 12:49:22 UTC
The issue is the new remove code (wrongly) assumes the remove button should remove from the main list, not including the top model view.
Comment 2 Daniele E. Domenichelli 2011-10-26 16:04:51 UTC
Git commit e31258274efbbe82fd41a6a3e26e245fd1894f19 by Daniele E. Domenichelli.
Committed on 26/10/2011 at 17:59.
Pushed by ddomenichelli into branch 'master'.

Remove the password from KWallet before removing account

Reviewed-by: Martin Klapetek <martin.klapetek@gmail.com>
BUG: 283986

M  +2    -2    src/kcm-telepathy-accounts.cpp

http://commits.kde.org/telepathy-accounts-kcm/e31258274efbbe82fd41a6a3e26e245fd1894f19