[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2010-01-08 Thread Kamus
This bug report is being closed due to your last comment regarding this
being fixed with an update. Thank you again for taking the time to
report this bug and helping to make Ubuntu better.

** Changed in: gnome-power-manager (Ubuntu)
   Status: Incomplete => Invalid

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2009-03-17 Thread Alan Pope
Looks like this is now resolved. So it can be marked as invalid.

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2009-03-17 Thread Pedro Villavicencio
Any news about it? it's fixed for you Alan with jaunty ? could you
review what James asked you, thanks.

** Changed in: gnome-power-manager (Ubuntu)
   Importance: Undecided => Low
   Status: New => Incomplete

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-13 Thread James Westby
Hi Alan,

I saw bug 269083 which actually sounds a lot like yours, do
you think they are duplicates?

Thanks,

James

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-07 Thread James Westby
One of the batteries is low on charge, BAT2 that causes the problems.

This triggers

** EMIT: charge-low

which then leads to

** (gnome-power-manager:9532): CRITICAL **:
gpm_cell_array_charge_low_cb: assertion `engine != NULL' failed

it's not passing it a NULL pointer when the signal is connected (otherwise it 
would
SIGSEGV very early).

This may or not be a red herring.

It would be interesting to see if this only happens during coldplug. This would
involve running on AC + BAT2, with BAT2 having a decent amount of charge,
starting gpm, then unplugging AC and letting BAT2 discharge until you get
the low battery warning.

Thanks,

James

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-07 Thread Alan Pope
[EMAIL PROTECTED]:~$ gnome-power-manager --no-daemon --verbose
TI:12:46:55 TH:0x25dda00FI:egg-debug.c  FN:egg_debug_init,281
 - Verbose debugging 1 (on console 1)
TI:12:46:55 TH:0x25dda00FI:gpm-main.c   FN:main,207
 - GNOME Power Manager 2.24.0
TI:12:46:55 TH:0x25dda00FI:gpm-ac-adapter.c 
FN:gpm_ac_adapter_init,200
 - using /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP1
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=124
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=150
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=233
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=232
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=160
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=238
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=237
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:gpm_button_grab_keystring,152
 - Grabbed modmask=0, keycode=236
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:coldplug_buttons,431
 - Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_3
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:coldplug_buttons,431
 - Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_2
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:coldplug_buttons,431
 - Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_1
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:coldplug_buttons,431
 - Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_0
TI:12:46:55 TH:0x25dda00FI:gpm-button.c FN:coldplug_buttons,431
 - Watching 
/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_update_cache,603
 - screen 1 of 1
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_update_cache,608
 - watching ::monitors_changed on 0x2614060
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_update_cache,618
 - adding resource 0x27dfbb0
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-hal.c 
FN:gpm_brightness_hal_init,472
 - Laptop panel levels: 8
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-hal.c 
FN:gpm_brightness_hal_init,485
 - laptop_panel.brightness_in_hardware not found. Assuming false
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-hal.c 
FN:gpm_brightness_hal_get_hw,117
 - GetBrightness returned level: 7
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-hal.c 
FN:gpm_brightness_hal_init,508
 - Starting: (7 of 7)
TI:12:46:55 TH:0x25dda00FI:gpm-screensaver.c
FN:gpm_screensaver_add_throttle,318
 - adding throttle reason: 'On battery power': id 491251714
TI:12:46:55 TH:0x25dda00FI:gpm-prefs-server.c   
FN:gpm_prefs_server_set_capability,84
 - capability now 4
TI:12:46:55 TH:0x25dda00FI:gpm-prefs-server.c   
FN:gpm_prefs_server_set_capability,84
 - capability now 5
TI:12:46:55 TH:0x25dda00FI:gpm-feedback-widget.c
FN:gpm_feedback_set_icon_name,164
 - Using icon name 'gpm-brightness-lcd'
TI:12:46:55 TH:0x25dda00FI:gpm-light-sensor.c   
FN:gpm_light_sensor_get_absolute,146
 - no hardware!
TI:12:46:55 TH:0x25dda00FI:gpm-backlight.c  
FN:gpm_backlight_brightness_evaluate_and_set,379
 - 1. main brightness 1.00
TI:12:46:55 TH:0x25dda00FI:gpm-backlight.c  
FN:gpm_backlight_brightness_evaluate_and_set,397
 - 2. battery scale 1.00, brightness 1.00
TI:12:46:55 TH:0x25dda00FI:gpm-backlight.c  
FN:gpm_backlight_brightness_evaluate_and_set,416
 - 3. idle scale 1.00, brightness 1.00
TI:12:46:55 TH:0x25dda00FI:gpm-backlight.c  
FN:gpm_backlight_brightness_evaluate_and_set,436
 - 4. ambient scale 1.00, brightness 1.00
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_foreach_screen,414
 - using resource 0x27dfbb0
TI:12:46:55 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_foreach_resource,375
 - resource 1 of 3
TI:12:46:56 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_foreach_resource,375
 - resource 2 of 3
TI:12:46:56 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_output_get_percentage,223
 - hard value=7, min=0, max=7
TI:12:46:56 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_output_get_percentage,225
 - percentage 100
TI:12:46:56 TH:0x25dda00FI:gpm-brightness-xrandr.c  
FN:gpm_brightness_xrandr_foreach_resource,37

[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-07 Thread James Westby
BAT2 is the one that causes the crash

Thanks,

James

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-07 Thread Alan Pope
[EMAIL PROTECTED]:~$ hal-find-by-capability --capability "battery" | xargs -n 1 
hal-device
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1'
  battery.reporting.rate = 10111  (0x277f)  (int)
  battery.is_rechargeable = true  (bool)
  battery.rechargeable.is_charging = true  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 24895  (0x613f)  (int)
  linux.hotplug_type = 2  (0x2)  (int)
  info.subsystem = 'power_supply'  (string)
  battery.reporting.last_full = 47152  (0xb830)  (int)
  linux.subsystem = 'power_supply'  (string)
  info.product = 'G71C0004S610'  (string)
  battery.charge_level.current = 24895  (0x613f)  (int)
  info.capabilities = { 'battery' } (string list)
  info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1'  
(string)
  battery.charge_level.last_full = 47152  (0xb830)  (int)
  battery.charge_level.design = 50760  (0xc648)  (int)
  battery.charge_level.rate = 10111  (0x277f)  (int)
  battery.charge_level.percentage = 52  (0x34)  (int)
  battery.remaining_time = 7924  (0x1ef4)  (int)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.technology = 'lithium-ion'  (string)
  linux.sysfs_path = '/sys/class/power_supply/BAT1'  (string)
  battery.model = 'G71C0004S610'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  battery.vendor = ''  (string)
  battery.voltage.design = 10800  (0x2a30)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.design = 50760  (0xc648)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.serial = '2100214923'  (string)
  battery.present = true  (bool)
  battery.voltage.current = 11260  (0x2bfc)  (int)

udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT2'
  battery.reporting.rate = 10107  (0x277b)  (int)
  battery.is_rechargeable = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 1362  (0x552)  (int)
  linux.hotplug_type = 2  (0x2)  (int)
  info.subsystem = 'power_supply'  (string)
  battery.reporting.last_full = 39873  (0x9bc1)  (int)
  linux.subsystem = 'power_supply'  (string)
  info.product = 'G71C0006K210'  (string)
  battery.charge_level.current = 1362  (0x552)  (int)
  info.capabilities = { 'battery' } (string list)
  info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT2'  
(string)
  battery.charge_level.last_full = 39873  (0x9bc1)  (int)
  battery.charge_level.design = 43200  (0xa8c0)  (int)
  battery.charge_level.rate = 10107  (0x277b)  (int)
  battery.charge_level.percentage = 3  (0x3)  (int)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.technology = 'lithium-ion'  (string)
  linux.sysfs_path = '/sys/class/power_supply/BAT2'  (string)
  battery.model = 'G71C0006K210'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  battery.vendor = ''  (string)
  battery.voltage.design = 10800  (0x2a30)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.design = 43200  (0xa8c0)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.serial = '000612'  (string)
  battery.present = true  (bool)
  battery.voltage.current = 11350  (0x2c56)  (int)

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-07 Thread Alan Pope
12:12:29 < james_w> popey: you think it's becuase you've got two batteries 
because it only happens on that machine, or because it works if you pull one 
out?
12:13:03 < popey> it works with only one battery
12:13:36 < popey> interestingly..
12:13:40 < popey> it's specific to one battery
12:13:59 < popey> i.e. if i pull out the internal battery and leave the "slice" 
one attached, it crashes
12:14:10 < popey> if i pull out the slice battery and leave the internal one, 
it doesnt crash
12:14:56 < popey> (both batteries are new as of a month or so ago, and both 
work perfectly as batteries go)

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-07 Thread Alan Pope
Attached backtrace.

** Attachment added: "gdb-gpm.txt"
   http://launchpadlibrarian.net/18289070/gdb-gpm.txt

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 279552] Re: [intrepid] gpm crashes when two batteries attached, and not on mains

2008-10-07 Thread Alan Pope
Further information..

With AC not attached, two batteries installed...

"gnome-power-manager --no-daemon" causes it to crash with a segfault
however "gnome-power-manager --no-daemon --verbose" causes it NOT to
crash..

-- 
[intrepid] gpm crashes when two batteries attached, and not on mains
https://bugs.launchpad.net/bugs/279552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs