Bug 122311

Summary: Kate crashes when typing percent sign after string+backslash+newline in a python script
Product: [Applications] kate Reporter: Pavel Simerda <pavel.simerda>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lee.jaison
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace

Description Pavel Simerda 2006-02-19 22:48:57 UTC
Version:           2.5.1 (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages

As was said... I was editing a script:
-----------------------------------------------------
    def __str__(self):
        return '<EncodingInfo: encoding=%s lineEnding=%s byteOrderMark=%s binary=%s empty=%s>' \
-----------------------------------------------------

After typing the backslash... I pressed <enter>, got under return (Indentation: Python Style)... typed <ctrl-I> twice to add 8 more spaces...

And finally typed '%' -> Kate Crashed
-----------------------------------------------------

I reproduced it once again but not any more (don't know what i did differently)

I'll attach the backtrace.

Close it if not helpful.
Comment 1 Pavel Simerda 2006-02-19 22:50:11 UTC
Created attachment 14782 [details]
backtrace
Comment 2 Anders Lund 2006-02-20 16:08:28 UTC
On Sunday 19 February 2006 22:48, Pavel Simerda wrote:
> Close it if not helpful.


It's likely a problem with the python code folding.

Jowenn, if you do not want to fix for KDE 3.5 branch, i believe we should 
disable the folding completely in python.
Comment 3 Jaison Lee 2006-03-25 04:30:07 UTC
I'm not able to reproduce this myself. Slackware unofficial 3.5.1 packages. I've had several Kate crashes but none in Python so far.
Comment 4 Dominik Haumann 2006-05-23 17:23:11 UTC
likely a duplicate.

*** This bug has been marked as a duplicate of 89042 ***