Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: WebKit encountered an internal error #709

Closed
khinsen opened this issue Apr 30, 2020 · 19 comments
Closed

macOS: WebKit encountered an internal error #709

khinsen opened this issue Apr 30, 2020 · 19 comments
Labels
2-series Related to releases whose major version is 2. ffi Renderer-specific quirks. macos

Comments

@khinsen
Copy link
Contributor

khinsen commented Apr 30, 2020

Describe the bug

Under macOS, I am getting frequent but non-reproducible messages "WebKit encountered an internal error". Reloading the page fixes the problem in most cases. Under Guix (running on the same computer in a virtual machine), this hasn't happend to me yet, so it looks like a macOS-specific problem.

Is there anything I can do to debug this? The error message is a bit vague.

Precise recipe to reproduce the issue

None so far!

Information

  • OS name+version: macOS 10.14.6
  • Next version (from =M-x next-version= or =next --version=): 1.5.0-af201189
  • How you installed Next (Guix pack, package manager, build from source): MacPorts
@Ambrevar
Copy link
Member

Ambrevar commented Apr 30, 2020 via email

@Ambrevar
Copy link
Member

Ambrevar commented Apr 30, 2020 via email

@jmercouris
Copy link
Member

I do not believe it is related, though I don't know enough. I've noticed the error most frequently occurs with buffers that are loaded in the background. Beyond that there is no discernible pattern. It is perhaps an error with graphical context? Not sure. I think it would be useful to add a signal for webkit internal errors (should there exist a signal) to log them in the messages buffer with some information that we can maybe use to debug the problem.

@Ambrevar
Copy link
Member

Ambrevar commented Apr 30, 2020 via email

@khinsen
Copy link
Contributor Author

khinsen commented May 7, 2020

Here is an internal error that is very reproducible for me:

No internal error under Guix, using the same commit and the same site on the same machine connected to the same network.

@Ambrevar
Copy link
Member

Ambrevar commented May 7, 2020 via email

@jmercouris
Copy link
Member

Interesting I got a "service worker context closed" for https://org-roam.discourse.group/

@khinsen
Copy link
Contributor Author

khinsen commented May 7, 2020

@Ambrevar With the precise commit I mentioned, I get an internal error every time I load or reload. I tried at least 20 times in a row, and then another round a few hours later.

@Ambrevar Ambrevar added 2-series Related to releases whose major version is 2. ffi Renderer-specific quirks. macos labels May 10, 2020
@jmercouris
Copy link
Member

I would like to report that "Internal WebKit Errors" are very sparse when running the Quartz port of WebKit. Unfortunately, every single WebKit process results in a new dock icon. I am currently trying to fix that. Then, we may consider this issue closed.

@Ambrevar
Copy link
Member

Ambrevar commented Jul 21, 2020 via email

@jmercouris
Copy link
Member

very sparse means I experience them once every couple of days at most.

@jmercouris
Copy link
Member

don't worry, with my "quality internet" I get more than enough connection errors :-D

@jmercouris
Copy link
Member

Well, well well! Please install with Quartz now, problem fixed!

@Ambrevar
Copy link
Member

Ambrevar commented Jul 21, 2020 via email

@jmercouris
Copy link
Member

No need to install X11 any more, now using Quartz and the internal engine, things are infinitely faster/better. If you use our Ports tree, you can get this version of WebKit until I hopefully can get this merged into the main WebKit branch.

@jmercouris
Copy link
Member

Ah, I forgot, it also adds retina display support :-)

@Ambrevar
Copy link
Member

Ambrevar commented Jul 21, 2020 via email

@jmercouris
Copy link
Member

That's correct, there are many implications of that, but that is the gist.

@khinsen
Copy link
Contributor Author

khinsen commented Aug 2, 2020

@jmercouris This is very good news, thanks! Is this supposed to be in the current state of the MacPorts Portfile? The one that fails because of the Osicat issue discussed in #819 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-series Related to releases whose major version is 2. ffi Renderer-specific quirks. macos
Development

No branches or pull requests

3 participants