Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - KroArtem

Pages: [1]
1
Programming / Static analysis and continuous integration
« on: June 30, 2014, 12:44:57 PM »
Hello,
as far as I remember, long ago somebody checked Sumwars with cppcheck - static analysis tool for C/C++ (afaik it was Protogenes). Not so long ago sumwars was checked with Coverity, much more powerful analyzer.

I suggest the following: it's possible to integrate cppcheck into several IDEs, so when a person does changes, he can check whether he introduced new warning/errors or not. It can be also done as a pre-commit hook, if I understand correctly. In this way developers won't add more problems to the existing ones :)

The second step could be to check Sumwars with coverity once in X weeks or several times before the release.

A lot more things can be done for continuous integration, but I think this is enough. :)

P.S. By  the way, in case you'll add me to Coverity not as a viewer but as a contributor/member, I'd be able to do check and send it to coverity by myself.

2
Help / Building problems, as usual
« on: March 22, 2014, 10:46:43 PM »
Whilst trying to compile sumwars, I had a couple of problems.

1. I've downloaded cegui 0.8.3 from their site, unpacked it, did
Code: [Select]
cmake . && make -j3 && sudo make install
2. Downloaded sumwars from master branch, tried to do cmake .
What I see?
http://imgur.com/ioRHtBE
Quote
### Welcome to Summoning Wars build system ###
**********************************************
  http://sumwars.org/wiki/Build_instructions 

Version: 0.5.7.hg-b39f98822019
Short Version: 0.5.7
Build type: RelWithDebInfo

Standalone mode enabled, I am overriding all paths!

Looking for OGRE...
Found Ogre Byatis (1.8.1)
Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
Looking for OGRE_Property...
Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
Looking for OGRE_Volume...
Could not locate OGRE_Volume
Looking for OGRE_Overlay...
Could not locate OGRE_Overlay
Looking for OIS...
Found OIS: optimized;/usr/lib/x86_64-linux-gnu/libOIS.so;debug;/usr/lib/x86_64-linux-gnu/libOIS.so
*** CEGUI_INCLUDE_DIR is: /usr/local/include/cegui-0
Determinating CEGUI version (based on file /usr/local/include/cegui-0/CEGUI/Version.h)
*** CEGUI_VERSION is: 0.8.3
Found CEGUI include dir: /usr/local/include/cegui-0/CEGUI/RendererModules/Ogre
Searching OGG_SEARCH_PATH: /home/kroartem/SVN/sumwars-code/dependencies/libogg;/home/kroartem/SVN/sumwars-code/../dependencies/libogg
Got release vorbis: /usr/lib/x86_64-linux-gnu/libvorbis.so
Boost version: 1.53.0
Found the following Boost libraries:
  filesystem
  system
  date_time
  chrono
  thread
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CEGUIOGRE_LIBRARY_OPTIMIZED (ADVANCED)
    linked by target "sumwars" in directory /home/kroartem/SVN/sumwars-code

Configuring incomplete, errors occurred!

However, there is some inconsistency between the log and values in cmake-gui (for example, text about OIS). Morever, I don't even see ceguiogre_library_optimized value there. Also I can't even imagine for what reasons does it ask for alut/ogg REL and DBG versions. This is definitely a regression, I didn't have such problems before.

I'm on ubuntu 13.10 x86_64 if it makes any sense (and seems like it makes, cmake script doesn't seem to check needed paths)

3
General / Developer interview: Summoning wars
« on: March 12, 2012, 09:38:20 PM »
Good evening all,
some time ago I've done an interview with supertuxkart developers and now I suggest you to do the same thing.
The idea is to spread the word: it's possible to post this interview on freegamer's blog and on some russian websites. The more sites, the better :)

I've got the list of questions, feel free to add/discuss it:
  • Please say some words about yourself/your job.
  • Explain in a few words how and when did you join sumwars's team?
  • Say what role do you have in the project? (Leader, package maintainer, etc)
  • Why do you work on this project?
  • Are you satisfied with existing development? Do you think sumwars needs more contributors/testers/artists?
  • How do you see sumwars in the future?
  • What do you think is important, what do you like / don't like in sumwars's development/community/etc.

You don't need to hurry. Moreover, I'll need some time to translate all answers on Russian.
Feedback is welcome.

4
Bug Reports / Crash in ogre options
« on: October 09, 2011, 12:37:59 AM »
Start a new game when an ogre window appears, press 'Cancel' and receive a segfault.
Gdb output:
Code: [Select]
(gdb) run
Starting program: /home/artem/SVN/sumwars/sumwars
[Thread debugging using libthread_db enabled]
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DDS codec registering
FreeImage version: 3.13.1
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
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
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library /usr/lib/OGRE/RenderSystem_GL.so
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_ParticleFX.so
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_BSPSceneManager.so
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.7.3 (Cthugha)
[D] /home/artem/SVN/sumwars/src/gui/application.cpp:486 configureOgre > configure ogre
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Uninstalling plugin: Octree & Terrain Scene Manager
Plugin successfully uninstalled
Unloading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so
Uninstalling plugin: BSP Scene Manager
Plugin successfully uninstalled
Unloading library /usr/lib/OGRE/Plugin_BSPSceneManager.so
Uninstalling plugin: ParticleFX
Plugin successfully uninstalled
Unloading library /usr/lib/OGRE/Plugin_ParticleFX.so
Uninstalling plugin: GL RenderSystem
******************************
*** Stopping GLX Subsystem ***
******************************
Plugin successfully uninstalled
Unloading library /usr/lib/OGRE/RenderSystem_GL.so
Unregistering ResourceManager for type Material
[E] /home/artem/SVN/sumwars/src/gui/application.cpp:207 init > Configuring Ogre failed

Program received signal SIGSEGV, Segmentation fault.
0x00000000006feb3b in Application::run (this=0xa5fef0)
    at /home/artem/SVN/sumwars/src/gui/application.cpp:392
392 bool active = m_window->isActive() || ! (m_document->isSinglePlayer());
(gdb) bt
#0  0x00000000006feb3b in Application::run (this=0xa5fef0)
    at /home/artem/SVN/sumwars/src/gui/application.cpp:392
#1  0x0000000000735d82 in main (argc=1, argv=0x7fffffffe298)
    at /home/artem/SVN/sumwars/src/gui/main_gui.cpp:83

5
Translation & Internationalization / Russian translation
« on: July 01, 2011, 09:06:03 PM »
Evening all, I'm working on a russian translation, but not sure I will have time for it for few weeks, so I'm posting a link here so kemic and others would have access to what I have already done.
https://www.dropbox.com/s/qn84teokjqjcye3/ru_last.tar.gz
Probably I'll continue working on it from another place so this link is also useful for me (in case it won't be integrated in svn).

6
Feedback & Feature Requests / Feature Requests & Buglist
« on: June 16, 2011, 03:21:37 PM »
Good afternoon all,
some time ago I've managed to compile Sumwars on my computer and now I've got some thoughts what could/should be done ingame.

Feature requests:
1) An existing situation with spells is not comfortable, IMHO. It is possible to use 2 spells with left and right mouse buttons, but I suggest to use more than two spells, attaching them for F1..F9 buttons (or something like this, because 1..9 buttons are reserved for items, placed in bottom panel (potions, etc)). If there is another convenient way to do it, let's discuss (and accept or deny them).
^^  that's implemented, but not very intuitive, requires some love.
2) Nowadays in character screen values are shown like this:
Strength: 25
That happens even if I wear rings or other items that add strength. I suggest showing it like this:
Strength: 23+2
So it will be easy to mention how much points we receive from wearing clothes.

3) Add some sort of statistics.

7
Bug Reports / Cannot compile sumwars (libpoco problem) [Solved]
« on: June 08, 2011, 07:11:33 PM »
Good evening everyone, I've got some problems with compiling Summoning Wars from trunk under Ubuntu 11.04 x86_64.
Firstly, let me enumerate my hardware:
Intel C2D E7500
2 GB of RAM
ATi Radeon HD 3850 (RV670)
Some information about software:
Glxinfo:
Code: [Select]
[size=small]direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,
    GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV670
OpenGL version string: 2.1 Mesa 7.11-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_copy_texture, GL_EXT_polygon_offset, GL_EXT_subtexture,
    GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_compiled_vertex_array,
    GL_EXT_texture, GL_EXT_texture3D, GL_IBM_rasterpos_clip,
    GL_ARB_point_parameters, GL_EXT_draw_range_elements, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_rescale_normal,
    GL_EXT_separate_specular_color, GL_EXT_texture_edge_clamp,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB,
    GL_ARB_multitexture, GL_EXT_framebuffer_sRGB,
    GL_IBM_multimode_draw_arrays, GL_IBM_texture_mirrored_repeat,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_EXT_framebuffer_object,
    GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,
    GL_NV_texture_rectangle, GL_ARB_depth_texture, GL_ARB_occlusion_query,
    GL_ARB_shadow, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_window_pos, GL_EXT_stencil_two_side, GL_EXT_texture_cube_map,
    GL_NV_depth_clamp, GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object,
    GL_ARB_draw_buffers, GL_ARB_fragment_program, GL_ARB_fragment_shader,
    GL_ARB_shader_objects, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ATI_draw_buffers, GL_ATI_texture_env_combine3, GL_ATI_texture_float,
    GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_MESA_pack_invert,
    GL_ARB_depth_clamp, GL_ARB_fragment_program_shadow,
    GL_ARB_half_float_pixel, GL_ARB_occlusion_query2, GL_ARB_point_sprite,
    GL_ARB_shading_language_100, GL_ARB_sync, GL_ARB_texture_non_power_of_two,
    GL_ARB_vertex_buffer_object, GL_ATI_blend_equation_separate,
    GL_EXT_blend_equation_separate, GL_OES_read_format,
    GL_ARB_pixel_buffer_object, GL_ARB_texture_float,
    GL_ARB_texture_rectangle, GL_EXT_packed_float, GL_EXT_pixel_buffer_object,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_rectangle,
    GL_EXT_texture_sRGB, GL_EXT_texture_shared_exponent,
    GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil,
    GL_ARB_vertex_array_object, GL_ATI_separate_stencil,
    GL_ATI_texture_mirror_once, GL_EXT_draw_buffers2,
    GL_EXT_gpu_program_parameters, GL_EXT_texture_env_combine,
    GL_EXT_texture_sRGB_decode, GL_EXT_timer_query, GL_OES_EGL_image,
    GL_ARB_copy_buffer, GL_ARB_half_float_vertex, GL_ARB_instanced_arrays,
    GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
    GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
    GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
    GL_AMD_draw_buffers_blend, GL_AMD_shader_stencil_export,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_provoking_vertex, GL_ARB_sampler_objects,
    GL_ARB_shader_stencil_export, GL_ARB_shader_texture_lod,
    GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
    GL_MESA_texture_signed_rgba, GL_NV_texture_barrier, GL_ARB_robustness[/size]

So, as you can see, I'm using gallium drivers from git.
Now about my problem.

cmake output:
Code: [Select]
artem@artem:~/SVN/Sumwars/sumwars$ cmake . -DCMAKE_BUILD_TYPE=Debug
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for OGRE...
-- OGRE_PREFIX_WATCH changed.
-- checking for module 'OGRE'
--   found OGRE, version 1.7.3
-- Found Ogre Cthugha (1.7.3)
-- Found OGRE: optimized;/usr/lib/libOgreMain.so;debug;/usr/lib/libOgreMain.so
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- checking for module 'OIS'
--   found OIS, version 1.2.0
-- Found OIS: optimized;/usr/lib/libOIS.so;debug;/usr/lib/libOIS.so
-- Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Found CEGUI: /usr/local/lib/libCEGUIBase.so
-- Found CEGUIOGRE: /usr/local/include/CEGUI/RendererModules/Ogre
/usr/local/include/CEGUI/RendererModules/Ogre
-- Found ALUT: /usr/lib/libalut.so
-- Found Ogg: /usr/lib/libogg.so
-- Found Vorbis: /usr/lib/libvorbis.so
-- Looking for POCO...
-- checking for module 'POCO'
--   package 'POCO' not found
-- Found POCO: optimized;/usr/lib/libPocoFoundation.so;debug;/usr/lib/libPocoFoundationd.so
-- Looking for POCO_Util...
-- Found POCO_Util: optimized;/usr/lib/libPocoUtil.so;debug;/usr/lib/libPocoUtild.so
-- Looking for POCO_Net...
-- Found POCO_Net: optimized;/usr/lib/libPocoNet.so;debug;/usr/lib/libPocoNetd.so
-- Looking for POCO_NetSSL...
-- Found POCO_NetSSL: optimized;/usr/lib/libPocoNetSSL.so;debug;/usr/lib/libPocoNetSSLd.so
-- Looking for POCO_XML...
-- Found POCO_XML: optimized;/usr/lib/libPocoXML.so;debug;/usr/lib/libPocoXMLd.so
Activated ingame build tools.
Debug
-- Configuring done
-- Generating done
-- Build files have been written to: /home/artem/SVN/Sumwars/sumwars


As you can see, it doesn't find package poco (which is installed from synaptic). Compiling goes ok but at the end I've got such error:
Code: [Select]
make[2]: *** No rules to compile target `/usr/lib/libPocoFoundationd.so', needed for `sumwars'.  Stop.
make[2]: *** ???????? ?????????? ???????...
make[1]: *** [CMakeFiles/sumwars.dir/all] Error 2
make: *** [all] Error 2

The only thing I can think of is that cmake requires an exact version of libpoco, but I don't see it in Cmakelists.txt
Any help is appreciated and sorry for my English :)

8
Programming / OGRE 1.7.2
« on: November 05, 2010, 09:34:20 PM »
Just post it here:
http://www.ogre3d.org/
May be if sumwars switched to the latest version of ogre, why not using the latest-latest version? :)

9
Bug Reports / Segfault when killing the first monster.
« on: September 01, 2010, 03:30:12 PM »
Good evening. This post is basically for Lastmerlin as he was asking for backtrace.
Firstly I'm sorry I didn't respond you yesterday, there were problems with electricity and I halted the computer fast.
So I've managed to kill this monster and get a segfault. I have to notice that sumwars crashed only when I killed him the second time. So here is the output from terminal:
Code: [Select]

artem@artem-desktop:~/SVN/sumwars$ gdb ./sumwars
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /home/artem/SVN/sumwars/sumwars...done.
(gdb) run
Starting program: /home/artem/SVN/sumwars/sumwars
[Thread debugging using libthread_db enabled]
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
FreeImage version: 3.13.1
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
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
DDS codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library /usr/lib/OGRE/RenderSystem_GL.so
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_ParticleFX.so
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_BSPSceneManager.so
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.6.4 (Shoggoth)
[D] src/gui/application.cpp:338 configureOgre > configure ogre
[D] src/gui/application.cpp:324 initOgre > init ogre
[D] src/gui/application.cpp:371 setupResources > initalizing resources
[D] src/gui/application.cpp:457 initGettext > initializing internationalisation
[D] src/gui/application.cpp:465 initCEGUI > init CEGUI

[D] src/gui/application.cpp:538 createDocument > create document

[D] src/gui/application.cpp:591 createView > create view

[New Thread 0x7fffebe90710 (LWP 10516)]
[D] src/gui/application.cpp:155 init > time to start 892.645020
[D] src/gui/application.cpp:163 init > application initialized


[D] src/gui/savegamelist.cpp:208 onSavegameSelected > savegame accepted ./save/asdf.sav
[E] src/core/eventsystem.cpp:589 setObjectValue > Syntax: setObjectValue( int id, string valname, value)
[D] src/core/document.cpp:212 loadSavegame > sending savegame
[D] src/core/worldobject.cpp:214 setValue > fraction is now 9998
[D] src/gui/charinfo.cpp:481 update > set class label
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[New Thread 0x7fffda08e710 (LWP 10518)]
[Thread 0x7fffda08e710 (LWP 10518) exited]
[New Thread 0x7fffd988d710 (LWP 10519)]
[Thread 0x7fffd988d710 (LWP 10519) exited]
[D] src/gui/savegamelist.cpp:208 onSavegameSelected > savegame accepted ./save/asdf.sav
[E] src/core/eventsystem.cpp:589 setObjectValue > Syntax: setObjectValue( int id, string valname, value)
[D] src/core/document.cpp:212 loadSavegame > sending savegame
[D] src/core/worldobject.cpp:214 setValue > fraction is now 9998
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving
[D] src/core/player.cpp:229 revive > reviving

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7311930 in Ogre::Math::calculateBasicFaceNormalWithoutNormalize(Ogre::Vector3 const&, Ogre::Vector3 const&, Ogre::Vector3 const&) ()
   from /usr/lib/libOgreMain-1.6.4.so

(gdb) bt
#0  0x00007ffff7311930 in Ogre::Math::calculateBasicFaceNormalWithoutNormalize(Ogre::Vector3 const&, Ogre::Vector3 const&, Ogre::Vector3 const&) ()
   from /usr/lib/libOgreMain-1.6.4.so
#1  0x00007ffff7313682 in Ogre::Math::intersects(Ogre::Ray const&, Ogre::Vector3 const&, Ogre::Vector3 const&, Ogre::Vector3 const&, bool, bool) ()
   from /usr/lib/libOgreMain-1.6.4.so
#2  0x00000000004e6f3c in MainWindow::updateObjectInfo (this=0xc82850)
    at src/gui/mainwindow.cpp:1291
#3  0x00000000004ef59f in MainWindow::update (this=0xc82850,
    time=) at src/gui/mainwindow.cpp:526
#4  0x000000000050d612 in Application::run (this=0x831670)
    at src/gui/application.cpp:273
#5  0x00000000004e0987 in main (argc=1, argv=0x7fffffffe308)
    at src/gui/main_gui.cpp:67
(gdb)

Pages: [1]