Closed
Bug 1176672
Opened 10 years ago
Closed 9 years ago
Crash when trying to watch a VP9 video on Windows XP SP3 and Intel Haswell as libvpx attempts to execute an AVX2 instruction
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
People
(Reporter: victor1950, Unassigned)
References
Details
(Keywords: crash)
Crash Data
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150525141253
Steps to reproduce:
Open this link in Firefox 38.x on Windows XP SP3 AND Intel Haswell CPU:
http://base-n.de/webm/VP9%20Sample.html
It does not matter if Firefox runs in "safe mode" or not.
Actual results:
Instant EXCEPTION_ILLEGAL_INSTRUCTION crash such as this:
https://crash-stats.mozilla.com/report/index/5e1ec086-ec17-47dd-bda4-9df582150622
because libvpx attempted to execute an AVX2 instruction. AVX and AVX2 instructions are not supported on Windows XP SP3.
Expected results:
The video should have started to play.
Reporter | ||
Updated•10 years ago
|
OS: Unspecified → Windows XP
Hardware: Unspecified → x86
Reporter | ||
Updated•10 years ago
|
Severity: normal → major
Crash Signature: https://crash-stats.mozilla.com/report/list?signature=vp9_lpf_horizontal_16_avx2
Keywords: crash
Reporter | ||
Updated•10 years ago
|
Crash Signature: https://crash-stats.mozilla.com/report/list?signature=vp9_lpf_horizontal_16_avx2 → vp9_lpf_horizontal_16_avx2
Reporter | ||
Updated•10 years ago
|
Crash Signature: vp9_lpf_horizontal_16_avx2 → [@ vp9_lpf_horizontal_16_avx2 ]
Updated•10 years ago
|
Component: Untriaged → Video/Audio
Product: Firefox → Core
Reporter | ||
Comment 1•10 years ago
|
||
Still happens in 39.0:
https://crash-stats.mozilla.com/report/index/14944085-c682-4389-945b-d89c62150704
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 2•9 years ago
|
||
How can a CPU instructions not be supported by an OS?
More likely, the address isn't 64-bytes aligned which would indicate a memory allocation issue.
Updated•9 years ago
|
Comment 3•9 years ago
|
||
It took libvpx in chromium quite a few iterations to get the avx2 cpu detection code correct:
https://code.google.com/p/chromium/issues/detail?id=480586
IIRC the final determination was that on WinXP the hardware might return support for AVX2 despite the OS not handling it.
The relevant change I believe was:
https://chromium.googlesource.com/webm/libvpx/+/abff8b24b935f134fd6c09a659dcb2c3fd6a1051
with additional changes in the log for that file:
https://chromium.googlesource.com/webm/libvpx/+log/master/vpx_ports/x86.h
Updated•9 years ago
|
status-firefox42:
--- → affected
status-firefox43:
--- → affected
status-firefox44:
--- → affected
status-firefox45:
--- → affected
status-firefox46:
--- → affected
Priority: -- → P1
Ralph - is there something to fix here?
Flags: needinfo?(giles)
Comment 5•9 years ago
|
||
The change from comment #3 was merged in our update to libvpx e67d45d4ce92 in bug 1178215. This should be fixed in Firefox 40 and later. Sorry for the hassle, and please re-open if it happens with a more recent release.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(giles)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•