Bug 488443

Summary: gnome-power-manager --version segfaults
Product: [Fedora] Fedora Reporter: Thomas Scharler <1tms>
Component: gnome-power-managerAssignee: Richard Hughes <richard>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: mclasen, rhughes, richard
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-25 03:48:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Scharler 2009-03-04 12:06:27 UTC
[root@duffy ~]# gnome-power-manager --version
Version 2.25.91
*** glibc detected *** gnome-power-manager: double free or corruption (!prev): 0x090b2cc8 ***
======= Backtrace: =========
/lib/libc.so.6[0xe62f81]
/lib/libc.so.6[0xe64d90]
/lib/libc.so.6(cfree+0x72)[0xe670c2]
/lib/libglib-2.0.so.0(g_free+0x36)[0x4b0836]
/lib/libglib-2.0.so.0(g_option_group_free+0x45)[0x4b4a45]
/lib/libglib-2.0.so.0(g_option_context_free+0x53)[0x4b54c3]
gnome-power-manager[0x805dd54]
/lib/libc.so.6(__libc_start_main+0xe6)[0xe09736]
gnome-power-manager[0x804d2a1]
======= Memory map: ========
...

Comment 1 Richard Hughes 2009-03-04 13:48:41 UTC
I've just fixed this upstream, I'll do a new release soon:

2009-03-04  Richard Hughes  <richard>

	* src/gpm-main.c: (main):
	Don't double free when using gnome-power-manager --version

Comment 2 Matthias Clasen 2009-04-25 03:48:57 UTC
This is fixed in rawhide.