Skip to content

[BUG] fastfetch segfaults with --stat and an invalid module #1055

@Dariqq

Description

@Dariqq

General description of bug:

When invoking fastfetch --stat and and invalid modules (like from a typo) fastfetch segfaults.

Steps to reproduce: fastfetch -S pacakges --stat

output of running with gdb:

ffPrintLogoAndKey (moduleName=0x55e6e0 "pacakges", moduleIndex=<optimized out>, moduleArgs=0x0, printType=<optimized out>) at /tmp/guix-build-fastfetch-2.17.0.drv-0/source/src/common/printing.c:67
warning: 67:::` /tmp/guix-build-fastfetch-2.17.0.drv-0/source/src/common/printing.c: No such file or directory
  • What happened: Logo gets printed and segfaults.
  • Fastfetch version used: 2.17
  • Did it work in an older version: idk
  • Where did you get the binary: Built myself
  • Does this issue still occur in the latest dev build? Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions