Closed Bug 1780420 Opened 3 years ago Closed 2 years ago

Installing Firefox in a folder named '中國的 ~=[]()%+{}@;’#!$' is allowed, but the build will crash at every launch

Categories

(Toolkit :: Startup and Profile System, defect)

Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr91 --- wontfix
firefox-esr102 --- wontfix
firefox102 --- wontfix
firefox103 --- wontfix
firefox104 --- wontfix

People

(Reporter: danibodea, Unassigned)

Details

Crash Data

Note

  • If the user creates a folder with the name '中國的 ~=%+{}@;’#!$', launches the installer and chooses the folder as an install location, the build will install, but when launching is attempted, it will crash instantly.

** Found in**

  • ESR v102.1.0esr

Affected versions

  • Nightly v104.0a1
  • ESR v102.1.0esr
  • 101 rc

Affected platforms

  • Windows 10
  • Windows 7
  • It appears to also occur on Ubuntu 22, by renaming the folder to the corrupted string, but unlike Windows, the Profile Manager is not opened either
  • It does NOT occur on Mac OS, by modifying the Application name to the corrupted string.

Steps to reproduce

  1. Create a folder with name '中國的 ~=%+{}@;’#!$' on the Desktop
  2. Launch the installer and select custom settings, then choose the folder above as install location
  3. Complete installation.
  4. Launch build.

Expected result

  • Build launches correctly.

Actual result

  • Build crashes at launch.

Regression range

  • Not a regression as it also occurs on a Nightly v45.0a1.

Additional notes

Crash Signature: https://crash-stats.mozilla.org/report/index/44f0f5e6-6236-4bc8-9960-c55620220720
Crash Signature: https://crash-stats.mozilla.org/report/index/44f0f5e6-6236-4bc8-9960-c55620220720 → mozilla::ipc::MessageChannel::~MessageChannel | mozilla::net::PSocketProcessChild::~PSocketProcessChild

Ultimately, the crash is an issue with Firefox itself, so I'm moving this bug elsewhere. In theory we could try to prevent installs to locations such as this, but we wouldn't be able to make any guarantees (some people run builds of a .zip, they could rename directories later, etc., etc.). Let's file a separate bug for that if it becomes necessary.

Component: Installer → Startup and Profile System
Product: Firefox → Toolkit
OS: Windows → All

Since the crash volume is low (less than 5 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.

For more information, please visit auto_nag documentation.

Severity: S2 → S3

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.