<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<blockquote style="border-color: rgb(200, 200, 200); border-left: 3px solid rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rgb(102, 102, 102);">
<font size="2"><span style="font-size:11pt">On 22/04/2020 15:00, Matic Kukovec wrote:<br>
>> On 21/04/2020 21:11, Matic Kukovec wrote:<br>
>>> Hi,<br>
>>> <br>
>>> This bug is only present on Linux!<br>
>>> <br>
>>> In the attachment is an example of the error. How to reproduce it:<br>
>>> Without changing any text inside the QScintilla editor, set the<br>
>> cursor<br>
>>> to the beginning of the first line, press and hold the CTRL key<br>
>> and<br>
>>> drag the mouse to the end of the first line. After selecting a few<br>
>>> characters, usually more than 5 or 6, the example throws a<br>
>> exception,<br>
>>> something like:<br>
>>> <br>
>>> *** Error in `/usr/bin/python3': free(): invalid next size (fast):<br>
>>> 0x01e8d3e8 ***<br>
>>> Aborted<br>
>>> <br>
>>> The error appears to happen when calling the selectedText method,<br>
>>> while the CTRL key is pressed and changing the selected text with<br>
>> the<br>
>>> mouse.<br>
>>> The returned string from selectedText is not correct, which is<br>
>> visible<br>
>>> in the console window in the example just before the exception is<br>
>>> thrown.<br>
>>> <br>
>>> This error was found and reproduced in multiple editors,<br>
>> including:<br>
>>> ExCo, mu-editor and meditor.<br>
>>> Probably every editor based on QScintilla has this issue.<br>
>>> <br>
>>> Tested on:<br>
>>> <br>
>>> * Lubuntu x64, PyQt 5.11.2, QScintilla 2.11.4<br>
>>> * Raspbian RaspberryPI 3 (arm), PyQt 5.7, QScintilla 2.9.3<br>
>> <br>
>> Works fine for me with current versions.<br>
>> <br>
>> Phil<br>
> <br>
> Hi Phil,<br>
> <br>
> Nope, tried with PyQt 5.14.2 and QScintilla 2.11.4, same error:<br>
<br>
What version of Python?<br>
<br>
</span></font>
<div><font size="2"><span style="font-size:11pt">Phil</span></font><br>
</div>
</blockquote>
<div>Python 3.7.3 (default, Oct 7 2019, 12:56:13) [GCC 8.3.0] on linux<br>
</div>
<div><br>
</div>
<div>Regards<br>
</div>
</body>
</html>