[bug PyQt 5.15.2] segmentation fault using QVideoFilterRunnable
Phil Thompson
phil at riverbankcomputing.com
Wed Feb 10 17:35:15 GMT 2021
On 10/02/2021 16:30, Adrian Fiergolski wrote:
> Hi,
>
> I am getting segmentation fault using QVideoFilterRunnable. I try to
> follow the example from the documentation.
>
> I am enclosing the testcase and the log from the debugger (gdb).
>
> My setup: yocto (with meta-qt5 gatesgarth, PyQt 5.15.2) running on
> Cortex A-53, kernel 5.4).
>
> I got the same issue with PyQt 5.13.2 on my embedded platform. The
> problem is reproducible on a PC (running Ubuntu 20.04 with installed
> qt5-default and pyqt5-dev).
>
> Once the filter is commented out (case.qml:17), everything runs
> smoothly.
>
> Do you know any workaround for that? I need to process data from a
> camera in OpenCV (I wanted to do it the QVideoFilterRunnable:run) and
> paint the resulting processed frame.
I suspect that this needs hard-coded support for QVideoFilterRunnable in
the same way that PyQt supports QValidator in QML.
There is no workaround that I'm aware of.
Phil
More information about the PyQt
mailing list