Closed Bug 891764 Opened 11 years ago Closed 6 years ago

[Win7] crash in mozilla::wmf::MFCreateSourceReaderFromByteStream @ mf.dll

Categories

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

21 Branch
All
Windows 7
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: scoobidiver, Unassigned)

References

Details

(Keywords: crash, regression)

Crash Data

It's #137 browser crasher in 22.0, #235 in 23.0b3, #71 in 24.0a2, and #99 in 25.0a1.

Signature 	mf.dll@0xd1261 More Reports Search
UUID 	94e0dae8-414c-434c-aaff-17fed2130709
Date Processed	2013-07-09 11:23:22.765260
Uptime	5693
Last Crash	1912410 seconds before submission
Install Age 	5693 since version was first installed.
Install Time 	2013-07-09 09:48:18
Product 	Firefox
Version 	25.0a1
Build ID 	20130708031114
Release Channel 	nightly
OS 	Windows NT
OS Version 	6.1.7601 Service Pack 1
Build Architecture 	x86
Build Architecture Info 	AuthenticAMD family 16 model 6 stepping 3 | None
Crash Reason 	EXCEPTION_ACCESS_VIOLATION_READ
Crash Address 	0x0
App Notes 	
AdapterVendorID: 0x1002, AdapterDeviceID: 0x9712, AdapterSubsysID: 00000000, AdapterDriverVersion: 8.632.1.2000
D3D10 Layers? D3D10 Layers- D3D9 Layers? D3D9 Layers+ 

Frame 	Module 	Signature 	Source
0 	mf.dll 	mf.dll@0xd1261 	
1 	mfplat.dll 	CMFSourceResolver::TryNextByteStreamHandler(CResolverResult *) 	
2 	mfplat.dll 	CMFSourceResolver::InternalBeginCreateObjectFromByteStream(IMFByteStream *,unsigned short const *,unsigned long,IPropertyStore *,IMFAsyncCallback *,IUnknown *,CResolverResult * *) 	
3 	mfplat.dll 	CMFSourceResolver::CreateObjectFromByteStream(IMFByteStream *,unsigned short const *,unsigned long,IPropertyStore *,MF_OBJECT_TYPE *,IUnknown * *) 	
4 	mfreadwrite.dll 	CMFSourceReader::CreateInstanceFromByteStream(IMFByteStream *,IMFAttributes *,IUnknown * *) 	
5 	mfreadwrite.dll 	CMFSourceReader::CreateInstanceFromObject(IUnknown *,IMFAttributes *,IUnknown * *) 	
6 	mfreadwrite.dll 	CMFReadWriteClassFactory::CreateInstanceFromObject(_GUID const &,IUnknown *,IMFAttributes *,_GUID const &,void * *) 	
7 	mfreadwrite.dll 	ATL::AtlComPtrAssign(IUnknown * *,IUnknown *) 	
8 	mfreadwrite.dll 	MFCreateSourceReaderFromMediaSource 	
9 	xul.dll 	mozilla::wmf::MFCreateSourceReaderFromByteStream(IMFByteStream *,IMFAttributes *,IMFSourceReader * *) 	content/media/wmf/WMFUtils.cpp
10 	xul.dll 	mozilla::WMFReader::ReadMetadata(mozilla::VideoInfo *,nsDataHashtable<nsCStringHashKey,nsCString> * *) 	content/media/wmf/WMFReader.cpp
11 	xul.dll 	mozilla::MediaDecoderStateMachine::DecodeMetadata() 	content/media/MediaDecoderStateMachine.cpp
12 	xul.dll 	mozilla::MediaDecoderStateMachine::DecodeThreadRun() 	content/media/MediaDecoderStateMachine.cpp
13 	xul.dll 	nsRunnableMethodImpl<void ( mozilla::VideoFrameContainer::*)(void),1>::Run() 	obj-firefox/dist/include/nsThreadUtils.h
14 	xul.dll 	nsThread::ProcessNextEvent(bool,bool *) 	xpcom/threads/nsThread.cpp
15 	xul.dll 	nsThread::ThreadFunc(void *) 	xpcom/threads/nsThread.cpp
16 	nss3.dll 	_PR_NativeRunThread 	nsprpub/pr/src/threads/combined/pruthr.c
17 	nss3.dll 	pr_root 	nsprpub/pr/src/md/windows/w95thred.c
18 	msvcr100.dll 	_callthreadstartex 	f:\\dd\\vctools\\crt_bld\\self_x86\\crt\\src\\threadex.c
19 	msvcr100.dll 	_threadstartex 	f:\\dd\\vctools\\crt_bld\\self_x86\\crt\\src\\threadex.c
20 	kernel32.dll 	BaseThreadInitThunk 	
21 	ntdll.dll 	__RtlUserThreadStart 	
22 	ntdll.dll 	_RtlUserThreadStart

More reports at:
https://crash-stats.mozilla.com/query/?product=Firefox&query_search=signature&query_type=contains&query=mf.dll
Any correlations here? We'll remove this code path once we're using our own MP4 demuxer, but that'll be a few months away.

Unless this is happening on MP3 files, we may need to keep using the WMF backend for them.
(In reply to Chris Pearce (:cpearce) from comment #1)
> Any correlations here?
Here are the first ones:
 mf.dll@0xd1261|EXCEPTION_ACCESS_VIOLATION_READ (47 crashes)
    100% (47/47) vs.   6% (6290/107975) MP3DMOD.DLL
          0% (0/47) vs.   0% (508/107975) 11.0.6001.7000
        100% (47/47) vs.   5% (5242/107975) 6.1.7600.16385
          0% (0/47) vs.   0% (534/107975) 6.2.9200.16384
          0% (0/47) vs.   0% (6/107975) 6.3.9431.0
    100% (47/47) vs.  13% (13867/107975) msdmo.dll
          0% (0/47) vs.   0% (28/107975) 6.5.2600.2180
          0% (0/47) vs.   0% (1/107975) 6.5.2600.5503
          0% (0/47) vs.   0% (144/107975) 6.5.2600.5512
          0% (0/47) vs.   0% (521/107975) 6.6.6001.18000
          0% (0/47) vs.   0% (1/107975) 6.6.6801.0
          0% (0/47) vs.   0% (3/107975) 6.6.7022.0
          0% (0/47) vs.   0% (1/107975) 6.6.7100.0
          0% (0/47) vs.   0% (1/107975) 6.6.7600.16384
          0% (0/47) vs.   1% (1059/107975) 6.6.7600.16385
          0% (0/47) vs.   0% (1/107975) 6.6.7601.16562
        100% (47/47) vs.  11% (11555/107975) 6.6.7601.17514
          0% (0/47) vs.   1% (546/107975) 6.6.9200.16384
          0% (0/47) vs.   0% (6/107975) 6.6.9431.0
    100% (47/47) vs.  14% (15397/107975) mlang.dll
          0% (0/47) vs.   0% (2/107975) 6.0.2900.2096
          0% (0/47) vs.   0% (2/107975) 6.0.2900.2149
          0% (0/47) vs.   1% (939/107975) 6.0.2900.2180
          0% (0/47) vs.   0% (167/107975) 6.0.2900.2530
          0% (0/47) vs.   0% (6/107975) 6.0.2900.3264
          0% (0/47) vs.   0% (1/107975) 6.0.2900.3282
          0% (0/47) vs.   0% (1/107975) 6.0.2900.3300
          0% (0/47) vs.   0% (3/107975) 6.0.2900.3311
          0% (0/47) vs.   0% (11/107975) 6.0.2900.5503
          0% (0/47) vs.   0% (4/107975) 6.0.2900.5508
          0% (0/47) vs.   4% (4644/107975) 6.0.2900.5512
          0% (0/47) vs.   0% (14/107975) 6.0.3790.3959
          0% (0/47) vs.   0% (50/107975) 6.0.6000.16386
          0% (0/47) vs.   1% (762/107975) 6.0.6001.18000
          0% (0/47) vs.   0% (1/107975) 6.1.6801.0
          0% (0/47) vs.   0% (2/107975) 6.1.7100.0
          0% (0/47) vs.   0% (2/107975) 6.1.7600.16384
        100% (47/47) vs.   8% (8533/107975) 6.1.7600.16385
          0% (0/47) vs.   0% (1/107975) 6.2.8250.0
          0% (0/47) vs.   0% (1/107975) 6.2.8400.0
          0% (0/47) vs.   0% (246/107975) 6.2.9200.16384
          0% (0/47) vs.   0% (5/107975) 6.3.9431.0
    100% (47/47) vs.  26% (27969/107975) mfreadwrite.dll
          0% (0/47) vs.   0% (1/107975) 12.0.6801.7000
          0% (0/47) vs.   0% (3/107975) 12.0.7022.7000
          0% (0/47) vs.   0% (19/107975) 12.0.7100.0
          0% (0/47) vs.   0% (1/107975) 12.0.7229.0
          0% (0/47) vs.   0% (6/107975) 12.0.7600.16384
          0% (0/47) vs.   2% (2137/107975) 12.0.7600.16385
          0% (0/47) vs.   2% (2252/107975) 12.0.7600.16597
          0% (0/47) vs.   0% (1/107975) 12.0.7600.16795
          0% (0/47) vs.   0% (2/107975) 12.0.7600.20621
          0% (0/47) vs.   0% (3/107975) 12.0.7600.20667
          0% (0/47) vs.   0% (20/107975) 12.0.7600.20717
          0% (0/47) vs.   0% (1/107975) 12.0.7601.16537
          0% (0/47) vs.   0% (4/107975) 12.0.7601.16562
          0% (0/47) vs.   0% (5/107975) 12.0.7601.17105
         98% (46/47) vs.  18% (18980/107975) 12.0.7601.17514
          2% (1/47) vs.   1% (620/107975) 12.0.7601.17596
          0% (0/47) vs.   0% (7/107975) 12.0.7601.21705
          0% (0/47) vs.   0% (1/107975) 12.0.7989.0
          0% (0/47) vs.   0% (4/107975) 12.0.8250.0
          0% (0/47) vs.   0% (7/107975) 12.0.8400.0
          0% (0/47) vs.   0% (190/107975) 12.0.9200.16384
          0% (0/47) vs.   0% (3/107975) 12.0.9200.16399
          0% (0/47) vs.   0% (33/107975) 12.0.9200.16420
          0% (0/47) vs.   0% (90/107975) 12.0.9200.16451
          0% (0/47) vs.   2% (1800/107975) 12.0.9200.16578
          0% (0/47) vs.   0% (39/107975) 12.0.9431.0
          0% (0/47) vs.   2% (1740/107975) 7.0.6002.18392
    100% (47/47) vs.  26% (27993/107975) mf.dll
          0% (0/47) vs.   0% (1/107975) 11.0.6002.18049
          0% (0/47) vs.   2% (1739/107975) 11.0.6002.18392
          0% (0/47) vs.   0% (1/107975) 12.0.6801.7000
          0% (0/47) vs.   0% (3/107975) 12.0.7022.7000
          0% (0/47) vs.   0% (19/107975) 12.0.7100.0
          0% (0/47) vs.   0% (1/107975) 12.0.7229.0
          0% (0/47) vs.   0% (6/107975) 12.0.7600.16384
          0% (0/47) vs.   2% (2115/107975) 12.0.7600.16385
          0% (0/47) vs.   0% (3/107975) 12.0.7600.16506
          0% (0/47) vs.   2% (2243/107975) 12.0.7600.16597
          0% (0/47) vs.   0% (19/107975) 12.0.7600.20554
          0% (0/47) vs.   0% (2/107975) 12.0.7600.20621
          0% (0/47) vs.   0% (3/107975) 12.0.7600.20667
          0% (0/47) vs.   0% (27/107975) 12.0.7600.20717
          0% (0/47) vs.   0% (4/107975) 12.0.7600.20796
          0% (0/47) vs.   0% (1/107975) 12.0.7600.20912
          0% (0/47) vs.   0% (1/107975) 12.0.7601.16537
          0% (0/47) vs.   0% (4/107975) 12.0.7601.16562
          0% (0/47) vs.   0% (5/107975) 12.0.7601.17105
        100% (47/47) vs.  18% (19447/107975) 12.0.7601.17514
          0% (0/47) vs.   0% (51/107975) 12.0.7601.21671
          0% (0/47) vs.   0% (101/107975) 12.0.7601.21769
          0% (0/47) vs.   0% (13/107975) 12.0.7601.21888
          0% (0/47) vs.   0% (15/107975) 12.0.7601.21979
          0% (0/47) vs.   0% (1/107975) 12.0.7989.0
          0% (0/47) vs.   0% (4/107975) 12.0.8250.0
          0% (0/47) vs.   0% (7/107975) 12.0.8400.0
          0% (0/47) vs.   2% (2118/107975) 12.0.9200.16384
          0% (0/47) vs.   0% (39/107975) 12.0.9431.0
     98% (46/47) vs.  24% (26162/107975) slc.dll
          0% (0/47) vs.   0% (24/107975) 
          0% (0/47) vs.   0% (3/107975) 6.1.7022.0
          0% (0/47) vs.   0% (15/107975) 6.1.7100.0
          0% (0/47) vs.   0% (1/107975) 6.1.7229.0
          0% (0/47) vs.   0% (7/107975) 6.1.7600.16384
         98% (46/47) vs.  24% (26108/107975) 6.1.7600.16385
          0% (0/47) vs.   0% (4/107975) 6.2.9200.16384
    100% (47/47) vs.  27% (28837/107975) mfplat.dll
          0% (0/47) vs.   0% (1/107975) 
          0% (0/47) vs.   0% (1/107975) 11.0.5358.4827
          0% (0/47) vs.   0% (4/107975) 11.0.5721.5145
          0% (0/47) vs.   0% (1/107975) 11.0.5721.5262
          0% (0/47) vs.   0% (271/107975) 11.0.6000.6324
          0% (0/47) vs.   0% (368/107975) 11.0.6001.7000
          0% (0/47) vs.   0% (54/107975) 11.0.6002.18005
          0% (0/47) vs.   2% (1753/107975) 11.0.6002.18392
          0% (0/47) vs.   0% (1/107975) 12.0.6801.7000
          0% (0/47) vs.   0% (3/107975) 12.0.7022.7000
          0% (0/47) vs.   0% (19/107975) 12.0.7100.0
          0% (0/47) vs.   0% (1/107975) 12.0.7229.0
          0% (0/47) vs.   0% (6/107975) 12.0.7600.16384
        100% (47/47) vs.  22% (24158/107975) 12.0.7600.16385
          0% (0/47) vs.   0% (1/107975) 12.0.7989.0
          0% (0/47) vs.   0% (4/107975) 12.0.8250.0
          0% (0/47) vs.   0% (7/107975) 12.0.8400.0
          0% (0/47) vs.   0% (244/107975) 12.0.9200.16384
          0% (0/47) vs.   0% (6/107975) 12.0.9200.16399
          0% (0/47) vs.   0% (56/107975) 12.0.9200.16420
          0% (0/47) vs.   2% (1839/107975) 12.0.9200.16433
          0% (0/47) vs.   0% (13/107975) 12.0.9431.0
          0% (0/47) vs.   0% (26/107975) 12.0.9431.163
This is my crash report: https://crash-stats.mozilla.com/report/index/827bef5e-f869-4428-b410-aea2c2130724

I'm almost sure I didn't have any page using MP3/MP4 or anything like that. Only Gmail and Facebook (only text and images, no video)
Hi Guilherme, do you have any codec packs or media players other than Windows Media Player installed? Based on the crash report it looks like there's a bad media decoder trying to read an audio stream.
I have VLC media player (and its plugin VLC Web Plugin 2.0.6). No codec pack.
Component: Audio/Video → Audio/Video: Playback
Rank: 25
Priority: -- → P3
We've not uesd the WMFReader for years.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.