* bug#49441: xfce4-power-manager segfaults randomly
@ 2021-07-06 15:06 Nathan Dehnel
2021-07-07 5:46 ` Michael Rohleder
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Dehnel @ 2021-07-06 15:06 UTC (permalink / raw)
To: 49441
[-- Attachment #1: Type: text/plain, Size: 101 bytes --]
Using v4.16.0. Attached is a backtrace. I have a coredump, but it's
too large to attach to an email.
[-- Attachment #2: gdb.txt --]
[-- Type: text/plain, Size: 3653 bytes --]
#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 ()
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#49441: xfce4-power-manager segfaults randomly
2021-07-06 15:06 bug#49441: xfce4-power-manager segfaults randomly Nathan Dehnel
@ 2021-07-07 5:46 ` Michael Rohleder
0 siblings, 0 replies; 2+ messages in thread
From: Michael Rohleder @ 2021-07-07 5:46 UTC (permalink / raw)
To: Nathan Dehnel; +Cc: 49441
[-- Attachment #1: Type: text/plain, Size: 1985 bytes --]
Hello Nathan!
Thank you for the report and the backtrace!
Nathan Dehnel <ncdehnel@gmail.com> writes:
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-07 3:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-06 15:06 bug#49441: xfce4-power-manager segfaults randomly Nathan Dehnel
2021-07-07 5:46 ` Michael Rohleder
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).