GNU bug report logs - #64200
Netsurf very frequently freezes when editing text (Harfbuzz issue?)

Previous Next

Package: guix;

Reported by: Csepp <raingloom <at> riseup.net>

Date: Wed, 21 Jun 2023 02:52:01 UTC

Severity: normal

To reply to this bug, email your comments to 64200 AT debbugs.gnu.org.

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#64200; Package guix. (Wed, 21 Jun 2023 02:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Csepp <raingloom <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 21 Jun 2023 02:52:02 GMT) Full text and rfc822 format available.

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

From: Csepp <raingloom <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: Netsurf very frequently freezes when editing text (Harfbuzz issue?)
Date: Wed, 21 Jun 2023 04:47:22 +0200
Like the title says.  It never happens when just browsing, but happens
very frequently (like a minute after starting to type) when editing
text, at least on Brutaldon, but maybe on other sites too.

I noticed that our Harfbuzz package is two entire major releases behind.
Maybe there are bugfixes in the latest one that we could use?

I tried building it but it froze up my laptop for some reason (rather
strange, even if it runs out of memory it should just be killed by
earlyoom) so I haven't attempted to test this theory yet.

Is there any particular reason Harfbuzz wasn't covered by the last
core-updates?  If it turns out to be a bug in it, what would be the best
way to proceed?




Information forwarded to bug-guix <at> gnu.org:
bug#64200; Package guix. (Wed, 21 Jun 2023 09:10:02 GMT) Full text and rfc822 format available.

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

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Csepp <raingloom <at> riseup.net>, 64200 <at> debbugs.gnu.org
Cc: John Kehayias <john.kehayias <at> protonmail.com>
Subject: Re: bug#64200: Netsurf very frequently freezes when editing text
 (Harfbuzz issue?)
Date: Wed, 21 Jun 2023 11:08:58 +0200
[Message part 1 (text/plain, inline)]
Hi Csepp,

Csepp <raingloom <at> riseup.net> writes:

> Like the title says.  It never happens when just browsing, but happens
> very frequently (like a minute after starting to type) when editing
> text, at least on Brutaldon, but maybe on other sites too.
>
> I noticed that our Harfbuzz package is two entire major releases behind.
> Maybe there are bugfixes in the latest one that we could use?
>
> I tried building it but it froze up my laptop for some reason (rather
> strange, even if it runs out of memory it should just be killed by
> earlyoom) so I haven't attempted to test this theory yet.
>
> Is there any particular reason Harfbuzz wasn't covered by the last
> core-updates?  If it turns out to be a bug in it, what would be the best
> way to proceed?

core-updates was lagging behind, and while merging you don't want to
introduce potential sources of issues.  This could maybe go into the
graphics updates along with mesa, if John thinks it's appropriate.

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

Information forwarded to bug-guix <at> gnu.org:
bug#64200; Package guix. (Wed, 21 Jun 2023 14:47:02 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: Csepp <raingloom <at> riseup.net>, 64200 <at> debbugs.gnu.org
Subject: Re: bug#64200: Netsurf very frequently freezes when editing text
 (Harfbuzz issue?)
Date: Wed, 21 Jun 2023 14:46:32 +0000
Hi Josselin and Csepp,

On Wed, Jun 21, 2023 at 11:08 AM, Josselin Poiret wrote:

> Hi Csepp,
>
> Csepp <raingloom <at> riseup.net> writes:
>
>> Like the title says.  It never happens when just browsing, but happens
>> very frequently (like a minute after starting to type) when editing
>> text, at least on Brutaldon, but maybe on other sites too.
>>
>> I noticed that our Harfbuzz package is two entire major releases behind.
>> Maybe there are bugfixes in the latest one that we could use?
>>
>> I tried building it but it froze up my laptop for some reason (rather
>> strange, even if it runs out of memory it should just be killed by
>> earlyoom) so I haven't attempted to test this theory yet.
>>
>> Is there any particular reason Harfbuzz wasn't covered by the last
>> core-updates?  If it turns out to be a bug in it, what would be the best
>> way to proceed?
>
> core-updates was lagging behind, and while merging you don't want to
> introduce potential sources of issues.  This could maybe go into the
> graphics updates along with mesa, if John thinks it's appropriate.
>

Likely that it was just overlooked, these things happen. Despite being
two major releases behind, our version is less than a year old at
least, so it wasn't completely forgotten :)

I just tried a guix build harfbuzz --with-latest=harfbuzz and it
worked, but I only built once and didn't try dependents. A quick look
at the changelog shows mostly fixes and new API, doesn't look like
anything immediately obvious as breaking, but this will affect ~9000
packages.

I do think this could be a more impactful change than the Mesa update
but I say we put them all on a feature branch and see how the builds
work out. If harfbuzz needs more work than it seems, we can just hold
off on it and group it with the inevitable next Mesa update or some
other related packages.

How does that sound? I'll give it some days for comments on my
previous message about a Mesa branch but the patches here are all
trivial (so far...) so it would be nice to get builds started soon. My
thoughts for Mesa were hopefully just a few days of checking builds
and then merging, to keep it simple and straightforward. But we should
group builds together rather than wasting resources.

John

PS: Csepp if you can reproduce the build failure and attach a log
somewhere, that would be helpful. If newer harfbuzz is helpful but too
drastic of a change everywhere, we could have a 'harfbuzz-next' to
ease the transition.

PPS: I'll bring this up elsewhere, but on a similar vein I noticed our
freetype package is built without brotli support (anyone know why?).
It is needed for the update to Godot 4. I'll raise the details on a
forthcoming Godot patch.





Information forwarded to bug-guix <at> gnu.org:
bug#64200; Package guix. (Wed, 21 Jun 2023 22:05:01 GMT) Full text and rfc822 format available.

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

From: Csepp <raingloom <at> riseup.net>
To: John Kehayias <john.kehayias <at> protonmail.com>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, Csepp <raingloom <at> riseup.net>,
 64200 <at> debbugs.gnu.org
Subject: Re: bug#64200: Netsurf very frequently freezes when editing text
 (Harfbuzz issue?)
Date: Thu, 22 Jun 2023 00:00:32 +0200
John Kehayias <john.kehayias <at> protonmail.com> writes:

> Hi Josselin and Csepp,
>
> On Wed, Jun 21, 2023 at 11:08 AM, Josselin Poiret wrote:
>
>> Hi Csepp,
>>
>> Csepp <raingloom <at> riseup.net> writes:
>>
>>> Like the title says.  It never happens when just browsing, but happens
>>> very frequently (like a minute after starting to type) when editing
>>> text, at least on Brutaldon, but maybe on other sites too.
>>>
>>> I noticed that our Harfbuzz package is two entire major releases behind.
>>> Maybe there are bugfixes in the latest one that we could use?
>>>
>>> I tried building it but it froze up my laptop for some reason (rather
>>> strange, even if it runs out of memory it should just be killed by
>>> earlyoom) so I haven't attempted to test this theory yet.
>>>
>>> Is there any particular reason Harfbuzz wasn't covered by the last
>>> core-updates?  If it turns out to be a bug in it, what would be the best
>>> way to proceed?
>>
>> core-updates was lagging behind, and while merging you don't want to
>> introduce potential sources of issues.  This could maybe go into the
>> graphics updates along with mesa, if John thinks it's appropriate.
>>
>
> Likely that it was just overlooked, these things happen. Despite being
> two major releases behind, our version is less than a year old at
> least, so it wasn't completely forgotten :)
>
> I just tried a guix build harfbuzz --with-latest=harfbuzz and it
> worked, but I only built once and didn't try dependents. A quick look
> at the changelog shows mostly fixes and new API, doesn't look like
> anything immediately obvious as breaking, but this will affect ~9000
> packages.
>
> I do think this could be a more impactful change than the Mesa update
> but I say we put them all on a feature branch and see how the builds
> work out. If harfbuzz needs more work than it seems, we can just hold
> off on it and group it with the inevitable next Mesa update or some
> other related packages.
>
> How does that sound? I'll give it some days for comments on my
> previous message about a Mesa branch but the patches here are all
> trivial (so far...) so it would be nice to get builds started soon. My
> thoughts for Mesa were hopefully just a few days of checking builds
> and then merging, to keep it simple and straightforward. But we should
> group builds together rather than wasting resources.
>
> John
>
> PS: Csepp if you can reproduce the build failure and attach a log
> somewhere, that would be helpful. If newer harfbuzz is helpful but too
> drastic of a change everywhere, we could have a 'harfbuzz-next' to
> ease the transition.
>
> PPS: I'll bring this up elsewhere, but on a similar vein I noticed our
> freetype package is built without brotli support (anyone know why?).
> It is needed for the update to Godot 4. I'll raise the details on a
> forthcoming Godot patch.

So, I built Netsurf with --with-latest=harfbuzz, which also affected
GTK+ and a bunch of other packages along the way, and it worked on my
first attempt, just needed a stronger machine.
I copied over the resulting Netsurf to my laptop and have been using it
all day today, it seems to have shooed that bug away.
(Don't squash bugs, bugs are good for the ecosystem. They are only a
problem when they get inside your mainframe and cause a short. UwU)
BTW there was no log when it caused my system to hang.  I had to reboot
it with sysrq.  Probably a kernel bug?

So it looks like Harfbuzz can be updated without any problem.




Information forwarded to bug-guix <at> gnu.org:
bug#64200; Package guix. (Thu, 22 Jun 2023 01:09:02 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Csepp <raingloom <at> riseup.net>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, 64200 <at> debbugs.gnu.org
Subject: Re: bug#64200: Netsurf very frequently freezes when editing text
 (Harfbuzz issue?)
Date: Thu, 22 Jun 2023 01:08:21 +0000
Dear Csepp,

On Thu, Jun 22, 2023 at 12:00 AM, Csepp wrote:

>
> So, I built Netsurf with --with-latest=harfbuzz, which also affected
> GTK+ and a bunch of other packages along the way, and it worked on my
> first attempt, just needed a stronger machine.
> I copied over the resulting Netsurf to my laptop and have been using it
> all day today, it seems to have shooed that bug away.
> (Don't squash bugs, bugs are good for the ecosystem. They are only a
> problem when they get inside your mainframe and cause a short. UwU)
> BTW there was no log when it caused my system to hang.  I had to reboot
> it with sysrq.  Probably a kernel bug?
>
> So it looks like Harfbuzz can be updated without any problem.

Great, that's good to hear and a nontrivial test too! I'll await
comments on this mesa+friends update branch and plan on including the
harfbuzz update there. Stay tuned...

John





Information forwarded to bug-guix <at> gnu.org:
bug#64200; Package guix. (Mon, 26 Jun 2023 02:21:02 GMT) Full text and rfc822 format available.

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

From: Csepp <raingloom <at> riseup.net>
To: John Kehayias <john.kehayias <at> protonmail.com>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, Csepp <raingloom <at> riseup.net>,
 64200 <at> debbugs.gnu.org
Subject: Re: bug#64200: Netsurf very frequently freezes when editing text
 (Harfbuzz issue?)
Date: Mon, 26 Jun 2023 04:16:28 +0200
John Kehayias <john.kehayias <at> protonmail.com> writes:

> Dear Csepp,
>
> On Thu, Jun 22, 2023 at 12:00 AM, Csepp wrote:
>
>>
>> So, I built Netsurf with --with-latest=harfbuzz, which also affected
>> GTK+ and a bunch of other packages along the way, and it worked on my
>> first attempt, just needed a stronger machine.
>> I copied over the resulting Netsurf to my laptop and have been using it
>> all day today, it seems to have shooed that bug away.
>> (Don't squash bugs, bugs are good for the ecosystem. They are only a
>> problem when they get inside your mainframe and cause a short. UwU)
>> BTW there was no log when it caused my system to hang.  I had to reboot
>> it with sysrq.  Probably a kernel bug?
>>
>> So it looks like Harfbuzz can be updated without any problem.
>
> Great, that's good to hear and a nontrivial test too! I'll await
> comments on this mesa+friends update branch and plan on including the
> harfbuzz update there. Stay tuned...
>
> John

Well, now the bug is back somehow???  I haven't updated anything since
then.  Didn't change fonts either.
Still happens in a Harfbuzz call.




Information forwarded to bug-guix <at> gnu.org:
bug#64200; Package guix. (Thu, 29 Jun 2023 15:07:01 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Csepp <raingloom <at> riseup.net>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, 64200 <at> debbugs.gnu.org
Subject: Re: bug#64200: Netsurf very frequently freezes when editing text
 (Harfbuzz issue?)
Date: Thu, 29 Jun 2023 15:06:28 +0000
On Mon, Jun 26, 2023 at 04:16 AM, Csepp wrote:

> John Kehayias <john.kehayias <at> protonmail.com> writes:
>
>> Dear Csepp,
>>
>> On Thu, Jun 22, 2023 at 12:00 AM, Csepp wrote:
>>
>>> So, I built Netsurf with --with-latest=harfbuzz, which also affected
>>> GTK+ and a bunch of other packages along the way, and it worked on my
>>> first attempt, just needed a stronger machine.
>>> I copied over the resulting Netsurf to my laptop and have been using it
>>> all day today, it seems to have shooed that bug away.
>>> (Don't squash bugs, bugs are good for the ecosystem. They are only a
>>> problem when they get inside your mainframe and cause a short. UwU)
>>> BTW there was no log when it caused my system to hang.  I had to reboot
>>> it with sysrq.  Probably a kernel bug?
>>>
>>> So it looks like Harfbuzz can be updated without any problem.
>>
>> Great, that's good to hear and a nontrivial test too! I'll await
>> comments on this mesa+friends update branch and plan on including the
>> harfbuzz update there. Stay tuned...
>>
>> John
>
> Well, now the bug is back somehow???  I haven't updated anything since
> then.  Didn't change fonts either.
> Still happens in a Harfbuzz call.

Ah, sorry to hear that, that's annoying! I'll be making the mesa
branch today, but not sure if I'll include harfbuzz. I have another
font related big change, so maybe best to have a separate branch for
those. In either case, guess this doesn't help your bug, sorry!

John





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

Previous Next


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