<table><tr><td style="">nibags added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15773">View Revision</a></tr></table><br /><div><div><p>I did debug with gdb and valgrind, but the information is not relevant, since Kate freezes and I have to kill the process (I think I used the term "crash" incorrectly :S). <br />
I have done some tests and the problem is in the use of <tt style="background: #ebebeb; font-size: 13px;">#pop!some_context</tt> on the main context ("_profile"). <br />
For example, formerly, when doing <tt style="background: #ebebeb; font-size: 13px;">#pop!some_context</tt> on the main context, "some_context" was stacked on top of the main context, it did not replace it. Now, in KF5.50.0, the main context is removed from de "stack" and replaced by "some_context". In the AppArmor XML file I use <tt style="background: #ebebeb; font-size: 13px;">#pop#pop!some_context</tt> in general to finish a rule and, in some cases, <tt style="background: #ebebeb; font-size: 13px;">#pop!some_context</tt> is done in the main context, which produces the error in large files, since it is not a behavior that I envisioned.</p>
<p>I do not know if I'm explaining myself well, but with this diff I solve the problem.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15773">https://phabricator.kde.org/D15773</a></div></div><br /><div><strong>To: </strong>nibags, Framework: Syntax Highlighting, dhaumann, cullmann<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>