Open Bug 1798573 Opened 3 years ago Updated 2 years ago

Firefox ASAN Nightly fails to run due to missing clang_rt.asan_dynamic-x86_64.dll

Categories

(Firefox Build System :: General, defect, P3)

Firefox 106
defect

Tracking

(firefox108 affected)

Tracking Status
firefox108 --- affected

People

(Reporter: chirag.kahlon, Unassigned)

Details

Attachments

(2 files)

Attached image firefox asan error.png

Steps to reproduce:

  1. Install Firefox Nightly ASAN using the installer. It resulted in 2 errors (but the release notes also pointed out the installer should show an error). The first error was "The code execution cannot proceed because clang_rt.asan_dynamic-x86-64.dll was not found. Reinstalling the program may fix this problem." by maintenanceservice_tmp.exe. The second error was "The application was unable to start correctly (0xc0000142). Click OK to close the application" by default-browser-agent.exe
  2. Run Firefox Nightly

OS: Windows 22H2 Build 22621.675
Platform: x64 Intel

Actual results:

It showed an error "The application was unable to start correctly (0xc0000142). Click OK to close the application." with the terminal open and no Firefox window. Clicking OK closes the terminal. I looked up 0xc0000142 and it has to do with dll initialization error. So, I am assuming it is because of the missing clang_rt.asan_dynamic-x86-64.dll that the installer suggested. (Yes, even the installer error's advice of reinstalling does not fix the problem (reinstalling over existing ASAN nightly. If I try to uninstall ASAN nightly to clean install, the unintall gives an error)

Expected results:

The terminal should open followed by a Firefox window opening.

The Bugbug bot thinks this bug should belong to the 'Firefox::Installer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Installer
Component: Installer → General
Product: Firefox → Firefox Build System
Attached image issue - asan build.png

I can also confirm this issue described in comment 0, on latest Nightly 108.0a1 asan build, with Win 11 22H2 (OS Build 25227.1010).

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: -- → S3
Priority: -- → P3

I just tried installing Firefox ASAN nightly again, and this time it worked. I believe this is fixed now

It now has a different issue. It now crashes if you click anything instead.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: