By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1279

Summary: kate/kwrite stalls a long time opening any *.kcrash file
Product: TDE Reporter: Darrell <darrella>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: minor CC: bugwatch, darrella, kb9vqf, mutantturkey, slavek.banko
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: Other   
OS: Other   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Darrell 2012-10-19 20:37:56 CDT
Run crashtest.
Save the backtrace.
Open the file with kate or kwrite.
Be patient, the file finally opens after about one minute (on my dual core system).

The problem is caused by the katepart syntax/gdb.xml. The stalls disappear when removing the gdb.xml file.

I haven't found an updated file on the web, including the KDE4 sources.

The installed location is $TDEDIR/share/apps/katepart/syntax/gdb.xml.

In the GIT sources the location is tdelibs/kate/data/gdb.xml.

The problematic part is line 29:

<RegExpr attribute="Normal" context="identifier"  String="((?:[^ ]|&lt;.+&gt;)+::)?([^ :]+)\s*\(" lookAhead="true" />

The stalls disappear when commenting out that one line, but then there is no color highlighting at all.

As this file has not changed in years, even in KDE4, I'm guessing the problem is how kate parses the xml file rather than the xml file itself. Only a guess.
Comment 1 Darrell 2012-10-19 22:29:41 CDT
Work-around:

Copy the gdb.xml file to one of the following:

$TDEHOME/share/apps/katepart/syntax/
$TDEDIRS/share/apps/katepart/syntax/

Edit the copied file and comment out line 29.
Comment 2 Timothy Pearson 2013-05-05 14:51:34 CDT
Kate syntax highlighting stall fixed in GIT hash 86cf9b5.  gdb highlighting now works properly with the original XML file.

Thanks for reporting!
Comment 3 Darrell 2013-05-05 18:17:53 CDT
Yes, indeed. Works real nice now. :-) Thank you!