Zenity crash in libjavascriptcoregtk Gigacage::ensureGigacage()

Bug #1755512 reported by tachiorz on 2018-03-13
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
webkit2gtk (Ubuntu)
Undecided
Unassigned
zenity (Ubuntu)
Undecided
Unassigned

Bug Description

This looks similar to https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/1751460

zenity 3.27.90-1 , libjavascriptcoregtk-4.0-18 2.19.92-1

Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04

Doesn't run, crashes immediately.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
FATAL: Could not allocate gigacage memory with maxAlignment = 34359738368, totalSize = 120259084288.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffed9580b8 in ?? () from /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
(gdb) bt
#0 0x00007fffed9580b8 in () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#1 0x00007ffff33f7827 in __pthread_once_slow (once_control=0x7fffedbbf02c, init_routine=0x7fffe8c38490 <__once_proxy>)
    at pthread_once.c:116
#2 0x00007fffed95793d in Gigacage::ensureGigacage() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#3 0x00007fffed958831 in bmalloc::Heap::Heap(bmalloc::HeapKind, std::lock_guard<bmalloc::StaticMutex>&) ()
    at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#4 0x00007fffed956640 in bmalloc::PerProcess<bmalloc::PerHeapKind<bmalloc::Heap> >::getSlowCase() ()
    at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#5 0x00007fffed956304 in bmalloc::Cache::Cache(bmalloc::Hhttps://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/1751460eapKind) ()
    at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#6 0x00007fffed956726 in bmalloc::PerThread<bmalloc::PerHeapKind<bmalloc::Cache> >::getSlowCase() ()
    at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#7 0x00007fffed9563af in bmalloc::Cache::allocateSlowCaseNullCache(bmalloc::HeapKind, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#8 0x00007fffed93ba86 in WTF::StringImpl::createFromLiteral(char const*, unsigned int) ()
    at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#9 0x00007fffed93bb11 in WTF::StringImpl::createFromLiteral(char const*) ()
    at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#10 0x00007fffed947ef0 in WTF::String::String(WTF::ASCIILiteral) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#11 0x00007ffff3b48297 in () at /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#12 0x00007ffff7de5733 in call_init (env=0x7fffffffdee8, argv=0x7fffffffded8, argc=1, l=<optimized out>) at dl-init.c:72
#13 0x00007ffff7de5733 in _dl_init (main_map=0x7ffff7ffe170, argc=1, argv=0x7fffffffded8, env=0x7fffffffdee8) at dl-init.c:119
#14 0x00007ffff7dd60ca in _dl_start_user () at /lib64/ld-linux-x86-64.so.2
#15 0x0000000000000001 in ()
#16 0x00007fffffffe25d in ()
#17 0x0000000000000000 in ()

tachiorz (tachiorz) wrote :

temp workaround GIGACAGE_ENABLED=no environment variable

affects: deja-dup (Ubuntu) → webkit2gtk (Ubuntu)
tachiorz (tachiorz) wrote :

Cause - limited virtual memory or disabled overcommit.

Launchpad Janitor (janitor) wrote :

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

Changed in webkit2gtk (Ubuntu):
status: New → Confirmed
Changed in zenity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers