Closed Bug 1337799 Opened 9 years ago Closed 8 years ago

High CPU usage and crash in AsyncShutdown timeout in Firefox with HTitle addon and webextensions with native messaging

Categories

(Firefox :: Extension Compatibility, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1349874
Tracking Status
firefox51 --- affected
firefox54 --- affected

People

(Reporter: ykonotopov, Unassigned)

Details

Attachments

(5 files)

Attached file Firefox console output
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36 Steps to reproduce: 1. Install GNOME Shell integration webextension [1] 2. Install HTitle addon [2] 3. In HTitle settings enable "Work only in GNOME Shell" setting 4. Optionaly - restart Firefox [1] https://addons.mozilla.org/en/firefox/addon/gnome-shell-integration/ [2] https://addons.mozilla.org/en/firefox/addon/htitle/ Actual results: Firefox uses a lot of CPU and crash on exit Expected results: CPU usage should be normal and no crash happens
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 (20170213110223) I was able to reproduce the issue on Ubuntu 16.04 amd64. After installing the both extensions Nightly start crashing every time when closing. Also I can observe the high CPU usage on my virtual machine. Nightly is not crashing without the extensions.
Status: UNCONFIRMED → NEW
Component: Untriaged → Extension Compatibility
Ever confirmed: true
Based on Firefox output I assume that HTitle's "@mozilla.org/process/util;" (?) breaks webextension's native messaging in some way. I believe this will be reproducible with any native messaging capable webextension.
Attached file webext.helloworld.json
Attached file manifest.json
Attached file extension.js
This issue do not apply to GNOME Shell integration browser extension only, but refers to all browser extensions with native messaging capabilities. I had attached simple hello world browser extension and Google's sample native messaging app. Loading this sample hello world browser extension together with HTitle break Firefox with same symptoms. Steps to reproduce: 1. Install HTitle addon 2. In HTitle settings enable "Work only in GNOME Shell" setting 3. Install native-messaging-example-host.py to /usr/local/bin/ 4. Install webext.helloworld.json to /usr/lib/mozilla/native-messaging-hosts 5. Load hello world extension, that consists of two attached files: manifest.json and extension.js through about:debugging page 6. Quit Firefox.
Summary: High CPU usage and crash in AsyncShutdown timeout in Firefox with HTitle addon and GNOME Shell integration webextension → High CPU usage and crash in AsyncShutdown timeout in Firefox with HTitle addon and webextensions with native messaging
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: