Subject: bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 20 Jul 2023 09:15:38 -0400

Hello,

Distopico Vegan <[email-masked]> writes:

> HandBrake 1.5.1 hangs on startup and `dmesg` show the following error
>
>
> ```
>  QQmlThread[....]: segfault at 0 ip 000.... sp 0000... error 4 in libQt5Qml.so.5.15.8
> ```
> After some research I found a similar issues on NixOS:
>
> - https://github.com/NixOS/nixpkgs/issues/32577
> - https://github.com/NixOS/nixpkgs/issues/177720
>
> and a solution: https://github.com/NixOS/nixpkgs/pull/197010
>
> Looks like the issue is related with QML disk cache, and after test
> ruining *handbrake* with `QML_DISABLE_DISK_CACHE=1` works fine
>
> ```
> QML_DISABLE_DISK_CACHE=1 ghb
> ```

This looks like an upstream Qt problem.  Have you searched if an issue
was known about it?  Their tracker is at https://bugreports.qt.io/.

-- 
Thanks,
Maxim