OgreOggSound Cause Crash at the end of the Application

CHRISTYHONG520

26-08-2010 03:13:19

Hi everyone,

This is my first post, so if there is anything incorrect please correct me.

Sorry for my bad English.

I am new to Ogre and I currently try to link my project with OgreOggSound Manager Library. I successfully compile it and link it with my project. It can function correctly to play and stop sounds. However, when I exit the program, the program crashes.

I trace back the problem by comment out all of my OgreOggSound relates codes, and compile with link to OgreOggSound library, still cause crash at the end of the program. The crash no longer occur once I remove the OgreOggSound library from my linking list.

This is my Ogre Log that shows error after the stopping of GLX System (the program link with OgreOggSound library, but do not use it, and do not use it as a plugin)

Uninstalling plugin: GL RenderSystem
Unregistering ResourceManager for type GpuProgram
******************************
*** Stopping GLX Subsystem ***
******************************
Unregistering ResourceManager for type Texture
Plugin successfully uninstalled
Unloading library /home/danil/dev/ogre_build/lib/RenderSystem_GL
Unregistering ResourceManager for type Material
*** glibc detected *** /home/danil/Desktop/CHGameEngine/dist/Debug/GNU-Linux-x86/chgameengine: double free or corruption (!prev): 0x00000000006fa3e0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7ffff5e5d5b6]
/lib/libc.so.6(cfree+0x73)[0x7ffff5e63e53]
/usr/lib/libstdc++.so.6(_ZNSsD1Ev+0x39)[0x7ffff66ab129]
/lib/libc.so.6(__cxa_finalize+0xa0)[0x7ffff5e1f630]
/usr/local/lib/libOgreOggSound.so(+0x298d26)[0x7ffff6dc4d26]
======= Memory map: ========
00400000-004ea000 r-xp 00000000 08:03 17433475 /home/danil/Desktop/CHGameEngine/dist/Debug/GNU-Linux-x86/chgameengine
006ea000-006eb000 r--p 000ea000 08:03 17433475 /home/danil/Desktop/CHGameEngine/dist/Debug/GNU-Linux-x86/chgameengine
006eb000-006ec000 rw-p 000eb000 08:03 17433475 /home/danil/Desktop/CHGameEngine/dist/Debug/GNU-Linux-x86/chgameengine
006ec000-00f43000 rw-p 00000000 00:00 0 [heap]
7fffe8000000-7fffe8021000 rw-p 00000000 00:00 0
7fffe8021000-7fffec000000 ---p 00000000 00:00 0
7fffecfd4000-7fffed0d4000 rw-p 00000000 00:00 0
7fffed0d4000-7fffed0d9000 r-xp 00000000 08:05 9177987 /usr/lib/libXfixes.so.3.1.0
7fffed0d9000-7fffed2d8000 ---p 00005000 08:05 9177987 /usr/lib/libXfixes.so.3.1.0
....Continue with similar error


Edit: I figure out that I do not need to link with OgreOggSound library, just need to add it as plugin. However, the sound play correctly in the program but still cause crash at the end of application but this time it ends at this line: OGRE_DELETE *i; in OgrePass.cpp
void Pass::processPendingPassUpdates(void)
{
{
OGRE_LOCK_MUTEX(msPassGraveyardMutex)
// Delete items in the graveyard
PassSet::iterator i, iend;
iend = msPassGraveyard.end();
for (i = msPassGraveyard.begin(); i != iend; ++i)
{
OGRE_DELETE *i; (The crash trace back to this line)
}
msPassGraveyard.clear();


It have no error in Ogre.log as if the program ends successfully. However, it causes Ogre not to find png format(no idea why?)

EXCEPTION(5:ItemIdentityException): Can not find codec for 'png' image format.
There are no formats supported (no codecs registered). in Codec::getCodec at /home/danil/dev/ogre/OgreMain/src/OgreCodec.cpp (line 69)


My Plugin.cfg:
# Defines plugins to load

# Define plugin folder
PluginFolder=/home/danil/dev/ogre_build/lib

# Define plugins
# Plugin=RenderSystem_Direct3D9
# Plugin=RenderSystem_Direct3D10
# Plugin=RenderSystem_Direct3D11
Plugin=RenderSystem_GL
# Plugin=RenderSystem_GLES
Plugin=Plugin_ParticleFX
Plugin=Plugin_BSPSceneManager
#Plugin=Plugin_CgProgramManager
Plugin=Plugin_PCZSceneManager
Plugin=Plugin_OctreeZone
Plugin=Plugin_OctreeSceneManager
Plugin=libOgreOggSound(This is the OgreOggSound Plugin, after I compile it I get libOgreOggSound so I keep use the same name)


The not finding png problem after end program crashes will not occur once the OgreOggSound library is removed. Still trying to locate the problem.

My working Environment is Linux Mint 9, Netbean 6.8, and Ogre 1.7.1, OgreOggSound 1.17

Is there some other link and/or configuration that I should do before I use it? I search the thread but do not find anyone have this problem, so I decide to post it.

Thank you very much for helping.

Sincerely,
Danil

stickymango

26-08-2010 14:13:58

Can you post your OgreOggSound related code also.

I can't say whether this is an OgreOggSound related problem or just coincidence, obviously nobody else has highlighted this issue before so it would suggest the problem may lie somewhere else and is corrupting something within the OgreOggSound code..

I'd suggest setting up an empty app and adding elements one-by-one until it breaks and hopefully that will shed some light on the issue.

CHRISTYHONG520

27-08-2010 01:16:06

Thank you stickymango for the quick reply.

Sorry for the late reply, I just come back from school. I followed your advise and construct a basic framework of Ogre (basically just copy and paste Ogre Tutorial 6) for a quick test. But the outcome is still the same: jpg, and png codec cannot find and a crashes occur whenever the program ends. If I remove the OgreOggSound library, everything works fine again...

Here is my Sample Code without OgreOggSound:

#include "Ogre.h"
#include "OIS.h"

class BasicTutorial6
{
private:
Ogre::Root* mRoot;
Ogre::String mPluginsCfg;
Ogre::String mResourcesCfg;
Ogre::RenderWindow* mWindow;
Ogre::SceneManager* mSceneMgr;
Ogre::Camera* mCamera;

public:
BasicTutorial6(void);
virtual ~BasicTutorial6(void);
bool go(void);
};

BasicTutorial6::BasicTutorial6(void)
: mRoot(0),
mPluginsCfg(Ogre::StringUtil::BLANK)
{
}
//-------------------------------------------------------------------------------------
BasicTutorial6::~BasicTutorial6(void)
{
delete mRoot;
}

bool BasicTutorial6::go(void)
{
#ifdef _DEBUG
mResourcesCfg = "resources_d.cfg";
mPluginsCfg = "plugins_d.cfg";
#else
mResourcesCfg = "resources.cfg";
mPluginsCfg = "plugins.cfg";
#endif

// construct Ogre::Root
mRoot = new Ogre::Root(mPluginsCfg);

// setup resources
// Load resource paths from config file
Ogre::ConfigFile cf;
cf.load(mResourcesCfg);
// Go through all sections & settings in the file
Ogre::ConfigFile::SectionIterator seci = cf.getSectionIterator();

Ogre::String secName, typeName, archName;
while (seci.hasMoreElements())
{
secName = seci.peekNextKey();
Ogre::ConfigFile::SettingsMultiMap *settings = seci.getNext();
Ogre::ConfigFile::SettingsMultiMap::iterator i;
for (i = settings->begin(); i != settings->end(); ++i)
{
typeName = i->first;
archName = i->second;
Ogre::ResourceGroupManager::getSingleton().addResourceLocation(
archName, typeName, secName);
}
}

// configure
// Show the configuration dialog and initialise the system
if(!(mRoot->restoreConfig() || mRoot->showConfigDialog()))
{
return false;
}

mWindow = mRoot->initialise(true, "BasicTutorial6 Render Window");

// Set default mipmap level (NB some APIs ignore this)
Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(5);
// initialise all resource groups
Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();

// Create the SceneManager, in this case a generic one
mSceneMgr = mRoot->createSceneManager("DefaultSceneManager");

// Create the camera
mCamera = mSceneMgr->createCamera("PlayerCam");

// Position it at 500 in Z direction
mCamera->setPosition(Ogre::Vector3(0,0,80));
// Look back along -Z
mCamera->lookAt(Ogre::Vector3(0,0,-300));
mCamera->setNearClipDistance(5);

// Create one viewport, entire window
Ogre::Viewport* vp = mWindow->addViewport(mCamera);
vp->setBackgroundColour(Ogre::ColourValue(0,0,0));

// Alter the camera aspect ratio to match the viewport
mCamera->setAspectRatio(
Ogre::Real(vp->getActualWidth()) / Ogre::Real(vp->getActualHeight()));

Ogre::Entity* ogreHead = mSceneMgr->createEntity("Head", "ogrehead.mesh");

Ogre::SceneNode* headNode = mSceneMgr->getRootSceneNode()->createChildSceneNode();
headNode->attachObject(ogreHead);

// Set ambient light
mSceneMgr->setAmbientLight(Ogre::ColourValue(0.5, 0.5, 0.5));

// Create a light
Ogre::Light* l = mSceneMgr->createLight("MainLight");
l->setPosition(20,80,50);

while(true)
{
// Pump window messages for nice behaviour
Ogre::WindowEventUtilities::messagePump();

if(mWindow->isClosed())
{
return false;
}

// Render a frame
if(!mRoot->renderOneFrame()) return false;
}

return true;
}
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
#else
int main(int argc, char *argv[])
#endif
{
// Create application object
BasicTutorial6 app;

try {
app.go();
} catch( Ogre::Exception& e ) {
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occured!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
#else
std::cerr << "An exception has occured: " <<
e.getFullDescription().c_str() << std::endl;
#endif
}

return 0;
}

#ifdef __cplusplus
}
#endif


Program crashes at end, and png and jpeg codec missing. However, OgreOggSound plugin loads successfully...
18:04:58: Creating resource group General
18:04:58: Creating resource group Internal
18:04:58: Creating resource group Autodetect
18:04:58: SceneManagerFactory for type 'DefaultSceneManager' registered.
18:04:58: Registering ResourceManager for type Material
18:04:58: Registering ResourceManager for type Mesh
18:04:58: Registering ResourceManager for type Skeleton
18:04:58: MovableObjectFactory for type 'ParticleSystem' registered.
18:04:58: OverlayElementFactory for type Panel registered.
18:04:58: OverlayElementFactory for type BorderPanel registered.
18:04:58: OverlayElementFactory for type TextArea registered.
18:04:58: Registering ResourceManager for type Font
18:04:58: ArchiveFactory for archive type FileSystem registered.
18:04:58: ArchiveFactory for archive type Zip registered.
18:04:58: DDS codec registering
18:04:58: FreeImage version: 3.10.0
18:04:58: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
18:04:58: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
18:04:58: Registering ResourceManager for type HighLevelGpuProgram
18:04:58: Registering ResourceManager for type Compositor
18:04:58: MovableObjectFactory for type 'Entity' registered.
18:04:58: MovableObjectFactory for type 'Light' registered.
18:04:58: MovableObjectFactory for type 'BillboardSet' registered.
18:04:58: MovableObjectFactory for type 'ManualObject' registered.
18:04:58: MovableObjectFactory for type 'BillboardChain' registered.
18:04:58: MovableObjectFactory for type 'RibbonTrail' registered.
18:04:58: Loading library /home/danil/dev/ogre_build/lib/RenderSystem_GL
18:04:58: Installing plugin: GL RenderSystem
18:04:58: OpenGL Rendering Subsystem created.
18:04:59: Plugin successfully installed
18:04:59: Loading library /home/danil/dev/ogre_build/lib/libOgreOggSound
18:04:59: Installing plugin: OgreOggSound
18:04:59: MovableObjectFactory for type 'OgreOggISound' registered.
18:04:59: Plugin successfully installed
18:04:59: *-*-* OGRE Initialising
18:04:59: *-*-* Version 1.7.1 (Cthugha)
18:04:59: Added resource location '/home/danil/Desktop/TestDemo/media' of type 'FileSystem' to resource group 'General'
18:04:59: Added resource location '/home/danil/Desktop/TestDemo/media/materials' of type 'FileSystem' to resource group 'General'
18:04:59: Added resource location '/home/danil/Desktop/TestDemo/media/materials/scripts' of type 'FileSystem' to resource group 'General'
18:04:59: Added resource location '/home/danil/Desktop/TestDemo/media/materials/textures' of type 'FileSystem' to resource group 'General'
18:04:59: Added resource location '/home/danil/Desktop/TestDemo/media/models' of type 'FileSystem' to resource group 'General'
18:04:59: CPU Identifier & Features
18:04:59: -------------------------
18:04:59: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
18:04:59: * SSE: yes
18:04:59: * SSE2: yes
18:04:59: * SSE3: yes
18:04:59: * MMX: yes
18:04:59: * MMXEXT: yes
18:04:59: * 3DNOW: no
18:04:59: * 3DNOWEXT: no
18:04:59: * CMOV: yes
18:04:59: * TSC: yes
18:04:59: * FPU: yes
18:04:59: * PRO: yes
18:04:59: * HT: no
18:04:59: -------------------------
18:04:59: ******************************
*** Starting GLX Subsystem ***
******************************
18:04:59: GLRenderSystem::_createRenderWindow "BasicTutorial6 Render Window", 1280x1024 windowed miscParams: FSAA=0 displayFrequency=60 MHz gamma=No vsync=No
18:04:59: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource GLX_icon.png in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:04:59: GLXWindow::create used FBConfigID = 39
18:04:59: GL_VERSION = 3.2.9756 Compatibility Profile Context
18:04:59: GL_VENDOR = ATI Technologies Inc.
18:04:59: GL_RENDERER = ATI Radeon HD 4500 Series
18:04:59: GL_EXTENSIONS = GL_AMDX_name_gen_delete GL_AMDX_vertex_shader_tessellator GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_performance_monitor GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_vertex_shader_tessellator GL_ARB_color_buffer_float GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_snorm GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_buffer_object_rgb32 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_explicit_multisample GL_NV_primitive_restart GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_swap_control
18:04:59: Supported GLX extensions: GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_swap_control GLX_NV_swap_group GLX_OML_swap_method GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_swap_barrier GLX_SGIX_swap_group GLX_SGIX_visual_select_group GLX_EXT_texture_from_pixmap
18:04:59: ***************************
18:04:59: *** GL Renderer Started ***
18:04:59: ***************************
18:04:59: Registering ResourceManager for type GpuProgram
18:04:59: GLSL support detected
18:04:59: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
18:04:59: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_A4L4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:04:59: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB
18:04:59: RenderSystem capabilities
18:04:59: -------------------------
18:04:59: RenderSystem Name: OpenGL Rendering Subsystem
18:04:59: GPU Vendor: ati
18:04:59: Device Name: ATI Radeon HD 4500 Series
18:04:59: Driver Version: 3.2.9756.0
18:04:59: * Fixed function pipeline: yes
18:04:59: * Hardware generation of mipmaps: no
18:04:59: * Texture blending: yes
18:04:59: * Anisotropic texture filtering: yes
18:04:59: * Dot product texture operation: yes
18:04:59: * Cube mapping: yes
18:04:59: * Hardware stencil buffer: yes
18:04:59: - Stencil depth: 8
18:04:59: - Two sided stencil support: yes
18:04:59: - Wrap stencil values: yes
18:04:59: * Hardware vertex / index buffers: yes
18:04:59: * Vertex programs: yes
18:04:59: * Number of floating-point constants for vertex programs: 512
18:04:59: * Number of integer constants for vertex programs: 0
18:04:59: * Number of boolean constants for vertex programs: 0
18:04:59: * Fragment programs: yes
18:04:59: * Number of floating-point constants for fragment programs: 512
18:04:59: * Number of integer constants for fragment programs: 0
18:04:59: * Number of boolean constants for fragment programs: 0
18:04:59: * Geometry programs: yes
18:04:59: * Number of floating-point constants for geometry programs: 512
18:04:59: * Number of integer constants for geometry programs: 0
18:04:59: * Number of boolean constants for geometry programs: 0
18:04:59: * Supported Shader Profiles: arbfp1 arbvp1 glsl gp4gp gpu_gp nvgp4 ps_1_1 ps_1_2 ps_1_3 ps_1_4
18:04:59: * Texture Compression: yes
18:04:59: - DXT: yes
18:04:59: - VTC: no
18:04:59: - PVRTC: no
18:04:59: * Scissor Rectangle: yes
18:04:59: * Hardware Occlusion Query: yes
18:04:59: * User clip planes: yes
18:04:59: * VET_UBYTE4 vertex element type: yes
18:04:59: * Infinite far plane projection: yes
18:04:59: * Hardware render-to-texture: yes
18:04:59: * Floating point textures: yes
18:04:59: * Non-power-of-two textures: yes
18:04:59: * Volume textures: yes
18:04:59: * Multiple Render Targets: 8
18:04:59: - With different bit depths: yes
18:04:59: * Point Sprites: yes
18:04:59: * Extended point parameters: yes
18:04:59: * Max Point Size: 8192
18:04:59: * Vertex texture fetch: yes
18:04:59: * Number of world matrices: 0
18:04:59: * Number of texture units: 16
18:04:59: * Stencil buffer depth: 8
18:04:59: * Number of vertex blend matrices: 0
18:04:59: - Max vertex textures: 16
18:04:59: - Vertex textures shared: yes
18:04:59: * Render to Vertex Buffer : no
18:04:59: * GL 1.5 without VBO workaround: no
18:04:59: * Frame Buffer objects: yes
18:04:59: * Frame Buffer objects (ARB extension): no
18:04:59: * Frame Buffer objects (ATI extension): no
18:04:59: * PBuffer support: no
18:04:59: * GL 1.5 without HW-occlusion workaround: no
18:04:59: Registering ResourceManager for type Texture
18:04:59: DefaultWorkQueue('Root') initialising on thread main.
18:04:59: Particle Renderer Type 'billboard' registered
18:04:59: Parsing scripts for resource group Autodetect
18:04:59: Finished parsing scripts for resource group Autodetect
18:04:59: Parsing scripts for resource group General
18:04:59: Parsing script Ogre.material
18:04:59: Finished parsing scripts for resource group General
18:04:59: Parsing scripts for resource group Internal
18:04:59: Finished parsing scripts for resource group Internal
18:04:59: Mesh: Loading ogrehead.mesh.
18:04:59: WARNING: ogrehead.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
18:04:59: OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'png' image format.
There are no formats supported (no codecs registered). in Codec::getCodec at /home/danil/dev/ogre/OgreMain/src/OgreCodec.cpp (line 69)
18:04:59: Error loading texture WeirdEye.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'png' image format.
There are no formats supported (no codecs registered). in Codec::getCodec at /home/danil/dev/ogre/OgreMain/src/OgreCodec.cpp (line 69)
18:04:59: OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'jpg' image format.
There are no formats supported (no codecs registered). in Codec::getCodec at /home/danil/dev/ogre/OgreMain/src/OgreCodec.cpp (line 69)
18:04:59: Error loading texture GreenSkin.jpg. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'jpg' image format.
There are no formats supported (no codecs registered). in Codec::getCodec at /home/danil/dev/ogre/OgreMain/src/OgreCodec.cpp (line 69)
18:04:59: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource spheremap.png in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:04:59: Error loading texture spheremap.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource spheremap.png in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:04:59: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource dirt01.jpg in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:04:59: Error loading texture dirt01.jpg. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource dirt01.jpg in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:05:05: DefaultWorkQueue('Root') shutting down on thread main.
18:05:05: *-*-* OGRE Shutdown
18:05:05: Unregistering ResourceManager for type Compositor
18:05:05: Unregistering ResourceManager for type Font
18:05:05: Unregistering ResourceManager for type Skeleton
18:05:05: Unregistering ResourceManager for type Mesh
18:05:05: Unregistering ResourceManager for type HighLevelGpuProgram
18:05:05: Uninstalling plugin: OgreOggSound
18:05:05: Plugin successfully uninstalled
18:05:05: Unloading library /home/danil/dev/ogre_build/lib/libOgreOggSound
18:05:05: Uninstalling plugin: GL RenderSystem
18:05:05: Unregistering ResourceManager for type GpuProgram
18:05:05: ******************************
*** Stopping GLX Subsystem ***
******************************
18:05:05: Unregistering ResourceManager for type Texture
18:05:05: Plugin successfully uninstalled
18:05:05: Unloading library /home/danil/dev/ogre_build/lib/RenderSystem_GL
18:05:05: Unregistering ResourceManager for type Material



Without OgreOggSound plugin, no crash at end and no jpg and png codec error...
18:09:19: Creating resource group General
18:09:19: Creating resource group Internal
18:09:19: Creating resource group Autodetect
18:09:19: SceneManagerFactory for type 'DefaultSceneManager' registered.
18:09:19: Registering ResourceManager for type Material
18:09:19: Registering ResourceManager for type Mesh
18:09:19: Registering ResourceManager for type Skeleton
18:09:19: MovableObjectFactory for type 'ParticleSystem' registered.
18:09:19: OverlayElementFactory for type Panel registered.
18:09:19: OverlayElementFactory for type BorderPanel registered.
18:09:19: OverlayElementFactory for type TextArea registered.
18:09:19: Registering ResourceManager for type Font
18:09:19: ArchiveFactory for archive type FileSystem registered.
18:09:19: ArchiveFactory for archive type Zip registered.
18:09:19: DDS codec registering
18:09:19: FreeImage version: 3.10.0
18:09:19: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
18:09:19: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
18:09:19: Registering ResourceManager for type HighLevelGpuProgram
18:09:19: Registering ResourceManager for type Compositor
18:09:19: MovableObjectFactory for type 'Entity' registered.
18:09:19: MovableObjectFactory for type 'Light' registered.
18:09:19: MovableObjectFactory for type 'BillboardSet' registered.
18:09:19: MovableObjectFactory for type 'ManualObject' registered.
18:09:19: MovableObjectFactory for type 'BillboardChain' registered.
18:09:19: MovableObjectFactory for type 'RibbonTrail' registered.
18:09:19: Loading library /home/danil/dev/ogre_build/lib/RenderSystem_GL
18:09:19: Installing plugin: GL RenderSystem
18:09:19: OpenGL Rendering Subsystem created.
18:09:20: Plugin successfully installed
18:09:20: *-*-* OGRE Initialising
18:09:20: *-*-* Version 1.7.1 (Cthugha)
18:09:20: Added resource location '/home/danil/Desktop/TestDemo/media' of type 'FileSystem' to resource group 'General'
18:09:20: Added resource location '/home/danil/Desktop/TestDemo/media/materials' of type 'FileSystem' to resource group 'General'
18:09:20: Added resource location '/home/danil/Desktop/TestDemo/media/materials/scripts' of type 'FileSystem' to resource group 'General'
18:09:20: Added resource location '/home/danil/Desktop/TestDemo/media/materials/textures' of type 'FileSystem' to resource group 'General'
18:09:20: Added resource location '/home/danil/Desktop/TestDemo/media/models' of type 'FileSystem' to resource group 'General'
18:09:20: CPU Identifier & Features
18:09:20: -------------------------
18:09:20: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
18:09:20: * SSE: yes
18:09:20: * SSE2: yes
18:09:20: * SSE3: yes
18:09:20: * MMX: yes
18:09:20: * MMXEXT: yes
18:09:20: * 3DNOW: no
18:09:20: * 3DNOWEXT: no
18:09:20: * CMOV: yes
18:09:20: * TSC: yes
18:09:20: * FPU: yes
18:09:20: * PRO: yes
18:09:20: * HT: no
18:09:20: -------------------------
18:09:20: ******************************
*** Starting GLX Subsystem ***
******************************
18:09:20: GLRenderSystem::_createRenderWindow "BasicTutorial6 Render Window", 1280x1024 windowed miscParams: FSAA=0 displayFrequency=60 MHz gamma=No vsync=No
18:09:20: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource GLX_icon.png in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:09:21: GLXWindow::create used FBConfigID = 39
18:09:21: GL_VERSION = 3.2.9756 Compatibility Profile Context
18:09:21: GL_VENDOR = ATI Technologies Inc.
18:09:21: GL_RENDERER = ATI Radeon HD 4500 Series
18:09:21: GL_EXTENSIONS = GL_AMDX_name_gen_delete GL_AMDX_vertex_shader_tessellator GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_performance_monitor GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_vertex_shader_tessellator GL_ARB_color_buffer_float GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_snorm GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_buffer_object_rgb32 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_explicit_multisample GL_NV_primitive_restart GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_swap_control
18:09:21: Supported GLX extensions: GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_swap_control GLX_NV_swap_group GLX_OML_swap_method GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_swap_barrier GLX_SGIX_swap_group GLX_SGIX_visual_select_group GLX_EXT_texture_from_pixmap
18:09:21: ***************************
18:09:21: *** GL Renderer Started ***
18:09:21: ***************************
18:09:21: Registering ResourceManager for type GpuProgram
18:09:21: GLSL support detected
18:09:21: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
18:09:21: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_A4L4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
18:09:21: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB
18:09:21: RenderSystem capabilities
18:09:21: -------------------------
18:09:21: RenderSystem Name: OpenGL Rendering Subsystem
18:09:21: GPU Vendor: ati
18:09:21: Device Name: ATI Radeon HD 4500 Series
18:09:21: Driver Version: 3.2.9756.0
18:09:21: * Fixed function pipeline: yes
18:09:21: * Hardware generation of mipmaps: no
18:09:21: * Texture blending: yes
18:09:21: * Anisotropic texture filtering: yes
18:09:21: * Dot product texture operation: yes
18:09:21: * Cube mapping: yes
18:09:21: * Hardware stencil buffer: yes
18:09:21: - Stencil depth: 8
18:09:21: - Two sided stencil support: yes
18:09:21: - Wrap stencil values: yes
18:09:21: * Hardware vertex / index buffers: yes
18:09:21: * Vertex programs: yes
18:09:21: * Number of floating-point constants for vertex programs: 512
18:09:21: * Number of integer constants for vertex programs: 0
18:09:21: * Number of boolean constants for vertex programs: 0
18:09:21: * Fragment programs: yes
18:09:21: * Number of floating-point constants for fragment programs: 512
18:09:21: * Number of integer constants for fragment programs: 0
18:09:21: * Number of boolean constants for fragment programs: 0
18:09:21: * Geometry programs: yes
18:09:21: * Number of floating-point constants for geometry programs: 512
18:09:21: * Number of integer constants for geometry programs: 0
18:09:21: * Number of boolean constants for geometry programs: 0
18:09:21: * Supported Shader Profiles: arbfp1 arbvp1 glsl gp4gp gpu_gp nvgp4 ps_1_1 ps_1_2 ps_1_3 ps_1_4
18:09:21: * Texture Compression: yes
18:09:21: - DXT: yes
18:09:21: - VTC: no
18:09:21: - PVRTC: no
18:09:21: * Scissor Rectangle: yes
18:09:21: * Hardware Occlusion Query: yes
18:09:21: * User clip planes: yes
18:09:21: * VET_UBYTE4 vertex element type: yes
18:09:21: * Infinite far plane projection: yes
18:09:21: * Hardware render-to-texture: yes
18:09:21: * Floating point textures: yes
18:09:21: * Non-power-of-two textures: yes
18:09:21: * Volume textures: yes
18:09:21: * Multiple Render Targets: 8
18:09:21: - With different bit depths: yes
18:09:21: * Point Sprites: yes
18:09:21: * Extended point parameters: yes
18:09:21: * Max Point Size: 8192
18:09:21: * Vertex texture fetch: yes
18:09:21: * Number of world matrices: 0
18:09:21: * Number of texture units: 16
18:09:21: * Stencil buffer depth: 8
18:09:21: * Number of vertex blend matrices: 0
18:09:21: - Max vertex textures: 16
18:09:21: - Vertex textures shared: yes
18:09:21: * Render to Vertex Buffer : no
18:09:21: * GL 1.5 without VBO workaround: no
18:09:21: * Frame Buffer objects: yes
18:09:21: * Frame Buffer objects (ARB extension): no
18:09:21: * Frame Buffer objects (ATI extension): no
18:09:21: * PBuffer support: no
18:09:21: * GL 1.5 without HW-occlusion workaround: no
18:09:21: Registering ResourceManager for type Texture
18:09:21: DefaultWorkQueue('Root') initialising on thread main.
18:09:21: Particle Renderer Type 'billboard' registered
18:09:21: Parsing scripts for resource group Autodetect
18:09:21: Finished parsing scripts for resource group Autodetect
18:09:21: Parsing scripts for resource group General
18:09:21: Parsing script Ogre.material
18:09:21: Finished parsing scripts for resource group General
18:09:21: Parsing scripts for resource group Internal
18:09:21: Finished parsing scripts for resource group Internal
18:09:21: Mesh: Loading ogrehead.mesh.
18:09:21: WARNING: ogrehead.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
18:09:21: Texture: WeirdEye.png: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
18:09:21: Texture: GreenSkin.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
18:09:21: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource spheremap.png in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:09:21: Error loading texture spheremap.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource spheremap.png in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:09:21: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource dirt01.jpg in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:09:21: Error loading texture dirt01.jpg. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource dirt01.jpg in resource group General or any other group. in ResourceGroupManager::openResource at /home/danil/dev/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 753)
18:09:22: DefaultWorkQueue('Root') shutting down on thread main.
18:09:22: *-*-* OGRE Shutdown
18:09:22: Unregistering ResourceManager for type Compositor
18:09:22: Unregistering ResourceManager for type Font
18:09:22: Unregistering ResourceManager for type Skeleton
18:09:22: Unregistering ResourceManager for type Mesh
18:09:22: Unregistering ResourceManager for type HighLevelGpuProgram
18:09:22: Uninstalling plugin: GL RenderSystem
18:09:22: Unregistering ResourceManager for type GpuProgram
18:09:22: ******************************
*** Stopping GLX Subsystem ***
******************************
18:09:22: Unregistering ResourceManager for type Texture
18:09:23: Plugin successfully uninstalled
18:09:23: Unloading library /home/danil/dev/ogre_build/lib/RenderSystem_GL
18:09:23: Unregistering ResourceManager for type Material



I limit the plugin to only two: GL Plugin and OgreOggSound Plugin
# Defines plugins to load

# Define plugin folder
PluginFolder=/home/danil/dev/ogre_build/lib

# Define plugins
Plugin=RenderSystem_GL
Plugin=libOgreOggSound


Crash still happens in this line:
void Pass::processPendingPassUpdates(void)
{
{
OGRE_LOCK_MUTEX(msPassGraveyardMutex)
// Delete items in the graveyard
PassSet::iterator i, iend;
iend = msPassGraveyard.end();
for (i = msPassGraveyard.begin(); i != iend; ++i)
{
OGRE_DELETE *i; (The crash trace back to this line)
}
msPassGraveyard.clear();


Still trying to figure out where the problem is, but thank you very much for your helps.

Sincerely,
Danil

stickymango

27-08-2010 10:03:57

Unfortunately with no linux box to test/work on I can only speculate as to what might be the problem, I've committed a fix to an OGRE memory managed bug but I don't think it will make any difference in this instance.

Basically I was creating objects using OGRE memory macros and deleting them with 'delete', but this was only linked to created sounds and shared buffers, which of course you don't have :(

Let me know if you get any further and hopefully a linux wisened user can chime in with some pointers.. :wink:

CHRISTYHONG520

28-08-2010 19:00:46

Stickymango, thank you for your reply and helps.

I tried to trace my problem to corrupt driver and old OpenAL. But OpenAL is relative new, version 1.1.0 -2, and OpenAL test program compiles and runs fine. So I will keep looking for the solution and post here if I find anything new.

Sincerely,
Danil

CHRISTYHONG520

28-08-2010 19:38:46

I am very sorry, stickymango, for letting you do extra works... :oops:

I find out that the library itself might not be the problem after all. :oops:

After some debugging, I believe that I compile OgreOggSound library wrong in some way. Even thought that I successfully compile OgreOggSound.so dynamic library using CMAKE, my library is corrupt. I come up with this conclusion since I just design a simple hello world c++ program while include the OgreOggSound library, and the program crash at the end. The program ends fine once the library is removed.

This is the sample code:

int main()
{
#include <iostream>

using namespace std;

int main()
{
cout << "Hello world" << endl;

cout << "Press any key to continue..." << endl;
cin.get();

return 0;
} // main


However, I still get the corrupt library even though I tried to compile it many times. I compile with thread on/off and with both the regular download and the SVN. :evil:

May somebody who compile it successfully under Linux shares their library, .so file? Or share some information on how they compile successfully on Linux?

Thank you very much for all of helps.

Sincerely,
Danil

stickymango

29-08-2010 21:02:37

Hmmm, keep me posted, I've not been able to test compiling on linux for a long time but this seems odd, obviously I don't get any such issue on windows :?

stickymango

03-09-2010 12:01:36

A new development might be worth trying out for this issue, update from SVN if you can..

CHRISTYHONG520

23-07-2011 23:25:25

Hi stickymango,

Sorry for digging up the old thread and reply. But I believed that I should make reply to your help and made some conclusions about my problem. After numerous struggle since I still had hard time to compile the SVN, I decided to use an engine, Ogrekit, that incorporated basic OpenAL support with Ogre instead of connecting all libraries by myself.

Thank you very much for your helps and sorry for reply late.

Sincerely,
Danil