Bug #577
closedIRC segfault
100%
Description
0.4.95-941-g6a7d37c
висела ирка в неактивном табе, может быть просто месседж пришёл. фиг знает.
Program received signal SIGSEGV, Segmentation fault.
LeechCraft::Azoth::AdiumStyles::AdiumStyleSource::ParseMsgTemplate (this=
0xdbd760, templ=..., base=..., msgObj=0x2f330c0, info=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/adiumstyles/adiumstylesource.cpp:466
466 other->GetEntryName () :
(gdb) bt
#0 LeechCraft::Azoth::AdiumStyles::AdiumStyleSource::ParseMsgTemplate (
this=0xdbd760, templ=..., base=..., msgObj=0x2f330c0, info=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/adiumstyles/adiumstylesource.cpp:466
#1 0x00007fffcade7e2f in LeechCraft::Azoth::AdiumStyles::AdiumStyleSource::AppendMessage (this=0xdbd760, frame=0x3ecdd70, msgObj=0x2f330c0, info=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/adiumstyles/adiumstylesource.cpp:283
#2 0x00007fffcdfa46f7 in LeechCraft::Azoth::Core::AppendMessageByTemplate (
this=0x7fffce2abe80, frame=0x3ecdd70, message=0x2f330c0, info=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/core.cpp:705
#3 0x00007fffcdfd085d in LeechCraft::Azoth::ChatTab::AppendMessage (
this=0x3ebbb30, msg=<optimized out>)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/chattab.cpp:1266
#4 0x00007fffcdfd1af2 in LeechCraft::Azoth::ChatTab::handleEntryMessage (
this=0x3ebbb30, msgObj=<optimized out>)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/chattab.cpp:633
#5 0x00007fffce055adc in LeechCraft::Azoth::ChatTab::qt_metacall (
this=0x3ebbb30, _c=QMetaObject::InvokeMetaMethod, _id=30,
_a=0x7fffffffd0b0)
---Type <return> to continue, or q <return> to quit---
at /usr/src/debug/leechcraft-0.5.60.1329775205/build/plugins/azoth/moc_chattab.cpp:192
#6 0x00007ffff68a05aa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#7 0x00007fffcb09d462 in LeechCraft::Azoth::Acetamide::ChannelCLEntry::gotMessage (this=<optimized out>, _t1=0x2f330c0)
at /usr/src/debug/leechcraft-0.5.60.1329775205/build/plugins/azoth/plugins/acetamide/moc_channelclentry.cpp:165
#8 0x00007fffcb028906 in LeechCraft::Azoth::Acetamide::ChannelCLEntry::HandleMessage (this=0x3b5a410, msg=0x2f330c0)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/channelclentry.cpp:304
#9 0x00007fffcb034480 in LeechCraft::Azoth::Acetamide::ChannelHandler::HandleServiceMessage (this=0x3978fb0, msg=...,
mt=LeechCraft::Azoth::IMessage::MTStatusMessage, mst=<optimized out>)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/channelhandler.cpp:155
#10 0x00007fffcb037191 in LeechCraft::Azoth::Acetamide::ChannelHandler::ChangeNickname (this=0x3978fb0, oldNick=..., newNick=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/channelhandler.cpp:124
#11 0x00007fffcb03ec1e in LeechCraft::Azoth::Acetamide::ChannelsManager::ChangeNickname (this=<optimized out>, oldNick=..., newNick=...)
---Type <return> to continue, or q <return> to quit---
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/channelsmanager.cpp:200
#12 0x00007fffcb0740de in LeechCraft::Azoth::Acetamide::IrcServerHandler::ChangeNickname (this=0x3948880, nick=..., msg=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/ircserverhandler.cpp:295
#13 0x00007fffcb091437 in operator() (a0=..., this=<optimized out>)
at /usr/include/boost/function/function_template.hpp:1013
#14 LeechCraft::Azoth::Acetamide::ServerResponseManager::DoAction (
this=0x356fc90, opts=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/serverresponsemanager.cpp:45
#15 0x00007fffcb0735d4 in LeechCraft::Azoth::Acetamide::IrcServerHandler::ReadReply (this=0x3948880, msg=...)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/ircserverhandler.cpp:759
#16 0x00007fffcb06c88b in LeechCraft::Azoth::Acetamide::IrcServerSocket::readReply (this=0x3922e80)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/plugins/azoth/plugins/acetamide/ircserversocket.cpp:107
#17 0x00007fffcb09d7e0 in LeechCraft::Azoth::Acetamide::IrcServerSocket::qt_metacall (this=0x3922e80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=<optimized out>)
---Type <return> to continue, or q <return> to quit---
at /usr/src/debug/leechcraft-0.5.60.1329775205/build/plugins/azoth/plugins/acetamide/moc_ircserversocket.cpp:73
#18 0x00007ffff68a05aa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007ffff6c7ef2f in ?? () from /usr/lib64/libQtNetwork.so.4
#20 0x00007ffff6c6db71 in ?? () from /usr/lib64/libQtNetwork.so.4
#21 0x00007ffff730cc34 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#22 0x00007ffff7311ac1 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib64/libQtGui.so.4
#23 0x0000000000458bf4 in LeechCraft::Application::notify (
this=<optimized out>, obj=0x370e670, event=0x7fffffffdb80)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/application.cpp:229
#24 0x00007ffff688d82c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#25 0x00007ffff68b7c37 in ?? () from /usr/lib64/libQtCore.so.4
#26 0x00007ffff526d58d in g_main_context_dispatch ()
from /usr/lib64/libglib-2.0.so.0
#27 0x00007ffff526dd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007ffff526df59 in g_main_context_iteration ()
from /usr/lib64/libglib-2.0.so.0
#29 0x00007ffff68b851f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#30 0x00007ffff73aff9e in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007ffff688ca32 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007ffff688cc2f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007ffff6890df7 in QCoreApplication::exec() ()
from /usr/lib64/libQtCore.so.4
#34 0x00000000004266b3 in main (argc=1, argv=<optimized out>)
at /usr/src/debug/leechcraft-0.5.60.1329775205/src/main.cpp:27
Updated by rioky over 12 years ago
нашёл что в этот момент Guest на канал зашёл, возможно из-за его смены ника.
Updated by Magog over 12 years ago
На сколько я понял, то проблема в адиумах. Или не?
Updated by 0xd34df00d over 12 years ago
Для входящего сообщения либо OtherPart, либо ParentCLEntry было равно нулю, смотря какой класс согласно этому коду:
switch (msg->GetMessageType ())
{
case IMessage::MTChatMessage:
case IMessage::MTMUCMessage:
case IMessage::MTStatusMessage:
other = qobject_cast<ICLEntry*> (msg->OtherPart ());
break;
case IMessage::MTEventMessage:
case IMessage::MTServiceMessage:
other = qobject_cast<ICLEntry*> (msg->ParentCLEntry ());
break;
}
Updated by Magog over 12 years ago
хуита какая-то. Как мне отловить это говно :-(
Updated by Magog over 12 years ago
Нужно больше подробностей. Пусть проверит с последними фиксами. У меня на смене ника не падает.
Updated by Magog over 12 years ago
- Due date set to 02/21/2012
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Estimated time set to 1:00 h
Updated by 0xd34df00d over 12 years ago
- Status changed from Resolved to Closed
- Target version set to 0.5.60
Just reopen it on similar segfaults.