Home | News | Download | Packages | Forum | Wiki | Github

[Solved] Segmentation fault when removing rkt using xbps-remove


(diego) #1

xbps-remove works for other packages. But, when I try to remove rkt or rkt-stage1-coreos packages I get a segmentation fault:

 xbps-remove -R -v rkt
 xbps-remove -R -v rkt-stage1-coreos
 # Both commands are run as root using sudo
 # Void 64-bit (glibc) updated to latest.

# Strace:
....
brk(0x55df8fc92000)                     = 0x55df8fc92000
brk(0x55df8fcb3000)                     = 0x55df8fcb3000
brk(0x55df8fcd4000)                     = 0x55df8fcd4000
brk(0x55df8fcf5000)                     = 0x55df8fcf5000
munmap(0x7f8b5784c000, 1753088)         = 0
umask(022)                              = 022
openat(AT_FDCWD, "//var/db/xbps/pkgdb-0.38.plist",  O_RDWR|O_CREAT|O_CLOEXEC, 0664) = 3
umask(022)                              = 022
fcntl(3, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_CUR, l_start=0, l_len=0}) = 0
# There is a pause here of a few seconds, then:
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7ffc6341dff8} ---
+++ killed by SIGSEGV +++

(diego) #2

The problem was circular dependencies.
The package maintainers fixed this.
Upgrade to latest rkt. Then remove rkt normally.

More info: https://github.com/voidlinux/void-packages/issues/7312