Port of Gnome Web (Epiphany)

https://bugs.webkit.org/show_bug.cgi?id=194805

I had on 3 occasions so far have Haiku lock up completely. Every time while using Epiphany. Has anyone else seen this?

2 Likes

Haven’t seen anything like that. I am using Epiphany last week, for 1-2 hours each time. I have only seen rare crashes (seem page content related) which usually go away when I press OK. In only one case I needed to kill the app. In other cases, closing the tab resolved the issue.

Let’s hear from others as well though…

Yes! Guess so!!! First with BETA4, when I installed it first. But with current today nightly it did not happen again.

Yup. I saw something like that. It usually appears after a while when you watch heavy sites. Ie. sites with lots of images and scripts, both with epiphany and mini browser. I guess that webkit-gtk (ramFS?) sometimes doesn’t release ram enough and can end up using more than it should.

1 Like

Only real issue I have with Gnome Web is that it for some reasons uses a fixed-width font by default for most texts. E.g. here on the forum everything is shown with the same fixed width font.

Anyone else has this or knows a fix or workaround for it? Maybe my font configuration is somehow messed up, but except for increasing some font sizes in Haiku’s Appearance setting I never messed around with that.

UPDATE: The built-in dev tools shows it’s using ā€œNoto Sans Monoā€ as the font, which is the fixed width font in Haiku Appearance settings. So is this some issue with Gtk3 font selection?

1 Like

I had to set Noto Sans in the Epiphany settings.

1 Like

Thanks, that worked. So probably indeed some issue with Web or GTK3 defaults. But setting it manually makes everything appear as it should. Should have thought about this myself :smiley:

In my haiku32 virtual machine happens every time I try to use it. I’m always forced to do a hard reboot.

I’ve got one computer that runs Web all day. It’s got three tabs going: Haiku forums, Discord, and Facebook. It should have Twitter, but I can only load the Twitter page once after WebGTK updates, then it no longer loads. I used to have Counter Social going, but that causes Web to eat memory pretty quickly.

I haven’t seen it cause Haiku to lock up, but that computer is running nightlies and has 16GB of RAM. It will constantly use memory, though, until it runs out. Closing Web will release that memory.

Hi! Yes, I had that issue recently. Not very frequent. I only remember only one time.
I am using nightly releases (32 bit). My laptop has only 2 GB of ram.

GTK 4.9.2 + Gnome Web (Epiphany) 44.alpha

19 Likes

I believe @pulkomandy and @bbjimmy also saw this issue, it appears to be caused by out-of-memory. There is a ticket opened somewhere.

Someone will have to investigate in KDL. I will have to see if I can replicate the problems in a VM, but then the question will be whether I can make sense of whatever is going on…

Hi @waddlesplash . In case that I am able to reproduce it, there is something that I could do to retrieve some useful information? Like trying to enter into KDL (IIRC, there is a key combination for that)…?

Unfortunately getting to the heart of the problem will likely require some non-trivial poking around in KDL, so even if you can drop into it via the key combination, you will likely not be able to determine what the problem is without some KDL experience.

Got it :slight_smile: Thanks anyways for the information!

FWIW, i see occasional lockups like these with all the browsers, falkon, epiphany and Web+ so it’s not specific to epiphany, idem for the memory consumption/leaks? , i often have to close the browsers to release memory, it could be a memory leak related to networking? might also be related to this ticket.

To add to what others have said above, I have seen occasional hanging zombie WebKitWebProcess’es (sometimes many of them) after quitting Epiphany, with related hanging semaphores, ports, etc. I am not certain about this, but it seems you can provoke it at least somewhat by opening and closing tabs in random order. Or maybe closing the browser with page downloads in progress or something. Hard to trace properly as a regular user though; probably needs the developer/porter insight to investigate further. Any thoughts 3dEyes?

EDIT1: Should maybe mention that I have also had a couple of seemingly TCP related KDLs lately (unrelated to Epiphany perhaps), but I don’t know how to properly trace it further. Saved some syslogs just in case though.

EDIT2: Another fun fact: While I am admittedly running Haiku in a VM, which of course adds the virtualization aspect to things, it still seems a bit strange that if I am downloading something big, and then do an overdue ā€œgit statusā€ check, the networking grinds to a full stop until git has finished… with 12 AMD Ryzen vCores to play with. Whether this suggests a big storage related kernel locking issue or not I can not say, but would be glad to help out tracing this a bit if someone could tell me what is of interest.

1 Like

This hasn’t happened often, but I did manage to crash it by being provocative too… :wink:

Frame		IP			Function Name
-----------------------------------------------
00000000	0x10895fc60a7	_kern_debugger + 0x7 
	Disassembly:
		_kern_debugger:
		0x0000010895fc60a0:   48c7c0e5000000  mov $0xe5, %rax
		0x0000010895fc60a7:             0f05  syscall  <--

0x7ff37fffcf10	0x1b21f7d4c2	BLooper::AssertLocked() const + 0x22 
0x7ff37fffcf30	0x1b21f7d91c	BLooper::Unlock() + 0xc 
0x7ff37fffcf60	0x113cf96ab6f	WaylandView::Draw(BRect) + 0x4f 
0x7ff37fffcf90	0x1b22037fd7	BView::_Draw(BRect) + 0xa7 
0x7ff37fffd1c0	0x1b220460f3	BWindow::DispatchMessage(BMessage*, BHandler*) + 0xd33 
0x7ff37fffd250	0x1b2204138b	BWindow::task_looper() + 0x1cb 
0x7ff37fffd270	0x1b21f7e29d	BLooper::_task0_(void*) + 0x1d 
0x7ff37fffd290	0x10895fc4e16	thread_entry + 0x16 
00000000	0x7f4e70882258	commpage_thread_exit + 0 
1 Like

#18200 (System hangs on high RAM usage) – Haiku The problem is not utilizing swap to prevent out of memory issues and Epiphany leaks WenKitWebProcess processes.

1 Like