Bug#999358: libwebkit2gtk-4.0-37: Upgrade from 2.30.1-1~bpo10+1 to 2.34.1-1~deb10u1 crashes evolution with "std::bad_alloc"

Norbert Berzen norbert at berzen.eu
Thu Nov 11 13:27:36 GMT 2021


Dear Berto,

first, sorry for me replying this late!

> Does it always happen, or do you have a way to reproduce it?

Yes, it happens always.

> Better if
> you can install the debug packages from this repository:
> 
> deb http://debug.mirrors.debian.org/debian-debug/ buster-debug main
> 

The repo you mentioned does only contain "libwebkit2gtk-4.0-37-dbgsym"
of old version "2.32.4-1~deb10u1" which depends on "libwebkit2gtk-4.0-
37" with the >>very same old version<<.

But the current problematic [buster security] version of
"libwebkit2gtk-4.0-37" is version "2.34.1-1~deb10u1".
I don't know of any repo containing dbg symbols for version "2.34.1-
1~deb10u1".

> If you can send me a backtrace with gdb I'd appreciate it.

Just I see the exception is comming out of "libjavascriptcoregtk"
instead of "libwebkit2gtk", but anyway the problem remains:
Here the backtrace follows ...

Thread 1 "evolution" received signal SIGABRT, Aborted.
0x00007ffff38127bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff38127bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff37fd535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff27477fc in __gnu_cxx::__verbose_terminate_handler () at
/home/norbert/DEVEL/gcc-x.y.z/gcc-10.2.0/libstdc++-
v3/libsupc++/vterminate.cc:95
#3  0x00007ffff2752896 in __cxxabiv1::__terminate (handler=<optimized
out>) at /home/norbert/DEVEL/gcc-x.y.z/gcc-10.2.0/libstdc++-
v3/libsupc++/eh_terminate.cc:48
#4  0x00007ffff2752901 in std::terminate () at /home/norbert/DEVEL/gcc-
x.y.z/gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:58
#5  0x00007ffff2752b94 in __cxxabiv1::__cxa_throw (obj=<optimized out>,
tinfo=0x7ffff286aea0 <typeinfo for std::bad_alloc>, dest=0x7ffff2751000
<std::bad_alloc::~bad_alloc()>) at /home/norbert/DEVEL/gcc-x.y.z/gcc-
10.2.0/libstdc++-v3/libsupc++/eh_throw.cc:95
#6  0x00007ffff2749f1f in std::__throw_bad_alloc () at
/home/norbert/DEVEL/gcc-x.y.z/gcc-10.2.0/libstdc++-
v3/src/c++11/functexcept.cc:54
#7  0x00007ffff103a53c in
WTF::FileSystemImpl::pathByAppendingComponent(WTF::String const&,
WTF::String const&) () from /lib/x86_64-linux-gnu/libjavascriptcoregtk-
4.0.so.18
#8  0x00007ffff47d1eaf in ?? () from /lib/x86_64-linux-
gnu/libwebkit2gtk-4.0.so.37
#9  0x00007ffff47d1f3b in ?? () from /lib/x86_64-linux-
gnu/libwebkit2gtk-4.0.so.37
#10 0x00007ffff47bcbeb in ?? () from /lib/x86_64-linux-
gnu/libwebkit2gtk-4.0.so.37
#11 0x00007ffff4745541 in ?? () from /lib/x86_64-linux-
gnu/libwebkit2gtk-4.0.so.37
#12 0x00007ffff472e394 in ?? () from /lib/x86_64-linux-
gnu/libwebkit2gtk-4.0.so.37
#13 0x00007ffff473aeb7 in ?? () from /lib/x86_64-linux-
gnu/libwebkit2gtk-4.0.so.37
#14 0x00007ffff3b7de4d in ?? () from /usr/lib/evolution/libevolution-
util.so.0
#15 0x00007fffe828988a in ?? () from /usr/lib/evolution/libevolution-
mail.so.0
#16 0x00007ffff73bbc0a in ?? () from /lib/x86_64-linux-gnu/libgobject-
2.0.so.0
#17 0x00007ffff73bd3e4 in g_object_new_valist () from /lib/x86_64-
linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff73bd719 in g_object_new () from /lib/x86_64-linux-
gnu/libgobject-2.0.so.0
#19 0x00007fffe829981f in ?? () from /usr/lib/evolution/libevolution-
mail.so.0
#20 0x00007ffff73bb793 in ?? () from /lib/x86_64-linux-gnu/libgobject-
2.0.so.0
#21 0x00007ffff73bd3e4 in g_object_new_valist () from /lib/x86_64-
linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff73bd719 in g_object_new () from /lib/x86_64-linux-
gnu/libgobject-2.0.so.0
#23 0x00007fffe1cd3d4a in ?? () from /usr/lib/evolution/modules/module-
mail.so
#24 0x00007ffff73bb793 in ?? () from /lib/x86_64-linux-gnu/libgobject-
2.0.so.0
#25 0x00007ffff73bd3e4 in g_object_new_valist () from /lib/x86_64-
linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff73bd719 in g_object_new () from /lib/x86_64-linux-
gnu/libgobject-2.0.so.0
#27 0x00007ffff7fb38f8 in ?? () from /usr/lib/evolution/libevolution-
shell.so.0
#28 0x00007fffe1cd73db in ?? () from /usr/lib/evolution/modules/module-
mail.so
#29 0x00007ffff73bb793 in ?? () from /lib/x86_64-linux-gnu/libgobject-
2.0.so.0
#30 0x00007ffff73bd3e4 in g_object_new_valist () from /lib/x86_64-
linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff73bd719 in g_object_new () from /lib/x86_64-linux-
gnu/libgobject-2.0.so.0
#32 0x00007ffff7fb6546 in ?? () from /usr/lib/evolution/libevolution-
shell.so.0
#33 0x00007ffff7fb5edc in e_shell_window_get_shell_view () from
/usr/lib/evolution/libevolution-shell.so.0
#34 0x00007ffff7fb6e22 in e_shell_window_set_active_view () from
/usr/lib/evolution/libevolution-shell.so.0
#35 0x00007ffff7fb7a26 in ?? () from /usr/lib/evolution/libevolution-
shell.so.0
#36 0x00007ffff73bd990 in g_object_setv () from /lib/x86_64-linux-
gnu/libgobject-2.0.so.0
#37 0x00007ffff73be8de in g_object_set_property () from /lib/x86_64-
linux-gnu/libgobject-2.0.so.0
#38 0x00007ffff74e012e in ?? () from /lib/x86_64-linux-gnu/libgio-
2.0.so.0
#39 0x00007ffff74e3691 in g_settings_bind_with_mapping () from
/lib/x86_64-linux-gnu/libgio-2.0.so.0
#40 0x00007ffff74e39ca in g_settings_bind () from /lib/x86_64-linux-
gnu/libgio-2.0.so.0
#41 0x00007ffff7fb938b in e_shell_window_private_constructed () from
/usr/lib/evolution/libevolution-shell.so.0
#42 0x00007ffff7fb581c in ?? () from /usr/lib/evolution/libevolution-
shell.so.0
#43 0x00007ffff73bb793 in ?? () from /lib/x86_64-linux-gnu/libgobject-
2.0.so.0
#44 0x00007ffff73bd3e4 in g_object_new_valist () from /lib/x86_64-
linux-gnu/libgobject-2.0.so.0
#45 0x00007ffff73bd719 in g_object_new () from /lib/x86_64-linux-
gnu/libgobject-2.0.so.0
#46 0x00007ffff7fb590b in e_shell_window_new () from
/usr/lib/evolution/libevolution-shell.so.0
#47 0x00007ffff7fa589d in e_shell_create_shell_window () from
/usr/lib/evolution/libevolution-shell.so.0
#48 0x000055555555916f in ?? ()
#49 0x00007ffff72d3e98 in g_main_context_dispatch () from /lib/x86_64-
linux-gnu/libglib-2.0.so.0
#50 0x00007ffff72d4288 in ?? () from /lib/x86_64-linux-gnu/libglib-
2.0.so.0
#51 0x00007ffff72d4582 in g_main_loop_run () from /lib/x86_64-linux-
gnu/libglib-2.0.so.0
#52 0x00007ffff786eb15 in gtk_main () from /lib/x86_64-linux-
gnu/libgtk-3.so.0
#53 0x0000555555558f0e in main ()

-- 
Norbert

-----Original Message-----
From: Alberto Garcia <berto at igalia.com>
To: debian-reportbugs at dymonix.de, 999358 at bugs.debian.org
Subject: Re: Bug#999358: libwebkit2gtk-4.0-37: Upgrade from 2.30.1-
1~bpo10+1 to 2.34.1-1~deb10u1 crashes evolution with "std::bad_alloc"
Date: Wed, 10 Nov 2021 18:23:43 +0100

Control: tags -1 moreinfo

On Wed, Nov 10, 2021 at 01:47:19PM +0100, Norbert Berzen wrote:
> I recently upgraded libwebkit2gtk-4.0-37 from version
> 2.30.1-1~bpo10+1 to version 2.34.1-1~deb10u1 as suggested for
> security.
> 
> After upgrade my evolution mail client crashed immediately after
> startup by "std::bad_alloc".

Hello, I'm trying here with Evolution 3.30.5 and webkitgtk
2.34.1-1~deb10u1 and I cannot reproduce the crash.

Does it always happen, or do you have a way to reproduce it?

If you can send me a backtrace with gdb I'd appreciate it. Better if
you can install the debug packages from this repository:

deb http://debug.mirrors.debian.org/debian-debug/ buster-debug main

Thanks!

Berto



More information about the Pkg-webkit-maintainers mailing list