** Changed in: qutim
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of QutIM
Developers, which is subscribed to qutim.
https://bugs.launchpad.net/bugs/604906

Title:
  Segfault when somebody reading my x-status

Status in Multiplatform instant messenger:
  Fix Released

Bug description:
  Когда кто-то запрашивает мой x-статус, находясь вне моего контакт-листа (при 
этом этот контакт находится в инвизибл листе), qutim падает в segfault.
  Qutim 0.2. Протокол icq собран из гита (последний коммит - 
a749592ea0c2bfbaf2e1b0de0e1781d47444fb38)

  Program received signal SIGSEGV, Segmentation fault.
  0x00007fffec7fb1f0 in contactListTree::getMessage (this=0xca0390, l=558) at 
contactlist.cpp:1062
  1062                                  emit userMessage(newMessage.from, "", 
buddyList.value(newMessage.from)->groupID, "", xstatusReadNotification, false);
  (gdb) where
  #0  0x00007fffec7fb1f0 in contactListTree::getMessage (this=0xca0390, l=558) 
at contactlist.cpp:1062
  #1  0x00007fffec9222e6 in contactListTree::qt_metacall (this=0xca0390, 
_c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fffffffd350) at 
build/moc/moc_contactlist.cpp:298
  #2  0x00007ffff4e38346 in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/libQtCore.so.4
  #3  0x00007fffec92711f in snacChannel::getMessage (this=0xc9ff90, _t1=558) at 
build/moc/moc_snacchannel.cpp:254
  #4  0x00007fffec8ba4a6 in snacChannel::readData (this=0xc9ff90, length=558) 
at snacchannel.cpp:192
  #5  0x00007fffec88dabe in oscarProtocol::readDataFromSocket (this=0xba0460) 
at oscarprotocol.cpp:394
  #6  0x00007fffec9255be in oscarProtocol::qt_metacall (this=0xba0460, 
_c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffd530) at 
build/moc/moc_oscarprotocol.cpp:137
  #7  0x00007ffff4e38346 in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/libQtCore.so.4
  #8  0x00007ffff51ee8df in ?? () from /usr/lib/libQtNetwork.so.4
  #9  0x00007ffff51dda51 in ?? () from /usr/lib/libQtNetwork.so.4
  #10 0x00007ffff5f2632c in QApplicationPrivate::notify_helper(QObject*, 
QEvent*) () from /usr/lib/libQtGui.so.4
  #11 0x00007ffff5f2c80b in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libQtGui.so.4
  #12 0x00007ffff4e2515c in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib/libQtCore.so.4
  #13 0x00007ffff4e4eaca in ?? () from /usr/lib/libQtCore.so.4
  #14 0x00007ffff2e566c2 in g_main_context_dispatch () from 
/lib/libglib-2.0.so.0
  #15 0x00007ffff2e5a538 in ?? () from /lib/libglib-2.0.so.0
  #16 0x00007ffff2e5a6ec in g_main_context_iteration () from 
/lib/libglib-2.0.so.0
  #17 0x00007ffff4e4e713 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
  #18 0x00007ffff5fd614e in ?? () from /usr/lib/libQtGui.so.4
  #19 0x00007ffff4e23a82 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
  #20 0x00007ffff4e23e5c in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
  #21 0x00007ffff4e28aeb in QCoreApplication::exec() () from 
/usr/lib/libQtCore.so.4
  #22 0x00000000004b6abf in main (argc=1, argv=0x7fffffffe1e8) at 
/home/sergey/qutim/main.cpp:133

  Думаю всему виной buddyList.value(newMessage.from)->groupID
  И ещё... В этих же случаях,  полагаю, будет падать в segfault при запросе 
away-сообщения (messageType == 1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qutim/+bug/604906/+subscriptions

-- 
Mailing list: https://launchpad.net/~qutimdevelop
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~qutimdevelop
More help   : https://help.launchpad.net/ListHelp

Reply via email to