Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934049 - app-emulation/virtualbox-7.0.18-r1 start of any VM instantly crashes system
Summary: app-emulation/virtualbox-7.0.18-r1 start of any VM instantly crashes system
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 15:33 UTC by Piotr Frątczak
Modified: 2024-06-17 05:56 UTC (History)
1 user (show)

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


Attachments
virtualbox-modules-7.0.18 build logs (app-emulation:virtualbox-modules-7.0.18:20240616-182840.log.gz,5.21 KB, application/gzip)
2024-06-16 19:50 UTC, Piotr Frątczak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Frątczak 2024-06-11 15:33:16 UTC
app-emulation/virtualbox-7.0.18-r1 start of any VM instantly crashes system - no errors or any output or trace as the whole system instantly freezes.

Reproducible: Always

Steps to Reproduce:
1.after upgrade of app-emulation/virtualbox to 7.0.18-r1, start any existing or new VM via command line or gui
Actual Results:  
after upgrade of app-emulation/virtualbox to 7.0.18-r1, start any existing or new VM via command line or gui

Expected Results:  
total freeze of system. hard reset to get system back.

reproduced multiple times. the only solution I found is to download archive ebuild (as the previous were removed from portage) and emerge 7.0.14-r2 which works as expected. 

emerge --info output:Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-13, glibc-2.39-r6, 6.6.30-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.30-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-glibc2.39
KiB Mem:    32786368 total,  17109404 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 11 Jun 2024 14:30:00 +0000
Head commit of repository gentoo: 059da22264f8acfdd34f987a441f4518be872130
Timestamp of repository dilfridge: Wed, 22 May 2024 01:48:40 +0000
Head commit of repository dilfridge: eed9607a5112d25050b34c5e7b404914e52dace7

Timestamp of repository guru: Mon, 10 Jun 2024 11:33:42 +0000
Head commit of repository guru: 6761226647f484216f9e31579e8caebab733a144

Head commit of repository inode64-overlay: 915bc8a9cb684226d0d1aa0285bbf6c3f26de066

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9-r1::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

dilfridge
    location: /var/db/repos/dilfridge
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dilfridge.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

inode64-overlay
    location: /var/db/repos/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/inode64/inode64-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --misspell-suggestions=n  --quiet-build=y --with-bdeps=y --keep-going=y  --jobs=2 --load-average=32"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-march=haswell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en_US en pl pl_PL"
MAKEOPTS="-j8 -l16"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 amr amrenc appindicator aptx audit avif bluetooth bluray branding bzip2 cairo cdda cddb cdio cdr cet chromecast chromium codec2 colord crypt cue cups curl daap dbus dist-kernel djvu dos dri drm dts dvb dvd dvdr eds encode eps epub evo ewf exif ffmpeg fftw flac flatpak flickr fontconfig fuse gdbm gif gimp gles2 glusterfs gnome gnome-keyring gnome-online-accounts gnome-shell gphoto2 gpm graphite graphviz grub gsf gstreamer gtk gtk2 gtk3 gtk4 gui heif hscolour http iconv icu idn imagemagick initramfs inotify introspection iptables iptc ipv6 iscsi iscsi-direct java jbig jpeg jpeg2k jpegxl json keyring lame latex lcms ldac libcanberra libnotify libtirpc libvirt lm-sensors lto lvm lxc lz4 mad mng mongodb mp3 mp4 mpeg multilib mysql nautilus ncurses networkmanager nfs nftables nls ntfs ocr odf offensive ogg openal openexr opengl openmp opus pam pango parted pcre pdf perl pgo pipewire png policykit postgres postproc postscript ppds pulseaudio python qml raw rdp readline samba scanner screencast sdl seccomp sensors sndio snmp sound sox speex spell sqlite ssl startup-notification svg sysprof systemd tcl test-rust theora tiff tk tracker truetype udev udisks unicode upnp upnp-av upower usb utils v4l vaapi vala vdpau vim-syntax virtualbox vnc vorbis vpx vulkan wayland webp wmf wxwidgets x264 x265 xattr xcb xetex xft xinerama xml xmp xpm xps xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en-US en pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LLVM_TARGETS="BPF AMDGPU NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeonsi radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Viorel Munteanu gentoo-dev 2024-06-13 06:22:36 UTC
I cannot reproduce this, and the only report I found was linked with compiling the kernel with clang.

Can you upload the build.log from app-emulation/virtualbox-modules ?  Also the kernel config if you are not using a binary kernel?

Other thing to try - app-emulation/virtualbox-kvm does not use any kernel modules, so you could try that.  It's still in developement and unkeyworded, but it might work.
Comment 2 Piotr Frątczak 2024-06-16 19:50:34 UTC
Created attachment 895936 [details]
virtualbox-modules-7.0.18 build logs

virtualbox-modules-7.0.18 fresh build logs (issue persists)
Comment 3 Piotr Frątczak 2024-06-16 19:55:46 UTC
kernel: sys-kernel/gentoo-kernel-bin [6.6.30-gentoo-dist]
Just - maybe it's somehow related to earlier version Windows crash, and what was fixed in 18 triggers now the linux? I recal I had 16 for a moment then just to play safe downgraded to 14.
Comment 4 Piotr Frątczak 2024-06-16 20:14:34 UTC
Just upgradeed kernel to latest: 6.6.32-gentoo-dist
and the issue seems to be gone, thus it must have been more a kernel problem.
Comment 5 Viorel Munteanu gentoo-dev 2024-06-17 05:56:25 UTC
(In reply to Piotr Frątczak from comment #4)
> Just upgradeed kernel to latest: 6.6.32-gentoo-dist
> and the issue seems to be gone, thus it must have been more a kernel problem.

Great news!  Thank you for posting this.

I'll leave the bug open for now, so anyone else with this problem can find it.