>=net-p2p/qbittorrent-4.5.4 makes a system to reboot in a kind of Poisson process: if qbittorrent is running, system will always rebout in a random time from several minutes to several hours. No segfaults or any other signs in logs. The example log of program itself: (N) 2023-10-26T18:15:10 - qBittorrent v4.5.5 started (N) 2023-10-26T18:15:10 - Using config directory: /home/vt/.config/qBittorrent (N) 2023-10-26T18:15:10 - Trying to listen on the following list of IP addresses: "0.0.0.0:16304,[::]:16304" (I) 2023-10-26T18:15:10 - Peer ID: "-qB4550-" (I) 2023-10-26T18:15:10 - HTTP User-Agent: "qBittorrent/4.5.5" (I) 2023-10-26T18:15:10 - Distributed Hash Table (DHT) support: ON (I) 2023-10-26T18:15:10 - Local Peer Discovery support: ON (I) 2023-10-26T18:15:10 - Peer Exchange (PeX) support: ON (I) 2023-10-26T18:15:10 - Anonymous mode: OFF (I) 2023-10-26T18:15:10 - Encryption support: ON (I) 2023-10-26T18:15:10 - UPnP/NAT-PMP support: ON (I) 2023-10-26T18:15:10 - Successfully listening on IP. IP: "127.0.0.1". Port: "TCP/16304" (I) 2023-10-26T18:15:10 - Successfully listening on IP. IP: "127.0.0.1". Port: "UTP/16304" (I) 2023-10-26T18:15:10 - Successfully listening on IP. IP: "192.168.0.1". Port: "TCP/16304" (I) 2023-10-26T18:15:10 - Successfully listening on IP. IP: "192.168.0.1". Port: "UTP/16304" (I) 2023-10-26T18:15:10 - Successfully listening on IP. IP: "78.56.31.73". Port: "TCP/16304" (I) 2023-10-26T18:15:10 - Successfully listening on IP. IP: "78.56.31.73". Port: "UTP/16304" (N) 2023-10-26T18:15:10 - Restored torrent. Torrent: "Я родом из детства (1966) HDTV 1080p.mkv" #snip (N) 2023-10-26T18:15:10 - Restored torrent. Torrent: "Aktrisy.S01.2023.WEB-DL.2160p.HDR" (I) 2023-10-26T18:15:10 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Sun Oct 1 03:09:28 2023. (I) 2023-10-26T18:15:10 - Detected external IP. IP: "78.56.31.73" (N) 2023-10-26T18:15:10 - Watching folder: "/home/vt/dl/torrents" (I) 2023-10-26T18:15:10 - Python detected, executable name: 'python3', version: 3.11.6 (N) 2023-10-26T18:15:57 - Added new torrent. Torrent: "The.Fall.of.the.House.of.Usher.S01.WEB-DL.1080p.Rus.Eng" (N) 2023-10-26T18:16:58 - Added new torrent. Torrent: "Похождения.зубного.врача.1965.HDTV.1080p-ylnian.mkv" (W) 2023-10-26T18:17:46 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[78.56.31.73]: no router found" (W) 2023-10-26T18:17:46 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[78.56.31.73]: no router found" (N) 2023-10-26T18:21:45 - Torrent download finished. Torrent: "The.Fall.of.the.House.of.Usher.S01.WEB-DL.1080p.Rus.Eng" (N) 2023-10-26T18:23:55 - Torrent download finished. Torrent: "Похождения.зубного.врача.1965.HDTV.1080p-ylnian.mkv" #reboot after approx. 10 min. This was especially fast. Portage 3.0.54 (python 3.11.6-final-0, default/linux/amd64/17.1/no-multilib, gcc-13, glibc-2.38-r6, 6.5.8-gentoo-r1 x86_64) ================================================================= System uname: Linux-6.5.8-gentoo-r1-x86_64-AMD_Ryzen_9_7950X_16-Core_Processor-with-glibc2.38 KiB Mem: 131626760 total, 123803004 free KiB Swap: 268435452 total, 268435452 free Timestamp of repository gentoo: Thu, 26 Oct 2023 15:00:01 +0000 Head commit of repository gentoo: d1bf9c3ea3f709ace61dbe1857b0474e929ac837 sh bash 5.2_p15-r7 ld GNU ld (Gentoo 2.41 p2) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r7::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.6::gentoo, 3.12.0_p1::gentoo dev-lang/rust: 1.73.0::gentoo dev-util/cmake: 3.27.7::gentoo dev-util/meson: 1.2.3::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/openrc: 0.51::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r7::gentoo, 2.41-r2::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.3::gentoo sys-devel/gcc: 13.2.1_p20231014::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo, 16.0.6::gentoo, 17.0.3::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.3::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.5-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-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-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 16 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~*" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver4 -O2 -pipe -flto" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-march=znver4 -O2 -pipe -flto" DISTDIR="/var/cache/distfiles" 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="-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 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="-O2 -pipe" GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://mirror.init7.net/gentoo/ http://tux.rainside.sk/gentoo/ http://gentoo.mirror.web4u.cz/" LANG="en_US" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j30" 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 aacs acl alsa amd64 bittorrent bluray btrfs bzip2 cli connection-sharing context contrib contribdnn crypt cups cxx dbus dcaenc dhcpcd dri dts emboss exif extra fam fbcon fdk ffmpeg fontconfig fortran frei0r ftp gdbm geoclue geolocation gimp gps graphite gui iconv icu iptables jpeg kde lame lapack latex libass libglvnd libtirpc llvm lm-sensors lto mac minizip mpi ncurses no-multilib nptl nvenc ogg opencl opengl openmp opus pam parallel-compiler pcre plasma pthread pulseaudio qml qt5 qt6 readline resolvconf romio rustfmt sdl seccomp spirv split-usr ssd ssl svg syslog taglib tbb tensorpipe test-rust text theora threads tiff tools truetype unicode v4l vaapi vector-icons vorbis vulkan webp x264 x265 xattr xla xml zlib" ABI_X86="64" ADA_TARGET="gnat_2021" AMDGPU_TARGETS="gfx1031" 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="stage" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev amd radeon radeonsi vesa" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS Reproducible: Always
Userspace programs cannot normally cause a system reboot with no trace in the logs. This is almost certainly a kernel bug or a hardware issue. You will need to somehow collect more information for anything useful to be done with this bug report. The kernel log (dmesg) would be a good starting point. A colleague also suggested setting up a network console to try and capture it.
You might also consider switching to a newer or older (LTS) kernel to see if the problem still occurs.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3]. I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4]. Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/
I understand that this is very strange (I work with Linux workstations more than 20 years and never seen anything like it). Syslog simply does not keep up with the crash. I will try to set up kdump system. For a time being, I have installed 4.2 version of qbittorrent, and all is OK.
Stupid question, but I have to ask: Are you running qbittorrent as root? If so, that makes rebooting the system trivial and there could be several different ways for that to happen.
(In reply to Mike Gilbert from comment #5) God forbid, no.