Bug 458933 - Coredump on resume
Coredump on resume
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: gnome-power-manager (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Richard Hughes
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F10Beta/F10BetaBlocker
  Show dependency treegraph
 
Reported: 2008-08-13 06:11 EDT by Zdenek Kabelac
Modified: 2008-08-15 07:13 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-15 07:13:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Zdenek Kabelac 2008-08-13 06:11:22 EDT
Description of problem:

Recently I can see a lot of coredump generated by this tool:

I guess the 'unit_temp' is null - and there is no check for this in gpm-cell-array.c source code.

(gdb) 
#0  gpm_cell_array_update (cell_array=0x823b20) at gpm-cell-array.c:288
#1  0x00000000004111d0 in gpm_cell_percent_changed_cb (cell=<value optimized out>, percent=1558849520, 
    cell_array=0x20) at gpm-cell-array.c:597
#2  0x00007f9b567017fd in IA__g_closure_invoke (closure=0x872b40, return_value=0x0, n_param_values=2, 
    param_values=0x91ea30, invocation_hint=0x7fff64eea160) at gclosure.c:767
#3  0x00007f9b567185b0 in signal_emit_unlocked_R (node=0x823790, detail=0, instance=0xa25830, 
    emission_return=0x0, instance_and_params=0x91ea30) at gsignal.c:3244
#4  0x00007f9b56719ca9 in IA__g_signal_emit_valist (instance=0xa25830, signal_id=<value optimized out>, 
    detail=0, var_args=0x7fff64eea340) at gsignal.c:2977
#5  0x00007f9b5671a213 in IA__g_signal_emit (instance=0x2, signal_id=1558849520, detail=32) at gsignal.c:3034
#6  0x000000000040dd9b in hal_device_property_modified_cb (device=0x836940, 
    key=0xa2c820 "battery.charge_level.percentage", is_added=0, is_removed=0, finally=0, cell=0xa25830)
    at gpm-cell.c:326
#7  0x00007f9b567017fd in IA__g_closure_invoke (closure=0xa31720, return_value=0x0, n_param_values=5, 
    param_values=0x811c40, invocation_hint=0x7fff64eea5e0) at gclosure.c:767
#8  0x00007f9b567185b0 in signal_emit_unlocked_R (node=0x79e280, detail=0, instance=0x836940, 
    emission_return=0x0, instance_and_params=0x811c40) at gsignal.c:3244
#9  0x00007f9b56719ca9 in IA__g_signal_emit_valist (instance=0x836940, signal_id=<value optimized out>, 
    detail=0, var_args=0x7fff64eea7c0) at gsignal.c:2977
#10 0x00007f9b5671a213 in IA__g_signal_emit (instance=0x2, signal_id=1558849520, detail=32) at gsignal.c:3034
#11 0x000000000042e45d in watch_device_property_modified () at libhal-gdevice.c:311
#12 watch_device_properties_modified_cb (proxy=<value optimized out>, type=<value optimized out>, 
    properties=0xa30680, device=0x836940) at libhal-gdevice.c:359
#13 0x00007f9b584be984 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#14 0x00007f9b567017fd in IA__g_closure_invoke (closure=0x740350, return_value=0x0, n_param_values=3, 
    param_values=0xa226d0, invocation_hint=0x7fff64eeaab0) at gclosure.c:767
#15 0x00007f9b567185b0 in signal_emit_unlocked_R (node=0x79fc10, detail=1346, instance=0x8e6420, 
    emission_return=0x0, instance_and_params=0xa226d0) at gsignal.c:3244
#16 0x00007f9b56719ca9 in IA__g_signal_emit_valist (instance=0x8e6420, signal_id=<value optimized out>, 
    detail=1346, var_args=0x7fff64eeac90) at gsignal.c:2977
#17 0x00007f9b5671a213 in IA__g_signal_emit (instance=0x2, signal_id=1558849520, detail=32) at gsignal.c:3034
#18 0x00007f9b584bf9fa in ?? () from /usr/lib64/libdbus-glib-1.so.2
#19 0x00007f9b56949f6b in dbus_connection_dispatch () from /lib64/libdbus-1.so.3
#20 0x00007f9b584b6765 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#21 0x00007f9b5644c8c2 in g_main_dispatch () at gmain.c:2072
#22 IA__g_main_context_dispatch (context=0x6866a0) at gmain.c:2624
---Type <return> to continue, or q <return> to quit--- 
#23 0x00007f9b5645005d in g_main_context_iterate (context=0x6866a0, block=1, dispatch=1, 
    self=<value optimized out>) at gmain.c:2705
#24 0x00007f9b5645058d in IA__g_main_loop_run (loop=0x827d30) at gmain.c:2928
#25 0x000000000041ecf5 in main (argc=1, argv=0x7fff64eeb2e8) at gpm-main.c:254



Another coredump:
(Here I'm not sure if it's the same code used for decoding as it was used for generating - some updates of rpm were done in between....)

#0  0x00000000004105c1 in gpm_cell_array_update (cell_array=0x821e70) at gpm-cell-array.c:273
#1  0x00000000004111d0 in gpm_cell_percent_changed_cb (cell=<value optimized out>, percent=6677488, 
    cell_array=0x821e70) at gpm-cell-array.c:597
#2  0x00007f933b1097fd in IA__g_closure_invoke (closure=0x7f9324004320, return_value=0x0, n_param_values=2, 
    param_values=0x8c3c30, invocation_hint=0x7fff498f3440) at gclosure.c:767
#3  0x00007f933b1205b0 in signal_emit_unlocked_R (node=0x821bb0, detail=0, instance=0x8570e0, 
    emission_return=0x0, instance_and_params=0x8c3c30) at gsignal.c:3244
#4  0x00007f933b121ca9 in IA__g_signal_emit_valist (instance=0x8570e0, signal_id=<value optimized out>, 
    detail=0, var_args=0x7fff498f3620) at gsignal.c:2977
#5  0x00007f933b122213 in IA__g_signal_emit (instance=0x821d38, signal_id=6677488, detail=8527472)
    at gsignal.c:3034
#6  0x000000000040dd9b in hal_device_property_modified_cb (device=0x6ee2c0, 
    key=0x7435b0 "battery.charge_level.percentage", is_added=0, is_removed=0, finally=0, cell=0x8570e0)
    at gpm-cell.c:326
#7  0x00007f933b1097fd in IA__g_closure_invoke (closure=0x7f9324003ea0, return_value=0x0, n_param_values=5, 
    param_values=0x814610, invocation_hint=0x7fff498f38c0) at gclosure.c:767
#8  0x00007f933b1205b0 in signal_emit_unlocked_R (node=0x79ac80, detail=0, instance=0x6ee2c0, 
    emission_return=0x0, instance_and_params=0x814610) at gsignal.c:3244
#9  0x00007f933b121ca9 in IA__g_signal_emit_valist (instance=0x6ee2c0, signal_id=<value optimized out>, 
    detail=0, var_args=0x7fff498f3aa0) at gsignal.c:2977
#10 0x00007f933b122213 in IA__g_signal_emit (instance=0x821d38, signal_id=6677488, detail=8527472)
    at gsignal.c:3034
#11 0x000000000042e45d in watch_device_property_modified () at libhal-gdevice.c:311
#12 watch_device_properties_modified_cb (proxy=<value optimized out>, type=<value optimized out>, 
    properties=0x9d7130, device=0x6ee2c0) at libhal-gdevice.c:359
#13 0x00007f933cec6984 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#14 0x00007f933b1097fd in IA__g_closure_invoke (closure=0x7f9324005120, return_value=0x0, n_param_values=3, 
    param_values=0x9e4d90, invocation_hint=0x7fff498f3d90) at gclosure.c:767
#15 0x00007f933b1205b0 in signal_emit_unlocked_R (node=0x79cb10, detail=1361, instance=0x7f93240058b0, 
    emission_return=0x0, instance_and_params=0x9e4d90) at gsignal.c:3244
#16 0x00007f933b121ca9 in IA__g_signal_emit_valist (instance=0x7f93240058b0, signal_id=<value optimized out>, 
    detail=1361, var_args=0x7fff498f3f70) at gsignal.c:2977
#17 0x00007f933b122213 in IA__g_signal_emit (instance=0x821d38, signal_id=6677488, detail=8527472)
    at gsignal.c:3034
#18 0x00007f933cec79fa in ?? () from /usr/lib64/libdbus-glib-1.so.2
#19 0x00007f933b351f6b in dbus_connection_dispatch () from /lib64/libdbus-1.so.3
---Type <return> to continue, or q <return> to quit---
#20 0x00007f933cebe765 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#21 0x00007f933ae548c2 in g_main_dispatch () at gmain.c:2072
#22 IA__g_main_context_dispatch (context=0x6875c0) at gmain.c:2624
#23 0x00007f933ae5805d in g_main_context_iterate (context=0x6875c0, block=1, dispatch=1, 
    self=<value optimized out>) at gmain.c:2705
#24 0x00007f933ae5858d in IA__g_main_loop_run (loop=0x898770) at gmain.c:2928
#25 0x000000000041ecf5 in main (argc=1, argv=0x7fff498f45c8) at gpm-main.c:254


Version-Release number of selected component (if applicable):
gnome-power-manager-2.23.6-1.fc10.x86_64
kernel  2.6.27-rcX

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Richard Hughes 2008-08-15 07:13:37 EDT
Should be fixed in todays rawhide. Thanks for the report.

Note You need to log in before you can comment on or make changes to this bug.