TGEA 1.7.1 Bug: resizing window with joystickenabled causes hang
by JANR · in Torque Game Engine Advanced · 09/14/2008 (12:56 pm) · 2 replies
Steps to reproduce:
using AtlasDemo
in scriptsandassets/client/prefs.cs set
$pref::Input::JoystickEnabled = "1";
If the demo is not already set to run in fullscreen
-start the demo, use ctrl-o to get options, check fullscreen, hit apply.
-close the demo
start the demo (should now start in fullscreen)
- use ctrl-o to get options, uncheck fullscreen, hit apply
- drag the window border
the application will now hang.
To recreate it on my machine I had to be very particular about having the app start up in fullscreen, which is why I am listing it as a step here.
On the machine of the user who reported the problem, it seems all window resizing causes the hang.
the hang is in GFXPCD3D9Device::beginSceneInternal()
where TestCooperativeLevel always returns D3DERR_DEVICELOST.
(sorry, posted it before writing the full description)
using AtlasDemo
in scriptsandassets/client/prefs.cs set
$pref::Input::JoystickEnabled = "1";
If the demo is not already set to run in fullscreen
-start the demo, use ctrl-o to get options, check fullscreen, hit apply.
-close the demo
start the demo (should now start in fullscreen)
- use ctrl-o to get options, uncheck fullscreen, hit apply
- drag the window border
the application will now hang.
To recreate it on my machine I had to be very particular about having the app start up in fullscreen, which is why I am listing it as a step here.
On the machine of the user who reported the problem, it seems all window resizing causes the hang.
the hang is in GFXPCD3D9Device::beginSceneInternal()
where TestCooperativeLevel always returns D3DERR_DEVICELOST.
(sorry, posted it before writing the full description)
About the author
Recent Threads
#2
or just the trace? here it is:
AtlasDemo_DEBUG.exe!Platform::debugBreak() Line 16 C++
AtlasDemo_DEBUG.exe!D3D9Assert(HRESULT hr=-2005530520, const char * info=0x00ee2fa4) Line 41 C++
> AtlasDemo_DEBUG.exe!GFXPCD3D9Device::reset(_D3DPRESENT_PARAMETERS_ & d3dpp={...}) Line 904 + 0xe bytes C++
AtlasDemo_DEBUG.exe!GFXPCD3D9WindowTarget::resetMode() Line 147 C++
AtlasDemo_DEBUG.exe!Win32Window::WindowProc(HWND__ * hWnd=0x000719cc, unsigned int message=5, unsigned int wParam=0, long lParam=37880609) Line 393 C++
Please let me know if I can provide any more information. Or should send the .dmp somewhere.
09/14/2008 (1:23 pm)
Sorry, not so into this. callstack trace? as in a debug.dmp? or just the trace? here it is:
AtlasDemo_DEBUG.exe!Platform::debugBreak() Line 16 C++
AtlasDemo_DEBUG.exe!D3D9Assert(HRESULT hr=-2005530520, const char * info=0x00ee2fa4) Line 41 C++
> AtlasDemo_DEBUG.exe!GFXPCD3D9Device::reset(_D3DPRESENT_PARAMETERS_ & d3dpp={...}) Line 904 + 0xe bytes C++
AtlasDemo_DEBUG.exe!GFXPCD3D9WindowTarget::resetMode() Line 147 C++
AtlasDemo_DEBUG.exe!Win32Window::WindowProc(HWND__ * hWnd=0x000719cc, unsigned int message=5, unsigned int wParam=0, long lParam=37880609) Line 393 C++
Please let me know if I can provide any more information. Or should send the .dmp somewhere.
Torque Owner Stefan Lundmark