Problem with DEP on Vista

Hello,

I’m using a Delphi component that uses SDL.dll.

On Windows Vista it crashes when DEP (Data Execution Prevention) is enabled, with DEP disabled it works fine.

The code that crashes is:

R.x := ivs.xleft + x;
R.y := ivs.ytop  + y;
R.w := width;
R.h := height;
SDL_DisplayYUVOverlay(vp.bmp, @R);  <<< crash here when DEP is enabled

Is this a known problem and is there a workaround?

Thanks!
Brian

I haven’t heard anything about that. I could probably help track it down, though. But I’d
need a bit more information.

What Delphi component are you using? What version of SDL is it running against?
What SDL renderer are you on? What version of Delphi are you on? What video
hardware are you running on? Is your video driver up to date?

Find out all this for me and I’ll see what I can do to help find your DEP bug.

Mason________________________________
From: br@bitberry.com (bitberry)
Subject: [SDL] Problem with DEP on Vista

Hello,

I’m using a Delphi component that uses SDL.dll.

On Windows Vista it crashes when DEP (Data Execution Prevention) is enabled, with DEP disabled it works fine.

The code that crashes is:

R.x := ivs.xleft + x;
R.y := ivs.ytop + y;
R.w := width;
R.h := height;
SDL_DisplayYUVOverlay(vp.bmp, @R); <<< crash here when DEP is enabled

Is this a known problem and is there a workaround?

Thanks!
Brian

Hello Mason,

Mason Wheeler wrote:

I haven’t heard anything about that. I could probably help track it down, though. But I’d
need a bit more information.

I appreciate your offer to help.

Mason Wheeler wrote:

What Delphi component are you using?

It is the FFPlay wrapper component from http://www.delphiffmpeg.com. I have the component show a video on a TPanel.

Mason Wheeler wrote:

What version of SDL is it running against?

I have tried with both 1.2.13.0 and 1.2.14.0.

Mason Wheeler wrote:

What SDL renderer are you on?

I’m not sure what you mean by this.

Mason Wheeler wrote:

What version of Delphi are you on?

2007

Mason Wheeler wrote:

What video hardware are you running on?

I have seen the same crash on several PCs. This one is using a GeForce 8800 GT.

Mason Wheeler wrote:

Is your video driver up to date?

Yes it is.