! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-sensors crashes with Segmentation fault if hddtemp is not running.
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description assie181 2012-05-06 16:50:37 CEST
Actual:

$ xfce4-sensors 
Segmentation fault

xfce4-sensors crashes with Segmentation fault if hddtemp is not running.

Expected: xfce4-sensors should display a message that hddtemp was not found running instead of crashing.

Version: xfce4-sensors-plugin-1.2.3]

Backtrace:

$ gdb ./xfce4-sensors 
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff49a18a6 in __strcmp_sse2 () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff49a18a6 in __strcmp_sse2 () from /lib/libc.so.6
#1  0x00007ffff7bd6a20 in get_hddtemp_value () from /usr/lib/xfce4/modules/libxfce4sensors.so.1
#2  0x00007ffff7bd6b6c in remove_unmonitored_drives () from /usr/lib/xfce4/modules/libxfce4sensors.so.1
#3  0x00007ffff7bd6ceb in initialize_hddtemp () from /usr/lib/xfce4/modules/libxfce4sensors.so.1
#4  0x00007ffff7bd3916 in initialize_all () from /usr/lib/xfce4/modules/libxfce4sensors.so.1
#5  0x00007ffff7bd4814 in sensors_new () from /usr/lib/xfce4/modules/libxfce4sensors.so.1
#6  0x0000000000402101 in initialize_sensors_struct () at main.c:93
#7  0x00000000004022bf in main (argc=1, argv=0x7fffffffe248) at main.c:143
Comment 1 Fabian Nowak editbugs 2012-05-12 12:31:02 CEST
I need your config.log or .h; your distribution, package version, is hddtemp running as daemon and the like. current information does not allow to precisely understand your problem.
Comment 2 Fabian Nowak editbugs 2012-05-13 15:30:57 CEST
OK, have the same issue when plugin was configured with hddtemp daemon but when this daemon no longer runs. Fixing in progress...
Comment 3 Fabian Nowak editbugs 2012-05-13 16:41:02 CEST
OK, fixed, thanks for reporting, sorry for any inconveniencesa.
Comment 4 Fabian Nowak editbugs 2012-05-13 17:03:14 CEST
*** Bug 7109 has been marked as a duplicate of this bug. ***

Bug #8839

Reported by:
assie181
Reported on: 2012-05-06
Last modified on: 2012-05-13
Duplicates (1):
  • 7109 xfce4-sensors-plugin-1.0.0-1.fc14: malloc_consolidate: Process /usr/libexec/xfce4/panel-plugins/xfce4-sensors-plugin was killed by signal 11 (SIGSEGV)

People

Assignee:
Fabian Nowak
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information