On Mon, Jul 25, 2011 at 10:03:09AM +0200, Stephan Kulow wrote:
Am Montag, 25. Juli 2011 schrieb Stefan Seyfried:
Hi developers,
xfce4-power-manager is crashing on me sometimes during/after suspend.
It rightfully dies when dereferencing battery->priv->type where battery->priv is:
(gdb) print battery->priv $2 = (XfpmBatteryPrivate *) 0xaaaaaaaaaaaaaaaa (gdb) print battery->priv->type Cannot access memory at address 0xaaaaaaaaaaaaaae2
The gory details are in bug 707127.
My question is: does this 0xaaaaaaaaaaaaaaaa ring a bell for somebody? Is this some magic value or does libnotify use this for something?
Yes, that's the magic value of $MALLOC_PERTURB_ in factory. This is what glibc sets freed memory to. So someone freed your battery's priv, but it still has a pointer to it.
Actually someone freed "battery", so battery->priv is 0xaaaaaaaaaaaaaaaaaa. ;) Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org