Demo_PagingLandScape2.exe crashes on terminating.

Jacky

29-08-2009 18:47:46

I downloaded PLSM2 sources from svn and building is all sucessful with OGRE ver1.6.3.
But Demo_PagingLandScape2.exe has a problem that crashes when unloads splatting texture mode.
Loading a splatting texture mode is all right, but it crashes when it proceeds to another texture mode or when the program terminates.
If It doesn't load splatting texture mode and just use base texture mode (like Base, Base2, InstantBase), It works OK.

Am I the only one who has a problem like this?

whw0828

27-09-2009 09:49:14

hello :)

I'm use ogre1.6.3 + PLSM2 download from SVN(lastest version)+vs2008
i already rebulid project Plugin_PagingLandScapeSceneManager2 and succeed get Plugin_PagingLandScapeSceneManager2.dll(size 570kB) and Plugin_PagingLandScapeSceneManager2.lib (size 117KB)

I succeed build Demo_PagingLandScape2 when I run Demo_PagingLandScape2.exe I got this erro :!:
void __cdecl _CRT_DEBUGGER_HOOK(int _Reserved)
{
/* assign 0 to _debugger_hook_dummy so that the function is not folded in retail */
(_Reserved);
_debugger_hook_dummy = 0;
}

this is PLSM2.log
22:20:09: Added resource location '../../../Media/paginglandscape2/terrains/hf129_3' of type 'FileSystem' to resource group 'PLSM2'
22:20:09: Initialising resource group PLSM2
22:20:09: Texture: flare.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
22:20:09: Texture: cursor.png: Loading 1 faces(PF_R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,32x32x1.
22:20:09: PLSM2 : Cannot find map named hf129_3.0.0.png
22:20:09: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: Error loading texture hf129_3.Base.0.0.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Light.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: Error loading texture hf129_3.Light.0.0.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Light.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: Error loading texture hf129_3.Base.0.0.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: Error loading texture hf129_3.Base.0.0.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: Texture: Detail3.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
22:20:09: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Light.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: Error loading texture hf129_3.Light.0.0.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Light.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
22:20:09: Error loading texture hf129_3.Base.0.0.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource hf129_3.Base.0.0.png in resource group PLSM2 or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)

any advice is appreciate

Jacky

06-11-2009 08:31:22

hi..

Did you check if those files exist in the '../../../Media/paginglandscape2/terrains/hf129_3' ?
Those missing files should be in the correct directory.

sxoo0305

01-12-2009 03:37:15

I have the same problem ! waiting on line ~

sxoo0305

01-12-2009 03:40:47

I also have this problem !

sxoo0305

01-12-2009 03:41:27

nervous !

sxoo0305

01-12-2009 03:42:02

who can help me ?

sxoo0305

01-12-2009 08:36:54

// Linux plugin is created as Plugin_PagingLandScape2.so and set up to run
// via the plugins.cfg config file
//#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
//#ifdef _DEBUG
// Root::getSingleton().loadPlugin("Plugin_PagingLandScapeSceneManager2_d");
//#else
// Root::getSingleton().loadPlugin("Plugin_PagingLandScapeSceneManager2");
//#endif
//#endif

如果你在plugin.cfg里边加载了plsm2插件的话,就将这里注释掉!