[PyQt] Simultaneous use of QVideoWidget/QMediaPlayer and QQuickWidget segfaults on macOS with PyQt5
Nicolas de Maubeuge
nicolas.de.maubeuge at gmail.com
Mon Aug 7 01:23:07 BST 2017
Hi,
It appears that using a QVideoWidget and a QQuickWidget in the same PyQt5
application causes a segmentation fault on macOS.
The issue happens when a MediaPlayer connected to the QVideoWidget plays
the video with mediaPlayer.play().
This seems to affect at least PyQt5 with Python 3.6.2, 3.6.1, and 3.5.3 on
macOS 10.12. Both QVideoWidget and QuickWidget work fine when used
separately, which makes me think this could be either a Qt or PyQt bug.
Attached is a small test code that demonstrates the problem as well as a
core dump.
This issue only affects macOS as the previous code runes fine on Windows
and Linux
Any help would be appreciated.
Thank you.
-Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170807/b2b91450/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qquick_qvideowidget_segfault.py
Type: text/x-python-script
Size: 2244 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170807/b2b91450/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core_dump
Type: application/octet-stream
Size: 84085 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170807/b2b91450/attachment-0001.obj>
More information about the PyQt
mailing list