GNU bug report logs - #64605
HandBrake 1.5.1 hangs on startup due libQt5Qml

Previous Next

Package: guix;

Reported by: Distopico Vegan <distopico <at> riseup.net>

Date: Fri, 14 Jul 2023 04:54:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64605 in the body.
You can then email your comments to 64605 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#64605; Package guix. (Fri, 14 Jul 2023 04:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Distopico Vegan <distopico <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 14 Jul 2023 04:54:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Distopico Vegan <distopico <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: HandBrake 1.5.1 hangs on startup due libQt5Qml
Date: Thu, 13 Jul 2023 13:56:36 -0500
[Message part 1 (text/plain, inline)]
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
```
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#64605; Package guix. (Thu, 20 Jul 2023 13:16:01 GMT) Full text and rfc822 format available.

Message #8 received at 64605 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Distopico Vegan <distopico <at> riseup.net>
Cc: 64605 <at> debbugs.gnu.org
Subject: Re: bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
Date: Thu, 20 Jul 2023 09:15:38 -0400
Hello,

Distopico Vegan <distopico <at> riseup.net> 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




Information forwarded to bug-guix <at> gnu.org:
bug#64605; Package guix. (Thu, 20 Jul 2023 16:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 64605 <at> debbugs.gnu.org (full text, mbox):

From: Distopico <distopico <at> riseup.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 64605 <at> debbugs.gnu.org
Subject: Re: bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
Date: Thu, 20 Jul 2023 11:43:39 -0500
[Message part 1 (text/plain, inline)]
On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:

> 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/.

Checking there looks like is already reported a similar issue
https://bugreports.qt.io/browse/QTBUG-58508, I think that happens in
Guix/Nix becase QT is trying to write inside the profile path 

[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#64605; Package guix. (Thu, 20 Jul 2023 19:52:02 GMT) Full text and rfc822 format available.

Message #14 received at 64605 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Distopico <distopico <at> riseup.net>
Cc: 64605 <at> debbugs.gnu.org
Subject: Re: bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
Date: Thu, 20 Jul 2023 15:51:35 -0400
Hello,

Distopico <distopico <at> riseup.net> writes:

> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>
>> 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/.
>
> Checking there looks like is already reported a similar issue
> https://bugreports.qt.io/browse/QTBUG-58508, I think that happens in
> Guix/Nix becase QT is trying to write inside the profile path 

It looks like we should apply this patch to completely disable QML disk
cache in Qt: https://github.com/NixOS/nixpkgs/pull/197010.

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#64605; Package guix. (Thu, 20 Jul 2023 20:27:01 GMT) Full text and rfc822 format available.

Message #17 received at 64605 <at> debbugs.gnu.org (full text, mbox):

From: Distopico <distopico <at> riseup.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 64605 <at> debbugs.gnu.org
Subject: Re: bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
Date: Thu, 20 Jul 2023 15:25:10 -0500
[Message part 1 (text/plain, inline)]
On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:

> Hello,
>
> Distopico <distopico <at> riseup.net> writes:
>
>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>>
>>> 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/.
>>
>> Checking there looks like is already reported a similar issue
>> https://bugreports.qt.io/browse/QTBUG-58508, I think that happens in
>> Guix/Nix becase QT is trying to write inside the profile path 
>
> It looks like we should apply this patch to completely disable QML disk
> cache in Qt: https://github.com/NixOS/nixpkgs/pull/197010.

yes, I was thinking on that, maybe inside [profile]/etc/profile
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#64605; Package guix. (Fri, 21 Jul 2023 01:36:01 GMT) Full text and rfc822 format available.

Message #20 received at 64605 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Distopico <distopico <at> riseup.net>
Cc: 64605 <at> debbugs.gnu.org
Subject: Re: bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
Date: Thu, 20 Jul 2023 21:35:25 -0400
Hi,

Distopico <distopico <at> riseup.net> writes:

> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>
>> Hello,
>>
>> Distopico <distopico <at> riseup.net> writes:
>>
>>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>>>
>>>> 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/.
>>>
>>> Checking there looks like is already reported a similar issue
>>> https://bugreports.qt.io/browse/QTBUG-58508, I think that happens in
>>> Guix/Nix becase QT is trying to write inside the profile path 
>>
>> It looks like we should apply this patch to completely disable QML disk
>> cache in Qt: https://github.com/NixOS/nixpkgs/pull/197010.
>
> yes, I was thinking on that, maybe inside [profile]/etc/profile

No, the patch is more definitive than that, it disables the QML disk
caching from qtdeclarative directly.

-- 
Thanks,
Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sat, 26 Aug 2023 02:28:02 GMT) Full text and rfc822 format available.

Notification sent to Distopico Vegan <distopico <at> riseup.net>:
bug acknowledged by developer. (Sat, 26 Aug 2023 02:28:02 GMT) Full text and rfc822 format available.

Message #25 received at 64605-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Distopico <distopico <at> riseup.net>
Cc: 64605-done <at> debbugs.gnu.org
Subject: Re: bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
Date: Fri, 25 Aug 2023 22:26:52 -0400
Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hi,
>
> Distopico <distopico <at> riseup.net> writes:
>
>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Distopico <distopico <at> riseup.net> writes:
>>>
>>>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>>>>
>>>>> 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/.
>>>>
>>>> Checking there looks like is already reported a similar issue
>>>> https://bugreports.qt.io/browse/QTBUG-58508, I think that happens in
>>>> Guix/Nix becase QT is trying to write inside the profile path 
>>>
>>> It looks like we should apply this patch to completely disable QML disk
>>> cache in Qt: https://github.com/NixOS/nixpkgs/pull/197010.
>>
>> yes, I was thinking on that, maybe inside [profile]/etc/profile
>
> No, the patch is more definitive than that, it disables the QML disk
> caching from qtdeclarative directly.

Installed with commit 1717c8a233b7fda3a10aabc061168c71317f883e.

Let me know if any caching problems persist.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 23 Sep 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.