Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945890 - media-tv/kodi-21.1 crash on launch Assertion 'udev_device' failed at src/libudev/libudev-device.c:407, function udev_device_get_parent()
Summary: media-tv/kodi-21.1 crash on launch Assertion 'udev_device' failed at src/libu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-05 04:50 UTC by Vldb
Modified: 2024-12-16 01:13 UTC (History)
5 users (show)

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


Attachments
crashlog (kodi_crashlog-20241205_112615.log,34.64 KB, text/x-matlab)
2024-12-05 04:50 UTC, Vldb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vldb 2024-12-05 04:50:59 UTC
Created attachment 913353 [details]
crashlog

Good afternoon. After the latest update "kodi --standalone" does not start.

-----------

Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r5, 6.12.1-gentoo x86_64)
=================================================================
System uname: Linux-6.12.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-glibc2.40
KiB Mem:     8023404 total,   5574448 free
KiB Swap:   16046804 total,  16046804 free
Timestamp of repository gentoo: Wed, 04 Dec 2024 12:00:00 +0000
Head commit of repository gentoo: 123011182d9333935a33522f9cabc64323b46b08
Timestamp of repository chiyuki-overlay: Tue, 26 Nov 2024 01:50:10 +0000
Head commit of repository chiyuki-overlay: 9d6295aa1ab490b2e652ee09c16ec61edc8a6ccf

Timestamp of repository guru: Mon, 02 Dec 2024 16:18:15 +0000
Head commit of repository guru: 87dce9e7424d63c822449f50287a819d035d75c6

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo
dev-lang/rust-bin:         1.82.0-r100::gentoo, 1.83.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.40::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8-r6::gentoo, 19.1.5::gentoo
sys-devel/gcc:             14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             19.1.5::gentoo
sys-devel/llvm:            18.1.8-r6::gentoo, 19.1.5::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::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-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

chiyuki-overlay
    location: /var/db/repos/chiyuki-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/chiyuki-overlay.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

Binary Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
AR="ar"
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-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/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXX="g++"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=17 --with-bdeps y --complete-graph y"
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=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install 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=native -O2 -pipe"
GENTOO_MIRRORS="https://ftp.fau.de/gentoo/     http://tux.rainside.sk/gentoo/     http://ftp.vectranet.pl/gentoo/     http://gentoo.mirror.root.lu/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-O2 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j4 -l4"
NM="nm"
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"
RANLIB="ranlib"
SHELL="/bin/bash"
USE="a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cet concheck crypt cups dbus dhcpcd dri driver dts dvd dvdr elogind encode exif experimental flac gdbm gif gles2 gstreamer gtk gui gzip hwloc i3wm iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc llvm lm-sensors lto lz4 lzma mad mng mp3 mp4 mpd mpeg multilib ncurses network nls ogg opencl opengl openmp opus pam pango pcre pdf pipewire pipewire-alsa png policykit ppds qml readline savedconfig sdl seccomp sound sound-server spell split-usr ssl startup-notification svg szip test-rust threads tiff tools truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zip zlib zstd" 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 f16c 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="emu efi-32 efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

------
Comment 1 Jason Borden 2024-12-06 17:02:30 UTC
For me the issue was caused by an upgrade to systemd-utils-256 (I'm running openrc) . emerge =sys-apps/systemd-utils-255.15 fixed it for me.
Comment 2 Vldb 2024-12-07 11:35:13 UTC
It's work. Thanks.(In reply to Jason Borden from comment #1)
> For me the issue was caused by an upgrade to systemd-utils-256 (I'm running
> openrc) . emerge =sys-apps/systemd-utils-255.15 fixed it for me.
Comment 3 raffaele 2024-12-08 18:39:30 UTC
Starting kodi from the command line outputs this message:

$ kodi

Assertion 'udev_device' failed at src/libudev/libudev-device.c:407, function udev_device_get_parent(). Aborting.
/usr/bin/kodi: line 215:  2399 Aborted                 ${KODI_BINARY} ${ENV_ARGS} $SAVED_ARGS

Downgrading systemd-utils to 255.* also fixes for me.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-08 18:43:28 UTC
I see this as a Libusb test failure with systemd-utils too.
Comment 5 Mike Gilbert gentoo-dev 2024-12-08 22:54:18 UTC
According to systemd upstream, calling udev_device_get_parent(NULL) is not valid and the assert is intentional.
Comment 6 Larry the Git Cow gentoo-dev 2024-12-08 23:14:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4244ff0d9863e9aff2a143d1efd2aad6a99a9a

commit 3f4244ff0d9863e9aff2a143d1efd2aad6a99a9a
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-12-08 23:13:51 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-12-08 23:13:51 +0000

    sys-apps/systemd-utils: build in release mode
    
    Bug: https://bugs.gentoo.org/918671
    Bug: https://bugs.gentoo.org/945890
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../{systemd-utils-254.21.ebuild => systemd-utils-254.21-r1.ebuild}     | 2 ++
 .../{systemd-utils-255.15.ebuild => systemd-utils-255.15-r1.ebuild}     | 2 ++
 .../{systemd-utils-256.9.ebuild => systemd-utils-256.9-r1.ebuild}       | 2 ++
 3 files changed, 6 insertions(+)
Comment 7 raffaele 2024-12-15 09:57:04 UTC
The commit fixes the issue for me, media-tv/kodi-21.1 now working fine with sys-apps/systemd-utils-256.9-r1.

Thanks