Bug 244764 - Kopete crashed when trying to edit account preferences [XMPP::Task::client, XMPP::Task::Task, XMPP::JT_Register::JT_Register, ..., JabberProtocol::createEditAccountWidget]
Summary: Kopete crashed when trying to edit account preferences [XMPP::Task::client, X...
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: 1.0.0
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 251241 257570 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-15 16:21 UTC by Raúl
Modified: 2013-06-01 21:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl 2010-07-15 16:21:54 UTC
Application: kopete (1.0.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
Kopete started up, tried to connect to several of my accounts, action which I cancelled avoiding to enter password.

Then I went into kopete preferences, I chosed one account and chose modify with the right button, after this I had the crash.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
The current source language is "auto; currently asm".
[KCrash Handler]
#5  XMPP::Task::client (this=0x2846310, parent=0x0) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:84
#6  Task (this=0x2846310, parent=0x0) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:48
#7  0x00007f861a0a459b in JT_Register (this=0x7f8630779e40, parent=0x28) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:141
#8  0x00007f8619fb0ab9 in JT_XRegister (this=0x7f8630779e40, parent=0x28) at ../../../../kopete/protocols/jabber/tasks/jt_xregister.cpp:21
#9  0x00007f8619fccb1a in dlgRegister (this=0x28d7580, account=<value optimized out>, jid=..., parent=<value optimized out>) at ../../../../kopete/protocols/jabber/ui/dlgregister.cpp:53
#10 0x00007f8619feec05 in JabberProtocol::createEditAccountWidget (this=<value optimized out>, account=<value optimized out>, parent=<value optimized out>)
    at ../../../../kopete/protocols/jabber/jabberprotocol.cpp:167
#11 0x00007f86151aee70 in KopeteAccountConfig::modifyAccount (this=0x20c1c60, account=0x1d2eaa0) at ../../../../../kopete/kopete/config/accounts/kopeteaccountconfig.cpp:267
#12 0x00007f86151b0e2c in KopeteAccountConfig::qt_metacall (this=0x20c1c60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcda63fc0) at ./kopeteaccountconfig.moc:102
#13 0x00007f8631b78346 in QMetaObject::activate (sender=0x20daa20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x28d7c01) at kernel/qobject.cpp:3295
#14 0x00007f8630c84132 in QAction::triggered (this=0x7f8630779e40, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0x00007f8630c861ab in QAction::activate (this=0x20daa20, event=<value optimized out>) at kernel/qaction.cpp:1255
#16 0x00007f8630c87e32 in QAction::trigger (this=0x20daa20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcda64290) at kernel/qaction.h:218
#17 QAction::qt_metacall (this=0x20daa20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcda64290) at .moc/release-shared/moc_qaction.cpp:174
#18 0x00007f8630ceb7f5 in QWidgetAction::qt_metacall (this=0x7f8630779e40, _c=40, _id=6531616, _a=0x28d7c01) at .moc/release-shared/moc_qwidgetaction.cpp:67
#19 0x00007f8632479848 in KAction::qt_metacall (this=0x7f8630779e40, _c=40, _id=6531616, _a=0x28d7c01) at ./kaction.moc:95
#20 0x00007f8631b78346 in QMetaObject::activate (sender=0x20cdc20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x28d7c01) at kernel/qobject.cpp:3295
#21 0x00007f8631327572 in QAbstractButton::clicked (this=0x7f8630779e40, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#22 0x00007f863103fa5b in QAbstractButtonPrivate::emitClicked (this=0x20ce070) at widgets/qabstractbutton.cpp:546
#23 0x00007f86310408fb in QAbstractButtonPrivate::click (this=0x20ce070) at widgets/qabstractbutton.cpp:539
#24 0x00007f8631040b6c in QAbstractButton::mouseReleaseEvent (this=0x20cdc20, e=0x7fffcda64d60) at widgets/qabstractbutton.cpp:1121
#25 0x00007f8630ce0602 in QWidget::event (this=0x20cdc20, event=0x7fffcda64d60) at kernel/qwidget.cpp:8044
#26 0x00007f8630c8a32c in QApplicationPrivate::notify_helper (this=0x14ad230, receiver=0x20cdc20, e=0x7fffcda64d60) at kernel/qapplication.cpp:4302
#27 0x00007f8630c90fdb in QApplication::notify (this=0x7fffcda658b0, receiver=0x20cdc20, e=0x7fffcda64d60) at kernel/qapplication.cpp:3867
#28 0x00007f863254d436 in KApplication::notify (this=0x7fffcda658b0, receiver=0x20cdc20, event=0x7fffcda64d60) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f8631b6515c in QCoreApplication::notifyInternal (this=0x7fffcda658b0, receiver=0x20cdc20, event=0x7fffcda64d60) at kernel/qcoreapplication.cpp:726
#30 0x00007f8630c901be in QCoreApplication::sendEvent (receiver=0x20cdc20, event=0x7fffcda64d60, alienWidget=0x20cdc20, nativeWidget=0x17c9960, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x20cdc20, event=0x7fffcda64d60, alienWidget=0x20cdc20, nativeWidget=0x17c9960, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2967
#32 0x00007f8630d1003b in QETWidget::translateMouseEvent (this=0x17c9960, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#33 0x00007f8630d0e9ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffcda654e0) at kernel/qapplication_x11.cpp:3513
#34 0x00007f8630d3a552 in x11EventSourceDispatch (s=0x14b0b30, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f862bad76c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f862badb538 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f862badb6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f8631b8e713 in QEventDispatcherGlib::processEvents (this=0x145a220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007f8630d3a14e in QGuiEventDispatcherGlib::processEvents (this=0x7f8630779e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f8631b63a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f8631b63e5c in QEventLoop::exec (this=0x7fffcda65800, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f8631b68aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#43 0x0000000000415652 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:105

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-13 17:34:23 UTC
[Comment from a bug triager]
From bug 251241:
- What I was doing when the application crashed:
I tried to open the settings of one of the chat accounts registred within
kopete.

From bug 257570:
-- Information about the crash:
I have ICQ transport setup for my gtalk account. When I setup gtalk account in
Kopete it detects ICQ transport as separate account. If I try to edit details
for this ICQ transport account Kopete always crashes if I'm still offline. If
I'm online Kopete doesn't crash.
Comment 2 Dario Andres 2010-12-13 17:34:41 UTC
*** Bug 251241 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-12-13 17:34:47 UTC
*** Bug 257570 has been marked as a duplicate of this bug. ***
Comment 4 Pali Rohár 2013-06-01 21:34:18 UTC
SVN commit 1356753 by pali:

Wrap Edit account dialog into QPointer

* Edit account dialog using KDialog::exec() function which can lead to memory corruption and double free
* After this change Jabber edit account dialog stopped crashing when applying changes

Related: bug 306917
Related: bug 306585
Related: bug 243653
FIXED-IN: 4.11


 M  +4 -3      kopeteaccount.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1356753