fastfetch: [BUG] WSL fails

       _,met$$$$$gg.           stefan@Stefan-PC
    ,g$$$$$$$$$$$$$$$P.        ----------------
  ,g$$P"         """Y$$.".     OS: Debian GNU/Linux buster 10.13 x86_64
 ,$$P'               `$$$.     Host: Windows Subsystem for Linux - Debian (2.0.14.0)
',$$P       ,ggs.     `$$b:    Kernel: 4.4.0-19041-Microsoft
`d$$'     ,$P"'   .    $$$     Uptime: 2 hours, 42 mins
 $$P      d$'     ,    $$$P    Packages: 1715 (dpkg)
 $$:      $.   -    ,d$$'      Shell: bash 5.0.3
 $$;      Y$b._   _,d$P'       Display: 3000x1920
 Y$$.    `.`"Y$$$$P"'          Cursor: Adwaita
 `$$b      "-.__               Terminal: SessionLeader
Segmentation fault (core dumped)
(gdb) bt
#0  0x00007fffff4d1ce2 in __GI___readdir64 (dirp=0x0)
    at ../sysdeps/posix/readdir.c:44
#1  0x000000000804e849 in detectFrequency (cpu=<optimized out>,
    cpu=<optimized out>)
    at /home/stefan/g/fastfetch/src/detection/cpu/cpu_linux.c:115
#2  ffDetectCPUImpl (options=<optimized out>, cpu=0x7ffffffedc60)
    at /home/stefan/g/fastfetch/src/detection/cpu/cpu_linux.c:235
#3  0x000000000808fcaa in ffDetectCPU (cpu=0x7ffffffedc60,
    options=0x811ede8 <instance+1192>)
    at /home/stefan/g/fastfetch/src/detection/cpu/cpu.c:7
#4  ffPrintCPU (options=0x811ede8 <instance+1192>)
    at /home/stefan/g/fastfetch/src/modules/cpu/cpu.c:20
#5  0x00000000080a0d68 in parseStructureCommand (line=0x81270e9 "CPU",
    fn=0x809deb0 <genJsonResult>, jsonDoc=0x0, customValues=<optimized out>,
    customValues=<optimized out>)
    at /home/stefan/g/fastfetch/src/common/commandoption.c:115
#6  0x0000000008013c30 in ffPrintCommandOption (jsonDoc=<optimized out>,
    data=0x7ffffffede50)
    at /home/stefan/g/fastfetch/src/common/commandoption.c:137
#7  run (data=0x7ffffffede50) at /home/stefan/g/fastfetch/src/fastfetch.c:824
#8  main (argc=<optimized out>, argv=<optimized out>)
    at /home/stefan/g/fastfetch/src/fastfetch.c:885

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 20 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Open a new issue if there are other things wrong

I will cut a new version tomorrow if everything is fine.