kate/kdevelop crash

Matthew Woehlke mw_triad at users.sourceforge.net
Fri Jun 27 16:37:52 UTC 2008


...and of course I meant to cross-post this, oops :-)

Matthew Woehlke wrote:
> I tripped another assert this morning, backtrace follows. I'm pretty 
> sure it went down when I tried to type '/' in a block of C-code that 
> looks roughly like this ('|' is the caret):
> 
> #ifndef FOO
> /|    MY_MACRO(ptr + offset, size, sizeof(bar));
> #endif
> 
> ....i.e. just as I typed the second '/' of a C99 '//' comment.
> 
> (note: I'm using a non-standard highlighter; still does function 
> highlighting, plus highlights quite some keywords I added.)
> 
> Here's the (partial; gdb wasn't able to get the whole thing) backtrace:
> 
> Application: KDevelop (kdevelop), signal SIGABRT
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread 140490836002560 (LWP 24343)]
> [New Thread 1131419984 (LWP 25941)]
> [New Thread 1120930128 (LWP 25069)]
> [New Thread 1110440272 (LWP 24931)]
> [New Thread 1099950416 (LWP 24930)]
> [New Thread 1089460560 (LWP 24380)]
> [KCrash handler]
> #5  0x0000003133830ec5 in raise () from /lib64/libc.so.6
> #6  0x0000003133832970 in abort () from /lib64/libc.so.6
> #7  0x000000000066c73c in qt_message_output (msgType=QtFatalMsg,
>      buf=0x7fff9f4d6b90 "ASSERT: \"m_normalCursors.contains(cursor)\" in 
> file 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/smart/katesmartmanager.cpp, 
> line 153")
>      at 
> /usr/local/src/kde/svn/trunk/qt-copy/src/corelib/global/qglobal.cpp:2058
> #8  0x000000000066c84b in qFatal (
>      msg=0x7b34a8 "ASSERT: \"%s\" in file %s, line %d")
>      at 
> /usr/local/src/kde/svn/trunk/qt-copy/src/corelib/global/qglobal.cpp:2260
> #9  0x000000000066cc7d in qt_assert (
>      assertion=0x7fc67f83afd0 "m_normalCursors.contains(cursor)",
>      file=0x7fc67f83aee8 
> "/usr/local/src/kde/svn/trunk/kdelibs/kate/smart/katesmartmanager.cpp", 
> line=153)
>      at 
> /usr/local/src/kde/svn/trunk/qt-copy/src/corelib/global/qglobal.cpp:1828
> #10 0x00007fc67f793ad1 in KateSmartManager::translateFromRevision 
> (this=0x0,
>      range=@0x1, insertBehavior=@0x0)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/smart/katesmartmanager.cpp:613
> #11 0x00007fc67f793b09 in KateSmartManager::translateFromRevision (
>      this=0x3132612de2, range=@0x7fff9f4d8c90, insertBehavior=@0xd2)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/smart/katesmartmanager.cpp:613
> #12 0x00007fc67f78e915 in KateSmartCursor::translated (this=0x11b6950,
>      edit=@0x1007fc67f75b704)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/smart/katesmartcursor.cpp:288
> #13 0x00007fc67f78eb84 in KateSmartCursor::translated (this=0x7fff000003c0,
>      edit=@0x2c87b58)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/smart/katesmartcursor.cpp:323
> #14 0x00007fc694e07c14 in KTextEditor::Cursor::operator= (this=0x418c740,
>      cursor=@0x4370918)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/interfaces/ktexteditor/cursor.h:202
> #15 0x00007fc67f74439a in KateDocument::findMatchingBracket (
>      this=0x1007fc67f75b704, range=@0x0, maxLines=-1)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/document/katedocument.cpp:5083
> #16 0x00007fc67f7cdcdb in KateViewInternal::prepareForDynWrapChange 
> (this=0x0)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/view/kateviewinternal.cpp:272
> #17 0x00007fc67f7d1e00 in KateViewInternal::updateCursor (this=0x4370890,
>      newCursor=@0x4370918, force=true, center=false, calledExternally=false)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/view/kateviewinternal.cpp:1787
> #18 0x00007fc67f7d2b62 in KateViewInternal::inputMethodEvent (
>      this=0x30093c40142, e=0x7fff9f4d8da0)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/view/kateviewinternal.cpp:3599
> #19 0x00007fc67f7bf59b in KateView::tagRange (this=0x7fff9f4d8ff0,
>      range=@0xd3, realLines=255)
>      at /usr/local/src/kde/svn/trunk/kdelibs/kate/view/kateview.cpp:1348
> #20 0x00007f007f75e29a in ?? ()
> #21 0x000000d3000000d3 in ?? ()
> #22 0x0000000006670c30 in ?? ()
> #23 0x00007fff9f4d9050 in ?? ()
> #24 0x00007fc67f751243 in KateDocument::editEnd (this=0x7fff9f4d9028)
>      at 
> /usr/local/src/kde/svn/trunk/kdelibs/kate/document/katedocument.cpp:1071
> Backtrace stopped: frame did not save the PC
> #0  0x000000313389ac61 in nanosleep () from /lib64/libc.so.6

-- 
Matthew
First time I've gotten a programming job that required a drug test. I 
was worried they were going to say 'you don't have enough LSD in your 
system to do Unix programming'. -- Paul Tomblin  (from cluefire.net)





More information about the KDevelop-devel mailing list