Closed Bug 1800033 Opened 2 years ago Closed 1 year ago

Intermittent toolkit/components/telemetry/tests/unit/test_UtilityScalars.js | application crashed [@ mozilla::ipc::UtilityProcessImpl::Init(int, char**)]

Categories

(Core :: Security: Process Sandboxing, defect)

defect

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
thunderbird_esr102 --- unaffected
firefox-esr102 --- unaffected
firefox107 --- unaffected
firefox108 --- wontfix
firefox109 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: crash, intermittent-failure, regression)

Crash Data

Attachments

(2 files)

Flags: needinfo?(lissyx+mozillians)
Regressed by: 1797301

Set release status flags based on info from the regressing bug 1797301

Assignee: nobody → lissyx+mozillians
Flags: needinfo?(lissyx+mozillians)

No ?

macosx1015-64-qr: 1

    opt: 1

The code is not used on macOS, I dont see how it could exists there.

This is all failing only on comm-central

Yes, looks like basically perma fail on windows. see the X1 failures e.g. at https://treeherder.mozilla.org/jobs?repo=comm-central&revision=6159998bfa02d443a2ebf3e4104c4cd63a26f77f

And here is one for debug: https://treeherder.mozilla.org/logviewer?job_id=397151001&repo=comm-central&lineNumber=3920

What library load could be failing?

ipc/glue/UtilityAudioDecoderParent.cpp:76

I dont know where that is, there is nothing on searchfox: https://searchfox.org/comm-central/source/ipc/glue/UtilityAudioDecoderParent.cpp

The best I get is https://searchfox.org/comm-central/rev/cc5837b209537d99febe8d64eef7d9a76807fe62/mozilla/ipc/glue/UtilityAudioDecoderParent.cpp#69-76 so line 76 is the end of the function, not sure which one it is. Are those libs even available on comm-central ?

Thanks, looks like we need to package those like https://searchfox.org/mozilla-central/rev/83b86005c6913c2062419efb8aabdf2e683aa47f/browser/installer/package-manifest.in#150

For the library loads in UtilityAudioDecoderParent.cpp, that ifdef probably should be conditional on MOZ_FFVPX

(In reply to Magnus Melin [:mkmelin] from comment #13)

Thanks, looks like we need to package those like https://searchfox.org/mozilla-central/rev/83b86005c6913c2062419efb8aabdf2e683aa47f/browser/installer/package-manifest.in#150

For the library loads in UtilityAudioDecoderParent.cpp, that ifdef probably should be conditional on MOZ_FFVPX

Can you give a try to if defined(XP_WIN) && defined(MOZ_FFPVX) then ? If it fixes, I can review that quickly. I'm focused on some quite urgent issue with debug symbols on Snap, so spinning up a comm-central build etc would likely take me too much time to confirm

Yep, I'll see if I can get it to work

Assignee: lissyx+mozillians → mkmelin+mozilla

Re-componenting based on regressing bug.

Component: Telemetry → Security: Process Sandboxing
Product: Toolkit → Core
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/integration/autoland/rev/41bebff09700
mozavcodec and mozavutil should be ifdef MOZ_FFPVX. r=gerard-majax DONTBUILD

From the error it looks like decoding is happening in the content process: TEST-UNEXPECTED-FAIL | ipc/glue/test/browser/browser_utility_audioDecodeCrash.js | playback https://example.com/browser/ipc/glue/test/browser/small-shot.mp3 was from decoder 'ffmpeg audio decoder', expected 'Utility Generic' - false == true - got false, expected true (operator ==)

This code would verify if it's on Generic or WMF process: https://searchfox.org/mozilla-central/rev/05f486c76f84830041e51b7c68e3e697dc768454/ipc/glue/test/browser/head.js#89-91, but being in the content process is symptom of something else.

Ok, it's a simple typo in the MOZ_FFPVX usage that should have been MOZ_FFVPX.

Hmm, the correct one doesn't look happy either.

Flags: needinfo?(mkmelin+mozilla)

(In reply to Magnus Melin [:mkmelin] from comment #24)

Hmm, the correct one doesn't look happy either.

It's all green, I dont know what you expect for successs? ASAN failures are expected, it is supposed to be skipped, but my try ran it anyway

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/integration/autoland/rev/6c75b4aa4b74
mozavcodec and mozavutil should be ifdef MOZ_FFPVX. r=gerard-majax
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/db00b84f4fee
package mozavutil+mozavcodec for mail. r=aleca

The patch landed in nightly and beta is affected.
:mkmelin, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox108 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(mkmelin+mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: