Stack around the variable 'stream' was corrupted.

Trioxin

21-07-2010 12:57:50

While following the Quickstart guide, I can get the program to compile fine, but cannot get it to run.
Using MyGUI 3.0.1 and Ogre 1.7.1

Visual Studio sends me the error "Stack around the variable 'stream' was corrupted." and points me to:

MyGUI_OgreDataManager.cpp (Line 71)

IDataStream* OgreDataManager::getData(const std::string& _name)
{
try
{
Ogre::DataStreamPtr stream = Ogre::ResourceGroupManager::getSingleton().openResource(_name, mGroup);
OgreDataStream* data = new OgreDataStream(stream);

return data;
}
catch(Ogre::FileNotFoundException)
{
}

return nullptr;
}


The line of code written by me it breaks on is: mGUI->initialise();

I'm afraid I don't have the fainest idea why it's doing this. My best guess is that it's having trouble getting one of the resources, but I can't see where I've gone wrong.
Any help would be appreciated.
the log file doesn't really shed any light on the situation, but it's posted below for thoroughness.
Below that is the initialisation code for the program, this is all the code that runs, and the myGUI initialise() is where things go wrong.


----------------------------------------------------------------------------------------------------------------------------------
loging report for : 07/21/2010 12:51:59
----------------------------------------------------------------------------------------------------------------------------------

12:51:59 | Platform | Info | * Initialise: OgreRenderManager | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 26
12:51:59 | Platform | Info | OgreRenderManager successfully initialized | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 54
12:51:59 | Platform | Info | * Initialise: OgreDataManager | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreDataManager.cpp | 45
12:51:59 | Platform | Info | OgreDataManager successfully initialized | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreDataManager.cpp | 49
12:51:59 | Core | Info | * Initialise: Gui | ..\..\MyGUIEngine\src\MyGUI_Gui.cpp | 82
12:51:59 | Core | Info | * MyGUI version 3.0.1 | ..\..\MyGUIEngine\src\MyGUI_Gui.cpp | 86
12:51:59 | Core | Info | * Initialise: ResourceManager | ..\..\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 43
12:51:59 | Core | Info | ResourceManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 51
12:51:59 | Core | Info | * Initialise: LayerManager | ..\..\MyGUIEngine\src\MyGUI_LayerManager.cpp | 44
12:51:59 | Core | Info | LayerManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_LayerManager.cpp | 52
12:51:59 | Core | Info | * Initialise: WidgetManager | ..\..\MyGUIEngine\src\MyGUI_WidgetManager.cpp | 66
12:51:59 | Core | Info | WidgetManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_WidgetManager.cpp | 105
12:51:59 | Core | Info | * Initialise: InputManager | ..\..\MyGUIEngine\src\MyGUI_InputManager.cpp | 41
12:51:59 | Core | Info | InputManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_InputManager.cpp | 58
12:51:59 | Core | Info | * Initialise: SubWidgetManager | ..\..\MyGUIEngine\src\MyGUI_SubWidgetManager.cpp | 44
12:51:59 | Core | Info | SubWidgetManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_SubWidgetManager.cpp | 64
12:51:59 | Core | Info | * Initialise: SkinManager | ..\..\MyGUIEngine\src\MyGUI_SkinManager.cpp | 46
12:51:59 | Core | Info | SkinManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_SkinManager.cpp | 54
12:51:59 | Core | Info | * Initialise: FontManager | ..\..\MyGUIEngine\src\MyGUI_FontManager.cpp | 43
12:51:59 | Core | Info | FontManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_FontManager.cpp | 52
12:51:59 | Core | Info | * Initialise: ControllerManager | ..\..\MyGUIEngine\src\MyGUI_ControllerManager.cpp | 41
12:51:59 | Core | Info | ControllerManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_ControllerManager.cpp | 51
12:51:59 | Core | Info | * Initialise: PointerManager | ..\..\MyGUIEngine\src\MyGUI_PointerManager.cpp | 51
12:51:59 | Core | Info | PointerManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_PointerManager.cpp | 69
12:51:59 | Core | Info | * Initialise: ClipboardManager | ..\..\MyGUIEngine\src\MyGUI_ClipboardManager.cpp | 82
12:51:59 | Core | Info | ClipboardManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_ClipboardManager.cpp | 96
12:51:59 | Core | Info | * Initialise: LayoutManager | ..\..\MyGUIEngine\src\MyGUI_LayoutManager.cpp | 42
12:51:59 | Core | Info | LayoutManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_LayoutManager.cpp | 48
12:51:59 | Core | Info | * Initialise: DynLibManager | ..\..\MyGUIEngine\src\MyGUI_DynLibManager.cpp | 34
12:51:59 | Core | Info | DynLibManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_DynLibManager.cpp | 36
12:51:59 | Core | Info | * Initialise: PluginManager | ..\..\MyGUIEngine\src\MyGUI_PluginManager.cpp | 36
12:51:59 | Core | Info | PluginManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_PluginManager.cpp | 40
12:51:59 | Core | Info | * Initialise: LanguageManager | ..\..\MyGUIEngine\src\MyGUI_LanguageManager.cpp | 40
12:51:59 | Core | Info | LanguageManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_LanguageManager.cpp | 44
12:51:59 | Core | Info | * Initialise: FactoryManager | ..\..\MyGUIEngine\src\MyGUI_FactoryManager.cpp | 34
12:51:59 | Core | Info | FactoryManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_FactoryManager.cpp | 37





Code:
It's pretty basic right now, but before adding the MyGUI parts in initialize it compiled and ran fine.


int main( int argc, char* args[] ) {

settings.Set("Window",800,600,32,false);

Initialize();
Loop();
return CleanUp();
}

void Initialize() {
Initialize_SDL();
Initialize_Ogre();
Initialize_GUI();
}

int CleanUp() {
delete ogre;
mGUI->shutdown();
delete mGUI;
mGUI = 0;
mPlatform->shutdown();
delete mPlatform;
mPlatform = 0;
SDL_Quit();
return 0;
}

void Initialize_SDL() {
SDL_Init( SDL_INIT_EVERYTHING );
SDL_Surface *screen;

if (settings.fullscreen)
screen = SDL_SetVideoMode(settings.width,settings.height,settings.bpp,SDL_OPENGL | SDL_FULLSCREEN);
else
screen = SDL_SetVideoMode(settings.width,settings.height,settings.bpp,SDL_OPENGL);

SDL_WM_SetCaption( settings.title, NULL );
}



void Initialize_Ogre() {
ogre = new Ogre::Root("","");
ogre->restoreConfig();

#ifdef _DEBUG
ogre->loadPlugin("RenderSystem_GL_d");
#else
ogre->loadPlugin("RenderSystem_GL");
#endif

ogre->setRenderSystem(ogre->getAvailableRenderers().front());
ogre->initialise(false);

Ogre::NameValuePairList misc;

#ifdef _WIN32
SDL_SysWMinfo wmInfo;
SDL_VERSION(&wmInfo.version);
SDL_GetWMInfo(&wmInfo);

size_t winHandle = reinterpret_cast<size_t>(wmInfo.window);
size_t winGlContext = reinterpret_cast<size_t>(wmInfo.hglrc);

misc["externalWindowHandle"] = Ogre::StringConverter::toString(winHandle);
misc["externalGLControl"] = Ogre::StringConverter::toString(winGlContext);
#else
misc["currentGLContext"] = Ogre::String("True");
#endif

renderWindow = ogre->createRenderWindow("Window", 800, 600, false, &misc);
renderWindow->setVisible(true);

sceneMgr = ogre->createSceneManager(Ogre::ST_GENERIC);
camera = sceneMgr->createCamera("camera");
camera->setNearClipDistance(5);
Ogre::Viewport* vp = renderWindow->addViewport(camera);
vp->setBackgroundColour(Ogre::ColourValue(0,0,0));
camera->setAspectRatio(settings.aspect);

Ogre::ResourceGroupManager::getSingleton().addResourceLocation("Data", "FileSystem", "General");
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("Data/GUI", "FileSystem", "General");

}


void Initialize_GUI() {
mPlatform = new MyGUI::OgrePlatform();
mPlatform->initialise(renderWindow, sceneMgr); // mWindow is Ogre::RenderWindow*, mSceneManager is Ogre::SceneManager*
mGUI = new MyGUI::Gui();
mGUI->initialise();

button = mGUI->createWidget<MyGUI::Button>("Button", 10, 10, 300, 26, MyGUI::Align::Default, "Main");
button->setCaption("exit");
// set callback
button->eventMouseButtonClick = MyGUI::newDelegate(RequestShutdown);
}

my.name

22-07-2010 09:20:17

show me Ogre.log

Trioxin

22-07-2010 18:41:01

hey there, thanks for the reply!
Sorry I'm so late getting back to you, my monitor died when I turned it on this morning and spent the best part of the day running around looking for a new one.

ogre.log is below:




18:40:40: Creating resource group General
18:40:40: Creating resource group Internal
18:40:40: Creating resource group Autodetect
18:40:40: SceneManagerFactory for type 'DefaultSceneManager' registered.
18:40:40: Registering ResourceManager for type Material
18:40:40: Registering ResourceManager for type Mesh
18:40:40: Registering ResourceManager for type Skeleton
18:40:40: MovableObjectFactory for type 'ParticleSystem' registered.
18:40:40: OverlayElementFactory for type Panel registered.
18:40:40: OverlayElementFactory for type BorderPanel registered.
18:40:40: OverlayElementFactory for type TextArea registered.
18:40:40: Registering ResourceManager for type Font
18:40:40: ArchiveFactory for archive type FileSystem registered.
18:40:40: ArchiveFactory for archive type Zip registered.
18:40:40: DDS codec registering
18:40:40: FreeImage version: 3.13.1
18:40:40: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
18:40:40: 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,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
18:40:40: Registering ResourceManager for type HighLevelGpuProgram
18:40:40: Registering ResourceManager for type Compositor
18:40:40: MovableObjectFactory for type 'Entity' registered.
18:40:40: MovableObjectFactory for type 'Light' registered.
18:40:40: MovableObjectFactory for type 'BillboardSet' registered.
18:40:40: MovableObjectFactory for type 'ManualObject' registered.
18:40:40: MovableObjectFactory for type 'BillboardChain' registered.
18:40:40: MovableObjectFactory for type 'RibbonTrail' registered.
18:40:40: *-*-* OGRE Initialising
18:40:40: *-*-* Version 1.7.1 (Cthugha)
18:40:40: Loading library RenderSystem_GL_d
18:40:40: Installing plugin: GL RenderSystem
18:40:40: OpenGL Rendering Subsystem created.
18:40:40: Plugin successfully installed
18:40:40: CPU Identifier & Features
18:40:40: -------------------------
18:40:40: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz
18:40:40: * SSE: yes
18:40:40: * SSE2: yes
18:40:40: * SSE3: yes
18:40:40: * MMX: yes
18:40:40: * MMXEXT: yes
18:40:40: * 3DNOW: no
18:40:40: * 3DNOWEXT: no
18:40:40: * CMOV: yes
18:40:40: * TSC: yes
18:40:40: * FPU: yes
18:40:40: * PRO: yes
18:40:40: * HT: no
18:40:40: -------------------------
18:40:40: *** Starting Win32GL Subsystem ***
18:40:40: GLRenderSystem::_createRenderWindow "Window", 800x600 windowed miscParams: externalGLControl=131072 externalWindowHandle=526690
18:40:40: GL_VERSION = 3.2.0
18:40:40: GL_VENDOR = NVIDIA Corporation
18:40:40: GL_RENDERER = GeForce 8800 GTX/PCI/SSE2
18:40:40: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers 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_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_shading_language_100 GL_ARB_shadow 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_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_rectangle GL_ARB_texture_rg 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_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add 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_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access 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_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 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_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object 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_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_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip 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_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_buffer_load GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control
18:40:40: Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_profile WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle
18:40:40: ***************************
18:40:40: *** GL Renderer Started ***
18:40:40: ***************************
18:40:40: Registering ResourceManager for type GpuProgram
18:40:40: GLSL support detected
18:40:40: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
18:40:40: FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_L8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_A4L4 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_BYTE_LA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:40: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_FLOAT16_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_FLOAT32_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: FBO PF_SHORT_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
18:40:41: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 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_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB
18:40:41: RenderSystem capabilities
18:40:41: -------------------------
18:40:41: RenderSystem Name: OpenGL Rendering Subsystem
18:40:41: GPU Vendor: nvidia
18:40:41: Device Name: GeForce 8800 GTX/PCI/SSE2
18:40:41: Driver Version: 3.2.0.0
18:40:41: * Fixed function pipeline: yes
18:40:41: * Hardware generation of mipmaps: yes
18:40:41: * Texture blending: yes
18:40:41: * Anisotropic texture filtering: yes
18:40:41: * Dot product texture operation: yes
18:40:41: * Cube mapping: yes
18:40:41: * Hardware stencil buffer: no
18:40:41: * Hardware vertex / index buffers: yes
18:40:41: * Vertex programs: yes
18:40:41: * Number of floating-point constants for vertex programs: 1024
18:40:41: * Number of integer constants for vertex programs: 0
18:40:41: * Number of boolean constants for vertex programs: 0
18:40:41: * Fragment programs: yes
18:40:41: * Number of floating-point constants for fragment programs: 512
18:40:41: * Number of integer constants for fragment programs: 0
18:40:41: * Number of boolean constants for fragment programs: 0
18:40:41: * Geometry programs: yes
18:40:41: * Number of floating-point constants for geometry programs: 512
18:40:41: * Number of integer constants for geometry programs: 0
18:40:41: * Number of boolean constants for geometry programs: 0
18:40:41: * Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl gp4gp gpu_gp nvgp4 vp30 vp40
18:40:41: * Texture Compression: yes
18:40:41: - DXT: yes
18:40:41: - VTC: yes
18:40:41: - PVRTC: no
18:40:41: * Scissor Rectangle: yes
18:40:41: * Hardware Occlusion Query: yes
18:40:41: * User clip planes: yes
18:40:41: * VET_UBYTE4 vertex element type: yes
18:40:41: * Infinite far plane projection: yes
18:40:41: * Hardware render-to-texture: yes
18:40:41: * Floating point textures: yes
18:40:41: * Non-power-of-two textures: yes
18:40:41: * Volume textures: yes
18:40:41: * Multiple Render Targets: 8
18:40:41: - With different bit depths: yes
18:40:41: * Point Sprites: yes
18:40:41: * Extended point parameters: yes
18:40:41: * Max Point Size: 63.375
18:40:41: * Vertex texture fetch: yes
18:40:41: * Number of world matrices: 0
18:40:41: * Number of texture units: 32
18:40:41: * Stencil buffer depth: 0
18:40:41: * Number of vertex blend matrices: 0
18:40:41: - Max vertex textures: 32
18:40:41: - Vertex textures shared: yes
18:40:41: * Render to Vertex Buffer : yes
18:40:41: * GL 1.5 without VBO workaround: no
18:40:41: * Frame Buffer objects: yes
18:40:41: * Frame Buffer objects (ARB extension): no
18:40:41: * Frame Buffer objects (ATI extension): no
18:40:41: * PBuffer support: no
18:40:41: * GL 1.5 without HW-occlusion workaround: no
18:40:41: Registering ResourceManager for type Texture
18:40:41: DefaultWorkQueue('Root') initialising on thread 005EC430.
18:40:41: DefaultWorkQueue('Root')::WorkerFunc - thread 005EB980 starting.
18:40:41: Particle Renderer Type 'billboard' registered
18:40:41: DefaultWorkQueue('Root')::WorkerFunc - thread 005EC700 starting.
18:40:41: Added resource location 'Data' of type 'FileSystem' to resource group 'General'
18:40:41: Creating resource group GUI
18:40:41: Added resource location 'Data/GUI' of type 'FileSystem' to resource group 'GUI'

peachykeen

06-08-2010 22:01:06

I'm getting the exact same problem in the same place. MyGUI 3.0.1, built against the FreeType version provided on the SF page, latest SVN revision of Boost and Ogre 1.7.1.

To verify it's not an issue on my end, I've used the exact code from the tutorials. Still encounters the error. If I continue through, it will continue to report stack corruption for image creation and all other file-loading performed by MyGUI via Ogre's resource system. If it tries to load TTF fonts, it will segfault and crash at the call to TextureManager::createManual, with no available information. All errors occur both in debug and release builds.

MyGUI.log:
----------------------------------------------------------------------------------------------------------------------------------
loging report for : 08/06/2010 15:05:02
----------------------------------------------------------------------------------------------------------------------------------

15:05:02 | Platform | Info | * Initialise: OgreRenderManager | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 26
15:05:02 | Platform | Info | OgreRenderManager successfully initialized | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 54
15:05:02 | Platform | Info | * Initialise: OgreDataManager | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreDataManager.cpp | 45
15:05:02 | Platform | Info | OgreDataManager successfully initialized | ..\..\..\..\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreDataManager.cpp | 49
15:05:02 | Core | Info | * Initialise: Gui | ..\..\MyGUIEngine\src\MyGUI_Gui.cpp | 82
15:05:02 | Core | Info | * MyGUI version 3.0.1 | ..\..\MyGUIEngine\src\MyGUI_Gui.cpp | 86
15:05:02 | Core | Info | * Initialise: ResourceManager | ..\..\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 43
15:05:02 | Core | Info | ResourceManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_ResourceManager.cpp | 51
15:05:02 | Core | Info | * Initialise: LayerManager | ..\..\MyGUIEngine\src\MyGUI_LayerManager.cpp | 44
15:05:02 | Core | Info | LayerManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_LayerManager.cpp | 52
15:05:02 | Core | Info | * Initialise: WidgetManager | ..\..\MyGUIEngine\src\MyGUI_WidgetManager.cpp | 66
15:05:02 | Core | Info | WidgetManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_WidgetManager.cpp | 105
15:05:02 | Core | Info | * Initialise: InputManager | ..\..\MyGUIEngine\src\MyGUI_InputManager.cpp | 41
15:05:02 | Core | Info | InputManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_InputManager.cpp | 58
15:05:02 | Core | Info | * Initialise: SubWidgetManager | ..\..\MyGUIEngine\src\MyGUI_SubWidgetManager.cpp | 44
15:05:02 | Core | Info | SubWidgetManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_SubWidgetManager.cpp | 64
15:05:02 | Core | Info | * Initialise: SkinManager | ..\..\MyGUIEngine\src\MyGUI_SkinManager.cpp | 46
15:05:02 | Core | Info | SkinManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_SkinManager.cpp | 54
15:05:02 | Core | Info | * Initialise: FontManager | ..\..\MyGUIEngine\src\MyGUI_FontManager.cpp | 43
15:05:02 | Core | Info | FontManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_FontManager.cpp | 52
15:05:02 | Core | Info | * Initialise: ControllerManager | ..\..\MyGUIEngine\src\MyGUI_ControllerManager.cpp | 41
15:05:02 | Core | Info | ControllerManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_ControllerManager.cpp | 51
15:05:02 | Core | Info | * Initialise: PointerManager | ..\..\MyGUIEngine\src\MyGUI_PointerManager.cpp | 51
15:05:02 | Core | Info | PointerManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_PointerManager.cpp | 69
15:05:02 | Core | Info | * Initialise: ClipboardManager | ..\..\MyGUIEngine\src\MyGUI_ClipboardManager.cpp | 82
15:05:02 | Core | Info | ClipboardManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_ClipboardManager.cpp | 96
15:05:02 | Core | Info | * Initialise: LayoutManager | ..\..\MyGUIEngine\src\MyGUI_LayoutManager.cpp | 42
15:05:02 | Core | Info | LayoutManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_LayoutManager.cpp | 48
15:05:02 | Core | Info | * Initialise: DynLibManager | ..\..\MyGUIEngine\src\MyGUI_DynLibManager.cpp | 34
15:05:02 | Core | Info | DynLibManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_DynLibManager.cpp | 36
15:05:02 | Core | Info | * Initialise: PluginManager | ..\..\MyGUIEngine\src\MyGUI_PluginManager.cpp | 36
15:05:02 | Core | Info | PluginManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_PluginManager.cpp | 40
15:05:02 | Core | Info | * Initialise: LanguageManager | ..\..\MyGUIEngine\src\MyGUI_LanguageManager.cpp | 40
15:05:02 | Core | Info | LanguageManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_LanguageManager.cpp | 44
15:05:02 | Core | Info | * Initialise: FactoryManager | ..\..\MyGUIEngine\src\MyGUI_FactoryManager.cpp | 34
15:05:02 | Core | Info | FactoryManager successfully initialized | ..\..\MyGUIEngine\src\MyGUI_FactoryManager.cpp | 37


Ogre log:
15:05:00: Creating resource group General
15:05:00: Creating resource group Internal
15:05:00: Creating resource group Autodetect
15:05:00: SceneManagerFactory for type 'DefaultSceneManager' registered.
15:05:00: Registering ResourceManager for type Material
15:05:00: Registering ResourceManager for type Mesh
15:05:00: Registering ResourceManager for type Skeleton
15:05:00: MovableObjectFactory for type 'ParticleSystem' registered.
15:05:00: OverlayElementFactory for type Panel registered.
15:05:00: OverlayElementFactory for type BorderPanel registered.
15:05:00: OverlayElementFactory for type TextArea registered.
15:05:00: Registering ResourceManager for type Font
15:05:00: ArchiveFactory for archive type FileSystem registered.
15:05:00: ArchiveFactory for archive type Zip registered.
15:05:00: DDS codec registering
15:05:00: FreeImage version: 3.13.1
15:05:00: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
15:05:00: 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,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
15:05:00: Registering ResourceManager for type HighLevelGpuProgram
15:05:00: Registering ResourceManager for type Compositor
15:05:00: MovableObjectFactory for type 'Entity' registered.
15:05:00: MovableObjectFactory for type 'Light' registered.
15:05:00: MovableObjectFactory for type 'BillboardSet' registered.
15:05:00: MovableObjectFactory for type 'ManualObject' registered.
15:05:00: MovableObjectFactory for type 'BillboardChain' registered.
15:05:00: MovableObjectFactory for type 'RibbonTrail' registered.
15:05:00: Loading library .\RenderSystem_Direct3D9_d
15:05:00: Installing plugin: D3D9 RenderSystem
15:05:00: D3D9 : Direct3D9 Rendering Subsystem created.
15:05:01: D3D9: Driver Detection Starts
15:05:01: D3D9: Driver Detection Ends
15:05:01: Plugin successfully installed
15:05:01: Loading library .\RenderSystem_GL_d
15:05:01: Installing plugin: GL RenderSystem
15:05:01: OpenGL Rendering Subsystem created.
15:05:01: Plugin successfully installed
15:05:01: Loading library .\Plugin_ParticleFX_d
15:05:01: Installing plugin: ParticleFX
15:05:01: Particle Emitter Type 'Point' registered
15:05:01: Particle Emitter Type 'Box' registered
15:05:01: Particle Emitter Type 'Ellipsoid' registered
15:05:01: Particle Emitter Type 'Cylinder' registered
15:05:01: Particle Emitter Type 'Ring' registered
15:05:01: Particle Emitter Type 'HollowEllipsoid' registered
15:05:01: Particle Affector Type 'LinearForce' registered
15:05:01: Particle Affector Type 'ColourFader' registered
15:05:01: Particle Affector Type 'ColourFader2' registered
15:05:01: Particle Affector Type 'ColourImage' registered
15:05:01: Particle Affector Type 'ColourInterpolator' registered
15:05:01: Particle Affector Type 'Scaler' registered
15:05:01: Particle Affector Type 'Rotator' registered
15:05:01: Particle Affector Type 'DirectionRandomiser' registered
15:05:01: Particle Affector Type 'DeflectorPlane' registered
15:05:01: Plugin successfully installed
15:05:01: Loading library .\Plugin_BSPSceneManager_d
15:05:01: Installing plugin: BSP Scene Manager
15:05:01: Plugin successfully installed
15:05:01: Loading library .\Plugin_CgProgramManager_d
15:05:01: Installing plugin: Cg Program Manager
15:05:02: Plugin successfully installed
15:05:02: Loading library .\Plugin_PCZSceneManager_d
15:05:02: Installing plugin: Portal Connected Zone Scene Manager
15:05:02: PCZone Factory Type 'ZoneType_Default' registered
15:05:02: Plugin successfully installed
15:05:02: Loading library .\Plugin_OctreeZone_d
15:05:02: Installing plugin: Octree Zone Factory
15:05:02: Plugin successfully installed
15:05:02: Loading library .\Plugin_OctreeSceneManager_d
15:05:02: Installing plugin: Octree & Terrain Scene Manager
15:05:02: Plugin successfully installed
15:05:02: *-*-* OGRE Initialising
15:05:02: *-*-* Version 1.7.1 (Cthugha)
15:05:02: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
15:05:02: D3D9 : RenderSystem Option: FSAA = 0
15:05:02: D3D9 : RenderSystem Option: Floating-point mode = Fastest
15:05:02: D3D9 : RenderSystem Option: Full Screen = No
15:05:02: D3D9 : RenderSystem Option: Rendering Device = Monitor-1-VisionTek Radeon HD2400 Pro AGP
15:05:02: D3D9 : RenderSystem Option: Resource Creation Policy = Create on all devices
15:05:02: D3D9 : RenderSystem Option: VSync = No
15:05:02: D3D9 : RenderSystem Option: VSync Interval = 1
15:05:02: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
15:05:02: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
15:05:02: CPU Identifier & Features
15:05:02: -------------------------
15:05:02: * CPU ID: GenuineIntel: Intel(R) Celeron(R) CPU 3.06GHz
15:05:02: * SSE: yes
15:05:02: * SSE2: yes
15:05:02: * SSE3: yes
15:05:02: * MMX: yes
15:05:02: * MMXEXT: yes
15:05:02: * 3DNOW: no
15:05:02: * 3DNOWEXT: no
15:05:02: * CMOV: yes
15:05:02: * TSC: yes
15:05:02: * FPU: yes
15:05:02: * PRO: yes
15:05:02: * HT: yes
15:05:02: -------------------------
15:05:02: D3D9 : Subsystem Initialising
15:05:02: Registering ResourceManager for type Texture
15:05:02: Registering ResourceManager for type GpuProgram
15:05:02: D3D9RenderSystem::_createRenderWindow "Plan 9 (Ogre) (pk Build 0007)", 800x600 windowed miscParams: FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=false vsyncInterval=1
15:05:02: D3D9 : Created D3D9 Rendering Window 'Plan 9 (Ogre) (pk Build 0007)' : 800x600, 32bpp
15:05:02: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
15:05:02: D3D9: Vertex texture format supported - PF_L8
15:05:02: D3D9: Vertex texture format supported - PF_L16
15:05:02: D3D9: Vertex texture format supported - PF_A8
15:05:02: D3D9: Vertex texture format supported - PF_A4L4
15:05:02: D3D9: Vertex texture format supported - PF_BYTE_LA
15:05:02: D3D9: Vertex texture format supported - PF_R5G6B5
15:05:02: D3D9: Vertex texture format supported - PF_B5G6R5
15:05:02: D3D9: Vertex texture format supported - PF_A4R4G4B4
15:05:02: D3D9: Vertex texture format supported - PF_A1R5G5B5
15:05:02: D3D9: Vertex texture format supported - PF_A8R8G8B8
15:05:02: D3D9: Vertex texture format supported - PF_B8G8R8A8
15:05:02: D3D9: Vertex texture format supported - PF_A2R10G10B10
15:05:02: D3D9: Vertex texture format supported - PF_A2B10G10R10
15:05:02: D3D9: Vertex texture format supported - PF_DXT1
15:05:02: D3D9: Vertex texture format supported - PF_DXT2
15:05:02: D3D9: Vertex texture format supported - PF_DXT3
15:05:02: D3D9: Vertex texture format supported - PF_DXT4
15:05:02: D3D9: Vertex texture format supported - PF_DXT5
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
15:05:02: D3D9: Vertex texture format supported - PF_X8R8G8B8
15:05:02: D3D9: Vertex texture format supported - PF_X8B8G8R8
15:05:02: D3D9: Vertex texture format supported - PF_R8G8B8A8
15:05:02: D3D9: Vertex texture format supported - PF_DEPTH
15:05:02: D3D9: Vertex texture format supported - PF_SHORT_RGBA
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT16_R
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT32_R
15:05:02: D3D9: Vertex texture format supported - PF_SHORT_GR
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT16_GR
15:05:02: D3D9: Vertex texture format supported - PF_FLOAT32_GR
15:05:02: D3D9: Vertex texture format supported - PF_SHORT_RGB
15:05:02: D3D9: Vertex texture format supported - PF_PVRTC_RGB2
15:05:02: D3D9: Vertex texture format supported - PF_PVRTC_RGBA2
15:05:02: D3D9: Vertex texture format supported - PF_PVRTC_RGB4
15:05:02: D3D9: Vertex texture format supported - PF_PVRTC_RGBA4
15:05:02: RenderSystem capabilities
15:05:02: -------------------------
15:05:02: RenderSystem Name: Direct3D9 Rendering Subsystem
15:05:02: GPU Vendor: ati
15:05:02: Device Name: Monitor-1-VisionTek Radeon HD2400 Pro AGP
15:05:02: Driver Version: 6.14.10.6973
15:05:02: * Fixed function pipeline: yes
15:05:02: * Hardware generation of mipmaps: yes
15:05:02: * Texture blending: yes
15:05:02: * Anisotropic texture filtering: yes
15:05:02: * Dot product texture operation: yes
15:05:02: * Cube mapping: yes
15:05:02: * Hardware stencil buffer: yes
15:05:02: - Stencil depth: 8
15:05:02: - Two sided stencil support: yes
15:05:02: - Wrap stencil values: yes
15:05:02: * Hardware vertex / index buffers: yes
15:05:02: * Vertex programs: yes
15:05:02: * Number of floating-point constants for vertex programs: 256
15:05:02: * Number of integer constants for vertex programs: 16
15:05:02: * Number of boolean constants for vertex programs: 16
15:05:02: * Fragment programs: yes
15:05:02: * Number of floating-point constants for fragment programs: 224
15:05:02: * Number of integer constants for fragment programs: 16
15:05:02: * Number of boolean constants for fragment programs: 16
15:05:02: * Geometry programs: no
15:05:02: * Number of floating-point constants for geometry programs: 0
15:05:02: * Number of integer constants for geometry programs: 0
15:05:02: * Number of boolean constants for geometry programs: 0
15:05:02: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
15:05:02: * Texture Compression: yes
15:05:02: - DXT: yes
15:05:02: - VTC: no
15:05:02: - PVRTC: no
15:05:02: * Scissor Rectangle: yes
15:05:02: * Hardware Occlusion Query: yes
15:05:02: * User clip planes: yes
15:05:02: * VET_UBYTE4 vertex element type: yes
15:05:02: * Infinite far plane projection: yes
15:05:02: * Hardware render-to-texture: yes
15:05:02: * Floating point textures: yes
15:05:02: * Non-power-of-two textures: yes
15:05:02: * Volume textures: yes
15:05:02: * Multiple Render Targets: 4
15:05:02: - With different bit depths: yes
15:05:02: * Point Sprites: yes
15:05:02: * Extended point parameters: yes
15:05:02: * Max Point Size: 10
15:05:02: * Vertex texture fetch: yes
15:05:02: * Number of world matrices: 0
15:05:02: * Number of texture units: 8
15:05:02: * Stencil buffer depth: 8
15:05:02: * Number of vertex blend matrices: 0
15:05:02: - Max vertex textures: 4
15:05:02: - Vertex textures shared: no
15:05:02: * Render to Vertex Buffer : no
15:05:02: * DirectX per stage constants: yes
15:05:02: ***************************************
15:05:02: *** D3D9 : Subsystem Initialised OK ***
15:05:02: ***************************************
15:05:02: DefaultWorkQueue('Root') initialising on thread 00165F98.
15:05:02: Particle Renderer Type 'billboard' registered
15:05:02: DefaultWorkQueue('Root')::WorkerFunc - thread 001F74A0 starting.
15:05:02: SceneManagerFactory for type 'BspSceneManager' registered.
15:05:02: Registering ResourceManager for type BspLevel
15:05:02: SceneManagerFactory for type 'PCZSceneManager' registered.
15:05:02: MovableObjectFactory for type 'PCZLight' registered.
15:05:02: MovableObjectFactory for type 'Portal' registered.
15:05:02: MovableObjectFactory for type 'AntiPortal' registered.
15:05:02: PCZone Factory Type 'ZoneType_Octree' registered
15:05:02: PCZone Factory Type 'ZoneType_Terrain' registered
15:05:02: SceneManagerFactory for type 'OctreeSceneManager' registered.
15:05:02: SceneManagerFactory for type 'TerrainSceneManager' registered.
15:05:02: Creating resource group Core
15:05:02: Added resource location '../media/plan9.zip' of type 'Zip' to resource group 'Core'
15:05:02: Initialising resource group Core
15:05:02: Parsing scripts for resource group Core
15:05:02: Parsing script test.mdl.material
15:05:02: Parsing script tile.material
15:05:02: Finished parsing scripts for resource group Core
15:05:02: Added resource location '../media/gui' of type 'FileSystem' to resource group 'General'
15:05:02: Added resource location '../media' of type 'FileSystem' to resource group 'General'
15:05:02: Initialising resource group General
15:05:02: Parsing scripts for resource group General
15:05:02: Finished parsing scripts for resource group General

Altren

07-08-2010 12:21:00

Are you able to try MyGUI from svn? As far as I remember this or similar problem was fixed.

peachykeen

07-08-2010 19:58:26

Are you able to try MyGUI from svn? As far as I remember this or similar problem was fixed.
Latest SVN (checked out about 24 hours ago) has the same stack corruption issue, after every file-load. That part definitely isn't fixed.

The font issue seems to not trigger, although there's a segfault in the vertex buffer manipulation during rendering, which still crashes the library.


Edit: Cleaned out my include directories, manually set all the paths when building and it finally worked. Apparently it was an issue on my end, no idea where though.