-
Notifications
You must be signed in to change notification settings - Fork 245
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
Problems with webkitgtk 2.36 #1004
Comments
I'm not able to reproduce this with current
Would you fill in the rest of the details requested in the new issue template? |
I opened https://bbs.archlinux.org, then opened the "Newbie Corner" and then went back in history with the keybinding Shift+H. I also tried the context menu -> back via mouse. No problem here on OpenBSD 7.2-beta. |
Sorry, I'd missed the issue template somehow, edited with more details. Unfortunately the repro is also weirder than I thought, it only crashes if I've viewed the main archlinux.org frontpage before hitting bbs.archlinux.org, which is an interesting twist. |
Thanks! I can reproduce it now. |
I don't understand what's happening at this exact code path. But when I remove the assertion and move tls_get_info behind the if-check, the navigation works.... sort of. --- widgets/webview.c.orig Fri Sep 2 21:36:00 2022
+++ widgets/webview.c Fri Sep 2 21:35:51 2022
@@ -410,10 +410,10 @@
d->cert = NULL;
}
} else if (e == WEBKIT_LOAD_COMMITTED) {
- g_assert(!d->cert);
- webkit_web_view_get_tls_info(d->view, &d->cert, NULL);
- if (d->cert)
+ if (d->cert) {
+ webkit_web_view_get_tls_info(d->view, &d->cert, NULL);
g_object_ref(G_OBJECT(d->cert));
+ }
}
if (e == WEBKIT_LOAD_COMMITTED) When I do so, I notice that the loading indicator stays at 10% at the critical navigation step. I can navigate back to the homepage and the indicator still stays at 10%. If I navigate forward again inside a forum topic at bbs.archlinux.org, the situation fixes itself up and we're good again. |
I still can't replicate this, but i think your logic's wrong. The other place The To get this to even load arch's page, i need the patch i mention in #1017. |
Running luakit with any webkitgtk release in the 2.36 series as packaged on Arch Linux (tested against 2.36.0 through 2.36.7) leads to an assert failing when going back a page in the history. This happens with both the most recent tagged release and current
develop
commit.I can reproduce this semi-consistently by going to https://www.archlinux.org, navigating to the forums, viewing any category, then hitting the previous page keybind or navigating back from the context menu, and happens with a completely stock config file.
There's also an issue with link hints not working on certain pages, but there aren't any visible errors to work from there, there are just no link hints created at all.
The text was updated successfully, but these errors were encountered: