! 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-plugin Segmentation fault segfault on startup
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description abandoned account 2015-02-16 17:54:02 CET
Created attachment 5947 
attempted fix on top of latest commit which currently is c4f7178cdc538a8bca9bfb75dc7e511349642a0f

from dmesg:
...
[   30.932368] xfce4-sensors-p[4315]: segfault at 40 ip 00007f327d7ec7d6 sp 0000
7fff125fabc8 error 4 in libc-2.21.so[7f327d76e000+199000]       
...
[   31.055846] systemd-coredump[4326]: Process 4315 (xfce4-sensors-p) of user 10
00 dumped core.                                                                 
...
[   31.909408] xfce4-sensors-p[4339]: segfault at 40 ip 00007effca2667d6 sp 0000
7fff1d914428 error 4 in libc-2.21.so[7effca1e8000+199000]                       [   31.960529] systemd-coredump[4340]: Process 4339 (xfce4-sensors-p) of user 10
00 dumped core.   
...

packages:
extra/xfce4-sensors-plugin               1.2.5-2
(in Manjaro/Arch Linux)


Thread 1 (Thread 0x7fcd7f638900 (LWP 4322)):
#0  0x00007fcd7cde73ca in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
#1  0x00007fcd7f2534bf in sensors_read_config ()
   from /usr/lib/xfce4/modules/libxfce4sensors.so.1
#2  0x0000000000406504 in _start ()
Comment 1 Steve Dodier-Lazaro editbugs 2015-02-16 20:15:24 CET
Thanks Emanuel for your patch!
Comment 2 Fabian Nowak editbugs 2015-02-23 21:53:28 CET
thanks for notifying and investigations and supplying a patch. Patch will be applied, looks good, checking for null pointers is always a good idea

Bug #11544

Reported by:
abandoned account
Reported on: 2015-02-16
Last modified on: 2015-02-23

People

Assignee:
Fabian Nowak
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information