Comment 6 for bug 1451171

Revision history for this message
binsha (bins-mail) wrote :

my system is ubuntu 15.04 and I use gdb to trace the source code and find that when the noise plugin is deactivated and the noise particle system program is finalized, a double-free crush will be reported. I try to fix the double-free crush and test the switch between noise plugin and other plugins(through indicator), the crush problem doesn't happen again. I'm not sure if this fix will directly effect this bug but I still provide the patch in the attachment. Hope it can be helpful.
Below is the partial output from my gdb:

#6 0x00007ffff5f43361 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff7bd1ef9 in lw_program_finalize () from /usr/local/lib/liblivewallpaper-core.so.0.5.0
#8 0x00007ffff624a29a in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007fffdb7146d5 in noise_particle_system_dispose () from /usr/local/lib/livewallpaper/plugins/noise/libnoise.so
#10 0x00007ffff624a225 in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fffdb7137b2 in noise_plugin_dispose () from /usr/local/lib/livewallpaper/plugins/noise/libnoise.so
#12 0x00007ffff624a225 in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x0000000000405442 in lw_application_unload_wallpaper_plugin ()