#0  0x00007f71f81fb3b1 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007f71f81fb3b1 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f71f82ba1d1 in __vasprintf_chk ()
   from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f71f926343b in g_vasprintf ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f71f924312d in g_strdup_vprintf ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f71f92431cc in g_strdup_printf ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f71fb4037d0 in xfpm_battery_get_message_from_battery_state (
    battery=0x7f71fd4e8000) at xfpm-battery.c:244
#6  xfpm_battery_notify (battery=0x7f71fd4e8000) at xfpm-battery.c:345
#7  0x00007f71fb403eaf in xfpm_battery_notify_idle (data=<optimised out>)
    at xfpm-battery.c:367
#8  0x00007f71f9226ab5 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f71f9226de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f71f92271e2 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f71faab6c77 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007f71fb3fd8da in xfpm_start (bus=bus@entry=0x7f71fd4bed28, 
    client_id=0x0, dump=<optimised out>) at xfpm-main.c:238
---Type <return> to continue, or q <return> to quit---
#13 0x00007f71fb3fdeeb in main (argc=1, argv=0x7fffe27cf628) at xfpm-main.c:426

(gdb) frame 5
#5  0x00007f71fb4037d0 in xfpm_battery_get_message_from_battery_state (
    battery=0x7f71fd4e8000) at xfpm-battery.c:244
244                             msg = g_strdup_printf (_("%s (%i%%)\nEstimated 
time left is %s."), tmp, battery->priv->percentage, est_time_str);
(gdb) p tmp
$1 = <optimised out>
(gdb) p battery->priv->percentage
$2 = 77
(gdb) p est_time_str
$3 = <optimised out>

looking further,  this _seems_ to be the culprit:
(gdb) print battery->priv->battery_name
$6 = (const gchar *) 0x7f71fb3ee94c <Address 0x7f71fb3ee94c out of bounds>

which is set on line 878.. looking into this a bit more, running it under gdb:
(gdb) print battery->priv->battery_name
$2 = (const gchar *) 0x7ffff7ff894c "battery"
so now I don't know...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054907

Title:
  xfce4-power-manager crashed with SIGSEGV in vfprintf()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1054907/+subscriptions

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

Reply via email to