Closed Bug 1852461 Opened 1 year ago Closed 1 year ago

crashtest 1830206.html loads wrong media resource url

Categories

(Core :: Audio/Video: Playback, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: karlt, Assigned: padenot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Correcting the src attribute for the media resource leads to ReferenceError: v is not defined.
Using a.play instead appears to play successfully and so "reftest-wait" is not removed.

Paul, what was intended here?

Flags: needinfo?(padenot)

Interesting, it doesn't play here on macOS and errors out.

Flags: needinfo?(padenot)
Assignee: nobody → padenot
Status: NEW → ASSIGNED

Interestingly, this seems to play everywhere, but it errors here on an Apple Silicon machine:

[RDD 12679, Unnamed thread 1053725c0] WARNING: VideoToolbox decoder returned an error: file /Users/padenot/src/trees/mozilla-unified/dom/media/platforms/apple/AppleVTDecoder.cpp:336
[Child 12678, MediaSupervisor #1] WARNING: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - void mozilla::AppleVTDecoder::OnDecodeError(OSStatus): OnDecodeError:ffffcd93: file /Users/padenot/src/trees/mozilla-unified/dom/media/MediaFormatReader.cpp:1776
[Child 12678, MediaSupervisor #1] WARNING: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - void mozilla::AppleVTDecoder::OnDecodeError(OSStatus): OnDecodeError:ffffcd93: file /Users/padenot/src/trees/mozilla-unified/dom/media/MediaFormatReader.cpp:1776
[Child 12678, MediaDecoderStateMachine #1] WARNING: Decoder=10a208d00 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - void mozilla::AppleVTDecoder::OnDecodeError(OSStatus): OnDecodeError:ffffcd93: file /Users/padenot/src/trees/mozilla-unified/dom/media/MediaDecoderStateMachineBase.cpp:166

this is not that surprising because it's an invalid h264 file and is decoded with different implementations (hw/sw) for each OS/version/achitecture/gpu etc.

For reference, ffprobe outputs the following when ran on this file:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x12b605000] STSC entry 1 is invalid (first=20 count=8 id=1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x12b605000] stream 1, contradictionary STSC and STCO
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x12b605000] error reading header
dom/media/test/crashtests/1830206.mp4: Invalid data found when processing input
Regressions: 1854224
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: