Evolution segfaults when trying to show the oauth screen for gmail

Bug #1961770 reported by Martin
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I tried to add my gmail account to Evolution. It now segfaults on launch, without any user interaction, when it tries to show the "Google Mail authentication request" screen. The segfault seems to be caused by loading the oauth authentication web page with webkitgtk.

Here's a stack trace from GDB (Note: Even though I have installed the libwebkit2gtk-4.0-37-dbgsym package, the stack frames in libwebkit2gtk-4.0.so.37 aren't properly symbolized for some reason):

Thread 1 "evolution" received signal SIGSEGV, Segmentation fault.
0x00007ffff3e3afeb in ?? () from /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
(gdb) bt
#0 0x00007ffff3e3afeb in () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#1 0x00007ffff3e3b971 in () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#2 0x00007ffff1c3be2e in ffi_call_unix64 () at ../src/x86/unix64.S:105
#3 0x00007ffff1c38493 in ffi_call_int (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:672
#4 0x00007fffef38d2c0 in wl_closure_invoke (closure=closure@entry=0x555556a8e430, target=<optimized out>, target@entry=0x5555555d6c00, opcode=opcode@entry=6, data=<optimized out>, data@entry=0x55555676db20, flags=<optimized out>) at ../src/connection.c:1025
#5 0x00007fffef3914c4 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x55555676db20) at ../src/wayland-server.c:437
#6 0x00007fffef38ff4a in wl_event_loop_dispatch (loop=0x555556015740, timeout=<optimized out>) at ../src/event-loop.c:1027
#7 0x00007ffff3e3ad23 in () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#8 0x00007ffff7155c9b in g_main_dispatch (context=0x5555555d0080) at ../../../glib/gmain.c:3413
#9 g_main_context_dispatch (context=0x5555555d0080) at ../../../glib/gmain.c:4131
#10 0x00007ffff71aa248 in g_main_context_iterate.constprop.0 (context=0x5555555d0080, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4207
#11 0x00007ffff7155223 in g_main_loop_run (loop=0x5555566dd150) at ../../../glib/gmain.c:4405
#12 0x00007ffff768fa87 in gtk_dialog_run () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#13 0x00007ffff6a7dd0f in e_credentials_prompter_impl_oauth2_show_dialog (prompter_oauth2=0x55555566d8d0) at ./src/libedataserverui/e-credentials-prompter-impl-oauth2.c:926
#14 e_credentials_prompter_impl_oauth2_manage_dialog_idle_cb (user_data=0x55555566d8d0) at ./src/libedataserverui/e-credentials-prompter-impl-oauth2.c:992
#15 e_credentials_prompter_impl_oauth2_manage_dialog_idle_cb (user_data=0x55555566d8d0) at ./src/libedataserverui/e-credentials-prompter-impl-oauth2.c:971
#16 0x00007ffff7155ba4 in g_main_dispatch (context=0x5555555d0080) at ../../../glib/gmain.c:3413
#17 g_main_context_dispatch (context=0x5555555d0080) at ../../../glib/gmain.c:4131
#18 0x00007ffff71aa248 in g_main_context_iterate.constprop.0 (context=0x5555555d0080, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4207
#19 0x00007ffff7155223 in g_main_loop_run (loop=0x555555d26020) at ../../../glib/gmain.c:4405
#20 0x00007ffff7723c0d in gtk_main () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#21 0x000055555555972c in main (argc=<optimized out>, argv=<optimized out>) at ./src/shell/main.c:685

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: evolution 3.42.3-1
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu77
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 22 12:28:08 2022
InstallationDate: Installed on 2021-06-10 (256 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: evolution
UpgradeStatus: Upgraded to jammy on 2022-01-02 (50 days ago)

Revision history for this message
Martin (martid0311) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evolution (Ubuntu):
status: New → Confirmed
Revision history for this message
o.walbert (o-walbert) wrote :

I see the same segfault. But it only happens in Wayland. Evolution in Xorg does not crash.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.