Gnome Web crashing whenever i open any URL

I can launch epiphany just fine, but whenever i try to navigate to a url it crashes.
This is what i get in the terminal:

(epiphany:35031): Gtk-WARNING **: 23:00:14.908: GtkProgressBar 0x2accb530 (progress) reported min width -8, but sizes must be >= 0

(epiphany:35031): Gtk-CRITICAL **: 23:00:14.908: Allocation height too small. Tried to allocate 40x36, but GtkButton 0x2acceb20 needs at least 40x46.
fish: Job 1, 'epiphany' terminated by signal SIGTRAP (Trace or breakpoint trap)

i’m using nixos in case that’s relevant

https://gitlab.gnome.org/GNOME/epiphany/-/issues/2580 sounds related.

Else, please open a new issue at https://gitlab.gnome.org/GNOME/epiphany/-/issues/new with necessary information.

This does seems to be the same issue. Setting LC_ALL to C as mentioned in that issue does solve the problem. I was using a Portuguese locale. Thanks for the pointer, i’ll close this as it’s a duplicate

I don’t think it’s the same issue at all. That bug report was for a GtkBox allocation problem, but this one is a GtkButton. We might solve the original bug report without fixing your problem with the GtkButton.

Unfortunately I have no clue how to debug these. I’ve moved the existing bug report to the GTK issue tracker since I don’t know what to do with it. Not sure if it’s a GTK or libadwaita bug (probably), or if Epiphany itself is doing something wrong (less likely).

Since the button is not square, I would say this is simply a button with a label missin can-shrink=True. Which locale is this? Probably the user is not using english.

My language is english, but some locales aren’t. Here’s the list

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=pt_PT.UTF-8
LC_TIME=pt_PT.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=pt_PT.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=pt_PT.UTF-8
LC_NAME=pt_PT.UTF-8
LC_ADDRESS=pt_PT.UTF-8
LC_TELEPHONE=pt_PT.UTF-8
LC_MEASUREMENT=pt_PT.UTF-8
LC_IDENTIFICATION=pt_PT.UTF-8
LC_ALL=

As I said, running it once with LC_ALL=C epiphany has fixed it, even after restarting. No idea why it still works now that LC_ALL is reset though