Opened 12 years ago

Closed 9 years ago

#1359 closed defect (needsinfo)

[NEEDSINFO] Crash in tex_codec_for_header after clicking on main menu / on starting pyrogenesis

Reported by: sordid Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

When I go to the menu -> single player -> match or any other menu which would take me to a new screen, the program crashes. Here is my crash report: http://sprunge.us/GePD Here is a "thread apply all bt full" from gdb http://sprunge.us/UcDe

I built from the svn trunk 11683. If I run binaries/system/test I get all tests ok.

Change History (14)

comment:1 by historic_bruno, 12 years ago

Pasted for convenience:

Thread 8 (Thread 0x7fffbf01d700 (LWP 1805)):
#0  0x00007ffff45dc06f in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fffbe57c4d1 in ?? () from /usr/lib/libasound.so.2
No symbol table info available.
#2  0x00007ffff6328377 in ?? () from /usr/lib/libopenal.so.1
No symbol table info available.
#3  0x00007ffff631fc9a in ?? () from /usr/lib/libopenal.so.1
No symbol table info available.
#4  0x00007ffff5411e0e in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007ffff45e41ed in clone () from /lib/libc.so.6
No symbol table info available.

Thread 6 (Thread 0x7fffcd238700 (LWP 1803)):
#0  0x00007ffff5417860 in sem_wait () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007ffff567b1d8 in SDL_SemWait () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2  0x00000000005e71d9 in CTextureConverter::RunThread (data=0xb77af0) at ../../../source/graphics/TextureConverter.cpp:515
        textureConverter = <optimized out>
#3  0x00007ffff5411e0e in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007ffff45e41ed in clone () from /lib/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x7fffceaef700 (LWP 1801)):
#0  0x00007ffff54189bd in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007ffff567d413 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2  0x00007ffff567d442 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0x00007ffff56370b5 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0x00007ffff567afa9 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x00007ffff5411e0e in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x00007ffff45e41ed in clone () from /lib/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7fffcf3f1700 (LWP 1800)):
#0  0x00007ffff5417860 in sem_wait () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007ffff567b1d8 in SDL_SemWait () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2  0x00000000005494a1 in Run (this=0xc1bfe0) at ../../../source/ps/UserReport.cpp:279
        proxy = {static npos = <optimized out>, _M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, _M_p = 0xadccf8 L""}}
#3  CUserReporterWorker::RunThread (data=0xc1bfe0) at ../../../source/ps/UserReport.cpp:236
No locals.
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff5411e0e in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007ffff45e41ed in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7fffcfbf2700 (LWP 1799)):
#0  0x00007ffff45dde43 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x0000000000794cd8 in fam_event_loop () at ../../../source/lib/sysdep/os/linux/dir_watch_fam.cpp:147
        fdrset = {fds_bits = {512, 0 <repeats 15 times>}}
        famfd = 9
#2  0x00007ffff5411e0e in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00007ffff45e41ed in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7ffff7fd1740 (LWP 1796)):
#0  0x00007ffff4534f17 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x0000000000789d72 in tex_codec_for_header (file=<optimized out>, file_size=<optimized out>, c=<optimized out>) at ../../../source/lib/tex/tex_codec.cpp:92
        suppress__ = 0
        __func__ = "tex_codec_for_header"
#2  0x000000000078d760 in tex_decode (data=..., dataSize=0, t=0x7fffef78e900) at ../../../source/lib/tex/tex.cpp:720
        status_ = <optimized out>
        c = 0x7fffffffdd70
        min_hdr_size = <optimized out>
        __func__ = "tex_decode"
        hdr_size = <optimized out>
#3  0x000000000076b59d in OglTex_reload (ot=0x7fffef78e900, vfs=..., pathname=..., h=11577327653) at ../../../source/lib/res/graphics/ogl_tex.cpp:473
        file = {px = 0x0, pn = {pi_ = 0x32f3dc0}}
        fileSize = 0
#4  0x0000000000764e31 in call_init_and_reload (init_args=0x7fffffffdd30, pathname=..., vfs=..., hd=0x7fffef78e8c0, h=11577327653, type=<optimized out>) at ../../../source/lib/res/h_mgr.cpp:446
        err = 0
#5  alloc_new_handle (init_args=0x7fffffffdd30, flags=<optimized out>, key=194088392, pathname=..., vfs=..., type=<optimized out>) at ../../../source/lib/res/h_mgr.cpp:489
        hd = 0x7fffef78e8c0
        h = 11577327653
#6  h_alloc (type=<optimized out>, vfs=..., pathname=..., flags=<optimized out>) at ../../../source/lib/res/h_mgr.cpp:536
        key = 194088392
        h = 11577327653
        args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffde40, reg_save_area = 0x7fffffffdd50}}
#7  0x00000000005c089a in CTextureManagerImpl::LoadTexture (this=this@entry=0xb77ac0, texture=..., path=...) at ../../../source/graphics/TextureManager.cpp:177
        profile2__ = {m_Name = 0x7fdef0 "load texture"}
        h = <optimized out>
        flags = <optimized out>
        filter = <optimized out>
#8  0x00000000005c8182 in CTextureManagerImpl::TryLoadingCached (this=0xb77ac0, texture=...) at ../../../source/graphics/TextureManager.cpp:265
        hash = {static DIGESTSIZE = 16, m_Digest = {1732584193, 4023233417, 2562383102, 271733878}, 
          m_Buf = "\003\000\000\000\002\000\000\000\002\000\000\000\003\000\000\000\001\000\000\000\000\000@@\000\000\200@\000\000\200?\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314", <incomplete sequence \314>, m_BufLen = 32, m_InputLen = 32}
        ret = <optimized out>
        __func__ = "TryLoadingCached"
        loadPath = {path = {static npos = <optimized out>, _M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, 
---Type <return> to continue, or q <return> to quit---
              _M_p = 0x33b9378 L"cache/art/textures/ui/global/tile/stone_background_light.png.f8e57e449177f9ad.dds"}}, separator = 47 L'/'}
#9  0x00000000005c03ba in CTexture::TryLoad (this=this@entry=0x32f0d60) at ../../../source/graphics/TextureManager.cpp:548
        self = {px = 0x32f0d60, pn = {pi_ = 0x331c5c0}}
#10 0x00000000005c0480 in CTexture::GetHandle (this=0x32f0d60) at ../../../source/graphics/TextureManager.cpp:535
No locals.
#11 0x00000000005ff1f8 in CShaderProgram::BindTexture (this=0x10d9eb0, id=0x804b88 "tex", tex=...) at ../../../source/graphics/ShaderProgram.cpp:710
No locals.
#12 0x000000000070f39c in GUIRenderer::Draw (Calls=..., Z=10) at ../../../source/gui/GUIRenderer.cpp:332
        TexCoords = {left = 1, top = 1, right = 1, bottom = 1}
        Verts = {left = 0, top = 0, right = -8.72849858e+31, bottom = 4.59163468e-41}
        data = {<std::_Vector_base<float, std::allocator<float> >> = {_M_impl = {<std::allocator<float>> = {<__gnu_cxx::new_allocator<float>> = {<No data fields>}, <No data fields>}, 
              _M_start = 0x0, _M_finish = 0x3322130, _M_end_of_storage = 0x1}}, <No data fields>}
        shader = {px = 0x10d9eb0, pn = {pi_ = 0x10d9590}}
        cit = {_M_current = 0x33bae10}
        matrix = {{{_11 = 0.00146412884, _21 = 0, _31 = 0, _41 = 0, _12 = 0, _22 = -0.00260416674, _32 = 0, _42 = 0, _13 = 0, _23 = 0, _33 = -0.00199800194, _43 = 0, _14 = -1, _24 = 1, 
              _34 = 0.99999994, _44 = 1}, _data = {0.00146412884, 0, 0, 0, 0, -0.00260416674, 0, 0, 0, 0, -0.00199800194, 0, -1, 1, 0.99999994, 1}, _data2d = {{0.00146412884, 0, 0, 0}, {0, 
                -0.00260416674, 0, 0}, {0, 0, -0.00199800194, 0}, {-1, 1, 0.99999994, 1}}}}
#13 0x000000000073ebe3 in CGUISpriteInstance::Draw (this=0x3322220, Size=..., CellID=0, Sprites=..., Z=10) at ../../../source/gui/CGUISprite.cpp:29
No locals.
#14 0x0000000000701548 in CImage::Draw (this=0x33220b0) at ../../../source/gui/CImage.cpp:55
        bz = 10
        sprite = 0x3322220
        cell_id = 0
#15 0x00000000006e2b3c in GUI<int>::RecurseObject (RR=RR@entry=1, pObject=0x33220b0, pFunc=&virtual table offset 56) at ../../../source/gui/GUIutil.h:320
        it = <optimized out>
#16 0x00000000006e2b6d in GUI<int>::RecurseObject (RR=RR@entry=1, pObject=0x32f3130, pFunc=&virtual table offset 56) at ../../../source/gui/GUIutil.h:326
        it = {_M_current = 0x32f7cb8}
#17 0x00000000006d861a in CGUI::Draw (this=0x32f3470) at ../../../source/gui/CGUI.cpp:459
No locals.
#18 0x00000000006d09c1 in CGUIManager::Draw (this=0xe3bf40) at ../../../source/gui/GUIManager.cpp:278
        it = {_M_current = 0x32f0e78}
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x816b2d "gui"}
#19 0x000000000056efec in Render () at ../../../source/ps/GameSetup/GameSetup.cpp:235
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x8220eb "render"}
        skystring = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = {static npos = <optimized out>, 
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xc04ae8 "0 0 0"}}, <No data fields>}
        skycol = {r = 0, g = 0, b = 0, a = 1}
#20 0x0000000000424029 in Frame () at ../../../source/main.cpp:410
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x7d2ab3 "sound update (0)"}
        TimeSinceLastFrame = 0.00218589511
        need_render = 255
        profile2__ = {m_Name = 0x809833 "frame"}
        time = <optimized out>
        need_update = <optimized out>
#21 RunGameOrAtlas (argc=argc@entry=1, argv=argv@entry=0x7fffffffea48) at ../../../source/main.cpp:526
        args = {m_Args = {<std::_Vector_base<std::pair<CStr8, CStr8>, std::allocator<std::pair<CStr8, CStr8> > >> = {
              _M_impl = {<std::allocator<std::pair<CStr8, CStr8> >> = {<__gnu_cxx::new_allocator<std::pair<CStr8, CStr8> >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, 
                _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, m_Arg0 = {path = {static npos = <optimized out>, 
              _M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, 
---Type <return> to continue, or q <return> to quit---
                _M_p = 0xaeb3f8 L"/home/joe/.builds/0ad/binaries/system/pyrogenesis"}}, separator = 47 L'/'}}
        ran_atlas = <optimized out>
        res = <optimized out>
#22 0x0000000000419fa7 in main (argc=1, argv=0x7fffffffea48) at ../../../source/main.cpp:569
No locals.
Function call failed: return value was -120101 (Unknown error (-120101, 0xFFFFFFFFFFFE2ADB))
Location: tex_codec.cpp:83 (tex_codec_for_header)

Call stack:

(0x792fea) ./pyrogenesis() [0x792fea]
(0x7436e1) ./pyrogenesis() [0x7436e1]
(0x7438dd) ./pyrogenesis() [0x7438dd]
(0x74429b) ./pyrogenesis() [0x74429b]
(0x789da0) ./pyrogenesis() [0x789da0]
(0x78d760) ./pyrogenesis() [0x78d760]
(0x76b59d) ./pyrogenesis() [0x76b59d]
(0x764e31) ./pyrogenesis() [0x764e31]
(0x5c089a) ./pyrogenesis() [0x5c089a]
(0x5c8182) ./pyrogenesis() [0x5c8182]
(0x5c03ba) ./pyrogenesis() [0x5c03ba]
(0x5c0480) ./pyrogenesis() [0x5c0480]
(0x5ff1f8) ./pyrogenesis() [0x5ff1f8]
(0x70f39c) ./pyrogenesis() [0x70f39c]
(0x73ebe3) ./pyrogenesis() [0x73ebe3]
(0x701548) ./pyrogenesis() [0x701548]

errno = 0 (Try again later)
OS error = ?



====================================

SVN Revision: custom build

System info:

(generated 2012-04-26 23:39:15 UTC)

OS             : Linux 3.3.3-1-ARCH (#1 SMP PREEMPT Mon Apr 23 09:41:07 CEST 2012)
CPU            : x86_64, Intel Core2 Duo     P7450  @ 2.13GHz (1x2x1), 2.13 GHz
Memory         : 3958 MiB; 1321 MiB free
Graphics Card  : NVIDIA GeForce GTX 260M/PCIe/SSE2
OpenGL Drivers : 3.3.0 NVIDIA 295.40; OpenGL 3.3.0 NVIDIA 295.40
Video Mode     : 1366x768:32
Sound Card     : Unknown
Sound Drivers  : Unknown

OpenGL Extensions: 
GL_ARB_base_instance
GL_ARB_blend_func_extended
GL_ARB_color_buffer_float
GL_ARB_compatibility
GL_ARB_compressed_texture_pixel_storage
GL_ARB_conservative_depth
GL_ARB_copy_buffer
GL_ARB_depth_buffer_float
GL_ARB_depth_clamp
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_draw_elements_base_vertex
GL_ARB_draw_instanced
GL_ARB_ES2_compatibility
GL_ARB_explicit_attrib_location
GL_ARB_fragment_coord_conventions
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_framebuffer_object
GL_ARB_framebuffer_sRGB
GL_ARB_geometry_shader4
GL_ARB_get_program_binary
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_imaging
GL_ARB_instanced_arrays
GL_ARB_internalformat_query
GL_ARB_map_buffer_alignment
GL_ARB_map_buffer_range
GL_ARB_multisample
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_occlusion_query2
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_provoking_vertex
GL_ARB_robustness
GL_ARB_sampler_objects
GL_ARB_seamless_cube_map
GL_ARB_separate_shader_objects
GL_ARB_shader_bit_encoding
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_shading_language_420pack
GL_ARB_shading_language_include
GL_ARB_shading_language_packing
GL_ARB_shadow
GL_ARB_sync
GL_ARB_texture_border_clamp
GL_ARB_texture_buffer_object
GL_ARB_texture_compression
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_float
GL_ARB_texture_mirrored_repeat
GL_ARB_texture_multisample
GL_ARB_texture_non_power_of_two
GL_ARB_texture_rectangle
GL_ARB_texture_rg
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_storage
GL_ARB_texture_swizzle
GL_ARB_timer_query
GL_ARB_transpose_matrix
GL_ARB_uniform_buffer_object
GL_ARB_vertex_array_bgra
GL_ARB_vertex_array_object
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_viewport_array
GL_ARB_window_pos
GL_ATI_draw_buffers
GL_ATI_texture_float
GL_ATI_texture_mirror_once
GL_S3_s3tc
GL_EXT_texture_env_add
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_bindable_uniform
GL_EXT_blend_color
GL_EXT_blend_equation_separate
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_compiled_vertex_array
GL_EXT_Cg_shader
GL_EXT_depth_bounds_test
GL_EXT_direct_state_access
GL_EXT_draw_buffers2
GL_EXT_draw_instanced
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_multisample
GL_EXTX_framebuffer_mixed_formats
GL_EXT_framebuffer_object
GL_EXT_framebuffer_sRGB
GL_EXT_geometry_shader4
GL_EXT_gpu_program_parameters
GL_EXT_gpu_shader4
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_float
GL_EXT_packed_pixels
GL_EXT_pixel_buffer_object
GL_EXT_point_parameters
GL_EXT_provoking_vertex
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_shader_objects
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EXT_texture3D
GL_EXT_texture_array
GL_EXT_texture_buffer_object
GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_latc
GL_EXT_texture_compression_rgtc
GL_EXT_texture_compression_s3tc
GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_integer
GL_EXT_texture_lod
GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_shared_exponent
GL_EXT_texture_sRGB
GL_EXT_texture_sRGB_decode
GL_EXT_texture_storage
GL_EXT_texture_swizzle
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_timer_query
GL_EXT_vertex_array
GL_EXT_vertex_array_bgra
GL_EXT_x11_sync_object
GL_EXT_import_sync_object
GL_IBM_rasterpos_clip
GL_IBM_texture_mirrored_repeat
GL_KTX_buffer_region
GL_NV_alpha_test
GL_NV_blend_minmax
GL_NV_blend_square
GL_NV_complex_primitives
GL_NV_conditional_render
GL_NV_copy_depth_to_color
GL_NV_copy_image
GL_NV_depth_buffer_float
GL_NV_depth_clamp
GL_NV_explicit_multisample
GL_NV_fbo_color_attachments
GL_NV_fence
GL_NV_float_buffer
GL_NV_fog_distance
GL_NV_fragdepth
GL_NV_fragment_program
GL_NV_fragment_program_option
GL_NV_fragment_program2
GL_NV_framebuffer_multisample_coverage
GL_NV_geometry_shader4
GL_NV_gpu_program4
GL_NV_half_float
GL_NV_light_max_exponent
GL_NV_multisample_coverage
GL_NV_multisample_filter_hint
GL_NV_occlusion_query
GL_NV_packed_depth_stencil
GL_NV_parameter_buffer_object
GL_NV_parameter_buffer_object2
GL_NV_path_rendering
GL_NV_pixel_data_range
GL_NV_point_sprite
GL_NV_primitive_restart
GL_NV_register_combiners
GL_NV_register_combiners2
GL_NV_shader_buffer_load
GL_NV_texgen_reflection
GL_NV_texture_barrier
GL_NV_texture_compression_vtc
GL_NV_texture_env_combine4
GL_NV_texture_expand_normal
GL_NV_texture_lod_clamp
GL_NV_texture_multisample
GL_NV_texture_rectangle
GL_NV_texture_shader
GL_NV_texture_shader2
GL_NV_texture_shader3
GL_NV_transform_feedback
GL_NV_vdpau_interop
GL_NV_vertex_array_range
GL_NV_vertex_array_range2
GL_NV_vertex_buffer_unified_memory
GL_NV_vertex_program
GL_NV_vertex_program1_1
GL_NV_vertex_program2
GL_NV_vertex_program2_option
GL_NV_vertex_program3
GL_NVX_conditional_render
GL_NVX_gpu_memory_info
GL_OES_depth24
GL_OES_depth32
GL_OES_depth_texture
GL_OES_element_index_uint
GL_OES_fbo_render_mipmap
GL_OES_get_program_binary
GL_OES_mapbuffer
GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_float_linear
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_array_object
GL_OES_vertex_half_float
GL_SGIS_generate_mipmap
GL_SGIS_texture_lod
GL_SGIX_depth_texture
GL_SGIX_shadow
GL_SUN_slice_accum 

SMBIOS: 



====================================

Main log:

<!DOCTYPE html>
<meta charset="utf-8">
<title>Pyrogenesis Log</title>
<style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style>
<h2>0 A.D. Main log</h2>
<p>Loading config file "config/default.cfg"</p>
<p>Loaded config string "windowed" = "false"</p>
<p>Loaded config string "pauseonfocusloss" = "true"</p>
<p>Loaded config string "xres" = "0"</p>
<p>Loaded config string "yres" = "0"</p>
<p>Loaded config string "bpp" = "0"</p>
<p>Loaded config string "fancywater" = "true"</p>
<p>Loaded config string "shadows" = "true"</p>
<p>Loaded config string "shadowpcf" = "true"</p>
<p>Loaded config string "vsync" = "false"</p>
<p>Loaded config string "particles" = "true"</p>
<p>Loaded config string "nos3tc" = "false"</p>
<p>Loaded config string "noautomipmap" = "true"</p>
<p>Loaded config string "novbo" = "false"</p>
<p>Loaded config string "noframebufferobject" = "false"</p>
<p>Loaded config string "nohwcursor" = "false"</p>
<p>Loaded config string "force_s3tc_enable" = "true"</p>
<p>Loaded config string "renderpath" = "default"</p>
<p>Loaded config string "preferglsl" = "false"</p>
<p>Loaded config string "forcealphatest" = "false"</p>
<p>Loaded config string "gpuskinning" = "false"</p>
<p>Loaded config string "userreport.url" = "http://feedback.wildfiregames.com/report/upload/v1/"</p>
<p>Loaded config string "skycolor" = "0 0 0"</p>
<p>Loaded config string "sound.mastergain" = "0.5"</p>
<p>Loaded config string "view.scroll.speed" = "120.0"</p>
<p>Loaded config string "view.rotate.x.speed" = "1.2"</p>
<p>Loaded config string "view.rotate.x.min" = "28.0"</p>
<p>Loaded config string "view.rotate.x.max" = "60.0"</p>
<p>Loaded config string "view.rotate.x.default" = "35.0"</p>
<p>Loaded config string "view.rotate.y.speed" = "2.0"</p>
<p>Loaded config string "view.rotate.y.speed.wheel" = "0.45"</p>
<p>Loaded config string "view.rotate.y.default" = "0.0"</p>
<p>Loaded config string "view.drag.speed" = "0.5"</p>
<p>Loaded config string "view.zoom.speed" = "256.0"</p>
<p>Loaded config string "view.zoom.speed.wheel" = "32.0"</p>
<p>Loaded config string "view.zoom.min" = "50.0"</p>
<p>Loaded config string "view.zoom.max" = "200.0"</p>
<p>Loaded config string "view.zoom.default" = "120.0"</p>
<p>Loaded config string "view.pos.smoothness" = "0.1"</p>
<p>Loaded config string "view.zoom.smoothness" = "0.4"</p>
<p>Loaded config string "view.rotate.x.smoothness" = "0.5"</p>
<p>Loaded config string "view.rotate.y.smoothness" = "0.3"</p>
<p>Loaded config string "view.near" = "2.0"</p>
<p>Loaded config string "view.far" = "4096.0"</p>
<p>Loaded config string "view.fov" = "45.0"</p>
<p>Loaded config string "view.height.smoothness" = "0.5"</p>
<p>Loaded config string "view.height.min" = "16"</p>
<p>Loaded config string "hotkey.exit" = "Alt+F4"</p>
<p>Loaded config string "hotkey.exit" = "Ctrl+Break"</p>
<p>Loaded config string "hotkey.leave" = "Escape"</p>
<p>Loaded config string "hotkey.pause" = "Pause"</p>
<p>Loaded config string "hotkey.screenshot" = "F2"</p>
<p>Loaded config string "hotkey.bigscreenshot" = "Shift+F2"</p>
<p>Loaded config string "hotkey.togglefullscreen" = "Alt+Return"</p>
<p>Loaded config string "hotkey.screenshot.watermark" = "K"</p>
<p>Loaded config string "hotkey.wireframe" = "Alt+W"</p>
<p>Loaded config string "hotkey.camera.reset" = "H"</p>
<p>Loaded config string "hotkey.camera.follow" = "F"</p>
<p>Loaded config string "hotkey.camera.zoom.in" = "Plus"</p>
<p>Loaded config string "hotkey.camera.zoom.in" = "Equals"</p>
<p>Loaded config string "hotkey.camera.zoom.in" = "NumPlus"</p>
<p>Loaded config string "hotkey.camera.zoom.out" = "Minus"</p>
<p>Loaded config string "hotkey.camera.zoom.out" = "NumMinus"</p>
<p>Loaded config string "hotkey.camera.zoom.wheel.in" = "WheelUp"</p>
<p>Loaded config string "hotkey.camera.zoom.wheel.out" = "WheelDown"</p>
<p>Loaded config string "hotkey.camera.rotate.up" = "Ctrl+UpArrow"</p>
<p>Loaded config string "hotkey.camera.rotate.up" = "Ctrl+W"</p>
<p>Loaded config string "hotkey.camera.rotate.down" = "Ctrl+DownArrow"</p>
<p>Loaded config string "hotkey.camera.rotate.down" = "Ctrl+S"</p>
<p>Loaded config string "hotkey.camera.rotate.cw" = "Ctrl+LeftArrow"</p>
<p>Loaded config string "hotkey.camera.rotate.cw" = "Ctrl+A"</p>
<p>Loaded config string "hotkey.camera.rotate.cw" = "Q"</p>
<p>Loaded config string "hotkey.camera.rotate.ccw" = "Ctrl+RightArrow"</p>
<p>Loaded config string "hotkey.camera.rotate.ccw" = "Ctrl+D"</p>
<p>Loaded config string "hotkey.camera.rotate.ccw" = "E"</p>
<p>Loaded config string "hotkey.camera.rotate.wheel.cw" = "Shift+WheelUp"</p>
<p>Loaded config string "hotkey.camera.rotate.wheel.cw" = "MouseX1"</p>
<p>Loaded config string "hotkey.camera.rotate.wheel.ccw" = "Shift+WheelDown"</p>
<p>Loaded config string "hotkey.camera.rotate.wheel.ccw" = "MouseX2"</p>
<p>Loaded config string "hotkey.camera.pan" = "MouseMiddle"</p>
<p>Loaded config string "hotkey.camera.pan" = "ForwardSlash"</p>
<p>Loaded config string "hotkey.camera.left" = "A"</p>
<p>Loaded config string "hotkey.camera.left" = "LeftArrow"</p>
<p>Loaded config string "hotkey.camera.right" = "D"</p>
<p>Loaded config string "hotkey.camera.right" = "RightArrow"</p>
<p>Loaded config string "hotkey.camera.up" = "W"</p>
<p>Loaded config string "hotkey.camera.up" = "UpArrow"</p>
<p>Loaded config string "hotkey.camera.down" = "S"</p>
<p>Loaded config string "hotkey.camera.down" = "DownArrow"</p>
<p>Loaded config string "hotkey.console.toggle" = "BackQuote"</p>
<p>Loaded config string "hotkey.console.toggle" = "F9"</p>
<p>Loaded config string "hotkey.copy" = "Ctrl+C"</p>
<p>Loaded config string "hotkey.paste" = "Ctrl+V"</p>
<p>Loaded config string "hotkey.cut" = "Ctrl+X"</p>
<p>Loaded config string "hotkey.selection.add" = "Shift"</p>
<p>Loaded config string "hotkey.selection.milonly" = "Alt"</p>
<p>Loaded config string "hotkey.selection.remove" = "Ctrl"</p>
<p>Loaded config string "hotkey.selection.idleworker" = "Period"</p>
<p>Loaded config string "hotkey.selection.idlewarrior" = "Comma"</p>
<p>Loaded config string "hotkey.selection.offscreen" = "Alt"</p>
<p>Loaded config string "hotkey.selection.group.select.0" = "0"</p>
<p>Loaded config string "hotkey.selection.group.save.0" = "Ctrl+0"</p>
<p>Loaded config string "hotkey.selection.group.add.0" = "Shift+0"</p>
<p>Loaded config string "hotkey.selection.group.select.1" = "1"</p>
<p>Loaded config string "hotkey.selection.group.save.1" = "Ctrl+1"</p>
<p>Loaded config string "hotkey.selection.group.add.1" = "Shift+1"</p>
<p>Loaded config string "hotkey.selection.group.select.2" = "2"</p>
<p>Loaded config string "hotkey.selection.group.save.2" = "Ctrl+2"</p>
<p>Loaded config string "hotkey.selection.group.add.2" = "Shift+2"</p>
<p>Loaded config string "hotkey.selection.group.select.3" = "3"</p>
<p>Loaded config string "hotkey.selection.group.save.3" = "Ctrl+3"</p>
<p>Loaded config string "hotkey.selection.group.add.3" = "Shift+3"</p>
<p>Loaded config string "hotkey.selection.group.select.4" = "4"</p>
<p>Loaded config string "hotkey.selection.group.save.4" = "Ctrl+4"</p>
<p>Loaded config string "hotkey.selection.group.add.4" = "Shift+4"</p>
<p>Loaded config string "hotkey.selection.group.select.5" = "5"</p>
<p>Loaded config string "hotkey.selection.group.save.5" = "Ctrl+5"</p>
<p>Loaded config string "hotkey.selection.group.add.5" = "Shift+5"</p>
<p>Loaded config string "hotkey.selection.group.select.6" = "6"</p>
<p>Loaded config string "hotkey.selection.group.save.6" = "Ctrl+6"</p>
<p>Loaded config string "hotkey.selection.group.add.6" = "Shift+6"</p>
<p>Loaded config string "hotkey.selection.group.select.7" = "7"</p>
<p>Loaded config string "hotkey.selection.group.save.7" = "Ctrl+7"</p>
<p>Loaded config string "hotkey.selection.group.add.7" = "Shift+7"</p>
<p>Loaded config string "hotkey.selection.group.select.8" = "8"</p>
<p>Loaded config string "hotkey.selection.group.save.8" = "Ctrl+8"</p>
<p>Loaded config string "hotkey.selection.group.add.8" = "Shift+8"</p>
<p>Loaded config string "hotkey.selection.group.select.9" = "9"</p>
<p>Loaded config string "hotkey.selection.group.save.9" = "Ctrl+9"</p>
<p>Loaded config string "hotkey.selection.group.add.9" = "Shift+9"</p>
<p>Loaded config string "hotkey.session.kill" = "Delete"</p>
<p>Loaded config string "hotkey.session.garrison" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.queue" = "Shift"</p>
<p>Loaded config string "hotkey.session.batchtrain" = "Shift"</p>
<p>Loaded config string "hotkey.session.massbarter" = "Shift"</p>
<p>Loaded config string "hotkey.session.unloadtype" = "Shift"</p>
<p>Loaded config string "hotkey.session.deselectgroup" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.rotate.cw" = "RightBracket"</p>
<p>Loaded config string "hotkey.session.rotate.ccw" = "LeftBracket"</p>
<p>Loaded config string "hotkey.timewarp.fastforward" = "Space"</p>
<p>Loaded config string "hotkey.timewarp.rewind" = "Backspace"</p>
<p>Loaded config string "hotkey.fps.toggle" = "Alt+F"</p>
<p>Loaded config string "hotkey.session.devcommands.toggle" = "Alt+D"</p>
<p>Loaded config string "hotkey.session.gui.toggle" = "Alt+G"</p>
<p>Loaded config string "hotkey.menu.toggle" = "F10"</p>
<p>Loaded config string "hotkey.timeelapsedcounter.toggle" = "F12"</p>
<p>Loaded config string "hotkey.chat" = "Return"</p>
<p>Loaded config string "hotkey.text.delete.left" = "Ctrl+Backspace"</p>
<p>Loaded config string "hotkey.text.delete.right" = "Ctrl+Del"</p>
<p>Loaded config string "hotkey.text.move.left" = "Ctrl+LeftArrow"</p>
<p>Loaded config string "hotkey.text.move.right" = "Ctrl+RightArrow"</p>
<p>Loaded config string "hotkey.profile.toggle" = "F11"</p>
<p>Loaded config string "hotkey.profile.save" = "Shift+F11"</p>
<p>Loaded config string "hotkey.profile2.enable" = "F11"</p>
<p>Loaded config string "profiler2.http.autoenable" = "false"</p>
<p>Loaded config string "profiler2.gpu.autoenable" = "false"</p>
<p>Loaded config string "profiler2.gpu.arb.enable" = "true"</p>
<p>Loaded config string "profiler2.gpu.ext.enable" = "true"</p>
<p>Loaded config string "profiler2.gpu.intel.enable" = "true"</p>
<p>Loaded config string "hotkey.attackmove" = "Super"</p>
<p>Loaded config string "hotkey.quicksave" = "Shift+F5"</p>
<p>Loaded config string "hotkey.quickload" = "Shift+F8"</p>
<p>Loaded config string "joystick.enable" = "false"</p>
<p>Loaded config string "joystick.deadzone" = "8192"</p>
<p>Loaded config string "joystick.camera.pan.x" = "0"</p>
<p>Loaded config string "joystick.camera.pan.y" = "1"</p>
<p>Loaded config string "joystick.camera.rotate.x" = "3"</p>
<p>Loaded config string "joystick.camera.rotate.y" = "2"</p>
<p>Loaded config string "joystick.camera.zoom.in" = "5"</p>
<p>Loaded config string "joystick.camera.zoom.out" = "4"</p>
<p>Cannot find config file "config/local.cfg" - ignoring</p>
<p>Loading config file "config/user.cfg"</p>
<p>Loaded config string "userreport.enabledversion" = "1"</p>
<p>Loaded config string "userreport.id" = "dc6739b7fa5cc549"</p>
<p>CRenderer::Open: depth bits 24</p>
<p>CRenderer::Open: stencil bits 8</p>
<p>CRenderer::Open: alpha bits 0</p>

====================================

comment:2 by historic_bruno, 11 years ago

Summary: Crash after clicking on main menuCrash in tex_codec_for_header after clicking on main menu

Does this error still occur with Alpha 11 or latest SVN?

comment:3 by historic_bruno, 11 years ago

Milestone: Backlog
Resolution: needsinfo
Status: newclosed
Summary: Crash in tex_codec_for_header after clicking on main menu[NEEDS INFO] Crash in tex_codec_for_header after clicking on main menu

Also make sure your graphics drivers are up to date.

comment:4 by Leopard, 10 years ago

Resolution: needsinfo
Status: closedreopened

Hello, i downloaded the svn-trunk (rev 14486) and compiled it on Gentoo x64 without errors. The binaries/system/test runs OK!

But i cannot run the game:

./pyrogenesis
Cache: 500 (total: 5975) MiB
TIMER| InitVfs: 799.16 us
Sound: AlcInit success, using OpenAL Soft
TIMER| CONFIG_Init: 5.35264 ms
TIMER| InitScripting: 3.73736 ms
TIMER| RunHardwareDetection: 21.5082 ms
TIMER| write_sys_info: 16.7528 ms
TIMER| InitRenderer: 9.44616 ms
TIMER| ps_console: 1.64468 ms
TIMER| ps_lang_hotkeys: 1.2146 ms
TIMER| common/setup.xml: 1.26924 ms
TIMER| common/styles.xml: 182.76 us
TIMER| common/sprite1.xml: 2.176 ms
TIMER| common/init.xml: 1.9848 ms
TIMER| common/common_sprites.xml: 2.73268 ms
TIMER| common/common_styles.xml: 371.84 us
TIMER| pregame/sprites.xml: 695.4 us
TIMER| pregame/styles.xml: 72.64 us
TIMER| pregame/mainmenu.xml: 6.96932 ms
TIMER| common/global.xml: 548.56 us
TIMER| common/setup.xml: 861.36 us
TIMER| common/styles.xml: 52.6 us
TIMER| common/sprite1.xml: 2.0482 ms
TIMER| common/common_sprites.xml: 2.48484 ms
TIMER| common/common_styles.xml: 357 us
TIMER| splashscreen/styles.xml: 276.72 us
TIMER| splashscreen/setup.xml: 91.88 us
TIMER| splashscreen/splashscreen.xml: 1.44024 ms
tex_codec.cpp(83): Function call failed: return value was -120101 (Unknown error (-120101, 0xFFFFFFFFFFFE2ADB))
Function call failed: return value was -120101 (Unknown error (-120101, 0xFFFFFFFFFFFE2ADB))
Location: tex_codec.cpp:83 (tex_codec_for_header)

Call stack:

(0x818afa) ./pyrogenesis() [0x818afa]
(0x7d42a1) ./pyrogenesis() [0x7d42a1]
(0x7d449d) ./pyrogenesis() [0x7d449d]
(0x7d4e5b) ./pyrogenesis() [0x7d4e5b]
(0x80a4c0) ./pyrogenesis() [0x80a4c0]
(0x80d6d0) ./pyrogenesis() [0x80d6d0]
(0x7f40fd) ./pyrogenesis() [0x7f40fd]
(0x7f143c) ./pyrogenesis() [0x7f143c]
(0x637833) ./pyrogenesis() [0x637833]
(0x636c12) ./pyrogenesis() [0x636c12]
(0x636cc0) ./pyrogenesis() [0x636cc0]
(0x6274d8) ./pyrogenesis() [0x6274d8]
(0x7a9730) ./pyrogenesis() [0x7a9730]
(0x7833b3) ./pyrogenesis() [0x7833b3]
(0x7b8cd8) ./pyrogenesis() [0x7b8cd8]
(0x75396c) ./pyrogenesis() [0x75396c]

errno = 0 (No error reported here)
OS error = ?


Speicherzugriffsfehler

dmesg is logging a segfault in libopenal.so.1.15.1

Graphics drivers are up to date (for gentoo: ATI-drivers 13.9).

How can i help?

comment:5 by Leopard, 10 years ago

Summary: [NEEDS INFO] Crash in tex_codec_for_header after clicking on main menuCrash in tex_codec_for_header after clicking on main menu / on starting pyrogenesis

Still happens in svn 14550. I added

printf("ERROR here");

to find out where the tex_codec_for_header is called:

It is in tex.cpp -> tex_decode and that is called in ogl_tex.cpp -> OglTex_reload. Does this help you?

comment:6 by Leopard, 10 years ago

Seems dmesg was right. Using -nosound lets me start and run the game.

comment:7 by historic_bruno, 10 years ago

Milestone: Backlog

Can you run the game in gdb, and get the full backtrace when it crashes? See ReportingErrors and Debugging. There's not enough information yet.

comment:8 by Leopard, 10 years ago

Thank you for helping me.

I am running svn 14568 now. I tried crashing the game while in gdb -> run mode, but it stopped in main menu and i was not able to get back to desktop. I ran the game with -nosound to enable windowed mode, then it crashed while opening the options menu:

(gdb) thread apply all bt full

Thread 5 (Thread 0x7f840e21a700 (LWP 9125)):
#0  0x00007f843866b1c3 in select () from /lib64/libc.so.6
No symbol table info available.
#1  0x0000000000802470 in inotify_event_loop () at ../../../source/lib/sysdep/os/linux/dir_watch_inotify.cpp:148
        fdrset = {fds_bits = {256, 0 <repeats 15 times>}}
#2  0x00007f84394afeda in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#3  0x00007f84386725ad in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x7f840d918700 (LWP 9126)):
#0  0x00007f84394b5db0 in sem_wait () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007f843970b0a8 in SDL_SemWait () from /usr/lib64/libSDL-1.2.so.0
No symbol table info available.
#2  0x0000000000596d11 in Run (this=0xdd2500) at ../../../source/ps/UserReport.cpp:279
        proxy = L""
#3  CUserReporterWorker::RunThread (data=0xdd2500) at ../../../source/ps/UserReport.cpp:236
No locals.
#4  0x00007f84394afeda in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5  0x00007f84386725ad in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7f840d117700 (LWP 9127)):
#0  0x00007f84394b724d in nanosleep () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007f843970d173 in SDL_Delay () from /usr/lib64/libSDL-1.2.so.0
No symbol table info available.
#2  0x00007f843970d1a2 in ?? () from /usr/lib64/libSDL-1.2.so.0
No symbol table info available.
#3  0x00007f84396d5945 in ?? () from /usr/lib64/libSDL-1.2.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#4  0x00007f843970aea9 in ?? () from /usr/lib64/libSDL-1.2.so.0
No symbol table info available.
#5  0x00007f84394afeda in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6  0x00007f84386725ad in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7f841331e700 (LWP 9145)):
#0  0x00007f84394b5db0 in sem_wait () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007f843970b0a8 in SDL_SemWait () from /usr/lib64/libSDL-1.2.so.0
No symbol table info available.
#2  0x000000000062e4e9 in CTextureConverter::RunThread (data=0x1624e00) at ../../../source/graphics/TextureConverter.cpp:564
        textureConverter = <optimized out>
#3  0x00007f84394afeda in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4  0x00007f84386725ad in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7f843c37f780 (LWP 9120)):
#0  0x00007f843864229d in nanosleep () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f843864214d in sleep () from /lib64/libc.so.6
No symbol table info available.
#2  0x00000000008063f1 in udbg_launch_debugger () at ../../../source/lib/sysdep/os/unix/udbg.cpp:83
        orgpid = 9120
        ret = <optimized out>
#3  0x0000000000805803 in try_gui_display_error (
    text=text@entry=0x7f841233b000 L"Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))\r\nLocation: tex_codec.cpp:83 (tex_codec_for_header)\r\n\r\nCall stack:\r\n\r\n(0x803f2a) ./pyrogenesis() [0x803f2a]\n"..., manual_break=manual_break@entry=true, allow_suppress=allow_suppress@entry=true, 
    no_continue=no_continue@entry=false) at ../../../source/lib/sysdep/os/unix/unix.cpp:170
        err = 0
        message = 
---Type <return> to continue, or q <return> to quit---
    "Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))\nLocation: tex_codec.cpp:83 (tex_codec_for_header)\n\nCall stack:\n\n(0x803f2a) ./pyrogenesis() [0x803f2a]\n(0x7bf"...
        buttons = "Continue:100,Suppress:101,Break:102,Debugger:103,Exit:104", '\000' <repeats 198 times>
        defaultButton = <optimized out>
        argv = {0xd954d0 "\250\226\222\070\204\177", 0x1868820 " \263\206\001", 0x186b330 "", 0x16bf110 "आ\001", 
          0x186a4f0 "\270\226\222\070\204\177", 0x1869730 "Ȗ\222\070\204\177", 0x1867e90 "ؖ\222\070\204\177", 
          0x1869750 "\200\223Z\001", 0x15a9390 "\230\226\222\070\204\177", 0x186c000 "h\236\222\070\204\177", 0x0}
        cpid = 9297
        status = 26368
        cmd = 0x8cca72 "/usr/bin/xmessage"
#4  0x0000000000805954 in sys_display_error (
    text=0x7f841233b000 L"Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))\r\nLocation: tex_codec.cpp:83 (tex_codec_for_header)\r\n\r\nCall stack:\r\n\r\n(0x803f2a) ./pyrogenesis() [0x803f2a]\n"..., flags=<optimized out>) at ../../../source/lib/sysdep/os/unix/unix.cpp:211
        manual_break = true
        allow_suppress = true
        no_continue = false
        ret = <optimized out>
#5  0x00000000007bf9db in CallDisplayError (flags=6, 
    text=0x7f841233b000 L"Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))\r\nLocation: tex_codec.cpp:83 (tex_codec_for_header)\r\n\r\nCall stack:\r\n\r\n(0x803f2a) ./pyrogenesis() [0x803f2a]\n"...) at ../../../source/lib/debug.cpp:378
        er = ERI_NOT_IMPLEMENTED
#6  debug_DisplayError (description=<optimized out>, 
    description@entry=0x7fff2593c5c0 L"Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))", flags=6, flags@entry=4, context=context@entry=0x7fff2593cc00, 
    lastFuncToSkip=lastFuncToSkip@entry=0x8c0a60 L"debug_OnError", pathname=<optimized out>, 
    pathname@entry=0x8c9358 L"../../../source/lib/tex/tex_codec.cpp", line=line@entry=83, func=<optimized out>, 
    func@entry=0x8c9440 <tex_codec_for_header(unsigned char const*, unsigned long, TexCodecVTbl const**)::__func__> "tex_codec_for_header", 
    suppress=suppress@entry=0xb954f0 <tex_codec_for_header(unsigned char const*, unsigned long, TexCodecVTbl const**)::suppress__>) at ../../../source/lib/debug.cpp:469
        filename = <optimized out>
        emm = {pa_mem = 0x7f841233b000}
---Type <return> to continue, or q <return> to quit---
        text = 0x7f841233b000 L"Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))\r\nLocation: tex_codec.cpp:83 (tex_codec_for_header)\r\n\r\nCall stack:\r\n\r\n(0x803f2a) ./pyrogenesis() [0x803f2a]\n"...
        er = ERI_NOT_IMPLEMENTED
#7  0x00000000007c028b in ShouldSuppressError (
    suppress=0xb954f0 <tex_codec_for_header(unsigned char const*, unsigned long, TexCodecVTbl const**)::suppress__>)
    at ../../../source/lib/debug.cpp:366
No locals.
#8  debug_DisplayError (
    suppress=0xb954f0 <tex_codec_for_header(unsigned char const*, unsigned long, TexCodecVTbl const**)::suppress__>, 
    func=0x8c9440 <tex_codec_for_header(unsigned char const*, unsigned long, TexCodecVTbl const**)::__func__> "tex_codec_for_header", line=83, pathname=0x8c9358 L"../../../source/lib/tex/tex_codec.cpp", lastFuncToSkip=0x8c0a60 L"debug_OnError", 
    context=0x7fff2593cc00, flags=4, 
    description=0x7fff2593c5c0 L"Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))") at ../../../source/lib/debug.cpp:432
No locals.
#9  debug_OnError (err=-120101, 
    suppress=0xb954f0 <tex_codec_for_header(unsigned char const*, unsigned long, TexCodecVTbl const**)::suppress__>, 
    file=0x8c9358 L"../../../source/lib/tex/tex_codec.cpp", line=83, 
    func=0x8c9440 <tex_codec_for_header(unsigned char const*, unsigned long, TexCodecVTbl const**)::__func__> "tex_codec_for_header") at ../../../source/lib/debug.cpp:546
        context = "\000\000\000\000\000\000\000\000\001\000\000\000\203\177", '\000' <repeats 18 times>"\200, \246\206\001\000\000\000\000\001\000\000\000\000\000\000\000\302̓%\377\177\000\000p͓%\377\177\000\000\001\000\000\000\001\000\000\000\001\000\000\000\203\177\000\000\020̓%\377\177", '\000' <repeats 26 times>, "cache/public/art/textures/ui/global/border/border-bottom.png.734ddae20fbbfd31.dds\000\223%\377\177\000\000\350h\272\000\000\000\000\000\270͓%\377\177\000\000\360̓%\377\177\000\000\000\000\000\000\000\000\000\000萆\001", '\000' <repeats 12 times>, "\001", '\000' <repeats 11 times>...
        lastFuncToSkip = 0x8c0a60 L"debug_OnError"
        buf = L"Function call failed: return value was -120101 (Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB))\000\000\000\000\000\000\060\001𠄀\x38600000", '\000' <repeats 16 times>"\x3861029d, 羄\x1867c60\000\x1867c70\000\022\000\x1867c60\000\x800\000\xff056956羃\001翿\000\000\x1256ae0", '\000' <repeats 15 times>, "\004 ", '\000' <repeats 20 times>, "\004 \x1869150\000\000\000\x3f570800\000\x1215d80\000\000\000\000\000\000\000\004 \030\000\000\000\000\004\000\000\000\000\x1256ae0\000\000\000\004 \x1869150\000\000\000\x3f570800\000\000\000\x1869b90\000\x1256ae0\000\000\000\004 \030\000\000\000\000\004\060𠄀\000\000\000\000\000\000\x38600000"...
        err_buf = L"Unknown error (-120101, 0x", 'F' <repeats 11 times>, "E2ADB)\000\000\000\017\000\000\000\000\000\x1264c98\00---Type <return> to continue, or q <return> to quit---
0\017\000\000\000\xfe9cecb4羃", '\000' <repeats 33 times>, "܄\x2593c920翿\000\000\001\000\000\000\000\000\000\001\020\200\000\b \001\x2593c920翿\x1264c98\000\x2593c8e0翿\x2593c510翿+\004\x18698c8\000\x1869b78\000\x1869930\000܄\000\001\000\x1267050\000\xff7d8329羃\001\001\xff036d08羃\000\000\000\000\000\001\000\000\x1869930\000\x1869930\000\000\000\xff037589羃\000\000\x1869b90\000\x1869930\000\000\000܄\000\001\000\x1267050\000\001\000\000\000\000\000܄\000\001\000\x1267050\000\xff7d8319羃\000\000\xfe9dba82羃\001翿\x2593c9c0翿\000\000\000\000\x2593c9cf翿\x2593c7d0翿"
#10 0x00000000007f58f0 in tex_codec_for_header (file=<optimized out>, file_size=<optimized out>, c=<optimized out>)
    at ../../../source/lib/tex/tex_codec.cpp:83
        suppress__ = 0
        __func__ = "tex_codec_for_header"
#11 0x00000000007f8b00 in tex_decode (data=..., dataSize=0, t=0x7f8432b20380) at ../../../source/lib/tex/tex.cpp:720
        status_ = <optimized out>
        c = 0x656d616e00000057
        min_hdr_size = <optimized out>
        __func__ = "tex_decode"
        hdr_size = <optimized out>
#12 0x00000000007df52d in OglTex_reload (ot=0x7f8432b20380, vfs=..., pathname=..., h=43122717)
    at ../../../source/lib/res/graphics/ogl_tex.cpp:476
        file = {px = 0x0, pn = {pi_ = 0x1867aa0}}
        fileSize = 0
#13 0x00000000007dc86c in call_init_and_reload (init_args=0x7fff2593d610, pathname=..., vfs=..., hd=0x7f8432b20340, 
    h=43122717, type=<optimized out>) at ../../../source/lib/res/h_mgr.cpp:446
        err = 0
#14 alloc_new_handle (init_args=0x7fff2593d610, flags=<optimized out>, key=4047499005, pathname=..., vfs=..., 
    type=0xb8cc60 <V_OglTex>) at ../../../source/lib/res/h_mgr.cpp:489
        hd = 0x7f8432b20340
        h = 43122717
#15 h_alloc (type=0xb8cc60 <V_OglTex>, vfs=..., pathname=..., flags=<optimized out>) at ../../../source/lib/res/h_mgr.cpp:536
        key = 4047499005
        h = 43122717
        args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fff2593d720, reg_save_area = 0x7fff2593d630}}
#16 0x00000000006226d3 in CTextureManagerImpl::LoadTexture (this=this@entry=0x1624dd0, texture=..., path=...)
    at ../../../source/graphics/TextureManager.cpp:178
        profile2__ = {m_Name = 0x89dd60 "load texture"}
        h = <optimized out>
---Type <return> to continue, or q <return> to quit---
        flags = <optimized out>
        filter = <optimized out>
#17 0x0000000000621ab2 in TryLoadingCached (texture=..., this=0x1624dd0) at ../../../source/graphics/TextureManager.cpp:266
        hash = {static DIGESTSIZE = 16, m_Digest = {1732584193, 4023233417, 2562383102, 271733878}, 
          m_Buf = "\003\000\000\000\002\000\000\000\002\000\000\000\003\000\000\000\001\000\000\000\000\000@@\000\000\200@\000\000\200?\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314\314", <incomplete sequence \314>, m_BufLen = 32, m_InputLen = 32}
        ret = <optimized out>
        version = 1
        loadPath = {path = L"cache/public/art/textures/ui/global/border/border-bottom.png.734ddae20fbbfd31.dds", 
          separator = 47 L'/'}
#18 CTexture::TryLoad (this=this@entry=0x171a4e0) at ../../../source/graphics/TextureManager.cpp:557
        self = {px = 0x171a4e0, pn = {pi_ = 0x171a540}}
#19 0x0000000000621b60 in CTexture::GetHandle (this=0x171a4e0) at ../../../source/graphics/TextureManager.cpp:544
No locals.
#20 0x0000000000612378 in CShaderProgram::BindTexture (this=0xda60b0, id=..., tex=...)
    at ../../../source/graphics/ShaderProgram.cpp:700
No locals.
#21 0x0000000000792330 in GUIRenderer::Draw (Calls=..., Z=10) at ../../../source/gui/GUIRenderer.cpp:358
        TexCoords = {left = 0, top = 0, right = 1, bottom = 4.6875}
        Verts = {left = 1410, top = 240, right = 1426, bottom = 840}
        data = std::vector of length 30, capacity 32 = {-nan(0x592cd0), 4.57425858e-41, 4.20389539e-45, 4.57439871e-41, 
          4.94022953e-38, 0, 4.6875, 2.24207754e-44, 1.79366203e-43, 1.40129846e-45, 1.40129846e-45, 0, 0, 240, 0, 0, 
          2.80259693e-45, 6.72623263e-44, 2.86985925e-42, 0, 1.40129846e-45, 0, 7.00649232e-45, 240, 4.94113981e-38, 0, 0, 0, 
          4.93932373e-38, 0}
        shader = {px = 0xda60b0, pn = {pi_ = 0xda1820}}
        cit = {m_Image = , m_HasTexture = true, m_Texture = {px = , pn = {pi_ = }}, m_ObjectSize = {left = 510, top = 840, 
            right = 1410, bottom = 856}, m_CellID = 0, m_EnableBlending = false, m_Shader = {px = , pn = {pi_ = }}, 
          m_ShaderColorParameter = {r = -1, g = -1, b = -1, a = 1}, m_Vertices = {left = 510, top = 840, right = 1410, 
            bottom = 856}, m_DeltaZ = 0, m_BorderColor = {r = -1, g = -1, b = -1, a = 1}, m_BackColor = {r = -1, g = -1, 
            b = -1, a = 1}}
        matrix = {{{_11 = 0.00104166672, _21 = 0, _31 = 0, _41 = 0, _12 = 0, _22 = -0.00185185182, _32 = 0, _42 = 0, _13 = 0, 
              _23 = 0, _33 = -0.00199800194, _43 = 0, _14 = -1, _24 = 1, _34 = 0.99999994, _44 = 1}, _data = {0.00104166672, 
              0, 0, 0, 0, -0.00185185182, 0, 0, 0, 0, -0.00199800194, 0, -1, 1, 0.99999994, 1}, _data2d = {{0.00104166672, 0, 
---Type <return> to continue, or q <return> to quit---
                0, 0}, {0, -0.00185185182, 0, 0}, {0, 0, -0.00199800194, 0}, {-1, 1, 0.99999994, 1}}}}
Python Exception <type 'exceptions.IndexError'> list index out of range: 
#22 0x000000000076b9b3 in CGUISpriteInstance::Draw (this=0x17c04f0, Size=..., CellID=0, Sprites=std::map with 84 elements, 
    Z=10) at ../../../source/gui/CGUISprite.cpp:42
No locals.
#23 0x00000000007a1928 in CImage::Draw (this=0x17b4a20) at ../../../source/gui/CImage.cpp:55
        bz = 10
        sprite = 0x17c04f0
        cell_id = 0
#24 0x000000000073ba6c in GUI<int>::RecurseObject (RR=RR@entry=1, pObject=0x17b4a20, pFunc=&virtual table offset 56)
    at ../../../source/gui/GUIutil.h:320
        it = <optimized out>
#25 0x000000000073ba9d in GUI<int>::RecurseObject (RR=RR@entry=1, pObject=0x178e970, pFunc=&virtual table offset 56)
    at ../../../source/gui/GUIutil.h:326
        it = 
#26 0x000000000073202d in CGUI::Draw (this=0x171a900) at ../../../source/gui/CGUI.cpp:377
No locals.
#27 0x0000000000761071 in CGUIManager::Draw (this=0x15bc710) at ../../../source/gui/GUIManager.cpp:379
        it = {name = {<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >> = 
    L"page_options.xml", <No data fields>}, inputs = {
            table_ = {<boost::unordered::detail::table<boost::unordered::detail::set<std::allocator<Path>, Path, boost::hash<Path>, std::equal_to<Path> > >> = {<boost::unordered::detail::mix64_policy<unsigned long>> = {<No data fields>}, <boost::unordered::detail::functions<boost::hash<Path>, std::equal_to<Path> >> = {current_ = false, funcs_ = {{data_ = {buf = "\206", 
                        align_ = -122 '\206'}}, {data_ = {buf =  <incomplete sequence \310>, align_ = -56 '\310'}}}}, 
                allocators_ = {<boost::unordered::detail::compressed_base<std::allocator<boost::unordered::detail::ptr_bucket>, 1>> = {<std::allocator<boost::unordered::detail::ptr_bucket>> = {<__gnu_cxx::new_allocator<boost::unordered::detail::ptr_bucket>> = {<No data fields>}, <No data fields>}, <No data fields>}, <boost::unordered::detail::compressed_base<std::allocator<boost::unordered::detail::ptr_node<Path> >, 2>> = {<std::allocator<boost::unordered::detail::ptr_node<Path> >> = {<__gnu_cxx::new_allocator<boost::unordered::detail::ptr_node<Path> >> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}, 
                bucket_count_ = 16, size_ = 16, mlf_ = 1, max_load_ = 16, buckets_ = }, <No data fields>}}, cx = , initData = {
            px = , pn = {pi_ = }}, 
          callbackPageName = {<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >> = 
    L"", <No data fields>}, gui = {px = , pn = {pi_ = }}}
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x8b7d50 "gui"}
---Type <return> to continue, or q <return> to quit---
#28 0x00000000005ae39c in Render () at ../../../source/ps/GameSetup/GameSetup.cpp:223
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x8bdb72 "render"}
#29 0x0000000000429026 in Frame () at ../../../source/main.cpp:357
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x8b6109 "event"}
        realTimeSinceLastFrame = 0.00434004376
        need_render = 255
        profile2__ = {m_Name = 0x8a39b2 "frame"}
        time = <optimized out>
        need_update = true
#30 RunGameOrAtlas (argc=argc@entry=2, argv=argv@entry=0x7fff2593e2f8) at ../../../source/main.cpp:472
        args = {m_Args = std::vector of length 1, capacity 1 = {{
              first = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = 
    "nosound", <No data fields>}, second = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = 
    "", <No data fields>}}}, m_Arg0 = {path = L"./pyrogenesis", separator = 47 L'/'}}
        ran_atlas = <optimized out>
        res = <optimized out>
#31 0x000000000041e3b7 in main (argc=2, argv=0x7fff2593e2f8) at ../../../source/main.cpp:514
No locals.
(gdb) 
Last edited 10 years ago by Leopard (previous) (diff)

comment:9 by Stan, 10 years ago

Keywords: unanswered added

comment:10 by historic_bruno, 9 years ago

Keywords: unanswered removed

If it was indeed sound related, there were a couple of crash fixes since this ticket's last update: r14725 and r15269 (it could also be that disabling the sound manager affected the timing of the crash.) I would be interested in knowing if this still occurs with A17 or latest SVN and since it has only be very rarely reported, I would also suggest fully updating your system and possibly a clean SVN checkout.

in reply to:  10 comment:11 by Leopard, 9 years ago

I did a clean SVN checkout. Now running SVN 16350 and openal 1.15.1-r2 on gentoo. Still gives multiple segfaults if starting with sound. Running with -nosound works.

Some log out of my dmesg:

[ 9931.152099] pyrogenesis[24665]: segfault at 259d000 ip 00007f3dc5053424 sp 00007f3da1ba4c48 error 4 in libopenal.so.1.15.1[7f3dc5028000+52000]
[ 9931.152100]  in libmozjs31-ps-release.so[7f3dc6630000+69c000]

[ 9951.175947] pyrogenesis[24680]: segfault at c4136a80 ip 0000000000610330 sp 00007ffff4e86e00 error 4 in pyrogenesis[400000+6b2000]
[10116.291709] traps: pyrogenesis[24729] general protection ip:6c99d7 sp:7fff5bc3de80 error:0 in pyrogenesis[400000+6b2000]
[10120.295276] pyrogenesis[24774]: segfault at 0 ip 00007fbf53e36000 sp 00007fbf0f5f2dc0 error 4 in libstdc++.so.6.0.19[7fbf53d78000+e6000]
[10133.955569] traps: pyrogenesis[24776] general protection ip:7fe248461701 sp:7fff6ee65ec0 error:0 in libmozjs31-ps-release.so[7fe247f60000+69c000]
[10137.325420] traps: pyrogenesis[24800] general protection ip:7f3e6e1c1701 sp:7fffe15acd80 error:0
[10137.325426] pyrogenesis[24809]: segfault at 2765000 ip 00007f3e6c6e3424 sp 00007f3e49234c48 error 4 in libopenal.so.1.15.1[7f3e6c6b8000+52000]
[10137.325428]  in libmozjs31-ps-release.so[7f3e6dcc0000+69c000]

[10139.201964] pyrogenesis[24831]: segfault at 2fdd000 ip 00007f11cf25b424 sp 00007f11abdacc48 error 4 in libopenal.so.1.15.1[7f11cf230000+52000]
[10141.260382] pyrogenesis[24865]: segfault at 3fffbfbe0 ip 00007fdacab3b39c sp 00007fdaa2ef3b80 error 4 in libnvimage.so[7fdacab28000+25000]
[10352.806408] traps: pyrogenesis[24938] general protection ip:6cc256 sp:7fff93f6e520 error:0 in pyrogenesis[400000+6b2000]
[10416.404504] pyrogenesis[24972]: segfault at 256f000 ip 00007f13247c3424 sp 00007f1301314c48 error 4
[10416.404504] traps: pyrogenesis[24963] general protection ip:7f13262a1701 sp:7fff959eada0 error:0 in libmozjs31-ps-release.so[7f1325da0000+69c000]
[10416.404510]  in libopenal.so.1.15.1[7f1324798000+52000]

What else should i do and post?

Replying to historic_bruno:

I would be interested in knowing if this still occurs with A17 or latest SVN and since it has only be very rarely reported, I would also suggest fully updating your system and possibly a clean SVN checkout.

comment:12 by Stan, 9 years ago

Is there a way you can update your sound drivers ?

https://forums.gentoo.org/viewtopic-t-818256-start-0.html

comment:13 by historic_bruno, 9 years ago

There are a lot of segfaults there, I wonder if something is going wrong in the build (bad compiler flags or something) or if it's a problem elsewhere but only showing up on your system. Can you test any other application that uses OpenAL?

comment:14 by Stan, 9 years ago

Keywords: crash removed
Milestone: Backlog
Resolution: needsinfo
Status: reopenedclosed
Summary: Crash in tex_codec_for_header after clicking on main menu / on starting pyrogenesis[NEEDSINFO] Crash in tex_codec_for_header after clicking on main menu / on starting pyrogenesis
Note: See TracTickets for help on using tickets.