WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
216254
[GTK] AcceleratedBackingStoreWayland might erroneously try to use SHM with older wpebackend-fdo
https://bugs.webkit.org/show_bug.cgi?id=216254
Summary
[GTK] AcceleratedBackingStoreWayland might erroneously try to use SHM with ol...
Mike Gorse
Reported
2020-09-07 15:10:03 PDT
TryInitializeSHM has a wpebackend-fdo version check, but, for versions older than 1.7.0, it does the wrong thing and acts as though it has successfully initialized. Epiphany is currently coredumping with the openSUSE GNOME:Next repository (using webkitgtk 2.29.92), and I suspect that this is the reason.
Attachments
Patch.
(1.17 KB, patch)
2020-09-07 15:14 PDT
,
Mike Gorse
no flags
Details
Formatted Diff
Diff
Patch.
(1.23 KB, patch)
2020-09-07 16:32 PDT
,
Mike Gorse
aperez
: review-
aperez
: commit-queue-
Details
Formatted Diff
Diff
Patch.
(1.30 KB, patch)
2020-09-08 07:26 PDT
,
Mike Gorse
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Mike Gorse
Comment 1
2020-09-07 15:14:12 PDT
Created
attachment 408199
[details]
Patch.
Darin Adler
Comment 2
2020-09-07 16:01:22 PDT
Comment on
attachment 408199
[details]
Patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=408199&action=review
> Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:140 > + return false;
We’d like to structure the #if so there is not dead code after a return. So the code after the #endif should be moved before the #else.
Mike Gorse
Comment 3
2020-09-07 16:32:41 PDT
Created
attachment 408202
[details]
Patch.
Adrian Perez
Comment 4
2020-09-08 00:58:43 PDT
Comment on
attachment 408202
[details]
Patch. Hello! Thanks for the patch, Michael. Could you please move the “return” around as suggested by Darin? Other than that and adding the [WPE] tag to the bug description, the change looks good =) View in context:
https://bugs.webkit.org/attachment.cgi?id=408202&action=review
> Source/WebKit/ChangeLog:3 > + AcceleratedBackingStoreWayland might erroneously try to use SHM with older wpebackend-fdo
Let's also add the [WPE] tag to the bug description :)
Carlos Garcia Campos
Comment 5
2020-09-08 01:12:21 PDT
This is a gtk bug, not WPE
Mike Gorse
Comment 6
2020-09-08 07:26:02 PDT
Created
attachment 408227
[details]
Patch. Updated ChangeLog entry. I believe I have also done what Darin requested in terms of the return value.
EWS
Comment 7
2020-09-08 08:25:10 PDT
Committed
r266726
: <
https://trac.webkit.org/changeset/266726
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 408227
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug