Weird bug

My new game Betty’s Beer Bar is in alpha state. Somebody reported a
weird error. Take a look :

http://www.mrio-software.com/betty_bug.jpg

It looks like a pointer to video memory got corrupted somehow. I know
it’s hard to tell with just a screenshot, but do you have any a priori
idea of what is wrong here? I’m not doing anything fancy (just plain
SDL_UpdateRects) and this seems to happen only every a few frames, so I
believe it’s a problem on the SDL side. Did anyone experience anything
similar to this?

Thanks in advance,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy

IMHO looks like you are not updating the correct rects. Have you tried
updating the whole screen ?

See you, Alejandro.> ----- Original Message -----

From: ggambett@artech.com.uy (Gabriel Gambetta)
To:
Sent: Monday, August 18, 2003 3:42 PM
Subject: [SDL] Weird bug

My new game Betty’s Beer Bar is in alpha state. Somebody reported a
weird error. Take a look :

http://www.mrio-software.com/betty_bug.jpg

It looks like a pointer to video memory got corrupted somehow. I know
it’s hard to tell with just a screenshot, but do you have any a priori
idea of what is wrong here? I’m not doing anything fancy (just plain
SDL_UpdateRects) and this seems to happen only every a few frames, so I
believe it’s a problem on the SDL side. Did anyone experience anything
similar to this?

Thanks in advance,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I don’t think that’s the problem, the game works perfectly in every other machine it was tested. And it was tested in many machines.

Thanks, y saludos desde el otro lado del r?o,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy> ----- Original Message -----

From: Alejandro Santos [mailto:alejandrosantos@fibertel.com.ar]
Sent: Lunes, 18 de Agosto de 2003 06:54 p.m.
To: sdl at libsdl.org
Subject: Re: [SDL] Weird bug

IMHO looks like you are not updating the correct rects. Have you tried updating the whole screen ?

See you, Alejandro.

----- Original Message -----
From: ggambett@artech.com.uy (Gabriel Gambetta)
To:
Sent: Monday, August 18, 2003 3:42 PM
Subject: [SDL] Weird bug

My new game Betty’s Beer Bar is in alpha state. Somebody reported a weird error. Take a look :

http://www.mrio-software.com/betty_bug.jpg

It looks like a pointer to video memory got corrupted somehow. I know it’s hard to tell with just a screenshot, but do you have any a priori idea of what is wrong here? I’m not doing anything fancy (just plain
SDL_UpdateRects) and this seems to happen only every a few frames, so I believe it’s a problem on the SDL side. Did anyone experience anything similar to this?

Thanks in advance,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

My new game Betty’s Beer Bar is in alpha state. Somebody reported a weird error. Take a look :

http://www.mrio-software.com/betty_bug.jpg

That’s really wierd. It looks like the pitch of the surface was shifted
halfway through the drawing. What platform and video drivers was this
reported on?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

But have you tried what ive said ? SDL_Flip at the end of the rendering loop
will be enough.

See you. Alejandro.

PD: Hola vecino!! No me habia dado cuenta de donde eras :))> ----- Original Message -----

From: ggambett@artech.com.uy (Gabriel Gambetta)
To:
Sent: Tuesday, August 19, 2003 10:04 AM
Subject: RE: [SDL] Weird bug

I don’t think that’s the problem, the game works perfectly in every other
machine it was tested. And it was tested in many machines.

Thanks, y saludos desde el otro lado del r?o,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy

-----Original Message-----
From: Alejandro Santos [mailto:alejandrosantos@fibertel.com.ar]
Sent: Lunes, 18 de Agosto de 2003 06:54 p.m.
To: sdl at libsdl.org
Subject: Re: [SDL] Weird bug

IMHO looks like you are not updating the correct rects. Have you tried
updating the whole screen ?

See you, Alejandro.

----- Original Message -----
From: ggambett@artech.com.uy (Gabriel Gambetta)
To:
Sent: Monday, August 18, 2003 3:42 PM
Subject: [SDL] Weird bug

My new game Betty’s Beer Bar is in alpha state. Somebody reported a weird
error. Take a look :

http://www.mrio-software.com/betty_bug.jpg

It looks like a pointer to video memory got corrupted somehow. I know it’s
hard to tell with just a screenshot, but do you have any a priori idea of
what is wrong here? I’m not doing anything fancy (just plain
SDL_UpdateRects) and this seems to happen only every a few frames, so I
believe it’s a problem on the SDL side. Did anyone experience anything
similar to this?

Thanks in advance,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Could be the craphics card, and/or drivers, that were used. Have had a
similar problem when running apps from both SDL and other libs on an IBM
NetVista with a nVidia Vanta or similar…
So the problem doesn’t have to be in your code…

Best regards
Daniel Liljeberg>From: “Alejandro Santos”

Reply-To: sdl at libsdl.org
To:
Subject: Re: [SDL] Weird bug
Date: Tue, 19 Aug 2003 14:00:06 -0300

But have you tried what ive said ? SDL_Flip at the end of the rendering
loop
will be enough.

See you. Alejandro.

PD: Hola vecino!! No me habia dado cuenta de donde eras :))

----- Original Message -----
From: “Gabriel Gambetta”
To:
Sent: Tuesday, August 19, 2003 10:04 AM
Subject: RE: [SDL] Weird bug

I don’t think that’s the problem, the game works perfectly in every other
machine it was tested. And it was tested in many machines.

Thanks, y saludos desde el otro lado del r?o,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy

-----Original Message-----
From: Alejandro Santos [mailto:alejandrosantos at fibertel.com.ar]
Sent: Lunes, 18 de Agosto de 2003 06:54 p.m.
To: sdl at libsdl.org
Subject: Re: [SDL] Weird bug

IMHO looks like you are not updating the correct rects. Have you tried
updating the whole screen ?

See you, Alejandro.

----- Original Message -----
From: “Gabriel Gambetta”
To:
Sent: Monday, August 18, 2003 3:42 PM
Subject: [SDL] Weird bug

My new game Betty’s Beer Bar is in alpha state. Somebody reported a weird
error. Take a look :

http://www.mrio-software.com/betty_bug.jpg

It looks like a pointer to video memory got corrupted somehow. I know it’s
hard to tell with just a screenshot, but do you have any a priori idea of
what is wrong here? I’m not doing anything fancy (just plain
SDL_UpdateRects) and this seems to happen only every a few frames, so I
believe it’s a problem on the SDL side. Did anyone experience anything
similar to this?

Thanks in advance,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail

My new game Betty’s Beer Bar is in alpha state. Somebody reported a
weird error. Take a look :
http://www.mrio-software.com/betty_bug.jpg

[Sam Lantinga]
That’s really wierd. It looks like the pitch of the surface was
shifted halfway through the drawing. What platform and > video drivers
was this reported on?

Sorry for the delay, the guy wasn’t immediately available. Here are the
specs :

Windows 2000 v5.00.2195
TNT2 Model64, driver NVIDIA v 6.13.10.4072
DirectX 9.0
Screen: 1024x768x16

Thanks,
–Gabriel

Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy