Closed Bug 646678 Opened 14 years ago Closed 14 years ago

Fennec freezes/hangs at startup splash screen with URL Fixer add-on installed

Categories

(Firefox for Android Graveyard :: Extension Compatibility, defect)

All
Android
defect
Not set
critical

Tracking

(firefox5 fixed, fennec5+)

VERIFIED FIXED
Tracking Status
firefox5 --- fixed
fennec 5+ ---

People

(Reporter: mbrubeck, Unassigned)

Details

(Keywords: hang)

Attachments

(1 file)

Steps to reproduce: 1. Install the URL Fixer add-on: https://addons.mozilla.org/mobile/addon/url-fixer/ 2. Restart the browser. This causes Fennec to hang at the "loading" splash screen. Reported by a user on an HTC Desire HD, and reproduced in Firefox 4.0 on my HTC T-Mobile G2. I don't see anything unusual in the Android logs.
Attached file add-on XPI file
Looks like this add-on was just updated this week. Can we get it temporarily removed from the "featured" list until cfinke can update it with a fix or remove the affected version?
I can also reproduce this in a local debug trunk build (if I force add-on compatibility). The browser hangs after this output: JavaScript strict warning: chrome://url-fixer/content/smartlinks.xul, line 1282: reference to undefined property window.getsmartlinks ...and resumes over a minute later with this: JavaScript error: chrome://url-fixer/content/smartlinks.xul, line 833: too much recursion
The problem is that getPref() calls error() on line 833, but error() calls getPref(). Fennec is hitting this error call because: getPref("off"…) ReferenceError: Application is not defined
Sorry about this; I had intended to only include the smartlinks.xul overlay in desktop Firefox. I've added he appropriate application flag in chrome.manifest and uploaded the change as version 2.0.3. I've also forwarded this error to the SmartLinks guys so they can either fix or explicitly exclude Fennec as a supported browser.
Thanks! We're making sure 2.0.3 gets reviewed and pushed to public right away.
URL Fixer 2.0.3 is approved.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Thanks! Fixed upstream too.
Verified on build: Mozilla /5.0 (Android;Linux armv7l;rv:5.0a2) Gecko/20110414 Firefox/5.0a2 Fennec/5.0a2 Device: LG Optimus 2X (Android 2.2)
Status: RESOLVED → VERIFIED
tracking-fennec: ? → 5+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: