Skip to content

Thread panic sometimes when attempting to fetch CPU info on Thinkpad X1 Nano Gen 1 #557

@Camerooooon

Description

@Camerooooon

Describe the bug
I'm getting a thread panic on my new Thinkpad X1 Nano Gen 1 sometimes when attempting to fetch CPU information. I think the problem is a kernel bug which prevents the data from being read however it should be handled properly instead of panicking.

To Reproduce
Steps to reproduce the behavior:

  1. Run command 'acs get cpus'
  2. Received error

Expected behavior
The os error 61 should be handled properly instead of panicking.

**Screenshots
20240222_12h09m04s_grim

Version
autoclockspeed 0.1.11 installed with cargo install

I will work to fix this issue since it seems to be a hardware issue with my specific laptop and might be difficult to reproduce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions