gnome-power-manager segfaults immediately (2.17.90, powerpc)

Bug #81427 reported by Colin Watson
14
Affects Status Importance Assigned to Milestone
gnome-power
Fix Released
Critical
gnome-power-manager (Ubuntu)
Fix Released
Critical
Oliver Grawert

Bug Description

Binary package hint: gnome-power-manager

gnome-power-manager segfaults immediately on my laptop. I haven't got a backtrace yet, but an strace is attached in the hope that that will help.

Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :
Download full text (3.6 KiB)

#0 0x0e8e4f04 in strlen () from /lib/libc.so.6
#1 0x0ea230ec in IA__g_strdup (str=0xfefefeff <Address 0xfefefeff out of bounds>) at gstrfuncs.c:90
#2 0x0ead4164 in value_collect_string (value=0x7f9f8500, n_collect_values=4278124284, collect_values=<value optimized out>, collect_flags=0) at gvaluetypes.c:292
#3 0x0eabc708 in IA__g_signal_emit_valist (instance=0x100736f8, signal_id=<value optimized out>, detail=0, var_args=0x7f9f87c4) at gsignal.c:2174
#4 0x0eabcc38 in IA__g_signal_emit (instance=0xfefefeff, signal_id=4278124284, detail=24) at gsignal.c:2243
#5 0x10021af4 in gpm_tray_icon_set_image_from_stock (icon=0x100736f8, stock_id=0x100b7fc0 "gpm-primary-080-charging") at gpm-tray-icon.c:156
#6 0x10021db4 in gpm_tray_icon_sync (icon=0xfefefeff) at gpm-tray-icon.c:769
#7 0x1001b0f0 in power_battery_status_changed_cb (power=<value optimized out>, battery_kind=4278124284, manager=0x18) at gpm-manager.c:1264
#8 0x0eab7b98 in IA__g_cclosure_marshal_VOID__INT (closure=0x1011a658, return_value=<value optimized out>, n_param_values=<value optimized out>, param_values=0x7f9f8a18,
    invocation_hint=<value optimized out>, marshal_data=0x1001b0b0) at gmarshal.c:216
#9 0x0eaa724c in IA__g_closure_invoke (closure=0x1011a658, return_value=0x0, n_param_values=2, param_values=0x7f9f8a18, invocation_hint=0x7f9f896c) at gclosure.c:490
#10 0x0eabb764 in signal_emit_unlocked_R (node=0x101107b8, detail=0, instance=0x100bfac8, emission_return=0x0, instance_and_params=0x7f9f8a18) at gsignal.c:2440
#11 0x0eabca6c in IA__g_signal_emit_valist (instance=0x100bfac8, signal_id=<value optimized out>, detail=0, var_args=0x7f9f8cf4) at gsignal.c:2199
#12 0x0eabcc38 in IA__g_signal_emit (instance=0xfefefeff, signal_id=4278124284, detail=24) at gsignal.c:2243
#13 0x1001f54c in battery_kind_cache_update (power=0x100bfac8, entry=0x10123700) at gpm-power.c:1160
#14 0x10020ce8 in battery_added_cb (battery=<value optimized out>, udi=<value optimized out>, power=0x100bfac8) at gpm-power.c:1260
#15 0x0eab7498 in IA__g_cclosure_marshal_VOID__STRING (closure=0x10124800, return_value=<value optimized out>, n_param_values=<value optimized out>, param_values=0x7f9f8f18,
    invocation_hint=<value optimized out>, marshal_data=0x10020bc0) at gmarshal.c:496
#16 0x0eaa724c in IA__g_closure_invoke (closure=0x10124800, return_value=0x0, n_param_values=2, param_values=0x7f9f8f18, invocation_hint=0x7f9f8e6c) at gclosure.c:490
#17 0x0eabb764 in signal_emit_unlocked_R (node=0x100d7c68, detail=0, instance=0x10056350, emission_return=0x0, instance_and_params=0x7f9f8f18) at gsignal.c:2440
#18 0x0eabca6c in IA__g_signal_emit_valist (instance=0x10056350, signal_id=<value optimized out>, detail=0, var_args=0x7f9f91f4) at gsignal.c:2199
#19 0x0eabcc38 in IA__g_signal_emit (instance=0xfefefeff, signal_id=4278124284, detail=24) at gsignal.c:2243
#20 0x10007bf4 in watch_add_battery (battery=0x10056350, udi=0x101197c8 "/org/freedesktop/Hal/devices/pmu_battery_0_0") at gpm-battery.c:169
#21 0x10007c78 in coldplug_batteries (battery=0x10056350) at gpm-battery.c:273
#22 0x10007d00 in start_idle (battery=0xfefefeff) at gpm-battery.c:299
#23 0x0e9ffdd8 in g_idle_dispatch (source=<value optimized out...

Read more...

Revision history for this message
Richard Hughes (richard-hughes) wrote :

What does "locate gpm-primary-080-charging" print?

Revision history for this message
Colin Watson (cjwatson) wrote :

/usr/share/icons/hicolor/22x22/apps/gpm-primary-080-charging.png
/usr/share/icons/hicolor/scalable/apps/gpm-primary-080-charging.svg
/usr/share/icons/hicolor/16x16/apps/gpm-primary-080-charging.png
/usr/share/icons/hicolor/24x24/apps/gpm-primary-080-charging.png
/usr/share/icons/Human/22x22/apps/gpm-primary-080-charging.png
/home/cjwatson/gpm-test/share/icons/hicolor/scalable/apps/gpm-primary-080-charging.svg
/home/cjwatson/gpm-test/share/icons/hicolor/16x16/apps/gpm-primary-080-charging.png
/home/cjwatson/gpm-test/share/icons/hicolor/22x22/apps/gpm-primary-080-charging.png
/home/cjwatson/gpm-test/share/icons/hicolor/24x24/apps/gpm-primary-080-charging.png

(The last four are from some old work I was doing on g-p-m and shouldn't be on any relevant search path, I think.)

I believe that I'm using the Human icon theme.

Changed in gnome-power:
status: Unknown → Unconfirmed
Revision history for this message
Richard Hughes (richard-hughes) wrote :

2007-01-26 Richard Hughes <email address hidden>

 * src/gpm-tray-icon.c: (gpm_tray_icon_set_image_from_stock):
 Fix a crasher on PPC where we were not sending the correct marshalled
 type on icon change. Should fix lp:81427 and #400654.

Can you try SVN trunk for me please? Thanks.

Revision history for this message
Oliver Grawert (ogra) wrote :

will do, many many thanks ! (i'll be travelling until tomorrow evening but get on it right away if i'm home)

Changed in gnome-power:
status: Unconfirmed → Needs Info
Revision history for this message
Colin Watson (cjwatson) wrote :

Richard: Better, but not quite right. Please apply the attached patch as well.

2007-01-29 Colin Watson <email address hidden>

        * src/gpm-tray-icon.c: (gpm_tray_icon_sync):
        Fix arguments to description-changed signal. Fixes lp:81427.

Revision history for this message
Colin Watson (cjwatson) wrote :
Changed in gnome-power:
status: Needs Info → Fix Released
Revision history for this message
Oliver Grawert (ogra) wrote :

 gnome-power-manager (2.17.90-0ubuntu3) feisty; urgency=low
 .
   ...
   * add 65-fix-ppc-crasher, fixes malone 81427, thanks to Colin Watson
   ...

Changed in gnome-power-manager:
assignee: nobody → ogra
importance: Undecided → Critical
status: Unconfirmed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

Oliver, you applied my half of the patch but not the half that Richard had already applied upstream.

Changed in gnome-power-manager:
status: Fix Released → Confirmed
Revision history for this message
Oliver Grawert (ogra) wrote :

sorry :-(

 gnome-power-manager (2.17.90-0ubuntu4) feisty; urgency=low
 .
   * make sure we apply both parts of the fix for 65-fix-ppc-crasher

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Marking as fixed per previous comments, reopen if you feel otherwise.

Changed in gnome-power-manager:
status: Confirmed → Fix Released
Changed in gnome-power:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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