-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
captureTouchpads
segfaults
#171
Comments
Thanks for the report. I should have some time next week to look into this. |
I believe this will be resolved by #172 . I changed how I read udev data and it should account for the nil pointer happening here. |
I'm afraid I still get a SEGFAULT at HEAD (and yes, HEAD is after #172 ):
Could you reopen the issue? |
@guiniol I'll add some logging tomorrow and then have you run it again to work out what's going on. I see it's failing after pulling udev data. I'll examine the underlying code to see if there's any obvious edge cases. |
Thanks! Happy to help however I can. |
Describe the bug
facter panics in
captureTouchpads
. This happens both at v0.3.0 and HEAD. The trace below is from HEAD:To Reproduce
Steps to reproduce the behavior:
nix run --option experimental-features "nix-command flakes" #nixos-facter -- -o facter.json
Expected behavior
nixos-facter
producesfacter.json
without segfaulting.System information
Instead here are the list of parts, and I am also attaching a facter.json generated with v0.2.0.
I
git bisect
-ed it down to b7473dd, which doesn't really help since it's the commit that addsinput.go
.I thought maybe it would help if it had a peripheral, but plugging a keyboard didn't change anything. This is a headless and fanless system, so the keyboard and the bootable USB stick are the only things plugged in.
The text was updated successfully, but these errors were encountered: