Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808859 - sys-kernel/gentoo-sources-5.10.52 with x11-drivers/nvidia-drivers-470.57.02 hangs on starting electron-based app
Summary: sys-kernel/gentoo-sources-5.10.52 with x11-drivers/nvidia-drivers-470.57.02 h...
Status: RESOLVED DUPLICATE of bug 796329
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-18 11:09 UTC by Alex Efros
Modified: 2021-08-19 19:25 UTC (History)
1 user (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 Alex Efros 2021-08-18 11:09:01 UTC
I've tried to run BloomRPC tool (not in portage, electron-based, installed using .deb package https://github.com/uw-labs/bloomrpc/releases/tag/1.5.3) and it immediately result in kernel hang.

I believe this isn't an issue with BloomRPC per se, it's more likely electron/chromium issue with this kernel or nvidia drivers, thus opening issue here too.

2021-08-18_10:52:38.86573 kern.info: SGI_video_sync[9002]: segfault at e6 ip 000055e0aedfd24d sp 00007fa0c766c5c0 error 6 in bloomrpc[55e0ab95f000+53aa000]
2021-08-18_10:52:38.86577 kern.info: Code: 0f 46 d8 89 df e8 43 00 00 00 4c 89 f7 e8 db 01 00 00 41 8b 46 10 41 8b 4e 18 0f b6 c0 c1 e0 0c 0f b6 c9 c1 e1 14 09 c1 09 d9 <c6> 01 00 81 e3 ff 0f 00 00 c6 03 00 bf 01 00 00 00 e8 4d 59 f0 01
2021-08-18_10:52:38.87379 kern.warn: general protection fault, probably for non-canonical address 0x6b6b6b6b00000000: 0000 [#1] PREEMPT SMP PTI
2021-08-18_10:52:38.87381 kern.warn: CPU: 2 PID: 8995 Comm: bloomrpc Tainted: P           O    T 5.10.52-gentoo #21
2021-08-18_10:52:38.87382 kern.warn: Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS ULTRA/X570 AORUS ULTRA, BIOS F34 07/08/2021
2021-08-18_10:52:38.87383 kern.warn: RIP: 0010:_nv035844rm+0xb0/0xe0 [nvidia]
2021-08-18_10:52:38.87384 kern.warn: Code: 89 c2 48 89 ef 48 8d b1 48 01 00 00 4c 89 e9 e8 a6 5b ff ff 66 0f 1f 44 00 00 48 89 ef e8 08 5c ff ff 84 c0 74 8a 48 8b 75 00 <48> 39 5e 08 75 ea 4c 39 26 75 e5 49 8b 44 24 20 48 8d b8 48 01 00
2021-08-18_10:52:38.87385 kern.warn: RSP: 0018:ffffa48084ce7bd8 EFLAGS: 00010202
2021-08-18_10:52:38.87385 kern.warn: RAX: 0000000000000001 RBX: ffffa26f93244030 RCX: ffffa26fa1cde178
2021-08-18_10:52:38.87386 kern.warn: RDX: 6b6b6b6b6b6b6b6b RSI: 6b6b6b6b00000000 RDI: ffffa26fa7625d28
2021-08-18_10:52:38.87387 kern.warn: RBP: ffffa26fa7625d28 R08: 0000000000000020 R09: ffffa26fa7625d30
2021-08-18_10:52:38.87388 kern.warn: R10: 0000000000000000 R11: 0000000000000002 R12: ffffa26f0d4f7f20
2021-08-18_10:52:38.87388 kern.warn: R13: 6b6b6b6b00000000 R14: ffffa26fa7625da0 R15: ffffa26f93244030
2021-08-18_10:52:38.87389 kern.warn: FS:  0000000000000000(0000) GS:ffffa2755ea80000(0000) knlGS:0000000000000000
2021-08-18_10:52:38.87389 kern.warn: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2021-08-18_10:52:38.87390 kern.warn: CR2: 000038244189d000 CR3: 000000056ba0c000 CR4: 0000000000750ee0
2021-08-18_10:52:38.87391 kern.warn: PKRU: 55555554
2021-08-18_10:52:38.87392 kern.warn: Call Trace:
2021-08-18_10:52:38.87392 kern.warn:  ? _nv014655rm+0x2ee/0x770 [nvidia]
2021-08-18_10:52:38.87393 kern.warn:  ? _nv037695rm+0xb3/0x150 [nvidia]
2021-08-18_10:52:38.87393 kern.warn:  ? _nv037694rm+0x297/0x4e0 [nvidia]
2021-08-18_10:52:38.87394 kern.warn:  ? _nv037689rm+0x60/0x70 [nvidia]
2021-08-18_10:52:38.87394 kern.warn:  ? _nv037690rm+0x7b/0xb0 [nvidia]
2021-08-18_10:52:38.87395 kern.warn:  ? _nv036056rm+0x40/0xe0 [nvidia]
2021-08-18_10:52:38.87395 kern.warn:  ? _nv000699rm+0x68/0x80 [nvidia]
2021-08-18_10:52:38.87396 kern.warn:  ? rm_cleanup_file_private+0xea/0x160 [nvidia]
2021-08-18_10:52:38.87396 kern.warn:  ? nvidia_dev_put+0xa60/0xc20 [nvidia]
2021-08-18_10:52:38.87397 kern.warn:  ? nvidia_frontend_close+0x29/0x50 [nvidia]
2021-08-18_10:52:38.87398 kern.warn:  ? __fput+0x95/0x250
2021-08-18_10:52:38.87398 kern.warn:  ? task_work_run+0x57/0x80
2021-08-18_10:52:38.87399 kern.warn:  ? do_exit+0x36d/0xaa0
2021-08-18_10:52:38.87400 kern.warn:  ? do_group_exit+0x34/0xa0
2021-08-18_10:52:38.87400 kern.warn:  ? __x64_sys_exit_group+0xf/0x10
2021-08-18_10:52:38.87401 kern.warn:  ? do_syscall_64+0x33/0x40
2021-08-18_10:52:38.87401 kern.warn:  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
2021-08-18_10:52:38.87402 kern.warn: Modules linked in: vboxnetadp(O) vboxnetflt(O) vboxdrv(O) nvidia_uvm(PO) nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO)
2021-08-18_10:52:38.87402 kern.warn: ---[ end trace 0b9a1fb28b7cbc61 ]---
2021-08-18_10:52:38.88415 kern.warn: ------------[ cut here ]------------
2021-08-18_10:52:38.88416 kern.warn: WARNING: CPU: 2 PID: 8995 at kernel/rcu/tree_plugin.h:297 rcu_note_context_switch+0x3f/0x470
2021-08-18_10:52:38.88417 kern.warn: Modules linked in: vboxnetadp(O) vboxnetflt(O) vboxdrv(O) nvidia_uvm(PO) nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO)
2021-08-18_10:52:38.88417 kern.warn: CPU: 2 PID: 8995 Comm: bloomrpc Tainted: P      D    O    T 5.10.52-gentoo #21
2021-08-18_10:52:38.88418 kern.warn: Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS ULTRA/X570 AORUS ULTRA, BIOS F34 07/08/2021
2021-08-18_10:52:38.88418 kern.warn: RIP: 0010:rcu_note_context_switch+0x3f/0x470
2021-08-18_10:52:38.88419 kern.warn: Code: 8b 2c 25 40 6d 01 00 48 83 ec 10 e8 1b 10 e0 00 89 c0 48 03 1c c5 a0 56 7f b1 40 84 ed 75 0d 41 8b 95 38 08 00 00 85 d2 7e 02 <0f> 0b 65 48 8b 04 25 40 6d 01 00 8b 80 38 08 00 00 85 c0 7e 0a 41
2021-08-18_10:52:38.88419 kern.warn: RSP: 0018:ffffa48084ce7608 EFLAGS: 00010002
2021-08-18_10:52:38.88420 kern.warn: RAX: 0000000000000002 RBX: ffffa2755eaa1e40 RCX: 0000000000000000
2021-08-18_10:52:38.88420 kern.warn: RDX: 0000000000000001 RSI: ffffffffb17bad44 RDI: ffffffffb16e217a
2021-08-18_10:52:38.88421 kern.warn: RBP: 0000000000000000 R08: ffffffffb2354908 R09: ffffffffb2354908
2021-08-18_10:52:38.88422 kern.warn: R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000000
2021-08-18_10:52:38.88422 kern.warn: R13: ffffa26fdf92dd00 R14: 0000000000000007 R15: ffffa2755eaa11c0
2021-08-18_10:52:38.88422 kern.warn: FS:  0000000000000000(0000) GS:ffffa2755ea80000(0000) knlGS:0000000000000000
2021-08-18_10:52:38.88423 kern.warn: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2021-08-18_10:52:38.88423 kern.warn: CR2: 000038244189d000 CR3: 000000056ba0c000 CR4: 0000000000750ee0
2021-08-18_10:52:38.88424 kern.warn: PKRU: 55555554
2021-08-18_10:52:38.88424 kern.warn: Call Trace:
2021-08-18_10:52:38.88425 kern.warn:  __schedule+0x8f/0x660
2021-08-18_10:52:38.88425 kern.warn:  schedule+0x40/0xe0
2021-08-18_10:52:38.88426 kern.warn:  schedule_timeout+0xbb/0xf0
2021-08-18_10:52:38.88426 kern.warn:  wait_for_completion+0x99/0xf0
2021-08-18_10:52:38.88426 kern.warn:  virt_efi_query_variable_info+0x13c/0x150
2021-08-18_10:52:38.88427 kern.warn:  efi_query_variable_store+0x76/0x1e0
2021-08-18_10:52:38.88427 kern.warn:  ? vsnprintf+0x6e/0x5b0
2021-08-18_10:52:38.88428 kern.warn:  ? preempt_count_add+0x63/0x90
2021-08-18_10:52:38.88429 kern.warn:  efivar_entry_set_safe+0xb7/0x200
2021-08-18_10:52:38.88429 kern.warn:  efi_pstore_write+0x134/0x1a0
2021-08-18_10:52:38.88430 kern.warn:  pstore_dump+0x122/0x350
2021-08-18_10:52:38.88430 kern.warn:  kmsg_dump+0x8f/0xb0
2021-08-18_10:52:38.88431 kern.warn:  oops_end+0x3e/0x90
2021-08-18_10:52:38.88431 kern.warn:  exc_general_protection+0x1c8/0x350
2021-08-18_10:52:38.88431 kern.warn:  asm_exc_general_protection+0x1e/0x30
2021-08-18_10:52:38.88432 kern.warn: RIP: 0010:_nv035844rm+0xb0/0xe0 [nvidia]
2021-08-18_10:52:38.88432 kern.warn: Code: 89 c2 48 89 ef 48 8d b1 48 01 00 00 4c 89 e9 e8 a6 5b ff ff 66 0f 1f 44 00 00 48 89 ef e8 08 5c ff ff 84 c0 74 8a 48 8b 75 00 <48> 39 5e 08 75 ea 4c 39 26 75 e5 49 8b 44 24 20 48 8d b8 48 01 00
2021-08-18_10:52:38.88433 kern.warn: RSP: 0018:ffffa48084ce7bd8 EFLAGS: 00010202
2021-08-18_10:52:38.88433 kern.warn: RAX: 0000000000000001 RBX: ffffa26f93244030 RCX: ffffa26fa1cde178
2021-08-18_10:52:38.88434 kern.warn: RDX: 6b6b6b6b6b6b6b6b RSI: 6b6b6b6b00000000 RDI: ffffa26fa7625d28
2021-08-18_10:52:38.88434 kern.warn: RBP: ffffa26fa7625d28 R08: 0000000000000020 R09: ffffa26fa7625d30
2021-08-18_10:52:38.88435 kern.warn: R10: 0000000000000000 R11: 0000000000000002 R12: ffffa26f0d4f7f20
2021-08-18_10:52:38.88435 kern.warn: R13: 6b6b6b6b00000000 R14: ffffa26fa7625da0 R15: ffffa26f93244030
2021-08-18_10:52:38.88435 kern.warn:  ? _nv035844rm+0xa8/0xe0 [nvidia]
2021-08-18_10:52:38.88436 kern.warn:  ? _nv014655rm+0x2ee/0x770 [nvidia]
2021-08-18_10:52:38.88437 kern.warn:  ? _nv037695rm+0xb3/0x150 [nvidia]
2021-08-18_10:52:38.88437 kern.warn:  ? _nv037694rm+0x297/0x4e0 [nvidia]
2021-08-18_10:52:38.88438 kern.warn:  ? _nv037689rm+0x60/0x70 [nvidia]
2021-08-18_10:52:38.88438 kern.warn:  ? _nv037690rm+0x7b/0xb0 [nvidia]
2021-08-18_10:52:38.88438 kern.warn:  ? _nv036056rm+0x40/0xe0 [nvidia]
2021-08-18_10:52:38.88439 kern.warn:  ? _nv000699rm+0x68/0x80 [nvidia]
2021-08-18_10:52:38.88439 kern.warn:  ? rm_cleanup_file_private+0xea/0x160 [nvidia]
2021-08-18_10:52:38.88440 kern.warn:  ? nvidia_dev_put+0xa60/0xc20 [nvidia]
2021-08-18_10:52:38.88440 kern.warn:  ? nvidia_frontend_close+0x29/0x50 [nvidia]
2021-08-18_10:52:38.88441 kern.warn:  ? __fput+0x95/0x250
2021-08-18_10:52:38.88441 kern.warn:  ? task_work_run+0x57/0x80
2021-08-18_10:52:38.88442 kern.warn:  ? do_exit+0x36d/0xaa0
2021-08-18_10:52:38.88442 kern.warn:  ? do_group_exit+0x34/0xa0
2021-08-18_10:52:38.88442 kern.warn:  ? __x64_sys_exit_group+0xf/0x10
2021-08-18_10:52:38.88443 kern.warn:  ? do_syscall_64+0x33/0x40
2021-08-18_10:52:38.88443 kern.warn:  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
2021-08-18_10:52:38.88444 kern.warn: ---[ end trace 0b9a1fb28b7cbc62 ]---
2021-08-18_10:52:39.07873 kern.warn: RIP: 0010:_nv035844rm+0xb0/0xe0 [nvidia]
2021-08-18_10:52:39.07875 kern.warn: Code: 89 c2 48 89 ef 48 8d b1 48 01 00 00 4c 89 e9 e8 a6 5b ff ff 66 0f 1f 44 00 00 48 89 ef e8 08 5c ff ff 84 c0 74 8a 48 8b 75 00 <48> 39 5e 08 75 ea 4c 39 26 75 e5 49 8b 44 24 20 48 8d b8 48 01 00
2021-08-18_10:52:39.07875 kern.warn: RSP: 0018:ffffa48084ce7bd8 EFLAGS: 00010202
2021-08-18_10:52:39.07876 kern.warn: RAX: 0000000000000001 RBX: ffffa26f93244030 RCX: ffffa26fa1cde178
2021-08-18_10:52:39.07876 kern.warn: RDX: 6b6b6b6b6b6b6b6b RSI: 6b6b6b6b00000000 RDI: ffffa26fa7625d28
2021-08-18_10:52:39.07877 kern.warn: RBP: ffffa26fa7625d28 R08: 0000000000000020 R09: ffffa26fa7625d30
2021-08-18_10:52:39.07877 kern.warn: R10: 0000000000000000 R11: 0000000000000002 R12: ffffa26f0d4f7f20
2021-08-18_10:52:39.07878 kern.warn: R13: 6b6b6b6b00000000 R14: ffffa26fa7625da0 R15: ffffa26f93244030
2021-08-18_10:52:39.07878 kern.warn: FS:  0000000000000000(0000) GS:ffffa2755eac0000(0000) knlGS:0000000000000000
2021-08-18_10:52:39.07879 kern.warn: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2021-08-18_10:52:39.07879 kern.warn: CR2: 00000be21d62e000 CR3: 00000001277bc000 CR4: 0000000000750ee0
2021-08-18_10:52:39.07880 kern.warn: PKRU: 55555554
2021-08-18_10:52:39.07880 kern.alert: Fixing recursive fault but reboot is needed!
Comment 1 Alex Efros 2021-08-18 11:09:42 UTC
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/hardened, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.33
KiB Mem:    32882876 total,  24397468 free
KiB Swap:   16776896 total,  16776896 free
Timestamp of repository gentoo: Wed, 18 Aug 2021 00:00:01 +0000
Head commit of repository gentoo: 0a2e5bdc00160c10e79ec06b53b0ba92cb0678cb
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
ccache version 4.3 [enabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          3.9.6_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/ccache:          4.3-r2::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    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-max-age: 24
    sync-rsync-verify-metamanifest: yes

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

powerman
    location: /home/powerman/proj/gentoo/powerman-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /service /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/i2p/scripts /var/log"
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="-march=native -O2 -pipe"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask --autounmask-write --alert=y"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache clean-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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirrors.aliyun.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru ru_RU"
MAKEOPTS="-j24"
PKGDIR="/usr/portage-packages"
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 aes alac alsa amd64 avx avx2 bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdr chm cli crypt cups dbus dcron dga djvu dri dts dvb dvd dvdr egl eglfs elogind emboss encode exif f16c fam ffmpeg flac fma3 fontconfig gallium gdbm gif gpg gtk hardened iconv icu id3tag idn ipv6 jpeg jpeg2k lcms libglvnd libnotify libtirpc mac mad matroska mmx mmxext mng mp3 mp4 mpeg mtp multilib musepack ncurses network-cron nls nptl nsplugin ogg opengl openmp opus pam pango pclmul pcre pdf perl pie png policykit popcnt ppds qt5 rdrand readline rtc sdl seccomp sha spell split-usr sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssp ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis wavpack wxwidgets x264 x265 xattr xcb xml xscreensaver xtpax xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="log_config vhost_alias autoindex alias rewrite dir deflate filter mime negotiation auth_basic authn_file authz_host authz_user authz_groupfile cgi actions headers env setenvif authn_core authz_core unixd socache_shmcb access_compat" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition fancyindex" NGINX_MODULES_STREAM="ssl_preread map" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 2 Alex Efros 2021-08-18 11:11:23 UTC
To reproduce: it was installed using this net-misc/bloomrpc-bin/bloomrpc-bin-1.5.3.ebuild plus `chmod 4755 /opt/bloomrpc/chrome-sandbox`:

EAPI=7

inherit unpacker

DESCRIPTION="GUI Client for GRPC Services"
HOMEPAGE="https://github.com/uw-labs/bloomrpc"
SRC_URI="https://github.com/uw-labs/bloomrpc/releases/download/$PV/bloomrpc_${PV}_amd64.deb"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64"
IUSE=""

QA_PREBUILT="*"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

S="${WORKDIR}"

src_install() {
	dodir opt/bloomrpc
	cp -a "${S}"/opt/BloomRPC/* "${D}/opt/bloomrpc/" || die
	dosym "${EPREFIX}/opt/bloomrpc/bloomrpc" "/usr/bin/bloomrpc"
}
Comment 3 Ionen Wolkens gentoo-dev 2021-08-18 20:39:30 UTC
>default/linux/amd64/17.1/hardened
It's unlikely I can help but I'll ask because of this. By any chances are you either using CONFIG_SLUB_DEBUG_ON or passing slub_debug=P on the kernel command line? Try without if you are.

Known to cause issues with chromium, extending to electron wouldn't be a surprise.
Comment 4 Alex Efros 2021-08-19 14:53:19 UTC
(In reply to Ionen Wolkens from comment #3)
> >default/linux/amd64/17.1/hardened
> It's unlikely I can help but I'll ask because of this. By any chances are
> you either using CONFIG_SLUB_DEBUG_ON or passing slub_debug=P on the kernel
> command line? Try without if you are.
> 
> Known to cause issues with chromium, extending to electron wouldn't be a
> surprise.

Thanks for the hint!
I don't have CONFIG_SLUB_DEBUG_ON but I do use extra kernel params: "slub_debug=P page_poison=1 slab_nomerge pti=on" because they were recommended on https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings.

I'll try to play with this and tell the results.
Comment 5 Ionen Wolkens gentoo-dev 2021-08-19 15:05:42 UTC
For what it's worth, the ebuild for 470.xx tries to warn about this, but I guess in world updates it can be easy to miss.

if [[ $(</proc/cmdline) == *slub_debug=[!-]* ]]; then
  ewarn "Detected that the current kernel command line is using 'slub_debug=',"
  ewarn "this may lead to system instability/freezes with this version of"
  ewarn "${PN}. Bug: https://bugs.gentoo.org/796329"
fi

Unknown if other options may cause issues as well.
Comment 6 Ionen Wolkens gentoo-dev 2021-08-19 19:25:22 UTC
Seeing the reply in the other bug, I guess this is a confirmed duplicate then (and yes I'll reference the bug at same time whenever I remove the warning).

*** This bug has been marked as a duplicate of bug 796329 ***