<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 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 cursor<br>
> to the beginning of the first line, press and hold the CTRL key 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 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 the<br>
> mouse.<br>
> The returned string from selectedText is not correct, which is 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, 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>
</span></font>
<div><font size="2"><span style="font-size:11pt">Phil</span></font><br>
</div>
</blockquote>
<div>Hi Phil,</div>
<div><br>
</div>
<div>Nope, tried with PyQt 5.14.2 and QScintilla 2.11.4, same error:</div>
<div><img size="120637" contenttype="image/gif" style="max-width: 100%; user-select: none;" unselectable="on" tabindex="-1" data-outlook-trace="F:1|T:1" src="cid:a037fc67-d598-45f4-b66c-8fdd22da4801"><br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Matic<br>
</div>
</body>
</html>