Bug 56691 - crash in KateBufBlock::line() shortly after loading
Summary: crash in KateBufBlock::line() shortly after loading
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 2.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-01 08:53 UTC by John Firebaugh
Modified: 2003-04-02 00:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Firebaugh 2003-04-01 08:53:58 UTC
Version:           2.2 (using KDE 3.1.9)
Compiler:          gcc version 3.2.3 20030316 (Debian prerelease)
OS:          Linux (i686) release 2.4.19

Was debugging in gideon, clicked a stack frame item that should have opened a new file and gone to the appropriate line. Saw the file open and the correct line, without highlighting. Immediately afterward:

[New Thread 16384 (LWP 16436)]
[New Thread 32769 (LWP 16441)]
[New Thread 16386 (LWP 16442)]
0x4188eb89 in wait4 () from /lib/libc.so.6
#0  0x4188eb89 in wait4 () from /lib/libc.so.6
#1  0x41902000 in sys_sigabbrev () from /lib/libc.so.6
#2  0x416c0061 in waitpid () from /lib/libpthread.so.0
#3  0x40d58f67 in KCrash::defaultCrashHandler(int) (sig=6)
    at /home/john/src/kde/kdelibs/kdecore/kcrash.cpp:235
#4  0x4181b9d8 in sigaction () from /lib/libc.so.6
#5  0x416be521 in raise () from /lib/libpthread.so.0
#6  0x4181c986 in abort () from /lib/libc.so.6
#7  0x41815ae9 in __assert_fail () from /lib/libc.so.6
#8  0x421778b7 in KateBufBlock::line(unsigned) (this=0x9344eb0, i=21)
    at /home/john/src/kde/kdelibs/kate/part/katebuffer.cpp:1329
#9  0x42175c27 in KateBuffer::needHighlight(KateBufBlock*, unsigned, unsigned)
    (this=0x9302ea0, buf=0x9344eb0, startLine=2277, endLine=324)
    at /home/john/src/kde/kdelibs/kate/part/katebuffer.cpp:678
#10 0x4217605d in KateBuffer::updateHighlighting(unsigned, unsigned, bool) (
    this=0x9302ea0, from=2277, to=3019, invalidate=false)
    at /home/john/src/kde/kdelibs/kate/part/katebuffer.cpp:784
#11 0x42176235 in KateBuffer::slotBufferUpdateHighlight() (this=0x9302ea0)
    at /home/john/src/kde/kdelibs/kate/part/katebuffer.cpp:849
#12 0x42173dd7 in KateBuffer::qt_invoke(int, QUObject*) (this=0x9302ea0, 
    _id=34, _o=0xbffff220) at katebuffer.moc:514
#13 0x411694a8 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x9302fa0, clist=0x93030e0, o=0xbffff220) at kernel/qobject.cpp:2226
#14 0x4116937b in QObject::activate_signal(int) (this=0x9302fa0, signal=2)
    at kernel/qobject.cpp:2200
#15 0x4146753c in QTimer::timeout() (this=0x9302fa0)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#16 0x4118ce73 in QTimer::event(QEvent*) (this=0x9302fa0, e=0xbffff470)
    at kernel/qtimer.cpp:219
#17 0x41103804 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff680, receiver=0x9302fa0, e=0xbffff470)
    at kernel/qapplication.cpp:2363
#18 0x41102e2c in QApplication::notify(QObject*, QEvent*) (this=0xbffff680, 
    receiver=0x9302fa0, e=0xbffff470) at kernel/qapplication.cpp:2125
#19 0x40cd8ce3 in KApplication::notify(QObject*, QEvent*) (this=0xbffff680, 
    receiver=0x9302fa0, event=0xbffff470)
    at /home/john/src/kde/kdelibs/kdecore/kapplication.cpp:459
#20 0x40150407 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x9302fa0, event=0xbffff470)
    at /home/john/src/kde/qt-copy/include/qapplication.h:478
#21 0x410dd614 in QEventLoop::activateTimers() (this=0x80fe6e0)
    at kernel/qeventloop_unix.cpp:539
#22 0x410b84f5 in QEventLoop::processEvents(unsigned) (this=0x80fe6e0, flags=4)
    at kernel/qeventloop_x11.cpp:328
#23 0x41119f5a in QEventLoop::enterLoop() (this=0x80fe6e0)
    at kernel/qeventloop.cpp:198
#24 0x41119e76 in QEventLoop::exec() (this=0x80fe6e0)
    at kernel/qeventloop.cpp:145
#25 0x4110397d in QApplication::exec() (this=0xbffff680)
    at kernel/qapplication.cpp:2487
#26 0x0806f274 in main (argc=1, argv=0xbffff7f4)
    at /home/john/src/kde/kdevelop/src/main.cpp:85
Comment 1 Christoph Cullmann 2003-04-02 00:19:22 UTC
fixed, have missed to check for stringListValid and parse block in that place, thx