Open Bug 1889765 Opened 3 months ago Updated 2 months ago

Workers causing immense thread-safety violations

Categories

(Core :: Internationalization, defect)

defect

Tracking

()

People

(Reporter: tjr, Unassigned)

References

Details

Attachments

(1 file)

Either something is weird with my local build, or visiting https://abrahamjuliot.github.io/fpworker/ in a debug build causes thread-safety violation after violation. I'm hitting assertions with OSPreferences::GetInstance(), InServoTraversal(), nsISupports, Preferences...

I know this demo is obtaining not-commonly-accessed information in every worker type, so that seems likely as a source of the issue, but this is really a lot of assertions.

Summary: OSPreferences::GetInstance() -> MOZ_ASSERT(NS_IsMainThread()); → Workers causing immense thread-safety violations
Attached patch patchSplinter Review

This is a list of the places I had to patch to load the demo.

The severity field is not set for this bug.
:m_kato, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(m_kato)
Severity: -- → S3
Flags: needinfo?(m_kato)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: