fastfetch-cli / fastfetch

A maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
10.78k stars 416 forks source link

Getting "10219 IOT instruction (core dumped)" instead of expected output #288

Closed AstralJohn closed 2 years ago

AstralJohn commented 2 years ago

General description of bug:

I am getting the following error when running fastfetch after upgrading to version 1.7.4

fastfetch: /home/john/.cache/yay/fastfetch/src/fastfetch-1.7.4/src/util/FFstrbuf.c:299: ffStrbufPr.
[1]    10290 IOT instruction (core dumped)  fastfetch --multithreading false

Output of fastfetch --load-config devinfo:

                  -`                     john@amadeus
                 .o+`                    ------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: ROG Zephyrus G15 GA503QR_GA503QR 1.0
              `+oooooo:                  Kernel: 5.19.13-arch1-g14-3
              -+oooooo+:                 Uptime: 9 mins
            `/:-:++oooo+:                Packages: 1107 (pacman)
           `/++++/+++++++:               Shell: zsh 5.9
fastfetch: /home/john/.cache/yay/fastfetch/src/fastfetch-1.7.4/src/util/FFstrbuf.c:299: ffStrbufPr.
[1]    10387 IOT instruction (core dumped)  fastfetch --load-config devinfo

Output of fastfetch --load-config devinfo-verbose:

                  -`                     john@amadeus
                 .o+`                    ------------
                `ooo/                    OS: System: Linux; Name: Arch Linux; Pretty name: Arch Li4
               `+oooo:                   Host: Family: product_family: ROG Zephyrus G15; product_n.
              `+oooooo:                  Kernel: Sysname: Linux; Release: 5.19.13-arch1-g14-3; Ver0
              -+oooooo+:                 Uptime: Days: 0; Hours: 0; Minutes: 10; Seconds: 22
            `/:-:++oooo+:                Processes: Count: 844
           `/++++/+++++++:               Packages: All: 1107; pacman: 1107; pacman branch: ; dpkg:0
          `/++++++++++++++:              Shell: Process name: zsh; Process path: /usr/bin/zsh; Pro9
fastfetch: /home/john/.cache/yay/fastfetch/src/fastfetch-1.7.4/src/util/FFstrbuf.c:299: ffStrbufPr.
[1]    10419 IOT instruction (core dumped)  fastfetch --load-config devinfo-verbose

Output of fastfetch --list-features:

libpci
vulkan
wayland
xcb-randr
xcb
xrandr
x11
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
egl
glx
osmesa
opencl
❯ fastfetch --show-errors --recache --multithreading false --disable-linewrap false
                  -`                     john@amadeus
                 .o+`                    ------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: ROG Zephyrus G15 GA503QR_GA503QR 1.0
              `+oooooo:                  Kernel: 5.19.13-arch1-g14-3
              -+oooooo+:                 Uptime: 13 mins
            `/:-:++oooo+:                Packages: 1107 (pacman)
           `/++++/+++++++:               Shell: zsh 5.9
fastfetch: /home/john/.cache/yay/fastfetch/src/fastfetch-1.7.4/src/util/FFstrbuf.c:299: ffStrbufPr.
[1]    10598 IOT instruction (core dumped)  fastfetch --show-errors --recache --multithreading fal
LinusDierheimer commented 2 years ago

Can you please try 1.7.5? The crash is in the same method this release did a fix in.

AstralJohn commented 2 years ago

Confirming that 1.7.5 fixed this, thank you!