[Python-modules-team] Bug#960073: Package:python-pyqt5 Run the example code with Trace and crash (SIGABRT)

Dmitry Shachnev mitya57 at debian.org
Sun Jun 28 08:59:43 BST 2020


Hi again,

On Fri, Jun 12, 2020 at 06:16:05PM +0800, pengzongli at uniontech.com wrote:
> Hi!
>
> I tried to verify the local opengl/glx, they are normal. It is no problem
> to write QT code directly to call qtwebengine. So I suspect that the
> problem is caused by pyqt.
> Looking forward to hearing from you soon.

Please try adding this on top of your Python file, *before* importing
PyQt:

import ctypes
ctypes.CDLL('libGLX_mesa.so.0', ctypes.RTLD_GLOBAL)

Alternatively, run your code with LD_PRELOAD=libGLX_mesa.so.0 environment
variable.

Please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963709#39
for details.

--
Dmitry Shachnev
-------------- 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/20200628/41602e03/attachment.sig>


More information about the Python-modules-team mailing list