multithreaded-download-manager icon indicating copy to clipboard operation
multithreaded-download-manager copied to clipboard

Randomly Getting Stuck

Open brazenvoid opened this issue 6 years ago • 1 comments

Issue:

It sometimes gets stuck. When it does, then all new downloads get added as paused tasks by default and delete control does not work. This also results in Firefox not closing normally and remain running in background with two processes with no activity. If left alone, it eventually crashes with the Firefox crash reporter showing up.

(Copied from my review on mozilla addons)

Reply From Jingyu

Looks like the WebExtensions process crashed. I think it is unlikely to be caused by extensions and should be a Firefox bug. When this happens, do other extensions work normally? Do you know any steps that can trigger such behavior?

Answers From Me

What investigations I have performed yet?

I have performed a one by one disable/enable cycle, also a disable all and enable one by one approach to find the culprit. This happens across browser restarts once it goes into this state. I don't think that the process can crash every time when it is in this state as it shows the add download dialog fine. Also the paused downloads survive across browser restarts. I have also found that if the manager falls into this state, a disable/enable cycle can fix it in the same session. But a different session necessitates a 2 restart cycle. First disable the addon, restart into a clean state, then restart again and then finally enable the addon.

When this happens, do other extensions work normally?

Yes, other extensions work fine.

Do you know any steps that can trigger such behavior?

Its quite random. I have only seen this happening few times yet. Some observed scenarios are given below:

  • The first time it happened after the computer resumed from sleep state. I do not usually put my desktop to sleep.
  • The second time it was after many downloads, a download errored out. But it appeared only after when I completely cleared the download history.
  • The third time, many tabs (having videos) crashed due to heavy CPU and Memory usage. CPU was consistently at 100% and memory varying wildly over 7GB. I had about 5 downloads running behind. I usually have 100-200 tabs open.

brazenvoid avatar Aug 26 '18 20:08 brazenvoid

That's strange. I'll see if I can reproduce this issue.

jingyu9575 avatar Aug 27 '18 14:08 jingyu9575