Closed c4rlo closed 6 months ago
After building with debug info, we can see better what happened:
#0 0x000072ed66b78edd in () at /usr/lib/libc.so.6
#1 0x000072ed66a7e6e9 in () at /usr/lib/libc.so.6
#2 0x000072ed66a9f125 in () at /usr/lib/libc.so.6
#3 0x000072ed673652c3 in g_vasprintf () at /usr/lib/libglib-2.0.so.0
#4 0x000072ed67336aa2 in g_strdup_vprintf () at /usr/lib/libglib-2.0.so.0
#5 0x000072ed6731b28b in g_logv () at /usr/lib/libglib-2.0.so.0
#6 0x000072ed6731b724 in g_log () at /usr/lib/libglib-2.0.so.0
#7 0x0000598d05c32130 in thd_dbus_on_bus_acquired(GDBusConnection*, gchar const*, gpointer) (connection=0x598d069a4300, name=<optimized out>, user_data=0x598d06998810)
at src/thd_dbus_interface.cpp:1172
#8 0x000072ed671f08d8 in () at /usr/lib/libgio-2.0.so.0
#9 0x000072ed67189d14 in () at /usr/lib/libgio-2.0.so.0
#10 0x000072ed6718dc2d in () at /usr/lib/libgio-2.0.so.0
#11 0x000072ed671ebf43 in () at /usr/lib/libgio-2.0.so.0
#12 0x000072ed67189d14 in () at /usr/lib/libgio-2.0.so.0
#13 0x000072ed67189d4d in () at /usr/lib/libgio-2.0.so.0
#14 0x000072ed67312f69 in () at /usr/lib/libglib-2.0.so.0
#15 0x000072ed67371367 in () at /usr/lib/libglib-2.0.so.0
#16 0x000072ed67313b97 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#17 0x0000598d05c30642 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at src/main.cpp:376
That finding lead me to propose #429 as the fix for this.
I'm just providing another data point here: I'm also getting a startup crash on Arch Linux since this update hit. Let me know if sharing more information/debug logs is helpful.
https://github.com/intel/thermal_daemon/commit/e49e4baf6ca12c647e8a4bc4e50743bc475d316a The above commit should fix. I applied that commit. Let me know if this is fixed. I have to update rev.
Building from latest git has resolved the issue for me.
@spandruvada Can confirm this fixes the issue for Arch. Can we get a 2.5.6 release please?
I do support this issue, have the same.
> systemctl status thermald.service
× thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; preset: disabled)
Active: failed (Result: core-dump) since Tue 2024-01-23 16:06:29 EET; 13min ago
Process: 11592 ExecStart=/usr/bin/thermald --systemd --dbus-enable --adaptive (code=dumped, signal=SEGV)
Main PID: 11592 (code=dumped, signal=SEGV)
CPU: 50ms
Jan 23 16:06:28 untainsYD-workstation systemd[1]: thermald.service: Failed with result 'core-dump'.
Jan 23 16:06:28 untainsYD-workstation systemd[1]: Failed to start Thermal Daemon Service.
Jan 23 16:06:29 untainsYD-workstation systemd[1]: thermald.service: Scheduled restart job, restart counter is at 5.
Jan 23 16:06:29 untainsYD-workstation systemd[1]: thermald.service: Start request repeated too quickly.
Jan 23 16:06:29 untainsYD-workstation systemd[1]: thermald.service: Failed with result 'core-dump'.
Jan 23 16:06:29 untainsYD-workstation systemd[1]: Failed to start Thermal Daemon Service.
@spandruvada Can confirm this fixes the issue for Arch. Can we get a 2.5.6 release please?
Released.
When upgrading to thermald 2.5.5, it consistently crashes on startup. This did not happen with 2.5.4. This is on Arch Linux.