[QScintilla] QScintilla crash upon second word separator in a string

Jack Cosgrove jackcosgrove at gmail.com
Wed Mar 21 01:57:25 GMT 2012


Phil,

I am using Qt 4.8 and QScintilla 2.6.1. I compiled the project using Qt
Creator 2.4.1.

On Tue, 2012-03-20 at 12:20 +0000, Phil Thompson wrote:
> On Sat, 17 Mar 2012 12:58:48 -0500, Jack Cosgrove <jackcosgrove at gmail.com>
> wrote:
> > Hi,
> > 
> > I am encountering crashes when I try to use autocomplete to fill in
> > function arguments using the Python lexer. For example, given an API
> > entry of "foo.bar(foo, bar)", I will always be prompted for foo and bar,
> > but if I accept the autocompletion for "bar" and then type an opening
> > parenthesis my app crashes.
> > 
> > Attached is a small example demonstrating this behavior. Type in "fo",
> > accept the suggestion, then ".", accept "bar", then "(" to replicate.
> > 
> > However, if you type in "fo", accept, then ".bar(", then delete the "(",
> > you can then type "(" again and encounter the function argument
> > suggestion. After this happens the first time the application never
> > crashes, even if replicating the first procedure on a new line.
> > 
> > Thanks to all who reply for your help!
> 
> I can't reproduce this with current versions of QScintilla and Qt. What
> versions are you using?
> 
> Phil




More information about the QScintilla mailing list