[Python-modules-team] Bug#935909: python3-pyqt5: Segmentation fault when switching between image and text with html tags using style sheets

Dmitry Shachnev mitya57 at debian.org
Tue Aug 27 19:56:44 BST 2019


Control: reassign -1 libqt5widgets5 5.11.3+dfsg1-4
Control: fixed -1 qtbase-opensource-src/5.12.4+dfsg-1

Hi Danny!

On Tue, Aug 27, 2019 at 04:06:07PM +0000, Danny Milosavljevic wrote:
> there is a segmentation fault problem with python3-qt5 and/or qt5 when
> switching between image and text with html tags.
>
> To reproduce,
>
> (1) Use Debian 10 live iso (or any Debian 10; it happened on a finished
> installation as well)
> (2) Invoke: sudo apt-get update
> (3) Invoke: sudo apt-get install python3-pyqt5
> (4) Invoke: cp /usr/share/icons/Adwaita/48x48/status/network-wired-disconnected.png .
> (or any other png)
> (5) Save the text below as "a.py"
> (6) Invoke: QT_QPA_PLATFORM=offscreen python3 a.py 1
> (7) Wait for 5 seconds
> (8) See the segmentation fault
>
> It's very very reproducible for me.

I can reproduce it with the attached C++ source. So it is a bug in Qt, not
in PyQt. Reassigning accordingly.

Also I can reproduce it with Qt 5.11.3 but not with 5.12.4 from experimental.
Looking at upstream changes, I found [1] which most probably fixed this.

So it will be fixed in Sid as soon as we upgrade to 5.12. Do you want a fix
in Buster as well?

[1]: https://codereview.qt-project.org/c/qt/qtbase/+/242929

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 1268 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190827/cd0b4443/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190827/cd0b4443/attachment.sig>


More information about the Python-modules-team mailing list