(delete the post ... )my program freeze

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Pr3t3nd3r
Posts: 186
Joined: Tue Feb 08, 2005 6:02 pm
Location: Romania
Contact:

(delete the post ... )my program freeze

Post by Pr3t3nd3r »

Irrlicht is some times freezing when run in full screen on Windows. ( DirectX freeze much more than Opengl).
The image stay freeze. alt+tab stop responding. No error is reported.


Any idea why this is happening?. I tested on more systems and is always happening.
I think is usually happening when mouse is pressing an image or button. (not sure if this is the only situation)
Last edited by Pr3t3nd3r on Wed Sep 27, 2006 10:48 pm, edited 1 time in total.
Galactic Dream Best RTS game
http://www.rageofwar.net
Engage in epic galactic warfare, guide your people through the galaxy! in the real time strategy game made with Irrlicht
http://www.evolutionvault.com
CuteAlien
Admin
Posts: 9693
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

There are just too many reasons why a programm does freeze, so we can't help you there. But more often than not the problem ain't the engine but the programm using the engine.You will have to debug it. Try if you can reproduce the problem. For example you can remove code from your programm until it does not freeze anymore. To check if it's really irrlicht that does cause the freeze you could for example add messages before and after the calls of irrlicht functions and write those to a logfile.
Pr3t3nd3r
Posts: 186
Joined: Tue Feb 08, 2005 6:02 pm
Location: Romania
Contact:

Post by Pr3t3nd3r »

:cry:

No is not my program because in window is working perfectly for days, months.
The problem is the full screen. There was the problem with pID3DDevice->Reset(&present) when alt+tab what i kinda fix't.

When the game freeze i used sleep (computer), open it again ... tried to make the program stop running (no success because the video card was still taken by the game). And after that i got in the log window more "DIRECT3D9 begin scene failed." messages ... so my program is still calling begin end ...
The messages could be because of the sleep.
I have an small log. But is very hard to know when the image freeze in the log. And because of the full screen is hard do do any debugging.

I think somehow is losing the device and can not restore it back .. don;t know why. And the same program running using irrlicht spintz never freeze ...
Galactic Dream Best RTS game
http://www.rageofwar.net
Engage in epic galactic warfare, guide your people through the galaxy! in the real time strategy game made with Irrlicht
http://www.evolutionvault.com
Post Reply