Bug 240164 - Segfault when switching status to "Online"
Summary: Segfault when switching status to "Online"
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 0.80.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 240381 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-31 02:01 UTC by Styopa Semenukha
Modified: 2010-06-18 00:04 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 Styopa Semenukha 2010-05-31 02:01:49 UTC
Application: kopete (0.80.2)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-gcc44 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
Kopete is offline and minimized to tray. When I right-click it and choose Set Status -> Online it crashes with segfault.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f41efbf305e in JabberClient::cleanUp() () from /usr/lib/kde4/kopete_jabber.so
#7  0x00007f41efbad3a5 in ?? () from /usr/lib/kde4/kopete_jabber.so
#8  0x00007f4206ddd7c1 in Kopete::PasswordedAccount::connect(Kopete::OnlineStatus const&) () from /usr/lib/libkopete.so.4
#9  0x00007f41efbad1a7 in ?? () from /usr/lib/kde4/kopete_jabber.so
#10 0x00007f4206d9b1f1 in Kopete::AccountManager::setOnlineStatus(unsigned int, Kopete::StatusMessage const&, unsigned int) () from /usr/lib/libkopete.so.4
#11 0x00007f4206d9d2b4 in Kopete::AccountManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkopete.so.4
#12 0x00007f4204f34c4f in QMetaObject::activate (sender=0x28cf020, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x90990) at kernel/qobject.cpp:3293
#13 0x00007f42068e55f6 in Kopete::StatusRootAction::changeStatus(unsigned int, Kopete::StatusMessage const&) () from /usr/lib/libkopetestatusmenu.so.1
#14 0x00007f42068e5bb8 in Kopete::StatusRootAction::changeStatus(Kopete::Status::Status const*) () from /usr/lib/libkopetestatusmenu.so.1
#15 0x00007f42068e4e40 in ?? () from /usr/lib/libkopetestatusmenu.so.1
#16 0x00007f4204f34c4f in QMetaObject::activate (sender=0x28cf3c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x90990) at kernel/qobject.cpp:3293
#17 0x00007f42042ba702 in QAction::triggered (this=0x2a57c00, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f42042bc77b in QAction::activate (this=0x28cf3c0, event=<value optimized out>) at kernel/qaction.cpp:1255
#19 0x00007f42046fa5bd in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x28cf3c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#20 0x00007f420470013a in QMenuPrivate::activateAction (this=0x28cfc20, action=0x28cf3c0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#21 0x00007f4205c600de in KMenu::mouseReleaseEvent (this=0x28cfbe0, e=0x0) at ../../kdeui/widgets/kmenu.cpp:471
#22 0x00007f4204316c42 in QWidget::event (this=0x28cfbe0, event=0x7fff660d20c0) at kernel/qwidget.cpp:7998
#23 0x00007f42047022fb in QMenu::event (this=0x28cfbe0, e=0x7fff660d20c0) at widgets/qmenu.cpp:2414
#24 0x00007f42042c08fc in QApplicationPrivate::notify_helper (this=0x260fd80, receiver=0x28cfbe0, e=0x7fff660d20c0) at kernel/qapplication.cpp:4300
#25 0x00007f42042c75ab in QApplication::notify (this=0x7fff660d2c10, receiver=0x28cfbe0, e=0x7fff660d20c0) at kernel/qapplication.cpp:3865
#26 0x00007f4205b84366 in KApplication::notify (this=0x7fff660d2c10, receiver=0x28cfbe0, event=0x7fff660d20c0) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x00007f4204f21f1c in QCoreApplication::notifyInternal (this=0x7fff660d2c10, receiver=0x28cfbe0, event=0x7fff660d20c0) at kernel/qcoreapplication.cpp:704
#28 0x00007f42042c678e in QCoreApplication::sendEvent (receiver=0x28cfbe0, event=0x7fff660d20c0, alienWidget=0x0, nativeWidget=0x28cfbe0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x28cfbe0, event=0x7fff660d20c0, alienWidget=0x0, nativeWidget=0x28cfbe0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#30 0x00007f420434684d in QETWidget::translateMouseEvent (this=0x28cfbe0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#31 0x00007f4204344d3c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff660d2840) at kernel/qapplication_x11.cpp:3501
#32 0x00007f42043707e2 in x11EventSourceDispatch (s=0x26135d0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f41fef0a6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007f41fef0e538 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007f41fef0e6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007f4204f4b373 in QEventDispatcherGlib::processEvents (this=0x25cd220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007f42043703de in QGuiEventDispatcherGlib::processEvents (this=0x2a57c00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f4204f20842 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f4204f20c1c in QEventLoop::exec (this=0x7fff660d2b60, flags=) at kernel/qeventloop.cpp:201
#40 0x00007f4204f2495b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x0000000000415686 in _start ()

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-01 09:29:33 UTC
please install kdenetwork-dbg and give the new backtrace

thank you
Comment 2 Nicolas L. 2010-06-02 00:03:31 UTC
*** Bug 240381 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas L. 2010-06-02 00:03:56 UTC
pplication: Kopete (kopete), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f576634a05e in JabberClient::cleanUp() () from
/usr/lib/kde4/kopete_jabber.so
#7  0x00007f57663043a5 in ?? () from /usr/lib/kde4/kopete_jabber.so
#8  0x00007f577d6207c1 in Kopete::PasswordedAccount::connect (this=0x213f0c0,
initialStatus=<value optimized out>) at
../../../kopete/libkopete/kopetepasswordedaccount.cpp:66
#9  0x00007f57663041a7 in ?? () from /usr/lib/kde4/kopete_jabber.so
#10 0x00007f577d5de1f1 in Kopete::AccountManager::setOnlineStatus (this=<value
optimized out>, category=2, statusMessage=..., flags=<value optimized out>)
    at ../../../kopete/libkopete/kopeteaccountmanager.cpp:130
#11 0x00007f577d5e02b4 in Kopete::AccountManager::qt_metacall (this=0x1d3fa90,
_c=<value optimized out>, _id=<value optimized out>, _a=0x7fff61ffafd0) at
./kopeteaccountmanager.moc:113
#12 0x00007f577b777c4f in QMetaObject::activate (sender=0x1e5eec0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x8e060) at
kernel/qobject.cpp:3293
#13 0x00007f577d1285f6 in Kopete::StatusRootAction::changeStatus(unsigned int,
Kopete::StatusMessage const&) () from /usr/lib/libkopetestatusmenu.so.1
#14 0x00007f577d128bb8 in
Kopete::StatusRootAction::changeStatus(Kopete::Status::Status const*) () from
/usr/lib/libkopetestatusmenu.so.1
#15 0x00007f577d127e40 in ?? () from /usr/lib/libkopetestatusmenu.so.1
#16 0x00007f577b777c4f in QMetaObject::activate (sender=0x1e5f300, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x8e060) at
kernel/qobject.cpp:3293
#17 0x00007f577aafd702 in QAction::triggered (this=0x21faea0, _t1=false) at
.moc/release-shared/moc_qaction.cpp:263
#18 0x00007f577aaff77b in QAction::activate (this=0x1e5f300, event=<value
optimized out>) at kernel/qaction.cpp:1255
#19 0x00007f577af3d5bd in QMenuPrivate::activateCausedStack (this=<value
optimized out>, causedStack=..., action=0x1e5f300, action_e=QAction::Trigger,
self=true) at widgets/qmenu.cpp:1011
#20 0x00007f577af4313a in QMenuPrivate::activateAction (this=0x1e5fb60,
action=0x1e5f300, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1103
#21 0x00007f577c4a30de in KMenu::mouseReleaseEvent (this=0x1e5fb20, e=0x0) at
../../kdeui/widgets/kmenu.cpp:471
#22 0x00007f577ab59c42 in QWidget::event (this=0x1e5fb20, event=0x7fff61ffbf90)
at kernel/qwidget.cpp:7998
#23 0x00007f577af452fb in QMenu::event (this=0x1e5fb20, e=0x7fff61ffbf90) at
widgets/qmenu.cpp:2414
#24 0x00007f577ab038fc in QApplicationPrivate::notify_helper (this=0x1c2db10,
receiver=0x1e5fb20, e=0x7fff61ffbf90) at kernel/qapplication.cpp:4300
#25 0x00007f577ab0a5ab in QApplication::notify (this=0x7fff61ffcae0,
receiver=0x1e5fb20, e=0x7fff61ffbf90) at kernel/qapplication.cpp:3865
#26 0x00007f577c3c7366 in KApplication::notify (this=0x7fff61ffcae0,
receiver=0x1e5fb20, event=0x7fff61ffbf90) at
../../kdeui/kernel/kapplication.cpp:302
#27 0x00007f577b764f1c in QCoreApplication::notifyInternal
(this=0x7fff61ffcae0, receiver=0x1e5fb20, event=0x7fff61ffbf90) at
kernel/qcoreapplication.cpp:704
#28 0x00007f577ab0978e in QCoreApplication::sendEvent (receiver=0x1e5fb20,
event=0x7fff61ffbf90, alienWidget=0x0, nativeWidget=0x1e5fb20,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x1e5fb20,
event=0x7fff61ffbf90, alienWidget=0x0, nativeWidget=0x1e5fb20,
buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#30 0x00007f577ab8984d in QETWidget::translateMouseEvent (this=0x1e5fb20,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#31 0x00007f577ab87d3c in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff61ffc710) at kernel/qapplication_x11.cpp:3501
#32 0x00007f577abb37e2 in x11EventSourceDispatch (s=0x1c23f70, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f577574d6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007f5775751538 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007f57757516ec in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#36 0x00007f577b78e373 in QEventDispatcherGlib::processEvents (this=0x1bde220,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007f577abb33de in QGuiEventDispatcherGlib::processEvents
(this=0x21faea0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f577b763842 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f577b763c1c in QEventLoop::exec (this=0x7fff61ffca30, flags=) at
kernel/qeventloop.cpp:201
#40 0x00007f577b76795b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#41 0x0000000000415686 in _start ()
Comment 4 Nicolas L. 2010-06-17 11:19:47 UTC
Please install debug packages for kdenetwork and paste a new crash log


[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f576634a05e in JabberClient::cleanUp() () from
/usr/lib/kde4/kopete_jabber.so
#7  0x00007f57663043a5 in ?? () from /usr/lib/kde4/kopete_jabber.so
Comment 5 Styopa Semenukha 2010-06-17 23:05:09 UTC
(In reply to comment #4)
> Please install debug packages for kdenetwork and paste a new crash log

Dear Nicolas,

I had installed the kdenetwork debug package before I posted the bug report. Today I installed almost all KDE debug packages, but the trace still looks the same. Please tell if I can help somehow.
> $ sudo apt-get install kdenetwork-dbg 
> kdenetwork-dbg is already the newest version.

The enabled protocols are: OSCARS and XMPP. Kopete crashes when I switch any or both of them to online. The KDE wallet password prompt doesn't appear before the crash.
Comment 6 Styopa Semenukha 2010-06-17 23:48:41 UTC
(In reply to comment #5)
Upgraded Kopete using the package manager, the bug is gone. Sorry for bothering.
Comment 7 Nicolas L. 2010-06-18 00:04:10 UTC
you don't bother at all :)

tks for your quick feedback, i close this bugreport now