Closed Bug 1888305 Opened 1 month ago Closed 29 days ago

Crash in [@ mozilla::loader::ImportESModule]

Categories

(Core :: XPConnect, defect)

Other
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1716849

People

(Reporter: release-mgmt-account-bot, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/8f68e9e4-20ee-4893-b10e-4dcbb0240326

MOZ_CRASH Reason: Failed to load critical module "resource://gre/modules/ExtensionProcessScript.sys.mjs"

Top 10 frames of crashing thread:

0  xul.dll  MOZ_Crash  mfbt/Assertions.h:301
0  xul.dll  mozilla::loader::ImportESModule  js/xpconnect/loader/nsImportModule.cpp:60
1  xul.dll  nsImportESModule::operator const  js/xpconnect/loader/nsImportModule.h:38
1  xul.dll  nsCOMPtr<mozIExtensionProcessScript>::assign_from_helper  xpcom/base/nsCOMPtr.h:901
1  xul.dll  nsCOMPtr<mozIExtensionProcessScript>::operator=  xpcom/base/nsCOMPtr.h:678
1  xul.dll  mozilla::ExtensionPolicyService::ProcessScript  toolkit/components/extensions/ExtensionPolicyService.cpp:82
2  xul.dll  mozilla::ExtensionPolicyService::CheckContentScripts  toolkit/components/extensions/ExtensionPolicyService.cpp:567
3  xul.dll  mozilla::ExtensionPolicyService::CheckDocument  toolkit/components/extensions/ExtensionPolicyService.cpp:521
3  xul.dll  mozilla::ExtensionPolicyService::Observe  toolkit/components/extensions/ExtensionPolicyService.cpp:307
4  xul.dll  nsObserverList::NotifyObservers  xpcom/ds/nsObserverList.cpp:71

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2024-03-13
  • Process type: Content
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: Yes - 1 out of 171 crashes happened on null or near null memory address

By analyzing the backtrace, the regression may have been introduced by a patch to fix Bug 1884496.

:standard8, since you are the author of the potential regressor, could you please take a look?

Flags: needinfo?(standard8)

I don't understand why this would cause a crash when the basic change was to import the module directly via ES modules. Forwarding onto :arai to take a look.

Flags: needinfo?(standard8) → needinfo?(arai.unmht)
Status: NEW → RESOLVED
Closed: 29 days ago
Duplicate of bug: 1716849
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.