pvolok / mprocs

Run multiple commands in parallel
MIT License
1.53k stars 52 forks source link

Crash on startup #121

Closed derdilla closed 7 months ago

derdilla commented 8 months ago

I get a Bus error (core dumped) when I run anything with mprocs, even something as simple as mprocs "echo 1".

Installed through aur bin version. The aur build from source fails altogether (something with ld)

inxi -Faz ``` System: Kernel: 6.8.0-AMD-znver3 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc avail: hpet,acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-amd-znver3 root=UUID=ab4efd3a-1917-4076-8a34-aad2e95b4af8 rw rootflags=subvol=@ rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=5 spec_rstack_overflow=off quiet nvidia_drm.modeset=1 ibt=off Desktop: Hyprland v: 0.35.0 with: waybar tools: avail: xautolock,xfce4-screensaver vt: 2 dm: LightDM v: 1.32.0 Distro: Garuda base: Arch Linux Machine: Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE V2 serial: uuid: BIOS: American Megatrends LLC. v: F16c date: 03/23/2023 CPU: Info: model: AMD Ryzen 5 3600XT bits: 64 type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701030 Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB desc: 2x16 MiB Speed (MHz): avg: 4163 high: 4167 min/max: 2200/4635 boost: enabled scaling: driver: acpi-cpufreq governor: performance cores: 1: 4167 2: 4167 3: 4167 4: 4161 5: 4161 6: 4160 7: 4167 8: 4167 9: 4167 10: 4161 11: 4161 12: 4160 bogomips: 91071 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Vulnerabilities: Type: gather_data_sampling status: Not affected Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: mmio_stale_data status: Not affected Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP protection Type: spec_rstack_overflow status: Vulnerable Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: ASUSTeK driver: nvidia v: 550.54.14 alternate: nvidia_drm non-free: 545.xx+ status: current (as of 2024-02; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none off: DP-2,DP-3 empty: DP-1,HDMI-A-1 bus-ID: 05:00.0 chip-ID: 10de:2504 class-ID: 0300 Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4 compositor: Hyprland v: 0.35.0 driver: X: loaded: nvidia unloaded: intel gpu: nvidia,nvidia-nvswitch d-rect: 5120x1440 display-ID: 1 Monitor-1: DP-2 pos: primary,left model: Idek Iiyama PL2796QS serial: built: 2023 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2 scale: 1 size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 640x480 Monitor-2: DP-3 pos: right model: Idek Iiyama PL2783Q serial: built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2 scale: 1 size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 640x480 API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: zink inactive: device-1 API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.54.14 glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2 memory: 11.72 GiB API: Vulkan v: 1.3.279 layers: 14 device: 0 type: discrete-gpu name: NVIDIA GeForce RTX 3060 driver: nvidia v: 550.54.14 device-ID: 10de:2504 surfaces: xcb,xlib,wayland device: 1 type: cpu name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.2-arch1.2 (LLVM 17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib,wayland Audio: Device-1: NVIDIA GA106 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 10de:228e class-ID: 0403 Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 07:00.4 chip-ID: 1022:1487 class-ID: 0403 Device-3: Samson Meteor condenser microphone driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-2:2 chip-ID: 17a0:0310 class-ID: 0300 API: ALSA v: k6.8.0-AMD-znver3 status: kernel-api tools: N/A Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl Network: Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8125 class-ID: 0200 IF: eno1 state: up speed: 1000 Mbps duplex: full mac: Info: services: NetworkManager,systemd-timesyncd Drives: Local Storage: total: 4.48 TiB used: 1.16 TiB (25.8%) SMART Message: Required tool smartctl not installed. Check --recommends ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: 5B2QGXA7 temp: 42.9 C scheme: MBR ID-2: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S371920G size: 1.75 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: fw-rev: 1103 scheme: GPT ID-3: /dev/sdb maj-min: 8:16 vendor: Toshiba model: DT01ACA100 size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: fw-rev: A750 scheme: GPT Partition: ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 1.16 TiB (63.6%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1 ID-2: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 1.16 TiB (63.6%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1 ID-3: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 1.16 TiB (63.6%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1 ID-4: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 1.16 TiB (63.6%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1 Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no ID-1: swap-1 type: zram size: 39.09 GiB used: 0 KiB (0.0%) priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0 Sensors: System Temperatures: cpu: 74.4 C mobo: 34.0 C Fan Speeds (rpm): N/A Info: Memory: total: 40 GiB available: 39.09 GiB used: 13.89 GiB (35.5%) Processes: 331 Power: uptime: 58m states: freeze,mem,disk suspend: deep avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 15.61 GiB Init: systemd v: 255 default: graphical tool: systemctl Packages: pm: pacman pkgs: 2064 libs: 460 tools: paru Compilers: clang: 17.0.6 gcc: 13.2.1 alt: 11 Shell: Bash v: 5.2.26 running-in: alacritty inxi: 3.3.33 ```
IgnisDa commented 7 months ago

@NobodyForNothing Were you able to fix this? I am using mprocs-bin from AUR. Installing mprocs from AUR does not succeed.

derdilla commented 7 months ago

Works when building from GitHub :shrug: