Issue with latest QScintilla

Thomas Lübking thomas.luebking at gmail.com
Thu Sep 22 14:18:31 BST 2022


Am Thu, 22 Sep 2022 14:08:23 +0100
schrieb Phil Thompson <phil at riverbankcomputing.com>:

> On 15/08/2022 12:51, Detlev Offenbach wrote:
> > tries to show a completion list it crashes with a segmentation
> > fault when run under Wayland (tested on Ubuntu 22.04 and reported
> > for Mint 21). Another effect I observed under Wayland is, that when
> > a shown autocompletion list is to be updated, the updated one is
> > not shown (or is hidden/invisible). I could not generate this
> > erroneous behavior on Ubuntu 20.04 Wayland.

> I've tried my test editor with Qt v6.3.2 on Ubuntu 20.04 and Qt
> v6.4.0rc on Ubuntu 22.04 and I can't reproduce the problem.
> 

"Wayland" is not a thing, the actual compositor (mutter, kwin, sway,
qtile, weston, …) will matter a lot, notably since the segfault happens
in

Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007f5c5fe0b5c0 in QScreen::availableGeometry() const () from
eric7_env/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6
(gdb) bt
#0  0x00007f5c5fe0b5c0 in QScreen::availableGeometry() const ()
   from
eric7_env/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6
#1  0x00007f5c3106b960 in
Scintilla::Window::GetMonitorRect(Scintilla::Point)
    ()
   from eric7_env/lib/python3.10/site-packages/PyQt6/Qsci.abi3.so
#2  0x00007f5c312d9b16 in
Scintilla::ScintillaBase::AutoCompleteStart(long, char const*) ()
   from eric7_env/lib/python3.10/site-packages/PyQt6/Qsci.abi3.so
#3  0x00007f5c312dbf9e in Scintilla::ScintillaBase::WndProc(unsigned
int, unsigned long, long) ()
   from eric7_env/lib/python3.10/site-packages/PyQt6/Qsci.abi3.so
#4  0x00007f5c3103fcfe in
QsciScintilla::startAutoCompletion(QsciScintilla::AutoCompletionSource,
bool, bool) ()
   from eric7_env/lib/python3.10/site-packages/PyQt6/Qsci.abi3.so
#5  0x00007f5c6eb36610 in ?? ()
   from
eric7_env/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6
#6  0x00007f5c312f7305 in QsciScintillaBase::SCN_CHARADDED(int) ()
   from eric7_env/lib/python3.10/site-packages/PyQt6/Qsci.abi3.so
#7  0x00007f5c3107fe67 in QsciScintillaQt::NotifyParent(SCNotification)
()


More information about the QScintilla mailing list