Memory initialization errors...!

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

progman32
Just popping in
Just popping in
Posts: 4
Joined: Thu Mar 04, 2010 09:06

Memory initialization errors...!

Postby progman32 » Wed Mar 10, 2010 11:26

Hey all, I've got another (potentially stupid) question. Hopefully someone can help me... Basically, it looks like whenever I call WindowManager::createWindow, the resulting widget (or something else) is not being initialized correctly. I can only provide symptoms, but let me explain. The issue was first noticed when attempting to run our system on Windows for the first time. Random crashes caused by memory corruption. This was odd, as the system worked perfectly in Linux. Lacking a good memory check tool for Windows, we checked our program using Valgrind, using the Linux build. Uninitialized accesses out the wazoo, but not in our code! Stack traces pointed to the XML loader, so I ripped that out of our code and instantiated a few widgets manually. Same errors. We later tried to debug the Windows build, and looked at the singleton WindowManager being returned by getSingleton()... 0xdeadbeef and 0xfeeefeee everywhere, which is telling me uninitialized memory. I'm at my wits end right now, and it's not clear to me how to proceed... I've eliminated our program as a source of memory corruption (I've traced every allocation done by our system, and they all check out. CEGUI is initialized very early in the process - only GL is initialized before). I've flattened the initialization down, here's what we do:

Code: Select all

void init() {
   renderer = CEGUI::OpenGLRenderer::create();
   CEGUI::System::create( renderer );
   wmgr = CEGUI::WindowManager::getSingleton(); //At this point, all fields of wmgr are initialized on Linux, but seem to be corrupted on Windows
   CEGUI::DefaultResourceProvider* rp = static_cast<CEGUI::DefaultResourceProvider*>
          (CEGUI::System::getSingleton().getResourceProvider());
      rp->setResourceGroupDirectory("schemes", "CEGUI/schemes/");
...snip...
      rp->setResourceGroupDirectory("lua_scripts", "CEGUI/lua_scripts/");

   CEGUI::Imageset::setDefaultResourceGroup("imagesets");
   CEGUI::Font::setDefaultResourceGroup("fonts");
   CEGUI::Scheme::setDefaultResourceGroup("schemes");
   CEGUI::WidgetLookManager::setDefaultResourceGroup("looknfeels");
   CEGUI::WindowManager::setDefaultResourceGroup("layouts");
   CEGUI::ScriptModule::setDefaultResourceGroup("lua_scripts");

   // setup default group for validation schemas
   CEGUI::XMLParser* parser = CEGUI::System::getSingleton().getXMLParser();
   if (parser->isPropertyPresent("SchemaDefaultResourceGroup"))
      parser->setProperty("SchemaDefaultResourceGroup", "schemas");

   CEGUI::SchemeManager::getSingleton().create( "TaharezLook.scheme" );
   CEGUI::SchemeManager::getSingleton().create( "VanillaSkin.scheme" );

   CEGUI::Window* mmSheet = getWindowManager().createWindow( "DefaultWindow" );
   CEGUI::Window *btnQuit = mkWindow("Vanilla/Button", "Root/btnQuit", .024, .2895, .178, .34688);
   btnQuit->setText("Quit");
   mmSheet->addChildWindow(btnQuit);
   CEGUI::Window *lblLevels = mkWindow("TaharezLook/StaticText", "Root/frmSinglePlayerChooser/lblLevels", .730173, .0119389, .98728, .0587273);
   lblLevels->setText("Single Player Levels:");
   mmSheet->addChildWindow(lblLevels);
}

//Forgive the hacky code below, it's for debug purposes:
static CEGUI::URect ur(float l, float t, float r, float b) {
   return CEGUI::URect(CEGUI::UDim(l, 0), CEGUI::UDim(t, 0), CEGUI::UDim(r, 0), CEGUI::UDim(b, 0));
}

CEGUI::Window *Controller::mkWindow(const char* type, const char* name, float l, float t, float r, float b) {
   CEGUI::WindowManager &Wmgr = ui->getCEGUI().getWindowManager();
   CEGUI::Window *w = Wmgr.createWindow(type, name);
   w->setArea(ur(l, t, r, b));
   return w;
}


This causes valgrind output similar to the following:

Code: Select all

==935== Conditional jump or move depends on uninitialised value(s)
==935==    at 0x4F5A129: CEGUI::Size::operator==(CEGUI::Size const&) const (CEGUISize.cpp:38)
==935==    by 0x4F5A158: CEGUI::Size::operator!=(CEGUI::Size const&) const (CEGUISize.cpp:44)
==935==    by 0x4F748DC: CEGUI::Window::isInnerRectSizeChanged() const (CEGUIWindow.cpp:3693)
==935==    by 0x4F76834: CEGUI::Window::onParentSized(CEGUI::WindowEventArgs&) (CEGUIWindow.cpp:2687)
==935==    by 0x4F79308: CEGUI::Window::addChild_impl(CEGUI::Window*) (CEGUIWindow.cpp:1320)
==935==    by 0x4F721D6: CEGUI::Window::addChildWindow(CEGUI::Window*) (CEGUIWindow.cpp:891)
==935==    by 0x5031833: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:61)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==    by 0x4F7AA27: CEGUI::Window::setLookNFeel(CEGUI::String const&) (CEGUIWindow.cpp:2076)
==935==    by 0x4F8D98F: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:126)
==935==    by 0x503180B: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:50)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==  Uninitialised value was created by a heap allocation
==935==    at 0x4C24BEE: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==935==    by 0x4F68982: CEGUI::TplWindowFactory<CEGUI::PushButton>::createWindow(CEGUI::String const&) (CEGUITplWindowFactory.h:75)
==935==    by 0x4F8D7B1: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:111)
==935==    by 0x503180B: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:50)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==    by 0x4F7AA27: CEGUI::Window::setLookNFeel(CEGUI::String const&) (CEGUIWindow.cpp:2076)
==935==    by 0x4F8D98F: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:126)
==935==    by 0x503180B: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:50)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==    by 0x4F7AA27: CEGUI::Window::setLookNFeel(CEGUI::String const&) (CEGUIWindow.cpp:2076)
==935==    by 0x4F8D98F: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:126)
==935==    by 0x409879: Controller::mkWindow(char const*, char const*, float, float, float, float) (Controller-UI.cpp:22)
==935==
==935== Conditional jump or move depends on uninitialised value(s)
==935==    at 0x4F5A12B: CEGUI::Size::operator==(CEGUI::Size const&) const (CEGUISize.cpp:38)
==935==    by 0x4F5A158: CEGUI::Size::operator!=(CEGUI::Size const&) const (CEGUISize.cpp:44)
==935==    by 0x4F748DC: CEGUI::Window::isInnerRectSizeChanged() const (CEGUIWindow.cpp:3693)
==935==    by 0x4F76834: CEGUI::Window::onParentSized(CEGUI::WindowEventArgs&) (CEGUIWindow.cpp:2687)
==935==    by 0x4F79308: CEGUI::Window::addChild_impl(CEGUI::Window*) (CEGUIWindow.cpp:1320)
==935==    by 0x4F721D6: CEGUI::Window::addChildWindow(CEGUI::Window*) (CEGUIWindow.cpp:891)
==935==    by 0x5031833: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:61)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==    by 0x4F7AA27: CEGUI::Window::setLookNFeel(CEGUI::String const&) (CEGUIWindow.cpp:2076)
==935==    by 0x4F8D98F: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:126)
==935==    by 0x503180B: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:50)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==  Uninitialised value was created by a heap allocation
==935==    at 0x4C24BEE: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==935==    by 0x4F691C2: CEGUI::TplWindowFactory<CEGUI::Thumb>::createWindow(CEGUI::String const&) (CEGUITplWindowFactory.h:75)
==935==    by 0x4F8D7B1: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:111)
==935==    by 0x503180B: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:50)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==    by 0x4F7AA27: CEGUI::Window::setLookNFeel(CEGUI::String const&) (CEGUIWindow.cpp:2076)
==935==    by 0x4F8D98F: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:126)
==935==    by 0x503180B: CEGUI::WidgetComponent::create(CEGUI::Window&) const (CEGUIFalWidgetComponent.cpp:50)
==935==    by 0x5033E51: CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window&) const (CEGUIFalWidgetLookFeel.cpp:132)
==935==    by 0x4F7AA27: CEGUI::Window::setLookNFeel(CEGUI::String const&) (CEGUIWindow.cpp:2076)
==935==    by 0x4F8D98F: CEGUI::WindowManager::createWindow(CEGUI::String const&, CEGUI::String const&) (CEGUIWindowManager.cpp:126)
==935==    by 0x409879: Controller::mkWindow(char const*, char const*, float, float, float, float) (Controller-UI.cpp:22)

-----and many more-------



CEGUI.log:

Code: Select all

10/03/2010 05:22:17 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
10/03/2010 05:22:17 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
10/03/2010 05:22:17 (Std)    +                          (http://www.cegui.org.uk/)                         +
10/03/2010 05:22:17 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

10/03/2010 05:22:17 (Std)    CEGUI::Logger singleton created. (0xa9b6e10)
10/03/2010 05:22:18 (Std)    
10/03/2010 05:22:18 (Std)    ********************************************************************************
10/03/2010 05:22:18 (Std)    * Important:                                                                   *
10/03/2010 05:22:18 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
10/03/2010 05:22:18 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
10/03/2010 05:22:18 (Std)    *     support being given; please do not waste our time.                       *
10/03/2010 05:22:18 (Std)    ********************************************************************************
10/03/2010 05:22:18 (Std)    ********************************************************************************
10/03/2010 05:22:18 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
10/03/2010 05:22:18 (Std)    ********************************************************************************
10/03/2010 05:22:18 (Std)    ---- Version 0.7.1 (Build: Mar 10 2010 Debug GNU/Linux g++ 4.3.4 64 bit) ----
10/03/2010 05:22:18 (Std)    ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module.  TextureTarget support enabled via FBO extension. ----
10/03/2010 05:22:18 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
10/03/2010 05:22:18 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
10/03/2010 05:22:18 (Std)    ---- Scripting module is: None ----
10/03/2010 05:22:18 (Std)    ********************************************************************************
10/03/2010 05:22:18 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
10/03/2010 05:22:18 (Std)    ********************************************************************************
10/03/2010 05:22:18 (Std)    
10/03/2010 05:22:18 (Std)    ---- Begining CEGUI System initialisation ----
10/03/2010 05:22:18 (Std)    CEGUI::ImagesetManager singleton created (0xa9d6fb0)
10/03/2010 05:22:18 (Std)    CEGUI::FontManager singleton created. (0xa9d74a0)
10/03/2010 05:22:18 (Std)    CEGUI::WindowFactoryManager singleton created
10/03/2010 05:22:18 (Std)    CEGUI::WindowManager singleton created (0xa9d7cb0)
10/03/2010 05:22:18 (Std)    CEGUI::SchemeManager singleton created. (0xa9dd0a0)
10/03/2010 05:22:18 (Std)    CEGUI::MouseCursor singleton created. (0xa9dae20)
10/03/2010 05:22:18 (Std)    CEGUI::GlobalEventSet singleton created. (0xa9db3f0)
10/03/2010 05:22:18 (Std)    CEGUI::WidgetLookManager singleton created. (0xa9db800)
10/03/2010 05:22:18 (Std)    CEGUI::WindowRendererManager singleton created (0xa9dbc10)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'DefaultWindow' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'DefaultWindow' windows added. (0xa9dc030)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'DragContainer' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'DragContainer' windows added. (0xa9dcda0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'ScrolledContainer' windows added. (0xa9ddc20)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'ClippedContainer' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'ClippedContainer' windows added. (0xa9dea30)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (0xa9df990)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (0xa9e05f0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (0xa9e1340)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (0xa9e21e0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (0xa9e2e10)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (0xa9e3c90)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (0xa9f91a0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (0xa9f9f50)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (0xa9fac80)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (0xa9fb9d0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (0xa9fc720)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (0xa9fd570)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (0xa9fe490)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (0xa9ff2b0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (0xa9fffd0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (0xa996ac0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (0xa9978f0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (0xa9986a0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (0xa9bc630)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (0xa9bd310)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (0xa9bde50)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (0xa9bec10)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (0xa9bf940)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (0xa9c0690)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (0xa9c11c0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (0xa9c1da0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (0xa9c2ac0)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (0xa9c3870)
10/03/2010 05:22:18 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
10/03/2010 05:22:18 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (0xa9c47a0)
10/03/2010 05:22:18 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
10/03/2010 05:22:18 (Std)    CEGUI::System singleton created. (0xa9b45f0)
10/03/2010 05:22:18 (Std)    ---- CEGUI System initialisation completed ----
10/03/2010 05:22:18 (Std)    
10/03/2010 05:22:18 (Std)    Started creation of Scheme from XML specification:
10/03/2010 05:22:18 (Std)    ---- CEGUI GUIScheme name: TaharezLook
10/03/2010 05:22:19 (Std)    Started creation of Imageset from XML specification:
10/03/2010 05:22:19 (Std)    ---- CEGUI Imageset name: TaharezLook
10/03/2010 05:22:19 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
10/03/2010 05:22:19 (Std)    Started creation of Font from XML specification:
10/03/2010 05:22:19 (Std)    ---- CEGUI font name: DejaVuSans-10
10/03/2010 05:22:19 (Std)    ----       Font type: FreeType
10/03/2010 05:22:19 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
10/03/2010 05:22:19 (Std)    ---- Real point size: 10
10/03/2010 05:22:22 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
10/03/2010 05:22:25 (Std)    ===== Look and feel parsing completed =====
10/03/2010 05:22:26 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Button' added. (0xa429a50)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Default' added. (0xa4262d0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (0xa45dba0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (0xa43fc20)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (0xa469dc0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (0xa7d5250)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (0xa09e810)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (0xa908540)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (0xa839b90)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (0xa431840)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (0xa7eef80)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (0xa38de50)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (0xa459200)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (0xa7ba7f0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (0xa7ce280)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (0xa9a1230)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Slider' added. (0xa7ba0a0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Static' added. (0xa8491d0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (0xa7e59d0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (0xa12daf0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (0xa7e4820)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (0xa986ff0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (0xa4385a0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (0xa45abf0)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (0xa83ed50)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (0xaa60f60)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (0xaa62130)
10/03/2010 05:22:26 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
10/03/2010 05:22:26 (Std)    WindowRendererFactory 'Falagard/Tree' added. (0xaa63440)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/Button'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'TaharezLook/Checkbox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/ImageButton'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' and Look'N'Feel 'TaharezLook/RadioButton'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' and Look'N'Feel 'TaharezLook/FrameWindow'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' and Look'N'Feel 'TaharezLook/Titlebar'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/Button'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'TaharezLook/Editbox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' and Look'N'Feel 'TaharezLook/MultiLineEditbox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' and Look'N'Feel 'TaharezLook/Menubar'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' and Look'N'Feel 'TaharezLook/PopupMenu'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' and Look'N'Feel 'TaharezLook/MenuItem'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/AltProgressBar'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/ProgressBar'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'TaharezLook/VUMeter'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/VerticalScrollbar'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/HorizontalScrollbar'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/VerticalScrollbarThumb'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbar'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' and Look'N'Feel 'TaharezLook/TabButton'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' and Look'N'Feel 'TaharezLook/TabControl'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/TabContentPane'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/TabButtonPane'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' and Look'N'Feel 'TaharezLook/ComboDropList'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'TaharezLook/ComboEditbox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/Combobox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' and Look'N'Feel 'TaharezLook/Listbox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' and Look'N'Feel 'TaharezLook/ListHeader'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' and Look'N'Feel 'TaharezLook/ListHeaderSegment'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' and Look'N'Feel 'TaharezLook/MultiColumnList'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' and Look'N'Feel 'TaharezLook/Slider'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'TaharezLook/SliderThumb'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' and Look'N'Feel 'TaharezLook/ScrollablePane'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/Spinner'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' and Look'N'Feel 'TaharezLook/Tooltip'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' and Look'N'Feel 'TaharezLook/StaticImage'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' and Look'N'Feel 'TaharezLook/StaticText'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' and Look'N'Feel 'TaharezLook/ItemListbox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' and Look'N'Feel 'TaharezLook/ListboxItem'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' and Look'N'Feel 'TaharezLook/GroupBox'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' and Look'N'Feel 'TaharezLook/Tree'. (0x7feffbfc0)
10/03/2010 05:22:26 (Std)    Started creation of Scheme from XML specification:
10/03/2010 05:22:26 (Std)    ---- CEGUI GUIScheme name: VanillaSkin
10/03/2010 05:22:26 (Std)    Started creation of Imageset from XML specification:
10/03/2010 05:22:26 (Std)    ---- CEGUI Imageset name: Vanilla-Images
10/03/2010 05:22:26 (Std)    ---- Source texture file: vanilla.tga in resource group: (Default)
10/03/2010 05:22:26 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
10/03/2010 05:22:27 (Std)    ===== Look and feel parsing completed =====
10/03/2010 05:22:27 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' and Look'N'Feel 'Vanilla/Titlebar'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/Button'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' and Look'N'Feel 'Vanilla/FrameWindow'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'Vanilla/Editbox'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/VerticalScrollbarThumb'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'Vanilla/VerticalScrollbar'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/HorizontalScrollbarThumb'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'Vanilla/HorizontalScrollbar'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' and Look'N'Feel 'Vanilla/StaticImage'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' and Look'N'Feel 'Vanilla/StaticText'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' and Look'N'Feel 'Vanilla/Listbox'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' and Look'N'Feel 'Vanilla/MultiLineEditbox'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' and Look'N'Feel 'Vanilla/ComboDropList'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' and Look'N'Feel 'Vanilla/Combobox'. (0x7feffbfc0)
10/03/2010 05:22:27 (Std)    Creating falagard mapping for type 'Vanilla/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' and Look'N'Feel 'Vanilla/ProgressBar'. (0x7feffbfc0)
10/03/2010 05:22:30 (Std)    Display resize: w=586 h=779
10/03/2010 05:22:32 (Std)    Attempting to create Imageset 'DejaVuSans-10_auto_glyph_images_ ' with texture only.



Thanks guys. I know it's a pain, but I've been working on this for more than 11 hours straight (it's 5:30AM here)... :cry:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Memory initialization errors...!

Postby CrazyEddie » Wed Mar 10, 2010 12:23

Hi,

I don't have answers for you at this stage, I'm afraid. I can confirm that I am able to reproduce the valgrind output via our samples - so if that does turn out to be an issue, that's certainly something in core CEGUI and not a usage problem - so I'll investigate that.

However, these issues being present in the samples do not cause the samples to randomly crash or (as far as I knw) suffer from memory corruption issues when run on WIndows. So, while the valgrind output is nasty and appears related, at this stage I conclude that the two sets of issues are, in fact, not related.

What I can tell you is that from my experience, memory corruption and similar issues on WIndows can often stem from mis-matched C/C++ runtime usage settings in the app and the DLLs and such that the app uses - so that may be worth checking if you did not already.

CE.

progman32
Just popping in
Just popping in
Posts: 4
Joined: Thu Mar 04, 2010 09:06

Re: Memory initialization errors...!

Postby progman32 » Wed Mar 10, 2010 15:30

Hmm... yeah, I've triple-checked the runtime matching. I'll have to do some more testing when I'm not asleep, heh. I'll update this thread.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Memory initialization errors...!

Postby CrazyEddie » Wed Mar 10, 2010 20:00

It's very odd. I've committed a fix for the issues coming from valgrind.

I wonder, in the code you posted, you have the lines:

Code: Select all

renderer = CEGUI::OpenGLRenderer::create();

and

Code: Select all

wmgr = CEGUI::WindowManager::getSingleton(); //At this point, all fields of wmgr are initialized on Linux, but seem to be corrupted on Windows

What types are renderer and wmgr? It could just be the way you arranged that code for posting, but going by the code alone it looks like you're actually making copies of both of those objects (since if renderer and wmgr were references, they would have had to have already been initialised, and can't be assigned in the fashion shown).

So that might be something else to just check :)

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 18 guests