Closed Bug 1514437 Opened 11 months ago Closed 4 months ago
Crash on startup when application pathname contains certain non-ASCII characters
71.00 KB, text/plain
47 bytes, text/x-phabricator-request
|Details | Review|
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15 Steps to reproduce: My Firefox Mac edition was updated (from v62.0.3) to v63.0, via the 'About Firefox' dialogue. Actual results: Firefox Mac v63.0, running under macOS 10.13.6 on a Mac Pro 2012 tower, immediately crashed upon startup. At first, I tried all the usual troubleshooting steps, such as restarting with add-ons disabled, using a brand new profile, etc., but all to no avail. It took a while to figure out that it was actually because some of the application's ancestor folders' names happened to contain the character '»' (U+00BB, or Option-Shift-\ on a Mac). Through brief trial & error, it also turned out that certain other characters such as 'µ' (U+00B5, or Option-m on a Mac), and '°' (U+00B0, or Option-Shift-8 on a Mac), also trigger the startup crash. However, please note that the presence of many other non-ASCII characters in the application's pathname are handled just fine, and do *not* cause a crash. Also, based on at least some limited testing in a Windows 10 Pro VM, this issue does not occur on MS Windows and is restricted to Mac OS. In my experience, it first appeared in Firefox Mac v63.0 (and is thus a regression from v62.0.3), and is also present in all subsequent v63.x versions, as well as the current v64.0 one. Expected results: In this era of widespread Unicode support, Firefox Mac v63+ should be able to startup normally regardless of the characters present in its app pathname. For now, as a workaround, I have moved my Firefox Mac application into a location whose path does not contain such triggering characters.
BTW, there was an old bug that seemed related, viz., Bug 107181 (Mozilla won't start up when drive name is "/" or contains non-ASCII characters), but it's marked RESOLVED.
OS: Unspecified → Mac OS X
Hardware: Unspecified → Desktop
Summary: Crash on startup when app pathname contains certain non-ASCII characters → Crash on startup when application pathname contains certain non-ASCII characters
Component: Untriaged → Startup and Profile System
Product: Firefox → Toolkit
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/dbfb48f4d385 Correctly encode the strings passed through nsIMacAttributionService. r=mconley
You need to log in before you can comment on or make changes to this bug.