Open Bug 1925685 Opened 8 months ago Updated 8 months ago

Crash in [@ (unloaded msvp9dec_store.dll) | __crt_state_management::leave_os_call]

Categories

(Core :: Audio/Video: Playback, defect, P3)

Unspecified
Windows 10
defect

Tracking

()

People

(Reporter: mccr8, Unassigned, NeedInfo)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/4ab1bb36-09be-46b1-80e0-4a3be0241016

Reason:

EXCEPTION_ACCESS_VIOLATION_EXEC

Top 10 frames:

0  ?  (unloaded msvp9dec_store.dll@0x12f72)
1  ucrtbase.dll  __crt_state_management::leave_os_call(void)
2  ?  (unloaded msvp9dec_store.dll@0x156fc)
3  combase.dll  <unknown in combase.pdb>
4  combase.dll  <unknown in combase.pdb>
5  combase.dll  <unknown in combase.pdb>
6  combase.dll  <unknown in combase.pdb>
7  combase.dll  CGuidStr::{ctor}(_GUID const&)  onecore\com\combase\objact\dllcache.cxx:2580
7  combase.dll  CClassCache::CDllPathEntry::DllGetClassObject(_GUID const&, _GUID const&, IUn...  onecore\com\combase\objact\dllcache.cxx:3249
8  combase.dll  CClassCache::CDllFnPtrMoniker::BindToObjectNoSwitch(_GUID const&, void**)  onecore\com\combase\objact\dllcache.cxx:3755

Kind of a weird stack, but the ones I looked at were all happening in WMF media playback stuff. Looks like there are a number of them on recent Nightlies, but it isn't a new signature.

Bob, Yannis do you understand what this could be?

Alastor, any recent change that could explain this?

Flags: needinfo?(yjuglaret)
Flags: needinfo?(bobowencode)
Flags: needinfo?(alwu)
Severity: -- → S3
Priority: -- → P3

(In reply to Paul Adenot (:padenot) from comment #1)

Bob, Yannis do you understand what this could be?

Not at first sight, it seems we've had issues with this DLL before bug 1723868.

Flags: needinfo?(bobowencode)
See Also: → 1723868

Those crashes all happen on Windows 10 22h2 (19045) and in the GPU process. The crash signature is from a callstack to create a DXVA manager, which is related with hardware decoding.

If this is related with specific graphic cards, or driver versions, I suppose the crash rate would probably be higher. I wonder if this issue is similar with bug 1723868, where we still incorrectly unload the msvp9dec_store.dll due to timing?

Flags: needinfo?(alwu) → needinfo?(bobowencode)

When I run Firefox, this gets loaded and unloaded by mfplat.dll.
Its CMFInprocDllManager::TryUnloadDll function uses msvp9dec_store!DllCanUnloadNow to determine if it unloads, so it seems that msvp9dec_store.dll is the problem not whatever is loading/unloading it.

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