xfce4-sensors-plugin crashed with SIGSEGV in free()

Bug #257656 reported by Greg Toombs on 2008-08-13
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Xfce4 Sensors Plugin
xfce4-sensors-plugin (Ubuntu)

Bug Description

Binary package hint: xfce4-sensors-plugin

Whenever I want to reboot my laptop, I receive this message in the syslog:
kernel: [181164.062102] xfce4-sensors-p[5964]: segfault at 08000000 eip b75e14c7 esp bfb570b8 error 4

uname -a
Linux 2.6.24-20-generic #1 SMP Mon Jul 28 13:49:52 UTC 2008 i686 GNU/Linux
(Running hardy-proposed)

ProblemType: Crash
Architecture: i386
Date: Wed Aug 13 13:24:34 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/xfce4-sensors-plugin/xfce4/panel-plugins/xfce4-sensors-plugin
NonfreeKernelModules: ath_hal fglrx
Package: xfce4-sensors-plugin
PackageArchitecture: i386
ProcCmdline: /usr/lib/xfce4-sensors-plugin/xfce4/panel-plugins/xfce4-sensors-plugin socket_id 14680131 name xfce4-sensors-plugin id 12175397282 display_name Sensor\ plugin size 34 screen_position 1
Signal: 11
SourcePackage: xfce4-sensors-plugin
 free () from /lib/tls/i686/cmov/libc.so.6
 g_free () from /usr/lib/libglib-2.0.so.0
 ?? ()
 ?? ()
 g_ptr_array_foreach () from /usr/lib/libglib-2.0.so.0
Title: xfce4-sensors-plugin crashed with SIGSEGV in free()
Uname: Linux 2.6.24-20-generic i686
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev powerdev sambashare scanner tape video

Greg Toombs (greg-toombs) wrote :

StacktraceTop:free () from /lib/tls/i686/cmov/libc.so.6
IA__g_free (mem=0x8052a3e) at /build/buildd/glib2.0-2.16.4/glib/gmem.c:190
free_lmsensors_chip (chip=0x80afaa8) at lmsensors.c:437
free_chip (chip=0x80afaa8, data=0x0) at middlelayer.c:225
IA__g_ptr_array_foreach (array=0x80ab960, func=0x804b5a0 <free_chip>, user_data=0x0)

Changed in xfce4-sensors-plugin:
importance: Undecided → Medium
Charlie Kravetz (charlie-tca) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here:

Changed in xfce4-sensors-plugin:
status: New → Triaged
Greg Toombs (greg-toombs) wrote :

For reference, this bug no longer occurs on the same hardware but with Intrepid.

Greg Toombs (greg-toombs) wrote :

Sorry - meant to say:

This bug DOES still occur with Intrepid, but now it's changed: Now two related programs crash -

Dec 5 17:12:44 shuffles kernel: [154222.129185] xfce4-sensors-p[5453]: segfault at 8000000 ip b756042d sp bff0afa0 error 4 in libc-2.8.90.so[b74ef000+158000]
Dec 5 17:12:44 shuffles kernel: [154222.494111] xfce4-places-pl[5447]: segfault at 656d696d ip b78eb5c8 sp bf85d050 error 4 in libgobject-2.0.so.0.1800.2[b78c2000+3c000]

Charlie Kravetz (charlie-tca) wrote :

Greg, comments on xfce bugzilla from the developers:

Can you please try current svn and report if the problem still persists? AFAIR,
I had a look over all allocation and free and applied according changes.

If you don't have an account there, please respond here and I will relay it to there. Thanks.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfce4-sensors-plugin -

xfce4-sensors-plugin ( jaunty; urgency=low

  * debian/patches/01_fix_segfault_at_startup.patch: correctly init *checktext
    to NULL, fixes a crash in free() with invalid pointer [upstream svn r6985]
    (LP: #257656, #344015, #345678).

 -- Lionel Le Folgoc <email address hidden> Thu, 26 Mar 2009 21:03:50 +0100

Changed in xfce4-sensors-plugin:
status: Triaged → Fix Released
Changed in xfce4-sensors-plugin:
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.