Launchpad has imported 13 comments from the remote bug at
https://bugs.webkit.org/show_bug.cgi?id=238244.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2022-03-23T05:43:23+00:00 Adrian Vovk wrote:

In a recent mass upgrade in my distro, I upgraded WebKitGTK to 2.36.0
(among other packages). I'm now finding that the webview is blank in all
the apps that use it (epiphany, Yelp). The web inspector shows up fine,
and when I move the cursor around the screen it changes as if it were
hovering over the actual web content. Running either yelp or epiphany
with WEBKIT_DISABLE_COMPOSITING_MODE=1 makes the webviews work correctly
again, so I suspect this is an issue with the accelerated hardware
compositing. Not sure what libraries are involved with that, so I don't
know which versions to give you. I'm happy to provide whatever you need
to track down the bug!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/0

------------------------------------------------------------------------
On 2022-03-23T05:54:55+00:00 Adrian Vovk wrote:

Not sure if this is related, but when I start epiphany w/o the
environment variable, I get this warning and xdg-desktop-portal
segfaults while trying to handle MakeThreadRealtimeWithPID

$ epiphany 
(WebKitWebProcess:2): Gdk-WARNING **: 01:48:32.563: Failed to read portal 
settings: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is 
not activatable
(WebKitWebProcess:2): Gdk-WARNING **: 01:48:32.563: Failed to read portal 
settings: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is 
not activatable

when the environment variable is set, the crash still seems to happen,
but the warning becomes hit-or-miss (either happening once or none at
all) and epiphany starts rendering webpages correctly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/1

------------------------------------------------------------------------
On 2022-03-23T13:42:19+00:00 Pgriffis wrote:

> I get this warning and xdg-desktop-portal segfaults while trying to
handle MakeThreadRealtimeWithPID

You need `xdg-desktop-portal` 1.12.2 or 1.14.0 to fix that.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/2

------------------------------------------------------------------------
On 2022-03-23T13:54:11+00:00 Michael Catanzaro wrote:

(In reply to Adrian Vovk from comment #0)
> Running either yelp or epiphany with
> WEBKIT_DISABLE_COMPOSITING_MODE=1 makes the webviews work correctly again,
> so I suspect this is an issue with the accelerated hardware compositing. 

I agree.

> Not
> sure what libraries are involved with that, so I don't know which versions
> to give you. I'm happy to provide whatever you need to track down the bug!

Try loading webkit://gpu and paste the output here. The flaw in this
plan is that it probably won't load unless you use
WEBKIT_DISABLE_COMPOSITING_MODE=1, which will impact the results it
shows, but we'll just have to keep that in mind.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/3

------------------------------------------------------------------------
On 2022-03-23T16:27:10+00:00 Adrian Vovk wrote:

> You need `xdg-desktop-portal` 1.12.2 or 1.14.0 to fix that.

I'm using xdg-desktop-portal 1.14.1

> Try loading webkit://gpu and paste the output here

This causes epiphany to segfault, no matter if the environment variable
is set. Here's the backtrace of this crash:

#0  0x00007f9f4c1b534e 
_ZN6WebKit21WebKitProtocolHandler9handleGPUEP23_WebKitURISchemeRequest 
(libwebkit2gtk-4.0.so.37 + 0xba634e)
#1  0x00007f9f4c1b57ab 
_ZN6WebKit21WebKitProtocolHandler13handleRequestEP23_WebKitURISchemeRequest 
(libwebkit2gtk-4.0.so.37 + 0xba67ab)
#2  0x00007f9f4c1cf69e 
_ZN22WebKitURISchemeHandler17platformStartTaskERN6WebKit12WebPageProxyERNS0_16WebURLSchemeTaskE
 (libwebkit2gtk-4.0.so.37 + 0xbc069e)
#3  0x00007f9f4c119a50 
_ZN6WebKit12WebPageProxy24startURLSchemeTaskSharedEON3WTF3RefINS_15WebProcessProxyENS1_12RawPtrTraitsIS3_EEEENS1_16ObjectIdentifierIN7WebCore18PageIdentifierT>
#4  0x00007f9f4c119b3a 
_ZN6WebKit12WebPageProxy18startURLSchemeTaskEONS_23URLSchemeTaskParametersE 
(libwebkit2gtk-4.0.so.37 + 0xb0ab3a)
#5  0x00007f9f4bdac8f3 
_ZN3IPC13handleMessageIN8Messages12WebPageProxy18StartURLSchemeTaskEN6WebKit12WebPageProxyEMS5_FvONS4_23URLSchemeTaskParametersEEEEvRNS_10ConnectionERNS_7Deco>
#6  0x00007f9f4bd9f404 
_ZN6WebKit12WebPageProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE 
(libwebkit2gtk-4.0.so.37 + 0x790404)
#7  0x00007f9f4c01868b 
_ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE 
(libwebkit2gtk-4.0.so.37 + 0xa0968b)
#8  0x00007f9f4c0cf4d0 
_ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE
 (libwebkit2gtk-4.0.so.37 + 0xac04d0)
#9  0x00007f9f4c010fe5 
_ZN3IPC10Connection15dispatchMessageESt10unique_ptrINS_7DecoderESt14default_deleteIS2_EE
 (libwebkit2gtk-4.0.so.37 + 0xa01fe5)
#10 0x00007f9f4c0131c9 _ZN3IPC10Connection24dispatchIncomingMessagesEv 
(libwebkit2gtk-4.0.so.37 + 0xa041c9)
#11 0x00007f9f4b24c98d _ZN3WTF7RunLoop11performWorkEv 
(libjavascriptcoregtk-4.0.so.18 + 0x136298d)
#12 0x00007f9f4b2acc5d _ZZN3WTF7RunLoopC4EvENUlPvE_4_FUNES1_ 
(libjavascriptcoregtk-4.0.so.18 + 0x13c2c5d)
#13 0x00007f9f4b2ad64d _ZN3WTF7RunLoopUlP8_GSourcePFiPvES3_E_4_FUNES2_S5_S3_ 
(libjavascriptcoregtk-4.0.so.18 + 0x13c364d)
#14 0x00007f9f4f89f17c g_main_context_dispatch (libglib-2.0.so.0 + 0x5717c)
#15 0x00007f9f4f8f5a98 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 
0xada98)
#16 0x00007f9f4f89c824 g_main_context_iteration (libglib-2.0.so.0 + 0x54824)
#17 0x00007f9f4fac5b3d g_application_run (libgio-2.0.so.0 + 0xe7b3d)
#18 0x000055621937601f main (epiphany + 0x501f)
#19 0x00007f9f4f50874a n/a (libc.so.6 + 0x2d74a)
#20 0x00007f9f4f508806 __libc_start_main (libc.so.6 + 0x2d806)
#21 0x0000556219376335 _start (epiphany + 0x5335)

However, I can still give you all the version numbers it would give

WebKit version: 2.36.0 (tarball)
Operating system (uname -a): Linux adrians-macbook 5.16.16-mainline #1 SMP 
PREEMPT Mon Mar 21 19:34:18 UTC 2022 x86_64 GNU/Linux
Desktop ($XDG_CURRENT_DESKTOP): graphite:Wayfire:GNOME
Cairo version: 1.16.0
GStreamer version: 1.20.1
GTK version: 3.24.33
libwpe version: 1.12.0
wpebackend-fdo version: 1.12.0
Mesa version: 22.0.0
GL renderer: Mesa Intel(R) Iris(R) Graphics 6100 (BDW GT3)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/4

------------------------------------------------------------------------
On 2022-03-23T17:07:01+00:00 Michael Catanzaro wrote:

(In reply to Adrian Vovk from comment #4)
> This causes epiphany to segfault, no matter if the environment variable is
> set. Here's the backtrace of this crash:

Uh... might be related, could you post a backtrace with `bt full`
please? Then we can decide whether it requires a separate bug report or
not.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/5

------------------------------------------------------------------------
On 2022-03-23T17:54:47+00:00 Adrian Vovk wrote:

> post a backtrace with `bt full`

Sure! Here it is

(gdb) bt full
#0  0x00007ffff3c5734e in 
WebKit::WebKitProtocolHandler::handleGPU(_WebKitURISchemeRequest*) () at 
/usr/lib/libwebkit2gtk-4.0.so.37
#1  0x00007ffff3c577ab in 
WebKit::WebKitProtocolHandler::handleRequest(_WebKitURISchemeRequest*) () at 
/usr/lib/libwebkit2gtk-4.0.so.37
#2  0x00007ffff3c7169e in 
WebKitURISchemeHandler::platformStartTask(WebKit::WebPageProxy&, 
WebKit::WebURLSchemeTask&) () at /usr/lib/libwebkit2gtk-4.0.so.37
#3  0x00007ffff3bbba50 in 
WebKit::WebPageProxy::startURLSchemeTaskShared(WTF::Ref<WebKit::WebProcessProxy,
 WTF::RawPtrTraits<WebKit::WebProcessProxy> >&&, 
WTF::ObjectIdentifier<WebCore::PageIdentifierType>, 
WebKit::URLSchemeTaskParameters&&) () at /usr/lib/libwebkit2gtk-4.0.so.37
#4  0x00007ffff3b42cf0 in 
WebKit::ProvisionalPageProxy::startURLSchemeTask(WebKit::URLSchemeTaskParameters&&)
 () at /usr/lib/libwebkit2gtk-4.0.so.37
#5  0x00007ffff3b4d62f in void 
IPC::handleMessage<Messages::WebPageProxy::StartURLSchemeTask, 
WebKit::ProvisionalPageProxy, void 
(WebKit::ProvisionalPageProxy::*)(WebKit::URLSchemeTaskParameters&&)>(IPC::Connection&,
 IPC::Decoder&, WebKit::ProvisionalPageProxy*, void 
(WebKit::ProvisionalPageProxy::*)(WebKit::URLSchemeTaskParameters&&)) () at 
/usr/lib/libwebkit2gtk-4.0.so.37
#6  0x00007ffff3aba68b in 
IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) () at 
/usr/lib/libwebkit2gtk-4.0.so.37
#7  0x00007ffff3b714d0 in 
WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) () 
at /usr/lib/libwebkit2gtk-4.0.so.37
#8  0x00007ffff3ab2fe5 in 
IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, 
std::default_delete<IPC::Decoder> >) ()
--Type <RET> for more, q to quit, c to continue without paging--
   o.37
#9  0x00007ffff3ab51c9 in IPC::Connection::dispatchIncomingMessages() () at 
/usr/lib/libwebkit2gtk-4.0.so.37
#10 0x00007ffff2cee98d in WTF::RunLoop::performWork() () at 
/usr/lib/libjavascriptcoregtk-4.0.so.18
#11 0x00007ffff2d4ec5d in 
WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () at 
/usr/lib/libjavascriptcoregtk-4.0.so.18
#12 0x00007ffff2d4f64d in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), 
void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () at 
/usr/lib/libjavascriptcoregtk-4.0.so.18
#13 0x00007ffff734117c in g_main_context_dispatch () at 
/usr/lib/libglib-2.0.so.0
#14 0x00007ffff7397a98 in g_main_context_iterate.constprop () at 
/usr/lib/libglib-2.0.so.0
#15 0x00007ffff733e824 in g_main_context_iteration () at 
/usr/lib/libglib-2.0.so.0
#16 0x00007ffff7567b3d in g_application_run () at /usr/lib/libgio-2.0.so.0
#17 0x000055555555901f in main ()

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/6

------------------------------------------------------------------------
On 2022-03-23T18:06:35+00:00 Adrian Vovk wrote:

I took a look at the disassembly @ the point of the crash:

   0x00007ffff3c57342 <+882>:   call   0x7ffff53c62a0 
<_ZN7WebCore9GLContext22createOffscreenContextEPNS_15PlatformDisplayE>
   0x00007ffff3c57347 <+887>:   mov    -0x1d0(%rbp),%rdi
=> 0x00007ffff3c5734e <+894>:   mov    (%rdi),%rax
   0x00007ffff3c57351 <+897>:   call   *0x10(%rax)

So it seems to be crashing somewhere between these two lines:
https://github.com/WebKit/WebKit/blob/b65babf43267b620de1c5720a8624e766af525c2/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp#L374-L375

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/7

------------------------------------------------------------------------
On 2022-03-23T18:59:38+00:00 Michael Catanzaro wrote:

I suppose you're hitting bug #201507 and/or bug #233578. I suspect this
bug may be a duplicate of one or the other. Or both.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/8

------------------------------------------------------------------------
On 2022-03-23T20:21:30+00:00 Adrian Vovk wrote:

Not sure what the path forward here is? Those issues don't look super
similar to me, especially since the assembly snippet I've posted seems
to be throwing out the result of createOffscreenContext, dereferencing
some random variable, and calling it as a function. However, I might be
missing something and I'm sure you know better. Do you think those two
bugs are related to the blank webviews? I don't see segfaults then

Additional context: The flatpak'd wip/exalm/gtk4 branch of epiphany
(using the same version of webkitgtk) works perfectly fine on the same
system

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/9

------------------------------------------------------------------------
On 2022-03-23T21:35:24+00:00 Michael Catanzaro wrote:

(In reply to Michael Catanzaro from comment #8)
> I suppose you're hitting bug #201507 and/or bug #233578. I suspect this bug
> may be a duplicate of one or the other. Or both.

I just assumed it's the same because these bugs are related to errors
when causing makeContextCurrent. It's caused multiple crashes in the
past, if you're brave enough to wade through the history of those
bugs....

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/10

------------------------------------------------------------------------
On 2022-03-23T22:03:30+00:00 Michael Catanzaro wrote:

(In reply to Adrian Vovk from comment #9)
> Not sure what the path forward here is?

BTW I don't know either. Needs help from graphics folks.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/11

------------------------------------------------------------------------
On 2022-03-28T10:36:00+00:00 Desktop Rebuild Bot wrote:

The issue also got reported on launchpad for the incoming Ubuntu
https://bugs.launchpad.net/webkit/+bug/1966418

It is only an issue under wayland, login into an x11 session makes
things work again

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1966418/comments/28


** Changed in: webkit
       Status: Unknown => Confirmed

** Changed in: webkit
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to epiphany-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1966418

Title:
  [jammy regression] Evolution does not display message content anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/webkit/+bug/1966418/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to