Segfault on interrogate, Architecture (null)
Here's the output when running interrogate, same thing with environment
$ sudo ddcutil interrogate
Setting output level verbose...
Setting maximum retries...
Forcing --stats...
Forcing --force-slave-address..
This command will take a while to run...
*** Basic System Information ***
ddcutil version: 0.8.5
/proc/version:
Linux version 4.12.8-2-ARCH (builduser@foutrelis) (gcc version 7.2.0 (GCC) ) #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017
Architecture: (null)
Distributor id: Arch
Release: rolling
Unexpected architecture (null). Please report.
Segmentation fault
https://github.com/rockowitz/ddcutil/blob/63a977191ac09a18f1c74079705a3cb80ae26cbb/src/app_sysenv/query_sysenv.c#L155
Looks like there is no arch program on Arch linux. uname -m would work.
Changed. The fix will appear in the next point release.
Thanks for the report.
On 11/26/2017 12:42 PM, Despruk wrote:
https://github.com/rockowitz/ddcutil/blob/63a977191ac09a18f1c74079705a3cb80ae26cbb/src/app_sysenv/query_sysenv.c#L155 Looks like there is no |arch| program on Arch linux. |uname -m| would work.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rockowitz/ddcutil/issues/40#issuecomment-347025510, or mute the thread https://github.com/notifications/unsubscribe-auth/ANhsbu-6Dh-JVBGfPj8T2YmBuzU8A-lkks5s6aMGgaJpZM4Qq2X2.
segfault fixed in 0.8.5