Addon Customize Your Web causes zombie compartment




6 years ago
6 years ago


(Reporter: com.bugzilla, Unassigned)


(Blocks: 1 bug)

9 Branch
Windows 7
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [MemShrink:P3])


(2 attachments)



6 years ago
Created attachment 590187 [details]

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111220165912

Steps to reproduce:

What steps will reproduce the problem?
1. open firefox
2. browse to about:memory
3. review the memory compartments
4. open a new tab within firefox and browse to
5. again review the memory compartments
6. notice the google compartment?
7. now close the tab on which you opened
8. refresh the memorypage a couple of times, the google compartment should be closed
9. now add the script from the attachment in cyw
10. make sure the script is active
11. now again op a new tab with
12. review the memory and notice the google compartment
13. now again close the tab with
14. refresh the memory page several times.
15. on my machine the google compartment remains open resulting in a so-called zombie compartment

The attachment contains a script which can be loaded in Customize Your Web. Just opening tab, browsing to and closing a tab is enough to trigger the creation of the zombie compartment.

I have used Firefox 9.01 and CYW on Windows 7 US-English

Actual results:

CYW (Customize Your Web) can create shortcut actions on webpages. Creating a shortcut action in CYW results in a zombie compartment.

Expected results:

The compartment should be gone


6 years ago
Blocks: 668871, 700547
Whiteboard: [MemShrink]

Comment 1

6 years ago
Created attachment 590189 [details]
The results of about:memory

Comment 2

6 years ago
Customize Your Web @ AMO:
> The development of CYW is currently suspended.

Again, a great candidate for a warning message on the AMO page.
Whiteboard: [MemShrink] → [MemShrink:P3]
The add-on was updated in January, so I wouldn't call its development really suspended. I have contacted the developer.

Comment 5

6 years ago
Thank you for your investigations.
I've found the code part and changed it and uploaded a new version to amo.

Diffs of changed parts can be found here whereas the only interessing parts are in AbstractShortcutAction and ListviewAction
Thanks for fixing, Rudolf.  The current version listed on AMO is, does that have the fix?  I notice that the add-on description starts with "Warning: This addon has a memory leak, thus increasing the memory consumption of Firefox over time!" -- thanks for your honesty, that's very considerate of your users.

If that is the updated version, if can confirm that it fixes the problem that would be great.
I just reviewed and tested version It closed the memory leak.
Last Resolved: 6 years ago
Resolution: --- → FIXED

Comment 8

6 years ago
Just as a formality, I have also tested the issue and have found it to be resolved. Thanks Rudolf for fixing.
You need to log in before you can comment on or make changes to this bug.