Closed Bug 1094691 Opened 10 years ago Closed 8 years ago

Debug break hit in Firefox 33.0.2 when using the debug dx9 runtime with "break on D3D9 error" set in DX9 control panel.

Categories

(Core :: Graphics, defect)

33 Branch
x86_64
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: poddster, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141027150301 Steps to reproduce: I've gotten it down to : * Have the dx sdk 2010 installed * Enable: DX9 debug version, Maximum Validation, Break on D3D9 Error. * Open Firefox * Whilst stuff is still loading: (this step might be optional) ** goto maps.google.co.uk ** Watch it crash I can make it crash every time doing this. If I change it to retail runtime it'll work fine. If I start Firefox with the retail runtime, then goto maps.google.co.uk and THEN switch to the debug runtime I don't seem to hit the issue? background: Installed Firefox 33.0.2 the other day Used Firefox It crashed lots on completely random pages. Suspected Flash, as usual, but disabling it doesn't cause a problem. Found out that opening maps.google.co.uk will kill it instantly. Disabled all plugs and add-ons manually + using safe mode -- same result. Looked at the crash logs on crash-stats.mozilla and noticed it was a debug break in d3d9.dll: https://crash-stats.mozilla.com/report/index/2a3c3218-6702-48b0-ba6a-4c9092141106 Which is what you get when the runtime detects erroneous API usage. note: Hopefully I can edit this bug after I've posted it. I would try and do a few more repetitions of trying to reproduce this bug but I've stupidly opened this bug post in Firefox rather than another browser. Actual results: Firefox crashes Expected results: Firefox shouldn't crash and I can actually browse the web without it crashing every 2 seconds.
Definitely able to make a positive and negative case by simply changing "break on d3d9 error". I loaded a tab in Firefox + retail dx9 runtime. Closed it. It will always crash if debug runtime + "Break on D3D9 Error". It will not crash (if debug runtime + NO "Break on D3D9 Error") OR retail runtime. The crash is an instant kaboom on Firefox startup -- I don't even see the window chrome stuff.
These crash logs were submitted when doing the method in the second post, about keeping maps.google.co.uk open in a session and starting firefox + debug runtime + break on error. They're all in 0 kernelbase.dll DebugBreak 1 d3d9d.dll CEnum::CheckDeviceMultiSampleType(unsigned int, _D3DDEVTYPE, _D3DFORMAT, int, _D3DMULTISAMPLE_TYPE, unsigned long*) 2 libglesv2.dll rx::Renderer9::getMultiSampleSupport(_D3DFORMAT) gfx/angle/src/libglesv2/renderer/d3d9/Renderer9.cpp 3 libglesv2.dll rx::Renderer9::initialize() gfx/angle/src/libglesv2/renderer/d3d9/Renderer9.cpp 4 libglesv2.dll glCreateRenderer gfx/angle/src/libglesv2/renderer/Renderer.cpp 5 libegl.dll egl::Display::initialize() gfx/angle/src/libegl/Display.cpp 6 libegl.dll eglInitialize gfx/angle/src/libegl/libEGL.cpp bp-273673ca-47fe-4613-8375-db46e2141106 2014-11-06 10:05 bp-4c6d89c3-6a32-49da-bb49-e14702141106 2014-11-06 10:02 bp-d1b156e7-9c6d-4648-8ef0-5e10d2141106 2014-11-06 10:02 bp-7b0f5ea2-efde-4006-bcf2-48d4c2141106 2014-11-06 09:59 bp-04c30892-2623-4116-afd6-2051f2141106 2014-11-06 09:59 bp-bd1c2323-fb89-4a4d-b216-1314c2141106 2014-11-06 09:59 bp-9255206b-20f6-425f-94d5-467122141106 2014-11-06 09:59 bp-a7068020-8c1e-49af-b12a-eb11c2141106 2014-11-06 09:46 Earlier ones from when I had no idea what was crashing. From the ones I've checked they're all in: 0 kernelbase.dll DebugBreak 1 d3d9d.dll CBaseDevice::Release() 2 d3d9d.dll CLockD3D::~CLockD3D() 3 d3d9d.dll CMipMap::Release() 4 xul.dll mozilla::layers::TKeepAlive<ID3D10Texture2D>::~TKeepAlive<ID3D10Texture2D>() 5 xul.dll mozilla::layers::TKeepAlive<ID3D10Texture2D>::`vector deleting destructor'(unsigned int) 6 xul.dll mozilla::layers::TextureChild::ActorDestroy(mozilla::ipc::IProtocolManager<mozilla::ipc::IProtocol>::ActorDestroyReason) gfx/layers/client/TextureClient.cpp 7 xul.dll mozilla::layers::PImageBridgeChild::OnMessageReceived(IPC::Message const&) obj-firefox/ipc/ipdl/PImageBridgeChild.cpp bp-2a3c3218-6702-48b0-ba6a-4c9092141106 2014-11-06 09:20 bp-deedc60d-4bda-49ad-98ec-14a0e2141106 2014-11-06 09:14 bp-6d149b8c-5adf-4de5-9779-72e532141106 2014-11-06 09:11 bp-a1b2655f-8fc8-46ca-8e2e-4a3b92141106 2014-11-06 09:10 bp-48cd6f9c-55f4-4dc8-8626-23a922141105 2014-11-05 16:50 bp-81c0200f-535e-4a6e-80ba-fa0812141105 2014-11-05 16:14 bp-e93710f9-9ee9-479e-827b-0ab962141105 2014-11-05 16:14 bp-79dee7c3-6a21-4165-843d-860452141105 2014-11-05 14:27 bp-a787b892-501e-42ea-a303-850972141105 2014-11-05 14:19 bp-4b560e84-f0ce-4142-8515-4429c2141105 2014-11-05 14:19 bp-63a8ea08-7178-46d9-9ef7-9225e2141105 2014-11-05 14:00 bp-3c7875e0-36c3-4302-bca6-a91352141105 2014-11-05 12:28 bp-4d8c5624-3313-4598-86cb-a23f42141105 2014-11-05 11:38 bp-3df95a3c-dffe-4bcc-8de4-d579a2141105 2014-11-05 11:17 bp-bd68fca2-afaf-4388-afbe-0bdbc2141105 2014-11-05 11:17 bp-0036863b-5ee6-40a3-806a-cffd62141105 2014-11-05 11:01 bp-e81cb42c-9257-4806-b312-3bee22141105 2014-11-05 11:00 bp-010cf734-bd61-462a-80d1-966482141105 2014-11-05 11:00 bp-58475cd1-0e9a-49c1-b74d-50fe42141105 2014-11-05 10:52 bp-28dd38cd-c43b-404c-9a88-75e692141105 2014-11-05 10:49 bp-7da4ce35-6456-4d89-af38-541b92141105 2014-11-05 09:59 bp-e0bbe3c2-2295-43f3-844c-201ee2141105 2014-11-05 09:29
Severity: normal → critical
Crash Signature: [@ DebugBreak ]
Component: Untriaged → Graphics
Keywords: crash
Product: Firefox → Core
output from dbg view. Note: d3d9.dll will break on the first error printed, but this log was taken with Debug Runtime but "Break On D3D9 Errors" disabled. [1196] Direct3D9: :====> ENTER: DLLMAIN(72a6d9a0): Process Attach: 000004ac, tid=00002eb8 [1196] [1196] Direct3D9: :====> EXIT: DLLMAIN(72a6d9a0): Process Attach: 000004ac [1196] [1196] Direct3D9: (INFO) :Direct3D9 Debug Runtime selected. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (ERROR) :D3DFMT_UNKNOWN is not a valid format. CheckDeviceMultiSampleType fails. [1196] [1196] Direct3D9: (INFO) :======================= Hal HWVP device selected [1196] [1196] Direct3D9: (INFO) :HalDevice Driver Style b [1196] [1196] Direct3D9: :DoneExclusiveMode [1196] [1196] Direct3D9: (INFO) :Using FF to VS converter [1196] [1196] Direct3D9: (INFO) :Using FF to PS converter [1196] + lots of "Ignoring redundant SetRenderState" and "Ignoring redundant SetSamplerState". +
Hey poddster, are you still able to reproduce this? If so, can you please attach a copy of about:support?
Flags: needinfo?(poddster)
No reply from the OP from very long time, so I'm marking this as INCOMPLETE.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(poddster)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.