Some corruption in gthcli
purism@librem5:~$ gthcli
Thermal Zones
-------------
dbus path: /org/sigxcpu/Thermal/ThermalZone/4
type: bq25890-charger
temperature: 42.00°C
dbus path: /org/sigxcpu/Thermal/ThermalZone/0
type: cpu-thermal
temperature: 38.00°C
cooling devices: /org/sigxcpu/Thermal/CoolingDevice/3
/org/sigxcpu/Thermal/CoolingDevice/1
/org/sigxcpu/Thermal/CoolingDevice/5
/org/sigxcpu/Thermal/CoolingDevice/2
/org/sigxcpu/Thermal/CoolingDevice/0
dbus path: /org/sigxcpu/Thermal/ThermalZone/1
type: gpu-thermal
temperature: 39.00°C
cooling devices: /org/sigxcpu/Thermal/CoolingDevice/4
dbus path: /org/sigxcpu/Thermal/ThermalZone/2
type: vpu-thermal
temperature: 39.00°C
dbus path: /org/sigxcpu/Thermal/ThermalZone/3
type: max170xx_battery
temperature: 46.20°C
8{���
Cooling Devices
---------------
dbus path: /org/sigxcpu/Thermal/CoolingDevice/3
type: thermal-idle-3
max state: 100
current state: 0
dbus path: /org/sigxcpu/Thermal/CoolingDevice/4
type: 38000000.gpu
max state: 6
current state: 0
dbus path: /org/sigxcpu/Thermal/CoolingDevice/5
type: thermal-cpufreq-0
max state: 1
current state: 0
dbus path: /org/sigxcpu/Thermal/CoolingDevice/0
type: thermal-idle-0
max state: 100
current state: 0
dbus path: /org/sigxcpu/Thermal/CoolingDevice/1
type: thermal-idle-1
max state: 100
current state: 0
dbus path: /org/sigxcpu/Thermal/CoolingDevice/2
type: thermal-idle-2
max state: 100
current state: 0
Notice the garbage printed under max170xx_battery.
I've once seen a segfault in the same place, but unfortunately don't have a coredump anymore aside of this:
Stack trace of thread 6667:
#0 0x0000ffffb3016250 __GI_strlen (libc.so.6 + 0x8a250)
#1 0x0000ffffb2feabd4 __vfprintf_internal (libc.so.6 + 0x5ebd4)
#2 0x0000ffffb2ffbfcc __vasprintf_internal (libc.so.6 + 0x6ffcc)
#3 0x0000ffffb3071514 __vasprintf_chk (libc.so.6 + 0xe5514)
#4 0x0000ffffb31a4230 g_vasprintf (libglib-2.0.so.0 + 0xa2230)
#5 0x0000ffffb3175f54 g_strdup_vprintf (libglib-2.0.so.0 + 0x73f54)
#6 0x0000ffffb315edd8 g_print (libglib-2.0.so.0 + 0x5cdd8)
#7 0x0000aaaae0be5668 n/a (gthcli + 0x5668)
#8 0x0000ffffb2fb0218 __libc_start_main (libc.so.6 + 0x24218)
#9 0x0000aaaae0be5890 n/a (gthcli + 0x5890)
#10 0x0000aaaae0be5890 n/a (gthcli + 0x5890)