Simple Backtrace:
~ # gdb /usr/bin/urbackupsrv -ex "set args run" -ex run -ex "bt"
GNU gdb (Gentoo 11.1 vanilla) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/urbackupsrv...
Starting program: /usr/bin/urbackupsrv run
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
2022-01-17 15:06:57: Starting HTTP-Server on port 55414
2022-01-17 15:06:57: HTTP: Server started up successfully!
[New Thread 0x7ffff7400640 (LWP 209177)]
[New Thread 0x7ffff6bff640 (LWP 209178)]
Thread 1 "urbackupsrv" received signal SIGSEGV, Segmentation fault.
0x0000000000000010 in ?? ()
#0 0x0000000000000010 in ?? ()
#1 0x00007ffff7d44620 in CryptoPP::DL_PrivateKey_EC<CryptoPP::EC2N>::BERDecodePrivateKey (this=0x7fffffffaa10, bt=..., parametersPresent=<optimized out>, size=<optimized out>) at /usr/src/debug/dev-libs/crypto++-8.6.0/eccrypto.cpp:753
#2 0x00007ffff7cd69e0 in CryptoPP::PKCS8PrivateKey::BERDecode (this=this@entry=0x7fffffffaa18, bt=...) at /usr/src/debug/dev-libs/crypto++-8.6.0/asn.cpp:679
#3 0x0000555555c2abe7 in CryptoPP::ASN1CryptoMaterial<CryptoPP::PrivateKey>::Load (bt=..., this=0x7fffffffaa18) at /usr/include/cryptopp/asn.h:696
#4 CryptoFactory::signData (this=this@entry=0x555555df1d40,
pubkey="`\352\302UUU\000\000P\370\302UUU\000\000\352\324YUUU\000\000\360\327fUUU\000\000\360\374\302UUU\000\000\200\331\302UUU\000\000\220\331\302UUU\000\000\366fdUUU\000\000\240\331\302UUU\000\000\060\062\313\367\377\177\000\000\240\062\313\367\377\177\000\000\340\b\303UUU\000\000\020\367\302UUU\000\000\264fdUUU\000\000Ю\330\367\377\177\000\000\220\241YUUU\000\000@\260\330\367\377\177\000\000@\367\302UUU\000\000P\367\302UUU\000\000\200\230YUUU\000\000p\224YUUU\000\000\060\064\313\367\377\177\000\000\060\204YUUU\000\000\240\064\313\367\377\177\000\000pv\313\367\377\177\000\000"..., data="test", signature="") at cryptoplugin/CryptoFactory.cpp:241
#5 0x000055555588fe10 in LoadActions_urbackupserver (pServer=<optimized out>) at urbackupserver/dllmain.cpp:572
#6 0x00005555556642f6 in CServer::LoadStaticPlugins (this=this@entry=0x555555de9820) at Server.cpp:2249
#7 0x0000555555684bc0 in main_fkt (argc=<optimized out>, argv=0x555555de9750) at main.cpp:554
#8 0x0000555555688053 in main_fkt_catch (argv=0x555555de9750, argc=25) at main.cpp:130
#9 real_main (argc=argc@entry=25, argv=argv@entry=0x555555de9750) at main.cpp:164
#10 0x0000555555b51dcf in run_real_main (args=...) at urbackupserver/cmdline_preprocessor.cpp:98
#11 0x0000555555b60b3d in action_run (args=std::vector of length 0, capacity 1) at urbackupserver/cmdline_preprocessor.cpp:606
#12 0x000055555564a74d in main (argc=<optimized out>, argv=0x7fffffffdc48) at urbackupserver/cmdline_preprocessor.cpp:1345
Package info:
Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1, gcc-11.2.0, glibc-2.33-r7, 5.15.11-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.15.11-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1240_V2_@_3.40GHz-with-glibc2.33
KiB Mem: 32845580 total, 6914616 free
KiB Swap: 8388604 total, 7847164 free
Timestamp of repository gentoo: Mon, 17 Jan 2022 15:36:53 +0000
Head commit of repository gentoo: 8dc12bdf9fa4f2c2994d92af3b7377542c1b9690
Head commit of repository jonesmz-public-overlay: aa017c88e14e739423d5cc128d0f8e696a02135e
Head commit of repository lto-overlay: 435a9d968854fef21015796a5f464243dc4caa03
Head commit of repository mv: e4e425a840bbc5a5ac4b470136ed01d45ef49eca
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.5.1 [disabled]
app-misc/pax-utils: 1.3.3::gentoo
app-shells/bash: 5.1_p8::gentoo
dev-lang/perl: 5.34.0-r6::gentoo
dev-lang/python: 2.7.18_p13::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo
dev-lang/rust: 1.56.1::gentoo
dev-util/ccache: 4.5.1::gentoo
dev-util/cmake: 3.21.4::gentoo
dev-util/meson: 0.59.4::gentoo
sys-apps/baselayout: 2.7-r3::gentoo
sys-apps/sandbox: 2.25::gentoo
sys-apps/systemd: 249.9::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake: 1.16.4::gentoo
sys-devel/binutils: 2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang: 13.0.0::gentoo
sys-devel/gcc: 11.2.0::gentoo
sys-devel/gcc-config: 2.5-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/lld: 13.0.0::gentoo
sys-devel/llvm: 13.0.0::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.33-r7::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: git://anongit.gentoo.org/repo/sync/gentoo.git
priority: -1000
jonesmz-public-overlay
location: /var/db/repos/jonesmz-public-overlay
sync-type: git
sync-uri: https://github.com/jonesmz/gentoo-overlay.git
masters: gentoo
lto-overlay
location: /var/db/repos/lto-overlay
sync-type: git
sync-uri: https://github.com/InBetweenNames/gentooLTO.git
masters: gentoo mv
mv
location: /var/db/repos/mv
sync-type: git
sync-uri: https://anongit.gentoo.org/git/user/mv.git
masters: gentoo
Installed sets: @archive, @creative, @desktop-applications, @lxqt, @pc-base-system, @portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=1 -fuse-linker-plugin -march=x86-64 -mtune=generic -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=1 -fuse-linker-plugin -march=x86-64 -mtune=generic -g"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newuse --changed-deps --deep --tree --backtrack=3000 --complete-graph --with-bdeps=y --binpkg-respect-use=y --binpkg-changed-deps=y --changed-slot=y --usepkg=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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
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 branding bzip2 cairo cdda cdr crypt dbus dri dts dvd dvdr encode exif flac gif glamor gnome-keyring gpm gstreamer gtk gui hardened iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pie png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl ssp startup-notification svg systemd theora threads tiff truetype udev udisks unicode upower usb vaapi vorbis wayland widevine wxwidgets x264 xattr xcb xinerama xml xtpax xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="mmx sse sse2 mmxext" 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="coreboot efi-64 emu qemu pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_8 python3_9" QEMU_SOFTMMU_TARGETS="arm aarch64 x86_64" QEMU_USER_TARGETS="arm aarch64 x86_64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="vesa modesetting radeon radeonsi amdgpu" 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: 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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
app-backup/urbackup-server-2.5.22::jonesmz-public-overlay was built with the following:
USE="crypt zlib -fuse -hardened -mail" ABI_X86="(64)"
CFLAGS="-O3 -fipa-pta -fno-semantic-interposition -fuse-linker-plugin -march=x86-64 -mtune=generic -g -Wl,-O1 -Wl,--as-needed"
CXXFLAGS="-O2 -pipe -O3 -fipa-pta -fno-semantic-interposition -fuse-linker-plugin -march=x86-64 -mtune=generic -g -Wl,-O1 -Wl,--as-needed"
Package file:
EAPI=7
inherit user systemd
DESCRIPTION="Fast and easily configured backup server"
HOMEPAGE="https://www.urbackup.org"
SRC_URI="https://beta.urbackup.org/Server/${PV}/${P}.tar.gz"
S=${WORKDIR}/${P}.0
SLOT="0"
LICENSE="AGPL-3"
KEYWORDS="~amd64 ~x86"
IUSE="crypt hardened fuse mail zlib"
RDEPEND="
crypt? ( >=dev-libs/crypto++-5.1 )
dev-db/sqlite
app-arch/zstd
fuse? ( sys-fs/fuse:* )
mail? ( >=net-misc/curl-7.2 )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}"
pkg_setup() {
enewgroup urbackup
enewuser urbackup -1 /bin/bash "${EPREFIX}"/var/lib/urbackup urbackup
}
src_configure() {
econf \
$(use_with crypt crypto) \
$(use_enable hardened fortify) \
$(use_with fuse mountvhd) \
$(use_with mail) \
$(use_with zlib) \
--enable-packaging
}
src_install() {
dodir /usr/share/man/man1
emake DESTDIR="${D}" install
insinto /etc/logrotate.d
newins logrotate_urbackupsrv urbackupsrv
newconfd defaults_server urbackupsrv
doinitd "${FILESDIR}"/urbackupsrv
systemd_dounit "${FILESDIR}"/urbackup-server.service
fowners -R urbackup:urbackup "${EPREFIX}/var/lib/urbackup"
fowners -R urbackup:urbackup "${EPREFIX}/usr/share/urbackup/www"
}
Dependency info:
equery g =app-backup/urbackup-server-2.5.22
* Searching for urbackup-server2.5.22 in app-backup ...
* dependency graph for app-backup/urbackup-server-2.5.22
`-- app-backup/urbackup-server-2.5.22 ~amd64
`-- dev-libs/crypto++-8.6.0 (>=dev-libs/crypto++-5.1) amd64
`-- dev-db/sqlite-3.35.5 (dev-db/sqlite) amd64
`-- app-arch/zstd-1.5.0 (app-arch/zstd) amd64
`-- sys-fs/fuse-3.10.5 (sys-fs/fuse) amd64
`-- net-misc/curl-7.79.1 (>=net-misc/curl-7.2) amd64
`-- sys-libs/zlib-1.2.11-r4 (sys-libs/zlib) amd64
`-- virtual/pkgconfig-2-r1 (virtual/pkgconfig) amd64
[ app-backup/urbackup-server-2.5.22 stats: packages (8), max depth (1) ]