Segmentation fault when using SILLY image codec

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

chrisjan
Just popping in
Just popping in
Posts: 7
Joined: Sat Dec 10, 2011 09:15

Segmentation fault when using SILLY image codec

Postby chrisjan » Sat Jul 13, 2013 17:27

Hello,
I'm trying to port my existing OpenGL application, which uses CEGUI, from Linux to Windows.
Because I was using CEGUI 0.7.9 in the program on Linux I still use it on Windows, too (I'll probably update to 0.8.x as soon as all problems are solved).
However, when CEGUI tries to load a .png image using the SILLY image codec, the program crashes with a segmentation fault and in the log you can see the error "SILLYImageCodec::load - Unsupported pixel format", even though the file is actually a normal 32 bit png file I could also load on Linux.
I'm using the SILLY.dll file downloaded from the section "CEGUI 0.7.9 Binary Dependency Downloads for MinGW" on http://www.cegui.org.uk/wiki/index.php/ ... oads_0.7.9
As there is no libpng.dll in the archive, I assume that libpng is linked statically, isn't it?
Do you know what I could do to solve this problem?
Thank you for your answers in advance!

Here is the complete log file:

Code: Select all

13/07/2013 18:54:46 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
13/07/2013 18:54:46 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
13/07/2013 18:54:46 (Std)    +                          (http://www.cegui.org.uk/)                         +
13/07/2013 18:54:46 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

13/07/2013 18:54:46 (Std)    CEGUI::Logger singleton created. (1de6ed80)
13/07/2013 18:54:46 (Std)    
13/07/2013 18:54:46 (Std)    ********************************************************************************
13/07/2013 18:54:46 (Std)    * Important:                                                                   *
13/07/2013 18:54:46 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
13/07/2013 18:54:46 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
13/07/2013 18:54:46 (Std)    *     support being given; please do not waste our time.                       *
13/07/2013 18:54:46 (Std)    ********************************************************************************
13/07/2013 18:54:46 (Std)    ********************************************************************************
13/07/2013 18:54:46 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
13/07/2013 18:54:46 (Std)    ********************************************************************************
13/07/2013 18:54:46 (Std)    ---- Version 0.7.9 (Build: Jul 13 2013 Microsoft Windows g++ 4.8.0 32 bit) ----
13/07/2013 18:54:46 (Std)    ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module.  TextureTarget support enabled via FBO extension. ----
13/07/2013 18:54:46 (Std)    ---- XML Parser module is: CEGUI::TinyXMLParser - Official tinyXML based parser module for CEGUI ----
13/07/2013 18:54:46 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
13/07/2013 18:54:46 (Std)    ---- Scripting module is: None ----
13/07/2013 18:54:46 (Std)    ********************************************************************************
13/07/2013 18:54:46 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
13/07/2013 18:54:46 (Std)    ********************************************************************************
13/07/2013 18:54:46 (Std)    
13/07/2013 18:54:46 (Std)    ---- Begining CEGUI System initialisation ----
13/07/2013 18:54:46 (Std)    CEGUI::ImagesetManager singleton created (261dbda8)
13/07/2013 18:54:46 (Std)    CEGUI::FontManager singleton created. (261dcf60)
13/07/2013 18:54:46 (Std)    CEGUI::WindowFactoryManager singleton created
13/07/2013 18:54:46 (Std)    CEGUI::WindowManager singleton created (26195dd0)
13/07/2013 18:54:46 (Std)    CEGUI::SchemeManager singleton created. (261dbbf8)
13/07/2013 18:54:46 (Std)    CEGUI::MouseCursor singleton created. (2618a048)
13/07/2013 18:54:46 (Std)    CEGUI::GlobalEventSet singleton created. (261d96d8)
13/07/2013 18:54:46 (Std)    CEGUI::AnimationManager singleton created (26199758)
13/07/2013 18:54:46 (Std)    CEGUI::WidgetLookManager singleton created. (261c4dd8)
13/07/2013 18:54:46 (Std)    CEGUI::WindowRendererManager singleton created (261c4c78)
13/07/2013 18:54:46 (Std)    CEGUI::RenderEffectManager singleton created (261da870)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'DefaultWindow' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'DefaultWindow' windows added. (1de8bc48)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'DragContainer' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'DragContainer' windows added. (1de8b078)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'ScrolledContainer' windows added. (1de8b900)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'ClippedContainer' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'ClippedContainer' windows added. (1de8bcf0)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (1de8be40)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (1de8b468)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (1de8b858)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (1de8b1c8)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (1de8b120)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (1de8b5b8)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (1de8b9a8)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (261df020)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (261deb88)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (261decd8)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (261df170)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (261df218)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (261def78)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (261df2c0)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (261dec30)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (261ded80)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (261deae0)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (261df368)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (261df0c8)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (261df410)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (261dee28)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (261dea38)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (261deed0)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (261de3a8)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (261dde68)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (261de648)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (261de258)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (261de6f0)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (261de798)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'HorizontalLayoutContainer' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'HorizontalLayoutContainer' windows added. (261ddb20)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'VerticalLayoutContainer' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'VerticalLayoutContainer' windows added. (261de300)
13/07/2013 18:54:46 (Std)    Created WindowFactory for 'GridLayoutContainer' windows.
13/07/2013 18:54:46 (Std)    WindowFactory for 'GridLayoutContainer' windows added. (261ddf10)
13/07/2013 18:54:46 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
13/07/2013 18:54:46 (Std)    CEGUI::System singleton created. (261daf00)
13/07/2013 18:54:46 (Std)    ---- CEGUI System initialisation completed ----
13/07/2013 18:54:46 (Std)    
13/07/2013 18:54:46 (Std)    Started creation of Scheme from XML specification:
13/07/2013 18:54:46 (Std)    ---- CEGUI GUIScheme name: TaharezLook
13/07/2013 18:54:46 (Std)    Started creation of Imageset from XML specification:
13/07/2013 18:54:46 (Std)    ---- CEGUI Imageset name: TaharezLook
13/07/2013 18:54:46 (Std)    ---- Source texture file: TaharezLook.png in resource group: (Default)
13/07/2013 18:54:46 (Error)   SILLYImageCodec::load - Unsupported pixel format

chrisjan
Just popping in
Just popping in
Posts: 7
Joined: Sat Dec 10, 2011 09:15

Re: Segmentation fault when using SILLY image codec

Postby chrisjan » Sat Jul 13, 2013 17:58

Update: When I use a tga file instead of a png file, I get the same error ("SILLYImageCodec::load - Unsupported pixel format").


Return to “Help”

Who is online

Users browsing this forum: No registered users and 13 guests