Segmentation fault when having IRC accounts and changing global status to offline

Bug #1182375 reported by Martin Häckel on 2013-05-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qutim
Undecided
Unassigned

Bug Description

I get a segfault, when I turn the global status to "offline". When I change only the status of the IRC account, no problem. Also no problem, when I delete the IRC accounts and then change the global status to "offline".

Debian 7.0 wheezy, Qt 4.8, latest git-Version

Program received signal SIGSEGV, Segmentation fault.
0x00007fffede2dcac in Core::AdiumChat::ChatSessionModel::Node::Node (this=0x7fffffffb1f0, u=0x0) at /home/martin/Software/qutim/core/src/corelayers/adiumchat/lib/chatsessionmodel.h:71
71 Node(qutim_sdk_0_3::Buddy *u) : title(u->title()), unit(u) {}
(gdb) where
#0 0x00007fffede2dcac in Core::AdiumChat::ChatSessionModel::Node::Node (this=0x7fffffffb1f0, u=0x0) at /home/martin/Software/qutim/core/src/corelayers/adiumchat/lib/chatsessionmodel.h:71
#1 0x00007fffede2d26c in Core::AdiumChat::ChatSessionModel::removeContact (this=0x705170, unit=0x0) at /home/martin/Software/qutim/core/src/corelayers/adiumchat/lib/chatsessionmodel.cpp:87
#2 0x00007fffede24049 in Core::AdiumChat::ChatSessionImpl::removeContact (this=0x100f490, c=0x0) at /home/martin/Software/qutim/core/src/corelayers/adiumchat/lib/chatsessionimpl.cpp:180
#3 0x00007fffe3ff8e7b in qutim_sdk_0_3::irc::IrcChannel::clear (this=0x1040320, session=0x100f490) at /home/martin/Software/qutim/protocols/irc/src/ircchannel.cpp:427
#4 0x00007fffe3ff52f8 in qutim_sdk_0_3::irc::IrcChannel::leave (this=0x1040320, force=true) at /home/martin/Software/qutim/protocols/irc/src/ircchannel.cpp:85
#5 0x00007fffe3fe0db8 in qutim_sdk_0_3::irc::IrcConnection::disconnectFromHost (this=0x1055360, force=false) at /home/martin/Software/qutim/protocols/irc/src/ircconnection.cpp:381
#6 0x00007fffe3feb593 in qutim_sdk_0_3::irc::IrcAccount::setStatus (this=0x10550c0, status=...) at /home/martin/Software/qutim/protocols/irc/src/ircaccount.cpp:91
#7 0x00007fffc7bfa64d in Core::SimpleContactList::ToryWidget::onStatusChanged (this=0x8e0260) at /home/martin/Software/qutim/core/src/corelayers/simplecontactlist/widgets/torycontactlistwidget/torywidget.cpp:336
#8 0x00007fffc7bff80f in Core::SimpleContactList::ToryWidget::qt_static_metacall (_o=0x8e0260, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffffffb790)
    at /home/martin/Software/qutim/build/core/src/corelayers/simplecontactlist/widgets/torycontactlistwidget/moc_torywidget.cpp:89
#9 0x00007ffff63bd54f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffff6e59502 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007ffff6e596f0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff7293413 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffff7299729 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ffff6eaee10 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007ffff729a9db in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007ffff6e5f70c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007ffff6e643eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007ffff63a7b5e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff6e6054b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff6edae8c in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ffff6ed9d51 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffff6f00bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007ffff3019355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff3019688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff3019744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff63d6276 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007ffff6f0083e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007ffff63a68af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007ffff63a6b38 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007ffff7297405 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007ffff72d5866 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007ffff72d5ef1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007ffff63bd54f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007ffff7218c71 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#35 0x00007ffff7218e3c in QAbstractButton::mousePressEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007ffff72d6161 in QToolButton::mousePressEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007ffff6eaf2b3 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007ffff6e5f70c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007ffff6e643eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007ffff63a7b5e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007ffff6e6054b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007ffff6edafc4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007ffff6ed9d51 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#44 0x00007ffff6f00bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007ffff3019355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff3019688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffff3019744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff63d6276 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007ffff6f0083e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#50 0x00007ffff63a68af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x00007ffff63a6b38 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#52 0x00007ffff63abcf8 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#53 0x000000000042778d in main (argc=1, argv=0x7fffffffe448) at /home/martin/Software/qutim/core/main.cpp:71

Tretyakov R (roman-i) on 2013-09-23
Changed in qutim:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers