WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
266875
[GTK] Reproducible crash on invalid web process message DrawingArea_CommitTransientZoom
https://bugs.webkit.org/show_bug.cgi?id=266875
Summary
[GTK] Reproducible crash on invalid web process message DrawingArea_CommitTra...
Kdwk
Reported
2023-12-25 00:13:53 PST
Created
attachment 469199
[details]
gdb (bt full; c).txt Crash on reddit.com Epiphany Technology Preview 45.0-72-g45ecf0688+/ WebKitGTK 2.43.3
Attachments
gdb (bt full; c).txt
(9.24 KB, text/plain)
2023-12-25 00:13 PST
,
Kdwk
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2023-12-25 06:13:01 PST
Invalid web process message... normally this indicates that the UI process version does not match the web process version, i.e. that you updated WebKit while it's running. This is supposed to be impossible to do with flatpak. I'm fairly confident you've found another bug in flatpak itself. The newer updated runtime is not supposed to get used until you restart the app. It's also theoretically possible that we have messed up some IPC message, but this seems less likely. You've already proved that flatpak is severely broken in
bug #265349
and this seems like another symptom of the same. Accordingly, I'm going to mark this one as a duplicate even though the symptom is different. It's also notable that you reported this at the same time as
bug #266874
, which is a dup of
bug #265349
. *** This bug has been marked as a duplicate of
bug 265349
***
Michael Catanzaro
Comment 2
2023-12-26 09:22:46 PST
***
Bug 266886
has been marked as a duplicate of this bug. ***
Michael Catanzaro
Comment 3
2023-12-26 09:23:45 PST
(In reply to Michael Catanzaro from
comment #1
)
> It's also theoretically possible that we have messed up some IPC message, > but this seems less likely.
It seems this is the case. Here is Kdwk's reproducer from
bug #266886
: """ I opened this bug a while ago but that was closed as a duplicate of the 'Flatpak is broken' bug. However, this does not seem to be a symptom of the WebKit being updated while the app is running. I am able to reliably reproduce by: 1. Go to reddit.com and open a post 2. Use 2 fingers on a touchpad to zoom in 3. Try to anything else 4. The page would hang and soon crash Epiphany Tech Preview 45.0-73-gce94d4cd5+/ WebKitGTK 2.43.3 """
Adrian Vovk
Comment 4
2024-03-19 21:52:24 PDT
Epiphany 45.2 (Flatpak) WebKitGTK 2.44.0 GStreamer 1.22.10 After updating Epiphany, I started experiencing this bug. Same symptoms: zoom in w/ trackpad gesture -> frozen tab and (ultimately) frozen epiphany -> crash of tab & (most of the time) I have to kill epiphany and restart it. Here's the invalid message, from the system log: org.gnome.Epiphany.desktop[30686]: Received invalid message: 'DrawingArea_CommitTransientZoom' That's the only thing printed when I trigger the bug. What follows is a SIGABRT. I made sure to completely kill the Epiphany flatpak before reproducing the bug
Adrian Vovk
Comment 5
2024-03-19 21:59:03 PDT
Some clarifications on the behavior: - I can reproduce on any website, not just Reddit - It freezes immediately after I let go of the pinch-to-zoom gesture. Confirmed by trying to pinch-to-zoom on a page with a GIF on it. While I'm in the middle of the gesture I can pinch in/out no problem. It's just when I let go. This seems to track with the name of the missing message
Michael Catanzaro
Comment 6
2024-03-20 07:45:45 PDT
(In reply to Adrian Vovk from
comment #4
)
> Here's the invalid message, from the system log: > org.gnome.Epiphany.desktop[30686]: Received invalid message: > 'DrawingArea_CommitTransientZoom'
Hey Kdwk, can you confirm you see this invalid message please? I assume so, since your reproducer involves zooming.
Kdwk
Comment 7
2024-03-20 07:46:53 PDT
I can confirm
Philippe Normand
Comment 8
2024-03-23 07:33:02 PDT
***
Bug 271516
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 9
2024-03-23 07:40:57 PDT
Might be a regression introduced by
https://commits.webkit.org/272128@main
... The message was made async but Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp wasn't adapted accordingly (should use `sendWithAsyncReply()` instead of `send()`, iiuc).
Philippe Normand
Comment 10
2024-03-23 09:17:45 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/26372
EWS
Comment 11
2024-03-24 02:54:32 PDT
Committed
276608@main
(7e81143103b9): <
https://commits.webkit.org/276608@main
> Reviewed commits have been landed. Closing PR #26372 and removing active labels.
Kdwk
Comment 12
2024-03-24 05:04:59 PDT
Unfortunately this issue is not fixed by the PR.
Philippe Normand
Comment 13
2024-03-24 05:30:32 PDT
(In reply to Kdwk from
comment #12
)
> Unfortunately this issue is not fixed by the PR.
I tested it here in MiniBrowser before submitting the PR. Is the crash the same?
Kdwk
Comment 14
2024-03-24 05:31:43 PDT
Yes, the crash is the same
Philippe Normand
Comment 15
2024-03-24 05:41:54 PDT
Works fine here, I can now pinch-zoom without any trouble... on reddit or anywhere. shrug :)
Adrian Perez
Comment 16
2024-03-25 07:25:29 PDT
I have backported the fix to the 2.44 release branch, it will be part of the 2.44.1 release.
Michael Catanzaro
Comment 17
2024-03-27 08:31:07 PDT
(In reply to Kdwk from
comment #12
)
> Unfortunately this issue is not fixed by the PR.
Discussed on Matrix and determined something is wrong with Kdwk's build. This is fixed.
Michael Catanzaro
Comment 18
2024-03-29 19:30:09 PDT
***
Bug 271466
has been marked as a duplicate of this bug. ***
Michael Catanzaro
Comment 19
2024-04-18 12:35:17 PDT
***
Bug 272905
has been marked as a duplicate of this bug. ***
Bret Joseph
Comment 20
2024-06-14 22:15:58 PDT
I am still experiencing this of Ubuntu Noble Numbat (development branch) libwebkitgtk-6.0.so.4.5.4
Philippe Normand
Comment 21
2024-06-15 02:55:32 PDT
(In reply to Bret Joseph from
comment #20
)
> I am still experiencing this of Ubuntu Noble Numbat (development branch) > > libwebkitgtk-6.0.so.4.5.4
Please check if you have this version: 2.44.2-0ubuntu0.24.04.1
Bret Joseph
Comment 22
2024-06-15 03:10:43 PDT
(In reply to Philippe Normand from
comment #21
)
> (In reply to Bret Joseph from
comment #20
) > > I am still experiencing this of Ubuntu Noble Numbat (development branch) > > > > libwebkitgtk-6.0.so.4.5.4 > > Please check if you have this version: 2.44.2-0ubuntu0.24.04.1
Yes I have 2.44.2-0ubuntu0.24.04.1
Bret Joseph
Comment 23
2024-06-15 03:16:17 PDT
Actually updated and upgraded maybe I had previous version. It seems I might have been using an updated version
Philippe Normand
Comment 24
2024-06-15 03:19:16 PDT
So it works now?
Bret Joseph
Comment 25
2024-06-15 03:34:28 PDT
(In reply to Philippe Normand from
comment #24
)
> So it works now?
yes its working fine
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