Bug 214514 - konversation-r1048182 crashes in cullMarkedLine
Summary: konversation-r1048182 crashes in cullMarkedLine
Status: RESOLVED DUPLICATE of bug 210106
Alias: None
Product: konversation
Classification: Applications
Component: ircview (show other bugs)
Version: Git
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: argonel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 13:35 UTC by Bernd Buschinski
Modified: 2011-06-27 13:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Buschinski 2009-11-14 13:35:10 UTC
I am unabled to reproduce the crash, just happend while konv was not the active/focused window


Application: Konversation (konversation), signal: Aborted
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f773d4ac760 (LWP 3366))]

Thread 2 (Thread 0x7f772a91f710 (LWP 3381)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7739459193 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1412a38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1412a38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f773aab678c in QHostInfoAgent::run (this=0x1412a20) at kernel/qhostinfo.cpp:252
#4  0x00007f7739457ffa in QThreadPrivate::start (arg=0x1412a20) at thread/qthread_unix.cpp:244
#5  0x00007f77391c88b4 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f7737b76f1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f773d4ac760 (LWP 3366)):
[KCrash Handler]
#5  0x00007f7737ad81b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f7737ad95e0 in *__GI_abort () at abort.c:92
#7  0x00007f773944ee64 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2211
#8  0x00007f773944effe in qt_message (msgType=QtFatalMsg, msg=0x7f77395bff90 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff7cb8d770) at global/qglobal.cpp:2257
#9  0x00007f773944f1b5 in qFatal (msg=0xd26 <Address 0xd26 out of bounds>) at global/qglobal.cpp:2440
#10 0x0000000000501386 in QList<QTextBlock>::first (this=0x1c759d8) at /usr/include/qt4/QtCore/qlist.h:263
#11 0x0000000000501954 in QList<QTextBlock>::takeFirst (this=0xd26) at /usr/include/qt4/QtCore/qlist.h:460
#12 0x00000000004feaf3 in IRCView::cullMarkedLine (this=0x1c759a0, where=<value optimized out>, rem=<value optimized out>, add=<value optimized out>)
    at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/viewer/ircview.cpp:375
#13 0x0000000000442cd7 in IRCView::qt_metacall (this=0x1c759a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7cb8da00)
    at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2_build/src/moc_ircview.cpp:224
#14 0x00007f773956ccba in QMetaObject::activate (sender=0x1c78a10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3390
#15 0x00007f7738dd1dca in QTextDocument::contentsChange (this=0xd26, _t1=0, _t2=1, _t3=0) at .moc/debug-shared/moc_qtextdocument.cpp:188
#16 0x00007f77389ec83d in QTextDocumentPrivate::finishEdit (this=0x1c78a30) at text/qtextdocument_p.cpp:1139
#17 0x00007f77389ec5e1 in QTextDocumentPrivate::ensureMaximumBlockCount (this=0x1c78a30) at text/qtextdocument_p.cpp:1619
#18 0x00007f77389ec7f1 in QTextDocumentPrivate::finishEdit (this=0x1c78a30) at text/qtextdocument_p.cpp:1149
#19 0x00007f7738a1b194 in QTextCursor::insertBlock (this=0x7fff7cb8dbf0, format=..., _charFormat=...) at text/qtextcursor.cpp:1926
#20 0x00007f7738a1b1f4 in QTextCursor::insertBlock (this=0x7fff7cb8dbf0, format=...) at text/qtextcursor.cpp:1903
#21 0x00007f7738a1b23f in QTextCursor::insertBlock (this=0x7fff7cb8dbf0) at text/qtextcursor.cpp:1888
#22 0x00000000004fc5d5 in IRCView::appendLine (this=0x1c759a0, type=IRCView::RememberLine) at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/viewer/ircview.cpp:508
#23 0x00000000004fc7f7 in IRCView::appendRememberLine (this=0x1c759a0) at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/viewer/ircview.cpp:441
#24 0x00000000004fc9f5 in IRCView::doAppend (this=0xd26, newLine=..., rtl=false, self=false) at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/viewer/ircview.cpp:812
#25 0x00000000004fe741 in IRCView::append (this=0x1c759a0, nick=<value optimized out>, message=<value optimized out>)
    at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/viewer/ircview.cpp:581
#26 0x00000000004a55b5 in Channel::append (this=0x1c6e7c0, nickname=..., message=...) at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/irc/channel.cpp:2951
#27 0x00000000004d034a in InputFilter::parsePrivMsg (this=0x1328000, prefix=<value optimized out>, parameterList=<value optimized out>)
    at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/irc/inputfilter.cpp:2230
#28 0x00000000004d806e in InputFilter::parseClientCommand (this=0x1328000, prefix=..., command=<value optimized out>, parameterList=...)
    at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/irc/inputfilter.cpp:483
#29 0x00000000004da779 in InputFilter::parseLine (this=<value optimized out>, line=...) at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/irc/inputfilter.cpp:152
#30 0x00000000004938c9 in Server::processIncomingData (this=0x1327ee0) at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/irc/server.cpp:912
#31 0x0000000000495ced in Server::qt_metacall (this=0x1327ee0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff7cb8ee80)
    at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2_build/src/server.moc:401
#32 0x00007f773956ccba in QMetaObject::activate (sender=0x1327f60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3390
#33 0x00007f7739568cd6 in QObject::event (this=0x1327f60, e=0xd26) at kernel/qobject.cpp:1202
#34 0x00007f7738763c3c in QApplicationPrivate::notify_helper (this=0xde7fc0, receiver=0x1327f60, e=0x7fff7cb8f530) at kernel/qapplication.cpp:4277
#35 0x00007f773876d8de in QApplication::notify (this=0x7fff7cb8f870, receiver=0x1327f60, e=0x7fff7cb8f530) at kernel/qapplication.cpp:4166
#36 0x00007f773a3dafc8 in KApplication::notify (this=0x7fff7cb8f870, receiver=0x1327f60, event=0x7fff7cb8f530)
    at /var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#37 0x00007f7739557d0b in QCoreApplication::notifyInternal (this=0x7fff7cb8f870, receiver=0x1327f60, event=0x7fff7cb8f530) at kernel/qcoreapplication.cpp:704
#38 0x00007f7739587a7a in QCoreApplication::sendEvent (this=0xdeb800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QTimerInfoList::activateTimers (this=0xdeb800) at kernel/qeventdispatcher_unix.cpp:603
#40 0x00007f7739584718 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#41 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#42 0x00007f7734d9a9a3 in g_main_dispatch (context=0xdea930) at gmain.c:1960
#43 IA__g_main_context_dispatch (context=0xdea930) at gmain.c:2513
#44 0x00007f7734d9e1d0 in g_main_context_iterate (context=0xdea930, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#45 0x00007f7734d9e2e8 in IA__g_main_context_iteration (context=0xdea930, may_block=1) at gmain.c:2654
#46 0x00007f77395843de in QEventDispatcherGlib::processEvents (this=0xdb15b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#47 0x00007f77388045e6 in QGuiEventDispatcherGlib::processEvents (this=0xd26, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x00007f7739556512 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007f77395568dd in QEventLoop::exec (this=0x7fff7cb8f7e0, flags=) at kernel/qeventloop.cpp:201
#50 0x00007f7739558ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x0000000000463e8d in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/net-irc/konversation-svn-1.2/work/konversation-svn-1.2/src/main.cpp:101
Comment 1 Nicolás Alvarez 2010-02-18 18:38:59 UTC
Konversation v1.2.3-61-gfef2156 with a small personal patch that can't possibly be related (disables real names from KABC), KDE 4.3.4, Qt 4.5.3. During a network loss overnight:

Application: Konversation (konversation), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fc3636d5750 (LWP 6781))]
 
Thread 2 (Thread 0x7fc350843910 (LWP 6782)):
#0  0x00007fc35e4ef743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=4999) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc3587498f2 in send_dg (statp=0x7fc350843dc8, buf=<value optimized out>, buflen=<value optimized out>, buf2=0x7fc350840d14 "\n\367\001", buflen2=<value optimized out>, 
    ans=0x7fc350841940 "\247\350\201\200", anssiz=2048, ansp=0x7fc3508421b0, ansp2=0x7fc3508421a8, nansp2=0x7fc3508421cc, resplen2=0x7fc3508421c8) at res_send.c:1060
#2  __libc_res_nsend (statp=0x7fc350843dc8, buf=<value optimized out>, buflen=<value optimized out>, buf2=0x7fc350840d14 "\n\367\001", buflen2=<value optimized out>, 
    ans=0x7fc350841940 "\247\350\201\200", anssiz=2048, ansp=0x7fc3508421b0, ansp2=0x7fc3508421a8, nansp2=0x7fc3508421cc, resplen2=0x7fc3508421c8) at res_send.c:557
#3  0x00007fc358747a05 in *__GI___libc_res_nquery (statp=0x7fc350843dc8, name=<value optimized out>, class=<value optimized out>, type=<value optimized out>, 
    answer=0x7fc350841940 "\247\350\201\200", anslen=<value optimized out>, answerp=0x7fc3508421b0, answerp2=0x7fc3508421a8, nanswerp2=0x7fc3508421cc, resplen2=0x7fc3508421c8) at res_query.c:225
#4  0x00007fc358748001 in __libc_res_nquerydomain (statp=0x7fc350843dc8, name=0x7fc34c03dd28 "irc.freenode.net", domain=0x7fc350843e48 "", class=<value optimized out>, type=62321, 
    answer=0x7fc350841940 "\247\350\201\200", anslen=2048, answerp=0x7fc3508421b0, answerp2=0x7fc3508421a8, nanswerp2=0x7fc3508421cc, resplen2=0x7fc3508421c8) at res_query.c:576
#5  0x00007fc3587483a4 in *__GI___libc_res_nsearch (statp=0x7fc350843dc8, name=<value optimized out>, class=<value optimized out>, type=<value optimized out>, 
    answer=0x7fc350841940 "\247\350\201\200", anslen=2048, answerp=0x7fc3508421b0, answerp2=0x7fc3508421a8, nanswerp2=0x7fc3508421cc, resplen2=0x7fc3508421c8) at res_query.c:414
#6  0x00007fc34bdfccb7 in _nss_dns_gethostbyname4_r (name=0x7fc34c03dd28 "irc.freenode.net", pat=0x7fc350842808, buffer=<value optimized out>, buflen=<value optimized out>, 
    errnop=<value optimized out>, herrnop=<value optimized out>, ttlp=0x0) at nss_dns/dns-host.c:308
#7  0x00007fc35e4d6acc in gaih_inet (name=<value optimized out>, service=<value optimized out>, req=<value optimized out>, pai=<value optimized out>, naddrs=<value optimized out>)
    at ../sysdeps/posix/getaddrinfo.c:714
#8  0x00007fc35e4d8d6f in *__GI_getaddrinfo (name=0x7fc34c03dd28 "irc.freenode.net", service=0x0, hints=0x7fc350842e90, pai=0x7fc350842f68) at ../sysdeps/posix/getaddrinfo.c:2163
#9  0x00007fc3611ceea3 in QHostInfoAgent::fromName (hostName=...) at kernel/qhostinfo_unix.cpp:205
#10 0x00007fc3611c52ee in QHostInfoAgent::run (this=0x12fd810) at kernel/qhostinfo.cpp:289
#11 0x00007fc35fba44a5 in QThreadPrivate::start (arg=0x12fd810) at thread/qthread_unix.cpp:188
#12 0x00007fc35cac573a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007fc35e4fa69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()
 
Thread 1 (Thread 0x7fc3636d5750 (LWP 6781)):
[KCrash Handler]
#5  *__GI___libc_free (mem=0x31) at malloc.c:3709
#6  0x000000000052fe77 in QList<QTextBlock>::node_destruct (this=0x296ed18, it=...) at /usr/include/qt4/QtCore/qlist.h:348
#7  QList<QTextBlock>::erase (this=0x296ed18, it=...) at /usr/include/qt4/QtCore/qlist.h:391
#8  0x0000000000522c96 in QList<QTextBlock>::removeFirst (this=0x296ece0, where=<value optimized out>, rem=<value optimized out>, add=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:256
#9  QList<QTextBlock>::takeFirst (this=0x296ece0, where=<value optimized out>, rem=<value optimized out>, add=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:416
#10 IRCView::cullMarkedLine (this=0x296ece0, where=<value optimized out>, rem=<value optimized out>, add=<value optimized out>) at /home/nicolas/src/konversation/src/viewer/ircview.cpp:402
#11 0x000000000043c373 in IRCView::qt_metacall (this=0x296ece0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff686314f0)
    at /home/nicolas/src/konversation/build/src/moc_ircview.cpp:212
#12 0x00007fc35fc9edf2 in QMetaObject::activate (sender=0x2803f20, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#13 0x00007fc35f7138da in QTextDocument::contentsChange (this=0x31, _t1=0, _t2=2, _t3=0) at .moc/release-shared/moc_qtextdocument.cpp:181
#14 0x00007fc35f33cc1b in QTextDocumentPrivate::endEditBlock (this=0x2803f40) at text/qtextdocument_p.cpp:1102
#15 0x00007fc35f33c90d in QTextDocumentPrivate::ensureMaximumBlockCount (this=0x2803f40) at text/qtextdocument_p.cpp:1584
#16 0x00007fc35f33cbaf in QTextDocumentPrivate::endEditBlock (this=0x2803f40) at text/qtextdocument_p.cpp:1112
#17 0x00007fc35f2fed50 in QTextControlPrivate::append (this=<value optimized out>, text=..., format=Qt::AutoText) at text/qtextcontrol.cpp:2748
#18 0x00007fc35f530957 in QTextEdit::append (this=<value optimized out>, text=...) at widgets/qtextedit.cpp:2597
#19 0x0000000000523a82 in IRCView::doRawAppend (this=0x296ece0, newLine=..., rtl=false) at /home/nicolas/src/konversation/src/viewer/ircview.cpp:884
#20 0x0000000000524e14 in IRCView::doAppend (this=0x296ece0, newLine=..., rtl=176, self=48) at /home/nicolas/src/konversation/src/viewer/ircview.cpp:853
#21 0x000000000052dafc in IRCView::appendServerMessage (this=0x296ece0, type=..., message=..., parseURL=true) at /home/nicolas/src/konversation/src/viewer/ircview.cpp:746
#22 0x00000000004a2ee5 in Server::broken (this=0x29ad390, state=<value optimized out>) at /home/nicolas/src/konversation/src/irc/server.cpp:623
#23 0x00000000004a57bb in Server::qt_metacall (this=0x29ad390, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff68631fd0)
    at /home/nicolas/src/konversation/build/src/server.moc:392
#24 0x00007fc35fc9edf2 in QMetaObject::activate (sender=0x180b940, from_signal_index=<value optimized out>, to_signal_index=12, argv=0x0) at kernel/qobject.cpp:3112
#25 0x00007fc3611de451 in QAbstractSocket::error (this=0x31, _t1=QAbstractSocket::HostNotFoundError) at .moc/release-shared/moc_qabstractsocket.cpp:148
#26 0x00007fc3611f8844 in QSslSocketPrivate::_q_errorSlot (this=0x33cc770, error=QAbstractSocket::HostNotFoundError) at ssl/qsslsocket.cpp:1998
#27 0x00007fc3611fc2b8 in QSslSocket::qt_metacall (this=0x180b940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff68632150) at .moc/release-shared/moc_qsslsocket.cpp:113
#28 0x00007fc35fc9edf2 in QMetaObject::activate (sender=0x2876fc0, from_signal_index=<value optimized out>, to_signal_index=12, argv=0x0) at kernel/qobject.cpp:3112
#29 0x00007fc3611de451 in QAbstractSocket::error (this=0x31, _t1=QAbstractSocket::HostNotFoundError) at .moc/release-shared/moc_qabstractsocket.cpp:148
#30 0x00007fc3611e1350 in QAbstractSocketPrivate::_q_startConnecting (this=0x1aad170, hostInfo=<value optimized out>) at socket/qabstractsocket.cpp:872
#31 0x00007fc3611e4f46 in QAbstractSocket::qt_metacall (this=0x2876fc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fc34c014a30)
    at .moc/release-shared/moc_qabstractsocket.cpp:109
#32 0x00007fc35fc996c8 in QObject::event (this=0x2876fc0, e=0x7fc34c036140) at kernel/qobject.cpp:1110
#33 0x00007fc35f10301d in QApplicationPrivate::notify_helper (this=0xcf5df0, receiver=0x2876fc0, e=0x7fc34c036140) at kernel/qapplication.cpp:4065
#34 0x00007fc35f10b07a in QApplication::notify (this=0x7fff68632ba0, receiver=0x2876fc0, e=0x7fc34c036140) at kernel/qapplication.cpp:4030
#35 0x00007fc360afde06 in KApplication::notify (this=0x7fff68632ba0, receiver=0x2876fc0, event=0x7fc34c036140) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x00007fc35fc89c9c in QCoreApplication::notifyInternal (this=0x7fff68632ba0, receiver=0x2876fc0, event=0x7fc34c036140) at kernel/qcoreapplication.cpp:610
#37 0x00007fc35fc8a8e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0xccb260) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xccb260) at kernel/qcoreapplication.cpp:1247
#39 0x00007fc35fcb27d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#41 0x00007fc35b5bf90e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007fc35b5c32c8 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007fc35b5c33f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007fc35fcb239c in QEventDispatcherGlib::processEvents (this=0xccae90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#45 0x00007fc35f199f1f in QGuiEventDispatcherGlib::processEvents (this=0x31, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x00007fc35fc88562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007fc35fc88934 in QEventLoop::exec (this=0x7fff68632b10, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007fc35fc8aba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0x0000000000462049 in main (argc=1, argv=0x7fff68633938) at /home/nicolas/src/konversation/src/main.cpp:103
Comment 2 Nicolás Alvarez 2010-02-18 23:43:49 UTC
(In reply to comment #1)
> Konversation v1.2.3-61-gfef2156 with a small personal patch...

Oops, fef2156 is the revision of my custom change; you won't find that rev anywhere outside my computer :) The parent rev (which is what matters to y'all) is cecebbb363354[...]
Comment 3 Eike Hein 2011-06-27 13:35:21 UTC

*** This bug has been marked as a duplicate of bug 210106 ***