Jump to content
  • Advertisement
Sign in to follow this  
Juliean

[Direct9]PIX makes my application crash

This topic is 2691 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

although I've experienced that issue for a long time and looked over it, I decided to ask for help. As the title says, whenever I try to capture PIX with my application, the app keeps crashing. This is the output-log I use PIX with debug-settings right after the crash:

x05D84130)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::SetTexture(0, 0x05D84130)
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............PRE: <this=0x05d84130>IDirect3DTexture9::Release()
Frame 000003 ............POST: <5><this=0x05d84130> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 388, 4, 582, 2)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 388, 4, 582, 2)
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::SetTexture(0, 0x05D919A0)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::SetTexture(0, 0x05D919A0)
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............PRE: <this=0x05d919a0>IDirect3DTexture9::Release()
Frame 000003 ............POST: <3><this=0x05d919a0> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x05d919a0>IDirect3DTexture9::Release()
Frame 000003 ............POST: <2><this=0x05d919a0> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 392, 8, 588, 4)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 392, 8, 588, 4)
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::SetTexture(0, 0x05D84130)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::SetTexture(0, 0x05D84130)
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............PRE: <this=0x05d84130>IDirect3DTexture9::Release()
Frame 000003 ............POST: <4><this=0x05d84130> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x05d84130>IDirect3DTexture9::Release()
Frame 000003 ............POST: <3><this=0x05d84130> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 400, 8, 600, 4)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 400, 8, 600, 4)
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::SetTexture(0, 0x05D919A0)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::SetTexture(0, 0x05D919A0)
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............PRE: <this=0x05d919a0>IDirect3DTexture9::Release()
Frame 000003 ............POST: <1><this=0x05d919a0> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 408, 4, 612, 2)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 408, 4, 612, 2)
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::SetTexture(0, 0x05D84130)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::SetTexture(0, 0x05D84130)
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Lock(0, 0, 0x0013F998, D3DLOCK_NOOVERWRITE)
Frame 000003 ............PRE: <this=0x05d84130>IDirect3DTexture9::Release()
Frame 000003 ............POST: <2><this=0x05d84130> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x05d84130>IDirect3DTexture9::Release()
Frame 000003 ............POST: <1><this=0x05d84130> IDirect3DTexture9::Release()
Frame 000003 ............PRE: <this=0x1a31a9a0>IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............POST: <S_OK><this=0x1a31a9a0> IDirect3DVertexBuffer9::Unlock()
Frame 000003 ............PRE: <this=0x05d25b00>IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 412, 8, 618, 4)
Frame 000003 ............POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 412, 8, 618, 4)
Frame 000003 ............PRE: DebugSetMute(TRUE)
Frame 000003 ............POST: <> DebugSetMute(TRUE)
Frame 000003 ............PRE: <this=0x23044d40>IDirect3DStateBlock9::Apply()
Frame 000003 ............POST: <S_OK><this=0x23044d40> IDirect3DStateBlock9::Apply()
Frame 000003 ............PRE: <this=0x23046f78>IDirect3DStateBlock9::Apply()
Frame 000003 ............POST: <S_OK><this=0x23046f78> IDirect3DStateBlock9::Apply()
Frame 000003 ............PRE: <this=0x2304cfb8>IDirect3DStateBlock9::Apply()
Frame 000003 ............POST: <S_OK><this=0x2304cfb8> IDirect3DStateBlock9::Apply()
Frame 000003 ............PRE: DebugSetMute(FALSE)
Frame 000003 ............POST: <> DebugSetMute(FALSE)
Frame 000003 ........POST: <S_OK><this=0x05d63bd0> ID3DXSprite::End()
Frame 000003 ........PRE: <this=0x05d25b00>IDirect3DDevice9::EndScene()
Frame 000003 ........POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::EndScene()
Frame 000003 ........PRE: <this=0x05d25b00>IDirect3DDevice9::Present(NULL, NULL, NULL, NULL)
Frame 000003 ........POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::Present(NULL, NULL, NULL, NULL)
Frame 000003 ....POST: <> Frame(3)
Frame 000004 ....PRE: Frame(4)
Trigger 'Key Combo "F12"' fired
Created PIXRun file at: C:\DOKUME~1\Neo\LOKALE~1\Temp\PIX331.tmp
Frame 000004 ........PRE: <this=0x05d25b00>IDirect3DDevice9::SetTransform(D3DTS_VIEW, 0x0013FAB0)
An unhandled exception occurred.
Closing Run File
Created PIXRun file at: C:\DOKUME~1\Neo\LOKALE~1\Temp\PIX332.tmp
Frame 000004 ........POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::SetTransform(D3DTS_VIEW, 0x0013FAB0)
Frame 000004 ........PRE: CreateProcessW(NULL, 0x07BADE6C, <unknown type 193>, <unknown type 193>, TRUE, 0x04000020, NULL, 0x07BAE3BC, <unknown type 195>, <unknown type 196>)
Frame 000004 ........POST: <TRUE> CreateProcessW(NULL, 0x07BADE6C, <unknown type 193>, <unknown type 193>, TRUE, 0x04000024, NULL, 0x07BAE3BC, <unknown type 195>, <unknown type 196>)
Frame 000004 ........PRE: <this=0x05d25b00>IDirect3DDevice9::GetTransform(D3DTS_PROJECTION, 0x0013F9EC)
Frame 000004 ........POST: <S_OK><this=0x05d25b00> IDirect3DDevice9::GetTransform(D3DTS_PROJECTION, 0x0013F9EC)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::BeginParameterBlock()
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::BeginParameterBlock()
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::SetMatrix(0x004E3A5C, 0x0013FAB0)
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::SetMatrix(0x004E3A5C, 0x0013FAB0)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::SetMatrix(0x004E3A4C, 0x0013FA34)
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::SetMatrix(0x004E3A4C, 0x0013FA34)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::SetFloatArray(0x004E3A40, 0x0053B804, 3)
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::SetFloatArray(0x004E3A40, 0x0053B804, 3)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::SetFloatArray(0x004E3A34, 0x0013FA7C, 3)
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::SetFloatArray(0x004E3A34, 0x0013FA7C, 3)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::SetFloatArray(0x004E3A20, 0x0013FA9C, 3)
Frame 000004 ........POST: <D3DERR_INVALIDCALL><this=0x05d63268> ID3DXEffect::SetFloatArray(0x004E3A20, 0x0013FA9C, 3)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::SetMatrix(0x004E3A10, 0x0013F9EC)
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::SetMatrix(0x004E3A10, 0x0013F9EC)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::SetMatrix(0x004E39FC, 0x0013F9A4)
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::SetMatrix(0x004E39FC, 0x0013F9A4)
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::EndParameterBlock()
Frame 000004 ........POST: <0xF8BC0BEF><this=0x05d63268> ID3DXEffect::EndParameterBlock()
Frame 000004 ........PRE: <this=0x05d63268>ID3DXEffect::ApplyParameterBlock(0xF8BC0BEF)
Frame 000004 ........POST: <S_OK><this=0x05d63268> ID3DXEffect::ApplyParameterBlock(0xF8BC0BEF)
An unhandled exception occurred.
Closing Run File
Frame 000004 ........PRE: CreateProcessW(NULL, 0x07BAF7E4, <unknown type 193>, <unknown type 193>, TRUE, 0x00000000, NULL, NULL, <unknown type 195>, <unknown type 196>)
Frame 000004 ........POST: <TRUE> CreateProcessW(NULL, 0x07BAF7E4, <unknown type 193>, <unknown type 193>, TRUE, 0x00000004, NULL, NULL, <unknown type 195>, <unknown type 196>)



It doesn't really make any sense to me, as PIX is crashing right after succesfully applied parameter block. It has nothing to with the block eigther because it was already crashing when I didn't use the block at this code position. Anyhow the crash always happens after that block, even if I set a simple render state call right after the block call. Does anyone have an idea? I'm not very excited about trying to debug PIX myself, as there is another problem, too: If I want to access the debug output, I have to immediatly close the applications error message. If I don't do so, PIX outputs another error, saying something about the logfiles aren't accessable and all I get is a blank debug output box..

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!