unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
@ 2023-07-13 18:56 Distopico Vegan
  2023-07-20 13:15 ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Distopico Vegan @ 2023-07-13 18:56 UTC (permalink / raw)
  To: 64605

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]


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
```

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
  2023-07-13 18:56 bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml Distopico Vegan
@ 2023-07-20 13:15 ` Maxim Cournoyer
  2023-07-20 16:43   ` Distopico
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2023-07-20 13:15 UTC (permalink / raw)
  To: Distopico Vegan; +Cc: 64605

Hello,

Distopico Vegan <distopico@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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
  2023-07-20 13:15 ` Maxim Cournoyer
@ 2023-07-20 16:43   ` Distopico
  2023-07-20 19:51     ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Distopico @ 2023-07-20 16:43 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 64605

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]


On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@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 


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
  2023-07-20 16:43   ` Distopico
@ 2023-07-20 19:51     ` Maxim Cournoyer
  2023-07-20 20:25       ` Distopico
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2023-07-20 19:51 UTC (permalink / raw)
  To: Distopico; +Cc: 64605

Hello,

Distopico <distopico@riseup.net> writes:

> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
  2023-07-20 19:51     ` Maxim Cournoyer
@ 2023-07-20 20:25       ` Distopico
  2023-07-21  1:35         ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Distopico @ 2023-07-20 20:25 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 64605

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]


On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

> Hello,
>
> Distopico <distopico@riseup.net> writes:
>
>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
  2023-07-20 20:25       ` Distopico
@ 2023-07-21  1:35         ` Maxim Cournoyer
  2023-08-26  2:26           ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2023-07-21  1:35 UTC (permalink / raw)
  To: Distopico; +Cc: 64605

Hi,

Distopico <distopico@riseup.net> writes:

> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
>> Hello,
>>
>> Distopico <distopico@riseup.net> writes:
>>
>>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml
  2023-07-21  1:35         ` Maxim Cournoyer
@ 2023-08-26  2:26           ` Maxim Cournoyer
  0 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2023-08-26  2:26 UTC (permalink / raw)
  To: Distopico; +Cc: 64605-done

Hello,

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

> Hi,
>
> Distopico <distopico@riseup.net> writes:
>
>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Distopico <distopico@riseup.net> writes:
>>>
>>>> On 2023-07-20, Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-26  2:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-13 18:56 bug#64605: HandBrake 1.5.1 hangs on startup due libQt5Qml Distopico Vegan
2023-07-20 13:15 ` Maxim Cournoyer
2023-07-20 16:43   ` Distopico
2023-07-20 19:51     ` Maxim Cournoyer
2023-07-20 20:25       ` Distopico
2023-07-21  1:35         ` Maxim Cournoyer
2023-08-26  2:26           ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).