Closed Bug 1659049 Opened 5 years ago Closed 5 years ago

Startup crash on arm64 macOS

Categories

(Core :: JavaScript Engine: JIT, defect)

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

* thread #1, name = 'MainThread', queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=1, subcode=0xd53b0028)
    frame #0: 0x00000001050f235c XUL`vixl::CPU::SetUp() [inlined] vixl::CPU::GetCacheType() at MozCpu-vixl.cpp:75:3 [opt]
   72  	#if defined(__aarch64__) && !defined(_MSC_VER)
   73  	  uint64_t cache_type_register;
   74  	  // Copy the content of the cache type register to a core register.
-> 75  	  __asm__ __volatile__ ("mrs %[ctr], ctr_el0"  // NOLINT
   76  	                        : [ctr] "=r" (cache_type_register));
   77  	  VIXL_ASSERT(IsUint32(cache_type_register));
   78  	  return static_cast<uint32_t>(cache_type_register);
Target 0: (firefox) stopped.

The discussion in bug 1517594 is relevant.

Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e40b3f7d385d Don't use mrs instruction on arm64 macOS. r=lth
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: