Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[BUG] [Artix & Gentoo] [Sakura] Freezes on --gen-config with changing logo option and/or full json config

未关闭
#2,584 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
c
领域
cli

调研方向

在已报告的系统上,使用带有已更改 logo 选项以及完整或最小 JSON 配置的 --gen-config,复现 /usr/bin/fastfetch 中的卡死问题。首先在调试器下调查 --gen-config 的执行;对于受影响的 logo 和 JSON 组合,配置生成能够在不发生卡死的情况下完成,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug can't reproduce
Read the FAQ first
  • I have checked the FAQ but the issue is not covered
Not a known issue
  • I have checked the existing issues but the issue is not covered
  • My issue is not about crashing on Fedora and KDE 6.6
Description
Made a quick verification of this being a new issue. Potentially missed it if said issue is a duplicate.
What I have tried:
  • Attempted to create a full .json config without a logo.
  • Tried various toggled options to verify the issue wasn't one of them.
  • Tried a full logo with a full .json config, same issue.
  • Tried a minimal .json config with no logo.
  • Tried a minimal logo with both full and minimal .json configs.
  • Deleting previous config files to verify the problem isn't with overwriting
  • Killing the affected process with Ctrl+C (does nothing)
  • Killing the affected process with htop
  • Tested all of the above on a Gentoo system registering version 2.65.2-r1

Tested up to 30 mins per option to verify.

What I haven't tried:
  • Newer version via AUR/Git. Attempting to keep a fairly stable system.
  • Building version 2.67.1 from source code (Artix)
What does work:
  • The --gen-config flag without adding any changes to the logo.
  • The --gen-config flag without adding any changes to the verbosity of the generated config.
  • Killing affected processes via xkill on Sakura
Doubtful this will help, but both systems have these in common:
  • OpenRC for an init system
  • BTRFS File System, 3 partition layout in order: EFI, Root, Swap
  • Sakura for a Terminal Emulator
  • CWM window manager
  • soteria root prompt
  • polybar with the same config
  • Pure X11 (No Wayland components, Gentoo built against it)
  • elogind
  • xcompmgr compositor
  • 1920x1080 display (stranger things have happened from displays, can't rule it out)
  • ALSA Pulseaudio configuration
  • Environment Agnostic GUI tools (e.g. xfe, leafpad, palemoon)
  • Clang Compiler (maybe important for Gentoo, Artix used the binary)
Version used

2.67.1 (x86_64)

Bug prevalence

Always

Regression

No

Installation

Package manager

Package manager

pacman/yay wrapper and portage via Clang Compiler

Screenshots

No response

Configuration

Stacktrace
Reading symbols from /usr/bin/fastfetch...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.artixlinux.org>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
(No debugging symbols found in /usr/bin/fastfetch)
Starting program: /usr/bin/fastfetch 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

(Fastfetch ran normally here, redacted for privacy)
                                           
[Inferior 1 (process 8184) exited normally]
❌️ No stack.
主要语言
C
星标
24.8k
派生
908
平均合并
22 小时 1 分钟
30 天内合并 PR
22

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fastfetch-cli/fastfetch 的其他 Issue

查看 fastfetch-cli/fastfetch 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。