"Is it possible that now the icon is removed or partially unref'ed and then CD_APPLET_STOP is called?" well, the dock destroys the icons that belongs to a dock when this one is destroyed. so it's possible that the icons created by the applet are already destroyed before actually, it's quite possible since this applet is a plug-in (= has no icon, so no link to a dock). a solution is to register to the "destroy" notification on the icons created by the applet, and when the callback is called, remove it from its internal list of icons. (of course, the applet should take care of it when destroying the icons itself, for instance by removing it from the list before unrefing it).
2014-03-03 22:22 GMT+01:00 Matthieu Baerts <[email protected]>: > Note: it's possible that this applet has more than on instance. > > -- > You received this bug notification because you are a member of Cairo- > Dock Devs, which is subscribed to cairo-dock-plug-ins in Ubuntu. > https://bugs.launchpad.net/bugs/1285984 > > Title: > cairo-dock crashed with SIGSEGV in malloc_consolidate() > > Status in Cairo-Dock: Plug-ins: > Fix Committed > Status in “cairo-dock-plug-ins” package in Ubuntu: > In Progress > > Bug description: > After updating Ubuntu, cairo-dock is not working. So i closed the > cairo-dock and again start it. while starting cairo-dock. it was > started but show the error. > > ProblemType: Crash > DistroRelease: Ubuntu 14.04 > Package: cairo-dock-core 3.3.99.beta1.1~20140219~bzr1717-0ubuntu2 > ProcVersionSignature: Ubuntu 3.13.0-13.33-generic 3.13.5 > Uname: Linux 3.13.0-13-generic i686 > ApportVersion: 2.13.2-0ubuntu5 > Architecture: i386 > CrashCounter: 1 > CurrentDesktop: XFCE > Date: Fri Feb 28 10:37:33 2014 > ExecutablePath: /usr/bin/cairo-dock > InstallationDate: Installed on 2013-06-07 (265 days ago) > InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 > (20130424) > ProcCmdline: cairo-dock > SegvAnalysis: > Segfault happened at: 0xb6be3168 <malloc_consolidate+120>: cmp > 0xc(%eax),%edi > PC (0xb6be3168) ok > source "0xc(%eax)" (0x0000000c) not located in a known VMA region > (needed readable region)! > destination "%edi" ok > SegvReason: reading NULL VMA > Signal: 11 > SourcePackage: cairo-dock > StacktraceTop: > malloc_consolidate (av=0xb6d1b420 <main_arena>) at malloc.c:4165 > _int_free (av=0xb6d1b420 <main_arena>, p=<optimized out>, have_lock=0) > at malloc.c:4057 > ?? () from /usr/lib/i386-linux-gnu/libpixman-1.so.0 > pixman_image_unref () from /usr/lib/i386-linux-gnu/libpixman-1.so.0 > ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2 > Title: cairo-dock crashed with SIGSEGV in malloc_consolidate() > UpgradeStatus: Upgraded to trusty on 2014-01-17 (42 days ago) > UserGroups: adm cdrom dialout dip fax floppy fuse libvirtd lp lpadmin > plugdev sambashare sudo tape video > > To manage notifications about this bug go to: > https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1285984/+subscriptions > > _______________________________________________ > Mailing list: https://launchpad.net/~cairo-dock-team > Post to : [email protected] > Unsubscribe : https://launchpad.net/~cairo-dock-team > More help : https://help.launchpad.net/ListHelp > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1285984 Title: cairo-dock crashed with SIGSEGV in malloc_consolidate() To manage notifications about this bug go to: https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1285984/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
