xfce4-power-manager segfaults randomly

  • Open
  • quality assurance status badge
Details
2 participants
  • Michael Rohleder
  • Nathan Dehnel
Owner
unassigned
Submitted by
Nathan Dehnel
Severity
normal

Debbugs page

Nathan Dehnel wrote 4 years ago
(name . Tobias Geerinckx-Rice via Bug reports for GNU Guix)(address . bug-guix@gnu.org)
CAEEhgEudjnT_zC1tLFvxg41Wz0nFTuZK73ZX0DnTj+0z2WrYTg@mail.gmail.com
Using v4.16.0. Attached is a backtrace. I have a coredump, but it's
too large to attach to an email.
#0 0x00007f995c4c75bc in gtk_widget_dispose ()
from /gnu/store/nd2i0wfhx2wsdn3di573wl7kagg6pm9s-gtk+-3.24.24/lib/libgtk-3.so.0
#1 0x00007f995baee8a3 in g_object_unref ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#2 0x000000000041ea61 in battery_device_remove_pix ()
#3 0x000000000041f37d in power_manager_button_update_device_icon_and_details ()
#4 0x00007f995bae9b3d in g_closure_invoke ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#5 0x00007f995bafccce in signal_emit_unlocked_R ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#6 0x00007f995bb055b5 in g_signal_emit_valist ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#7 0x00007f995bb05f72 in g_signal_emit ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#8 0x00007f995baeddd4 in g_object_dispatch_properties_changed ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#9 0x00007f995baf0229 in g_object_notify ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#10 0x00007f995bae9b3d in g_closure_invoke ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#11 0x00007f995bafccce in signal_emit_unlocked_R ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#12 0x00007f995bb055b5 in g_signal_emit_valist ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#13 0x00007f995bb05f72 in g_signal_emit ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#14 0x00007f995baeddd4 in g_object_dispatch_properties_changed ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#15 0x00007f995baf0229 in g_object_notify ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#16 0x00007f995bb4b88c in up_exported_device_proxy_g_properties_changed ()
from /gnu/store/f8xgyiss6frzswh561r9718diwr4k36y-upower-0.99.11/lib/libupower-glib.so.3
#17 0x00007f995bae9b3d in g_closure_invoke ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#18 0x00007f995bafc728 in signal_emit_unlocked_R ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#19 0x00007f995bb055b5 in g_signal_emit_valist ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#20 0x00007f995bb05f72 in g_signal_emit ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
#21 0x00007f995bc6c8f1 in on_properties_changed ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgio-2.0.so.0
#22 0x00007f995bc5bc54 in emit_signal_instance_in_idle_cb ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgio-2.0.so.0
#23 0x00007f995ba00f14 in g_main_context_dispatch ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libglib-2.0.so.0
#24 0x00007f995ba01288 in g_main_context_iterate.isra ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libglib-2.0.so.0
#25 0x00007f995ba01542 in g_main_loop_run ()
from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libglib-2.0.so.0
#26 0x00007f995c389685 in gtk_main ()
from /gnu/store/nd2i0wfhx2wsdn3di573wl7kagg6pm9s-gtk+-3.24.24/lib/libgtk-3.so.0
#27 0x000000000040bff5 in xfpm_start ()
#28 0x000000000040c780 in main ()
Michael Rohleder wrote 4 years ago
(name . Nathan Dehnel)(address . ncdehnel@gmail.com)(address . 49441@debbugs.gnu.org)
87r1gak75q.fsf@rohleder.de
Hello Nathan!

Thank you for the report and the backtrace!

Nathan Dehnel <ncdehnel@gmail.com> writes:
Toggle quote (10 lines)
> Using v4.16.0. Attached is a backtrace. I have a coredump, but it's
> too large to attach to an email.
>
> #0 0x00007f995c4c75bc in gtk_widget_dispose ()
> from /gnu/store/nd2i0wfhx2wsdn3di573wl7kagg6pm9s-gtk+-3.24.24/lib/libgtk-3.so.0
> #1 0x00007f995baee8a3 in g_object_unref ()
> from /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
> #2 0x000000000041ea61 in battery_device_remove_pix ()
> #3 0x000000000041f37d in power_manager_button_update_device_icon_and_details ()

looks like it is crashing here:
(`guix build -S xfce4-power-manager`/panel-plugins/power-manager-plugin/power-manager-button.c:607)

/* This function unrefs the pix and img from the battery device and
* disconnects the expose-event callback on the img.
*/
static void
battery_device_remove_pix (BatteryDevice *battery_device)
{
TRACE("entering");

if (battery_device == NULL)
return;

if (G_IS_OBJECT (battery_device->pix))
{
if (GTK_IS_WIDGET (battery_device->img))
{
if (battery_device->expose_signal_id != 0)
{
g_signal_handler_disconnect (battery_device->img, battery_device->expose_signal_id);
battery_device->expose_signal_id = 0;
}
g_object_unref (battery_device->img);
battery_device->img = NULL;
}
g_object_unref (battery_device->pix);
battery_device->pix = NULL;
}
}

I wonder how that can happen and so far I was not able to reproduce
this.

Do you get something on the console/stdout if you start
xfce4-power-manager on the console?

If that happens only sometimes: Maybe is it after you change something
at runtime, maybe changeing a battery or so?


--
You are not supposed to start Emacs more than once in a lifetime, so
the startup time shouldn't matter at all.
Eli Zaretskii in help-gnu-emacs
-----BEGIN PGP SIGNATURE-----

iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAmDlP8ERHG1pa2VAcm9o
bGVkZXIuZGUACgkQfHr/vv7yyyXN5ggAppsvZfrWFwXqXkfFOl5ZQznxg6196DhT
IjzVmIIlQuxatS//mBNw5OmGuLwF9MWhwqUJ41sjJ9avgRgWsoAZQ1W0jf95cA/0
0Mj4Vnb0YCPCe6yH4LFEKXNsVyT3cE8s7kwuXdp3JB+OetI6Rn7IUl7Fxf/AUQ+R
+XRViLxwKkzfbxkKL5ala7UFcpGiNo9xvEdI05KdI2zNTsX6TOwTF1L1HhuBH8K1
RNjwvmnWYn87Fe/O3AoP7rKzuLgTuittIe0E52h3gMKpDo9KDzWXh3Kr0j/zfaBl
ed9bNnT00s/dmFVt4Rf1wQMjKGwQat8y0c3JwBl6LBFnxqi3n+pX/Q==
=lRKe
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 49441@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 49441
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help