Bug #2176

Warning from jabber_protocol on NetworkManager offline()+online()

Added by Piotr Dąbrowski about 2 years ago. Updated over 1 year ago.

Status:Resolved Start date:
Priority:High Due date:
Assignee:Wojciech "Juzef" Treter % Done:

100%

Category:- Spent time: -
Target version:Kadu - 0.12.0
Found in Git commit: Steps to reproduce:
Fixed in Git commit:936db4d189cac4d4583396ede4e3aa325501f832 Additional information:
Junior job:No

Description

When NetworkManager emits offline() and then online() signals i get this warning backtrace:

Warning: Task::go(): attempted to send a task over the broken connection.

backtrace: ('warning from Qt (above)') ======= BEGIN OF BACKTRACE =====
[0] ./kadu(Z14printBacktraceRK7QString+0x9b) [0x82ea97b]
[1] ./kadu() [0x818b098]
[2] /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x33) [0xb4f6c593]
[3] /usr/lib/libQtCore.so.4(+0x66a37) [0xb4f6ca37]
[4] /usr/lib/libQtCore.so.4(_Z8qWarningPKcz+0x19) [0xb4f6cfe9]
[5] /mnt/ultr/data/projekty/kadu/KADU/ultr-kadu-install/lib/kadu/plugins/libjabber_protocol.so(_ZN4XMPP4Task2goEb+0x69) [0xb0f63fc1]
[6] /mnt/ultr/data/projekty/kadu/KADU/ultr-kadu-install/lib/kadu/plugins/libjabber_protocol.so(_ZN12VCardFactory8getVCardERKN4XMPP3JidEPNS0_4TaskEPK7QObjectPKcb+0x103) [0xb0f1069b]
[7] /mnt/ultr/data/projekty/kadu/KADU/ultr-kadu-install/lib/kadu/plugins/libjabber_protocol.so(_ZN24JabberAvatarVCardFetcher11fetchAvatarEv+0x10f) [0xb0efe01f]
[8] /mnt/ultr/data/projekty/kadu/KADU/ultr-kadu-install/lib/kadu/plugins/libjabber_protocol.so(_ZN19JabberAvatarFetcher16fetchAvatarVCardEv+0xaa) [0xb0efad0e]
[9] /mnt/ultr/data/projekty/kadu/KADU/ultr-kadu-install/lib/kadu/plugins/libjabber_protocol.so(_ZN19JabberAvatarFetcher11fetchAvatarEv+0x129) [0xb0efaf6f]
[10] /mnt/ultr/data/projekty/kadu/KADU/ultr-kadu-install/lib/kadu/plugins/libjabber_protocol.so(_ZN19JabberAvatarService11fetchAvatarE7Contact+0xde) [0xb0f01c9a]
[11] ./kadu(_ZN15AvatarJobRunner6runJobEv+0xb6) [0x81ac2e4]
[12] ./kadu(_ZN16AvatarJobManager6runJobEv+0xd5) [0x81ab523]
[13] ./kadu(_ZN16AvatarJobManager11qt_metacallEN11QMetaObject4CallEiPPv+0x63) [0x81af811]
[14] /usr/lib/libQtCore.so.4(_ZN11QMetaObject8metacallEP7QObjectNS_4CallEiPPv+0x3a) [0xb507327a]
[15] /usr/lib/libQtCore.so.4(_ZN14QMetaCallEvent13placeMetaCallEP7QObject+0x36) [0xb507d9c6]
[16] /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x22f) [0xb5081fef]
[17] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4) [0xb591fb54]
[18] /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x14e) [0xb59247de]
[19] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x7b) [0xb506cbfb]
[20] /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x295) [0xb5070825]
[21] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2d) [0xb50709fd]
[22] /usr/lib/libQtCore.so.4(+0x1941b4) [0xb509a1b4]
[23] /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d2) [0xb47a3252]
[24] /lib/libglib-2.0.so.0(+0x43a30) [0xb47a3a30]
[25] /lib/libglib-2.0.so.0(g_main_context_iteration+0x64) [0xb47a3ce4]
[26] /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5c) [0xb509a32c]
[27] /usr/lib/libQtGui.so.4(+0x217985) [0xb59d3985]
[28] /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x49) [0xb506bda9]
[29] /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xfa) [0xb506c04a]
[30] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xaf) [0xb5070abf]
[31] /usr/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x27) [0xb591d997]
[32] ./kadu(main+0x1baf) [0x818ce26]
[33] /lib/i686/cmov/libc.so.6(
_libc_start_main+0xe6) [0xb4b63e46]
[34] ./kadu() [0x818af41] ======= END OF BACKTRACE ======

History

Updated by Bartosz Brachaczek about 2 years ago

I get the same warning with different backtrace when going to a disconnected XMPP account's section in Your Accounts:

Warning: Task::go(): attempted to send a task over the broken connection.

backtrace: ('warning from Qt (above)') ======= BEGIN OF BACKTRACE =====
[0] /home/beevvy/kadu-inst/bin/kadu(Z14printBacktraceRK7QString+0x57) [0x8287037]
[1] /home/beevvy/kadu-inst/bin/kadu() [0x8114680]
[2] /usr/lib/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x33) [0xb4e0dfe3]
[3] /usr/lib/qt4/libQtCore.so.4(+0x5923b) [0xb4e0e23b]
[4] /usr/lib/qt4/libQtCore.so.4(_Z8qWarningPKcz+0x19) [0xb4e0e839]
[5] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN4XMPP4Task2goEb+0x6e) [0xb18a2c8e]
[6] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN12VCardFactory8getVCardERKN4XMPP3JidEPNS0_4TaskEPK7QObjectPKcb+0x9f) [0xb183bb1f]
[7] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN25JabberPersonalInfoService17fetchPersonalInfoEv+0x102) [0xb1831882]
[8] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN24JabberPersonalInfoWidgetC2E7AccountP7QWidget+0xce) [0xb181d13e]
[9] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN23JabberEditAccountWidget21createPersonalDataTabEP10QTabWidget+0x4e) [0xb181535e]
[10] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN23JabberEditAccountWidget9createGuiEv+0x89) [0xb1817eb9]
[11] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN23JabberEditAccountWidgetC1E7AccountP7QWidget+0x83) [0xb181b6f3]
[12] /home/beevvy/kadu-inst/lib/kadu/plugins/libjabber_protocol.so(_ZN21JabberProtocolFactory20newEditAccountWidgetE7AccountP7QWidget+0x4d) [0xb184502d]
[13] /home/beevvy/kadu-inst/bin/kadu(_ZN12YourAccounts20getAccountEditWidgetE7Account+0x10e) [0x82675fe]
[14] /home/beevvy/kadu-inst/bin/kadu(_ZN12YourAccounts19updateCurrentWidgetEv+0x2d6) [0x8267ab6]
[15] /home/beevvy/kadu-inst/bin/kadu(_ZN12YourAccounts23accountSelectionChangedERK14QItemSelectionS2
+0x58) [0x8267ca8]
[16] /home/beevvy/kadu-inst/bin/kadu(ZN12YourAccounts11qt_metacallEN11QMetaObject4CallEiPPv+0x89) [0x8278899]
[17] /usr/lib/qt4/libQtCore.so.4(_ZN11QMetaObject8metacallEP7QObjectNS_4CallEiPPv+0x4c) [0xb4f4087c]
[18] /usr/lib/qt4/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x301) [0xb4f533f1]
[19] /usr/lib/qt4/libQtGui.so.4(_ZN19QItemSelectionModel16selectionChangedERK14QItemSelectionS2
+0x49) [0xb5fa6949]
[20] /usr/lib/qt4/libQtGui.so.4(ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2+0x17d) [0xb5fae32d]
[21] /usr/lib/qt4/libQtGui.so.4(ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE+0x25e) [0xb5faef2e]
[22] /usr/lib/qt4/libQtGui.so.4(_ZN9QListView12setSelectionERK5QRect6QFlagsIN19QItemSelectionModel13SelectionFlagEE+0x723) [0xb5f6d373]
[23] /usr/lib/qt4/libQtGui.so.4(_ZN17QAbstractItemView15mousePressEventEP11QMouseEvent+0x59a) [0xb5f3d9ba]
[24] /usr/lib/qt4/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x5fd) [0xb591905d]
[25] /usr/lib/qt4/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x33) [0xb5dd1bd3]
[26] /usr/lib/qt4/libQtGui.so.4(_ZN19QAbstractScrollArea13viewportEventEP6QEvent+0x32) [0xb5e7c002]
[27] /usr/lib/qt4/libQtGui.so.4(_ZN17QAbstractItemView13viewportEventEP6QEvent+0x4a0) [0xb5f3af50]
[28] /usr/lib/qt4/libQtGui.so.4(+0x7005a5) [0xb5e7f5a5]
[29] /usr/lib/qt4/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x98) [0xb4f39008]
[30] /usr/lib/qt4/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xa2) [0xb58ae0e2]
[31] /usr/lib/qt4/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xf8c) [0xb58b487c]
[32] /usr/lib/qt4/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x7a) [0xb4f38e6a]
[33] /usr/lib/qt4/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x132) [0xb58af702]
[34] /usr/lib/qt4/libQtGui.so.4(+0x1cf91c) [0xb594e91c]
[35] /usr/lib/qt4/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x12cd) [0xb594d7cd]
[36] /usr/lib/qt4/libQtGui.so.4(+0x1fceb4) [0xb597beb4]
[37] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1da) [0xb4801d0a]
[38] /usr/lib/libglib-2.0.so.0(+0x435a8) [0xb48025a8]
[39] /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6b) [0xb48028cb]
[40] /usr/lib/qt4/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x58) [0xb4f6c938]
[41] /usr/lib/qt4/libQtGui.so.4(+0x1fca05) [0xb597ba05]
[42] /usr/lib/qt4/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x48) [0xb4f37668]
[43] /usr/lib/qt4/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xf2) [0xb4f37932]
[44] /usr/lib/qt4/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xa9) [0xb4f3dd99]
[45] /usr/lib/qt4/libQtGui.so.4(_ZN12QApplication4execEv+0x27) [0xb58abd47]
[46] /home/beevvy/kadu-inst/bin/kadu(main+0x218a) [0x811689a]
[47] /lib/libc.so.6(
_libc_start_main+0xe6) [0xb4a03e16]
[48] /home/beevvy/kadu-inst/bin/kadu() [0x81143a1] ======= END OF BACKTRACE ======

Updated by Rafał Malinowski about 2 years ago

AvatarManager should not try to get avatars when offline

Updated by Rafał Malinowski over 1 year ago

  • Target version set to 0.12.0

Updated by Wojciech "Juzef" Treter over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Wojciech "Juzef" Treter
  • Fixed in Git commit set to 936db4d189cac4d4583396ede4e3aa325501f832
  • Junior job set to No

Updated by Rafał Malinowski over 1 year ago

  • % Done changed from 0 to 100

Also available in: Atom PDF