Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743190 - www-client/vivaldi-3.3.2022.39 - vivaldi: segmentation fault in ? at ?
Summary: www-client/vivaldi-3.3.2022.39 - vivaldi: segmentation fault in ? at ?
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-17 21:01 UTC by Vitaly Zdanevich
Modified: 2020-11-04 22:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Zdanevich 2020-09-17 21:01:30 UTC
$ vivaldi
[24721:24721:0917/235847.754110:ERROR:chrome_content_client.cc(347)] Failed to locate and load the component updated flash plugin.
[24760:24760:0917/235851.475313:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[24721:24775:0917/235852.975751:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[24721:24775:0917/235852.975801:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[24721:24809:0917/235854.971893:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[24721:24809:0917/235854.972126:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[24721:24809:0917/235854.972346:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
[24721:24721:0917/235856.662207:ERROR:vivaldi_ui_web_contents_delegate.cc(41)] UI Process abnormally terminates with status 3 after running for 1.64501 seconds!
[24721:24721:0917/235856.916654:ERROR:vivaldi_ui_web_contents_delegate.cc(72)] Quiting Vivaldi
Segmentation fault

x86
Vivaldi 3.3.2022.39






$ emerge --info:
Portage 3.0.4 (python 3.7.8-final-0, default/linux/x86/17.0/desktop, gcc-9.3.0, glibc-2.31-r6, 5.4.48-gentoo-my-custom-kernel+ i686)
=================================================================
System uname: Linux-5.4.48-gentoo-my-custom-kernel+-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-2.7
KiB Mem:     4591000 total,   1464732 free
KiB Swap:    3905532 total,   3216580 free
Timestamp of repository gentoo: Wed, 09 Sep 2020 17:00:01 +0000
Head commit of repository gentoo: 8ed6d4d6d8f7a066bbcdea8c994373536d434ef9
sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=athlon64 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=athlon64 -pipe"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ https://gentoo-mirror.alexxy.name/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli crypt dav1d dbus dri dts dvd elogind emboss encode exif flac flickr fortran gdbm geolocation gif gles2 gpm gtk gui iconv icu inspector ipv6 jpeg lcms ldap libglvnd libnotify libtirpc mad minizip mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp ozone pam pango pcre pdf png policykit ppds readline sdl seccomp spell split-usr ssl startup-notification svg system-icu tcpd tiff truetype udev udisks unicode upower usb vorbis vpx wayland webp wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonas Stein gentoo-dev 2020-09-18 18:01:35 UTC
we have www-client/vivaldi-3.3.2022.45_p1
in the tree.
Your client wrote "Vivaldi 3.3.2022.39"

Please try an update first.
Comment 2 Stephan Hartmann gentoo-dev 2020-09-18 19:03:24 UTC
Chromium based browser don't work with glibc-2.31 on x86. glibc-2.31 introduced clock_gettime64 and clock_nanosleep_time64 syscalls that are not whitelisted in chromium's seccomp sandbox. Don't know if Vivaldi will patch this, but so far no patch landed in chromium so far.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-19 07:36:17 UTC
Please report this upstream.


https://vivaldi.com/bugreport/
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-19 08:20:45 UTC
> ../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403

I just tried running vivaldi over SSH X11 Forwarding on an x86 with sys-libs/glibc-2.31-r6. The output above is not fatal in my case, so comment #2 is unrelated.

Without any arguments it simply quits:


$ vivaldi-stable
[31345:31345:0919/101459.737466:ERROR:chrome_content_client.cc(347)] Failed to locate and load the component updated flash plugin.
[31375:31375:0919/101459.913197:ERROR:angle_platform_impl.cc(43)] initialize(795): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL
[31375:31375:0919/101459.914094:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL
[31375:31375:0919/101459.922730:ERROR:gl_surface_egl.cc(1247)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[31375:31375:0919/101459.926186:ERROR:angle_platform_impl.cc(43)] initialize(795): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL
[31375:31375:0919/101459.926602:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL
[31375:31375:0919/101459.927148:ERROR:gl_surface_egl.cc(1247)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[31375:31375:0919/101459.927805:ERROR:gl_initializer_linux_x11.cc(160)] GLSurfaceEGL::InitializeOneOff failed.
[31375:31375:0919/101459.951752:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
[31345:31379:0919/101459.971322:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[31345:31379:0919/101459.971411:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
../../chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0403
[31345:31420:0919/101500.477875:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[31345:31420:0919/101500.479261:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[31345:31420:0919/101500.482394:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[31345:31345:0919/101500.528371:ERROR:vivaldi_ui_web_contents_delegate.cc(41)] UI Process abnormally terminates with status 3 after running for 0.351314 seconds!
[31345:31345:0919/101500.543721:ERROR:vivaldi_ui_web_contents_delegate.cc(72)] Quiting Vivaldi

When I disable X shared memory and sandboxing, it runs slowly but otherwise just fine:

$ vivaldi-stable --no-xshm --no-sandbox
[31443:31443:0919/101524.288789:ERROR:chrome_content_client.cc(347)] Failed to locate and load the component updated flash plugin.
[31469:31469:0919/101524.467132:ERROR:angle_platform_impl.cc(43)] initialize(795): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL
[31469:31469:0919/101524.471258:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL
[31469:31469:0919/101524.471983:ERROR:gl_surface_egl.cc(1247)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[31469:31469:0919/101524.480305:ERROR:angle_platform_impl.cc(43)] initialize(795): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL
[31469:31469:0919/101524.481230:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL
[31469:31469:0919/101524.481728:ERROR:gl_surface_egl.cc(1247)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[31469:31469:0919/101524.482787:ERROR:gl_initializer_linux_x11.cc(160)] GLSurfaceEGL::InitializeOneOff failed.
[31443:31473:0919/101524.494177:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[31443:31473:0919/101524.494271:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[31469:31469:0919/101524.504126:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
[31443:31508:0919/101524.967399:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[31443:31508:0919/101524.969657:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[31443:31508:0919/101524.971729:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[31443:31443:0919/101531.333620:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: no reply", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/browser.html (0)
[31443:31443:0919/101543.115567:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/browser.html (0)
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-19 08:23:31 UTC
Actually, --disable-seccomp-filter-sandbox should be enough.
Comment 6 Stephan Hartmann gentoo-dev 2020-09-19 08:40:20 UTC
(In reply to Jeroen Roovers from comment #5)
> Actually, --disable-seccomp-filter-sandbox should be enough.

Yea, that is a possible workaround, but huge security risk (therefore did not mention it here).
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-19 09:54:30 UTC
(In reply to Stephan Hartmann from comment #6)
> (In reply to Jeroen Roovers from comment #5)
> > Actually, --disable-seccomp-filter-sandbox should be enough.
> 
> Yea, that is a possible workaround, but huge security risk (therefore did
> not mention it here).

But again, nothing, absolutely nothing, indicates a causal relation between seccomp (filtering) and the segmentation fault reported here, so please stop hammering that nail.
Comment 8 Vitaly Zdanevich 2020-09-21 16:24:11 UTC
Works for me with --disable-seccomp-filter-sandbox, but what is the security risk with it? Firefox is my primary browser, but sometimes I need to check CSS in Chromium.