[Konversation-devel] [Bug 143613] New: Konversation randomly crashes (IRCView, ChatWindow, InputFilter)

Rick Harris rickfharris at yahoo.com.au
Fri Mar 30 01:46:31 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143613         
           Summary: Konversation randomly crashes (IRCView, ChatWindow,
                    InputFilter)
           Product: konversation
           Version: 1.0.1
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konversation-devel kde org
        ReportedBy: rickfharris yahoo com au


Version:           1.0.1 (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.1 
OS:                Linux

Backtrace follows:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1235609408 (LWP 18322)]
[KCrash handler]
#6  0xb6e602b5 in QTextFormat::removeRef (this=0x806c6b8)
    at widgets/../kernel/qrichtext_p.h:1891
#7  0xb6e3fe64 in QTextString::remove (this=0x884c480, index=0, len=92)
    at kernel/qrichtext.cpp:3791
#8  0xb6e47916 in QTextParagraph::remove (this=0x88009b8, index=0, len=92)
    at kernel/qrichtext.cpp:4183
#9  0xb6e50f1a in QTextDocument::removeSelectedText (this=0x880bd30, id=32000,
    cursor=0x8800930) at kernel/qrichtext.cpp:2946
#10 0x08106be6 in IRCView::removeSelectedText (this=0x8854ab0, selNum=32000)
    at ircview.cpp:908
#11 0xb6f86f2f in QTextEdit::removeParagraph (this=0x8854ab0, para=0)
    at widgets/qtextedit.cpp:3172
#12 0x0810655f in IRCView::doAppend (this=0x8854ab0, newLine= 0xbfbe8994,
    important=false, self=false) at ircview.cpp:954
#13 0x0810913a in IRCView::appendCommandMessage (this=0x8854ab0,
    type= 0xbfbe8aa8, message= 0xbfbe8a9c, important=false, parseURL=false,
    self=false) at ircview.cpp:854
#14 0x080c4b70 in ChatWindow::appendCommandMessage (this=0x87e1a30,
    command= 0xbfbe8aa8, message= 0xbfbe8a9c, important=false, parseURL=false,
    self=false) at chatwindow.cpp:178
#15 0x080fa581 in Channel::joinNickname (this=0x87e1a30,
    channelNick= 0xbfbe8af0) at channel.cpp:1130
#16 0x08115e37 in Server::nickJoinsChannel (this=0x85539e0,
    channelName= 0xbfbe8b88, nickname= 0xbfbe8bd0, hostmask= 0xbfbe8bcc)
    at server.cpp:2633
#17 0x080ee263 in InputFilter::parseClientCommand (this=0x8553bac,
    prefix= 0xbfbe8e80, command= 0xbfbe8e7c, parameterList= 0xbfbe8e78,
    _trailing= 0xbfbe8e88) at inputfilter.cpp:510
#18 0x080eedbe in InputFilter::parseLine (this=0x8553bac,
    a_newLine= 0xbfbe8ef4) at inputfilter.cpp:112
#19 0x0811975d in Server::processIncomingData (this=0x85539e0)
    at server.cpp:1024
#20 0x0811db2c in Server::qt_invoke (this=0x85539e0, _id=54, _o=0xbfbe909c)
    at server.moc:874
#21 0xb6dcfa5f in QObject::activate_signal (this=0x8553a74, clist=0x8302a98,
    o=0xbfbe909c) at kernel/qobject.cpp:2356
#22 0xb6dd07f8 in QObject::activate_signal (this=0x8553a74, signal=2)
    at kernel/qobject.cpp:2325
#23 0xb71cf796 in QTimer::timeout (this=0x8553a74)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#24 0xb6dfe365 in QTimer::event (this=0x8553a74, e=0xbfbe9408)
    at kernel/qtimer.cpp:219
#25 0xb6d5b1eb in QApplication::internalNotify (this=0xbfbe96a8,
    receiver=0x8553a74, e=0xbfbe9408) at kernel/qapplication.cpp:2635
#26 0xb6d5d163 in QApplication::notify (this=0xbfbe96a8, receiver=0x8553a74,
    e=0xbfbe9408) at kernel/qapplication.cpp:2358
#27 0xb76d4b5a in KApplication::notify (this=0xbfbe96a8, receiver=0x8553a74,
    event=0xbfbe9408) at kapplication.cpp:550
#28 0x080bf989 in QApplication::sendEvent (receiver=0x8553a74,
    event=0xbfbe9408) at /usr/qt/3/include/qapplication.h:496
#29 0xb6d4bfc0 in QEventLoop::activateTimers (this=0x8275ff8)
    at kernel/qeventloop_unix.cpp:556
#30 0xb6cfb3ab in QEventLoop::processEvents (this=0x8275ff8, flags=4)
    at kernel/qeventloop_x11.cpp:389
#31 0xb6d79205 in QEventLoop::enterLoop (this=0x8275ff8)
    at kernel/qeventloop.cpp:198
#32 0xb6d79026 in QEventLoop::exec (this=0x8275ff8)
    at kernel/qeventloop.cpp:145
#33 0xb6d5ceaf in QApplication::exec (this=0xbfbe96a8)
    at kernel/qapplication.cpp:2758
#34 0x08125dc3 in main (argc=7, argv=0xbfbe9904) at main.cpp:109

This has been happening reliably for a couple of Konversation versions, but have only just now got the KDE installation rebuilt with debug enabled to gain a meaningful backtrace.

Hard to reproduce this one as it happens completely randomly.
Only assured thing is that it will definitely crash if left running for more than 24 hours.
Equally likely to happen when Konversation is being used or is left unattended.

Not sure if it's a load problem over time, client connects to 3 different IRC servers and about 15 channels, some channels have over 1000 users.

It does bring the machine to a crawl (idle XP 2800+ CPU w/1GB RAM) for a couple of minutes if there are any significant netsplits, but seems to eventually pull through this (may have been due to having the 'Nickname Watcher' enabled which I have now disabled).

Entire KDE install and Konversation built with the following CFLAGS and CXXFLAGS:
'-O2 -march=athlon-xp -pipe -ggdb'

Thanks!


More information about the Konversation-devel mailing list