CEGUI crashing in VirtualBox, using Ogre and software OpenGL

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

Garthy
Just popping in
Just popping in
Posts: 15
Joined: Thu Dec 02, 2010 02:06

CEGUI crashing in VirtualBox, using Ogre and software OpenGL

Postby Garthy » Thu Dec 02, 2010 02:40

Hi there. I'm new to CEGUI. I seem to be having trouble getting CEGUI running without crashing immediately under Windows with VirtualBox with an Ogre render target using OpenGL. VirtualBox is using software rendering, as hardware pass-through isn't possible on the system I am using (so I can't try it).

I've built CEGUI 0.7.5 from source with Ogre 1.7.2 on both Windows (MSVC++9) and Linux. I have two Windows systems for testing; one on real hardware, one not.

On Linux, the Ogre and CEGUI samples work fine. On Windows, the Ogre samples work fine on both Windows machines (but slowly on the VM, of course). The CEGUI samples work fine on the hardware Windows, but not the VirtualBox Windows install. Basically I run the app, choose the renderer, the get the Ogre dialog, choose OpenGL, Ok, then it crashes with the standard "send an error report" dialog. Note that these are the exact same executables- they all seem to crash under VirtualBox, and all seem to work on real hardware.

I have my own application that uses Ogre, and I've set it up to use the CEGUI includes and to link with CEGUI. Apart from includes and declarations, I've added just ONE line to the app:

Code: Select all

guiRenderer = &CEGUI::OgreRenderer::bootstrapSystem();


as per the CEGUI/Ogre tutorial on the Ogre site. On both systems I have experimented with adding and removing that one line. On the Linux system, the app runs fine, with and without that line. On the Windows VM, the app runs fine without that one line, but once I add it, it crashes in a similar way to the sample apps. In each case I leave the CEGUI includes and libs in there.

It would appear that even just calling the bootstrapSystem() call under VirtualBox is enough to crash an application- I just haven't added anything else yet.

NB: The Linux install is using hardware 3D.

Some years back the Ogre samples wouldn't run on software OpenGL either, they would just crash. They do work there nowadays (many samples won't run, but at least they tell you why).

Is there something I can try out or do, or is VirtualBox software rendering simply not a supported environment for CEGUI? Yes, I know it'll be slow even if it works, it's a development VM, so that's okay. Happy to answer questions or try the occasional thing out.

I've included a CEGUI log for Sample_FirstWindow.exe for the VirtualBox Windows install for a run that crashed.

If there's any other information I can provide, please let me know.

Any thoughts, ideas, tips, suggestions, or similar? The samples look very nice and it'd be nice to be able to use CEGUI in my project.

Code: Select all

02/12/2010 12:11:32 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
02/12/2010 12:11:32 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
02/12/2010 12:11:32 (Std)    +                          (http://www.cegui.org.uk/)                         +
02/12/2010 12:11:32 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

02/12/2010 12:11:32 (Std)    CEGUI::Logger singleton created. (00F85400)
02/12/2010 12:11:32 (Std)    
02/12/2010 12:11:32 (Std)    ********************************************************************************
02/12/2010 12:11:32 (Std)    * Important:                                                                   *
02/12/2010 12:11:32 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
02/12/2010 12:11:32 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
02/12/2010 12:11:32 (Std)    *     support being given; please do not waste our time.                       *
02/12/2010 12:11:32 (Std)    ********************************************************************************
02/12/2010 12:11:32 (Std)    ********************************************************************************
02/12/2010 12:11:32 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
02/12/2010 12:11:32 (Std)    ********************************************************************************
02/12/2010 12:11:32 (Std)    ---- Version 0.7.5 (Build: Nov 28 2010 Microsoft Windows MSVC++ 9.0 32 bit) ----
02/12/2010 12:11:32 (Std)    ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
02/12/2010 12:11:32 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
02/12/2010 12:11:32 (Std)    ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
02/12/2010 12:11:32 (Std)    ---- Scripting module is: None ----
02/12/2010 12:11:32 (Std)    ********************************************************************************
02/12/2010 12:11:32 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
02/12/2010 12:11:32 (Std)    ********************************************************************************
02/12/2010 12:11:32 (Std)    
02/12/2010 12:11:32 (Std)    ---- Begining CEGUI System initialisation ----
02/12/2010 12:11:32 (Std)    CEGUI::ImagesetManager singleton created (01551178)
02/12/2010 12:11:32 (Std)    CEGUI::FontManager singleton created. (01551420)
02/12/2010 12:11:32 (Std)    CEGUI::WindowFactoryManager singleton created
02/12/2010 12:11:32 (Std)    CEGUI::WindowManager singleton created (01550668)
02/12/2010 12:11:32 (Std)    CEGUI::SchemeManager singleton created. (01551F08)
02/12/2010 12:11:32 (Std)    CEGUI::MouseCursor singleton created. (01552188)
02/12/2010 12:11:32 (Std)    CEGUI::GlobalEventSet singleton created. (01547208)
02/12/2010 12:11:32 (Std)    CEGUI::AnimationManager singleton created (015523E0)
02/12/2010 12:11:32 (Std)    CEGUI::WidgetLookManager singleton created. (01548440)
02/12/2010 12:11:32 (Std)    CEGUI::WindowRendererManager singleton created (0154D720)
02/12/2010 12:11:32 (Std)    CEGUI::RenderEffectManager singleton created (0154D6D8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'DefaultWindow' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'DefaultWindow' windows added. (015516A0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'DragContainer' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'DragContainer' windows added. (01553B10)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'ScrolledContainer' windows added. (01553C80)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'ClippedContainer' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'ClippedContainer' windows added. (015541C8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (015543E0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (01554680)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (01554898)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (01554940)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (01554AA0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (01554CC8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (01554D70)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (015551C0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (015553D8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (01555480)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (01555698)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (015559A8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (01555AA8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (01555C08)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (01555CB0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (01555F00)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (01556060)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (015561C0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (01556320)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (015563C8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (015565E0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (01556688)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (01556958)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (01556AB8)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (01556B60)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (01556C08)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (01556ED0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (01557030)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (01557190)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (015572F0)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (01557550)
02/12/2010 12:11:32 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
02/12/2010 12:11:32 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (01557820)
02/12/2010 12:11:32 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
02/12/2010 12:11:32 (Std)    CEGUI::System singleton created. (0153EEA0)
02/12/2010 12:11:32 (Std)    ---- CEGUI System initialisation completed ----
02/12/2010 12:11:32 (Std)    
02/12/2010 12:11:32 (Std)    Attempting to create Imageset 'cegui_logo' using image file 'logo.png'.
02/12/2010 12:11:32 (Std)    Started creation of Scheme from XML specification:
02/12/2010 12:11:32 (Std)    ---- CEGUI GUIScheme name: TaharezLook
02/12/2010 12:11:32 (Std)    Started creation of Imageset from XML specification:
02/12/2010 12:11:32 (Std)    ---- CEGUI Imageset name: TaharezLook
02/12/2010 12:11:32 (Std)    ---- Source texture file: TaharezLook.tga in resource group: (Default)
02/12/2010 12:11:32 (Std)    Started creation of Font from XML specification:
02/12/2010 12:11:32 (Std)    ---- CEGUI font name: DejaVuSans-10
02/12/2010 12:11:32 (Std)    ----       Font type: FreeType
02/12/2010 12:11:32 (Std)    ----     Source file: DejaVuSans.ttf in resource group: (Default)
02/12/2010 12:11:32 (Std)    ---- Real point size: 10
02/12/2010 12:11:33 (Std)    ===== Falagard 'root' element: look and feel parsing begins =====
02/12/2010 12:11:33 (Std)    ===== Look and feel parsing completed =====
02/12/2010 12:11:33 (Std)    No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Button' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Button' added. (04186600)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Default' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Default' added. (041A8F00)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Editbox' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Editbox' added. (041A7A30)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/FrameWindow' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/FrameWindow' added. (041A4CF0)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/ItemEntry' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/ItemEntry' added. (041A4D98)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/ListHeader' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/ListHeader' added. (015A9640)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/ListHeaderSegment' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/ListHeaderSegment' added. (015A9858)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Listbox' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Listbox' added. (015A9900)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Menubar' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Menubar' added. (015A99A8)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/MenuItem' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/MenuItem' added. (015A9A50)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/MultiColumnList' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/MultiColumnList' added. (015A9BB0)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/MultiLineEditbox' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/MultiLineEditbox' added. (015A9DC8)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/PopupMenu' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/PopupMenu' added. (015A9F28)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/ProgressBar' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/ProgressBar' added. (015AA088)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/ScrollablePane' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/ScrollablePane' added. (015AA358)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Scrollbar' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Scrollbar' added. (015AA400)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Slider' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Slider' added. (015AA4A8)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Static' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Static' added. (015AA608)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/StaticImage' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/StaticImage' added. (015AA6B0)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/StaticText' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/StaticText' added. (015AA810)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/SystemButton' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/SystemButton' added. (015AAB98)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/TabButton' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/TabButton' added. (015AACB8)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/TabControl' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/TabControl' added. (015AAD60)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Titlebar' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Titlebar' added. (015AB030)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/ToggleButton' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/ToggleButton' added. (015AB0D8)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Tooltip' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Tooltip' added. (015AB180)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/ItemListbox' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/ItemListbox' added. (015AB2E0)
02/12/2010 12:11:33 (Std)    Created WindowRendererFactory for 'Falagard/Tree' WindowRenderers.
02/12/2010 12:11:33 (Std)    WindowRendererFactory 'Falagard/Tree' added. (015AB388)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/Checkbox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/ImageButton' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'TaharezLook/RadioButton' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'TaharezLook/FrameWindow' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'TaharezLook/Titlebar' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/SystemButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/Button' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/Editbox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'TaharezLook/MultiLineEditbox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Menubar' using base type 'CEGUI/Menubar', window renderer 'Falagard/Menubar' Look'N'Feel 'TaharezLook/Menubar' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/PopupMenu' using base type 'CEGUI/PopupMenu', window renderer 'Falagard/PopupMenu' Look'N'Feel 'TaharezLook/PopupMenu' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'TaharezLook/MenuItem' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/AlternateProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/AltProgressBar' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/ProgressBar' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/VUMeter' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'TaharezLook/VUMeter' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/VerticalScrollbar' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/HorizontalScrollbar' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/VerticalScrollbarThumb' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/HorizontalScrollbarThumb' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'TaharezLook/LargeVerticalScrollbar' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/LargeVerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/LargeVerticalScrollbarThumb' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/TabButton' using base type 'CEGUI/TabButton', window renderer 'Falagard/TabButton' Look'N'Feel 'TaharezLook/TabButton' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/TabControl' using base type 'CEGUI/TabControl', window renderer 'Falagard/TabControl' Look'N'Feel 'TaharezLook/TabControl' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/TabContentPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabContentPane' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/TabButtonPane' using base type 'DefaultWindow', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/TabButtonPane' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ComboDropList' using base type 'CEGUI/ComboDropList', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/ComboDropList' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ComboEditbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'TaharezLook/ComboEditbox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Combobox' using base type 'CEGUI/Combobox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Combobox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' Look'N'Feel 'TaharezLook/Listbox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeader' using base type 'CEGUI/ListHeader', window renderer 'Falagard/ListHeader' Look'N'Feel 'TaharezLook/ListHeader' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ListHeaderSegment' using base type 'CEGUI/ListHeaderSegment', window renderer 'Falagard/ListHeaderSegment' Look'N'Feel 'TaharezLook/ListHeaderSegment' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/MultiColumnList' using base type 'CEGUI/MultiColumnList', window renderer 'Falagard/MultiColumnList' Look'N'Feel 'TaharezLook/MultiColumnList' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Slider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'TaharezLook/Slider' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/SliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'TaharezLook/SliderThumb' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ScrollablePane' using base type 'CEGUI/ScrollablePane', window renderer 'Falagard/ScrollablePane' Look'N'Feel 'TaharezLook/ScrollablePane' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Spinner' using base type 'CEGUI/Spinner', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/Spinner' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Tooltip' using base type 'CEGUI/Tooltip', window renderer 'Falagard/Tooltip' Look'N'Feel 'TaharezLook/Tooltip' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' Look'N'Feel 'TaharezLook/StaticImage' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' Look'N'Feel 'TaharezLook/StaticText' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ItemListbox' using base type 'CEGUI/ItemListbox', window renderer 'Falagard/ItemListbox' Look'N'Feel 'TaharezLook/ItemListbox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/ListboxItem' using base type 'CEGUI/ItemEntry', window renderer 'Falagard/ItemEntry' Look'N'Feel 'TaharezLook/ListboxItem' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/GroupBox' using base type 'CEGUI/GroupBox', window renderer 'Falagard/Default' Look'N'Feel 'TaharezLook/GroupBox' and RenderEffect ''. (0012D7CC)
02/12/2010 12:11:33 (Std)    Creating falagard mapping for type 'TaharezLook/Tree' using base type 'CEGUI/Tree', window renderer 'Falagard/Tree' Look'N'Feel 'TaharezLook/Tree' and RenderEffect ''. (0012D7CC)

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: CEGUI crashing in VirtualBox, using Ogre and software OpenGL

Postby Kulik » Thu Dec 02, 2010 13:03

VirtualBox is unsupported but not all is lost. The trouble is that since I don't have VirtualBox I can't reproduce this so I can't even fix it. Your best bet is to do some digging yourself. As far as I know for Ogre it was one function that wasn't implemented in VirtualBox and they were using it, they switched to a different one and all started to work.

Garthy
Just popping in
Just popping in
Posts: 15
Joined: Thu Dec 02, 2010 02:06

Re: CEGUI crashing in VirtualBox, using Ogre and software OpenGL

Postby Garthy » Thu Dec 02, 2010 13:15

Kulik wrote:The trouble is that since I don't have VirtualBox I can't reproduce this so I can't even fix it.


VirtualBox is free, if that makes a difference? Download is here:

http://www.virtualbox.org/wiki/Downloads

I believe many modern Linux distros include it as a package as well, although myself I just downloaded it from the link above (version 3.2.10, non OSE).

Kulik wrote:Your best bet is to do some digging yourself.


I can certainly try, but being completely new to CEGUI the odds are not good that I will succeed.

Either way, thankyou for the feedback.

Garthy
Just popping in
Just popping in
Posts: 15
Joined: Thu Dec 02, 2010 02:06

Re: CEGUI crashing in VirtualBox, using Ogre and software OpenGL

Postby Garthy » Thu Dec 02, 2010 23:52

For what it's worth:

The crash occurs (from a CEGUI perspective) in OgreRenderer::setupRenderingBlendMode(), during the last _setSeparateSceneBlending() call (in Ogre). That call calls glBlendFuncSeparate, which causes the crash. I *believe* this is because the glBlendSeparate func itself is actually NULL (I can't confirm as the VS IDE won't let me examine it, not sure why), but the topmost function address on the stack is zero (ie. NULL) at point of crash, which seems consistent with this theory.

I could dump the whole list of stack frames if someone can suggest exactly how one can do that in VC++9, short of copying them all out by hand. :}

A bit of Googling on the subject suggests that this sort of problem has been seen before (search for "glBlendFuncSeparate"):

http://www.ogre3d.org/forums/viewtopic. ... &start=650

In fact, it might have even been experienced directly in the OpenGL renderer in CEGUI itself (search for "glBlendFuncSeparate"):

http://cegui.org.uk/api_reference/change_log.html

I've built and tried out MyGUI in the same environment, no crash.

Is there some feature or similar in CEGUI that I could disable somehow that would avoid this code path? My wild guess is that there is some sort of blending enabled by default in CEGUI that could possibly be disabled somehow to avoid tripping this function?

EDIT 9/12: I can't set up notification on this topic so I might not see any replies for a while- send me a quick PM if you've replied to the topic and would like to wake me up. ;)


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest