[Bug 24942] New: r300g segfaults on rs690

View: New views
1 Messages — Rating Filter:   Alert me  

[Bug 24942] New: r300g segfaults on rs690

by Bugzilla from bugzilla-daemon@freedesktop.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.freedesktop.org/show_bug.cgi?id=24942

           Summary: r300g segfaults on rs690
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa3d-dev@...
        ReportedBy: marvin24@...


I'm using current mesa/gallium and kms on rs690. starting any opengl apps
causes a segfault, e.g. glxgears:

# LD_LIBRARY_PATH=`pwd` LIBGL_DEBUG=verbose LIBGL_DRIVERS_DIR=gallium gdb
glxgears
GNU gdb (GDB) SUSE (6.8.91.20090930-1.1)                                        
Copyright (C) 2009 Free Software Foundation, Inc.                              
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>  
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-suse-linux".                                
For bug reporting instructions, please see:                                    
<http://www.gnu.org/software/gdb/bugs/>...                                      
Reading symbols from /usr/bin/glxgears...Missing separate debuginfo for
/usr/bin/glxgears                                      
(no debugging symbols found)...done.                                            
(gdb) set args -info
(gdb) run          
Starting program: /usr/bin/glxgears -info
debug_get_option: GALLIUM_TRACE = (null)                                        
debug_get_bool_option: GALLIUM_RBUG = FALSE                                    
debug_get_bool_option: RADEON_SOFTPIPE = FALSE                                  
debug_get_bool_option: RADEON_NO_TCL = FALSE                                    
r300: Note: Got unsupported format: PIPE_FORMAT_Z32_UNORM in check_tex_format  
r300: Note: Got unsupported format: PIPE_FORMAT_X8Z24_UNORM in check_tex_format
r300: Note: Got unsupported format: PIPE_FORMAT_S8Z24_UNORM in check_tex_format
libGL: Can't open configuration file /home/marc/.drirc: No such file or
directory.  
debug_get_bool_option: RADEON_SOFTPIPE = FALSE                                  
debug_get_option: RADEON_DEBUG = (null)                                        
debug_get_bool_option: DRAW_FSE = FALSE                                        
debug_get_bool_option: DRAW_NO_FSE = FALSE                                      
Mesa: Mesa 7.7-devel DEBUG build Nov  5 2009 17:19:28                          
Mesa warning: software DXTn compression/decompression available                
debug_get_bool_option: MESA_MVP_DP4 = FALSE                                    
debug_get_flags_option: ST_DEBUG = 0x0                                          
debug_get_bool_option: DRAW_FSE = FALSE                                        
debug_get_bool_option: DRAW_NO_FSE = FALSE                                      
r300: Texture miptree: Level 0 (512x32x1 px, pitch 512 bytes)                  
r300: Set texture state (512x32, 0 levels)                                      
r300: Set texture state (300x300, 0 levels)                                    
r300: Set texture state (300x300, 0 levels)                                    
r300: Set texture state (300x300, 0 levels)                                    
r300: Texture miptree: Level 0 (300x300x1 px, pitch 1216 bytes)                
r300: Set texture state (300x300, 0 levels)                                    
GL_MAX_VIEWPORT_DIMS=4096/4096                                                  
GL_RENDERER   = Gallium 0.3 on RS690                                            
GL_VERSION    = 1.5 Mesa 7.7-devel                                              
GL_VENDOR     = X.Org R300 Project                                              
GL_EXTENSIONS = GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_draw_buffers
GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_framebuffer_object
GL_ARB_imaging GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture
GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters
GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_shader_objects
GL_ARB_shading_language_100 GL_ARB_shading_language_120 GL_ARB_shadow
GL_ARB_texture_border_clamp GL_ARB_texture_compression 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_mirrored_repeat
GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle
GL_ARB_transpose_matrix 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_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color
GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_cull_vertex
GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture
GL_EXT_draw_range_elements GL_EXT_framebuffer_object GL_EXT_framebuffer_blit
GL_EXT_fog_coord GL_EXT_histogram GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object
GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex
GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color
GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture
GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_edge_clamp
GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle
GL_EXT_texture_sRGB GL_EXT_vertex_array GL_EXT_vertex_array_bgra
GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels
GL_APPLE_vertex_array_object GL_ATI_blend_equation_separate
GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip
GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert
GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square
GL_NV_light_max_exponent GL_NV_texture_env_combine4 GL_NV_texture_rectangle
GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1
GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table
GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod GL_SUN_multi_draw_arrays                                    

*** NOTE: Don't use glxgears as a benchmark.
    OpenGL implementations are not optimized for frame rates >> 60fps,
    thus these numbers are meaningless when compared between vendors.


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff768d78b in r300_vs_tab_routes (vformat=<value optimized out>,
r300=<value optimized out>) at r300_state_derived.c:88
88                  switch (r300->vs->code.inputs[i]) {                        
(gdb) bt full
#0  0x00007ffff768d78b in r300_vs_tab_routes (vformat=<value optimized out>,
r300=<value optimized out>) at r300_state_derived.c:88
        pos = 0 '\000'                                                          
        psize = 0 '\000'                                                        
        texs = 0                                                                
        cols = <value optimized out>                                            
        r300screen = 0x61deb0                                                  
        info = 0x6dafe8                                                        
        fog = 0 '\000'                                                          
        i = <value optimized out>                                              
#1  r300_update_derived_shader_state (vformat=<value optimized out>,
r300=<value optimized out>) at r300_state_derived.c:497      
No locals.                                                                      
#2  r300_update_derived_state (vformat=<value optimized out>, r300=<value
optimized out>) at r300_state_derived.c:548              
No locals.                                                                      
#3  0x00007ffff76899fd in r300_render_get_vertex_info (render=<value optimized
out>) at r300_render.c:273                          
        r300 = 0x623eb0                                                        
#4  0x00007ffff7801408 in draw_pt_emit_prepare (emit=<value optimized out>,
prim=8, max_vertices=<value optimized out>) at draw_pt_emit.c:77
        draw = 0x624ae0                                                        
        vinfo = <value optimized out>                                          
        dst_offset = <value optimized out>                                      
        hw_key = {output_stride = 68, nr_elements = 0, element = {{input_format
= -142599521, output_format = 32767, input_buffer = 68, input_offset = 0,
              output_offset = 2}, {input_format = PIPE_FORMAT_R32_FLOAT,
output_format = PIPE_FORMAT_R32_FLOAT, input_buffer = 1, input_offset = 0,      
              output_offset = 0}, {input_format = PIPE_FORMAT_R32G32B32_FLOAT,
output_format = PIPE_FORMAT_R32G32B32A32_FLOAT, input_buffer = 0,          
              input_offset = 0, output_offset = 20}, {input_format = 0,
output_format = 0, input_buffer = 0, input_offset = 0,                          
              output_offset = 0} <repeats 30 times>}}                          
        i = <value optimized out>                                              
        ok = <value optimized out>                                              
        __FUNCTION__ = "draw_pt_emit_prepare"                                  
#5  0x00007ffff77fb197 in fetch_pipeline_prepare (middle=0x643070, prim=8,
opt=0, max_vertices=0x61b7e8) at draw_pt_fetch_shade_pipeline.c:93            
        draw = 0x624ae0                                                        
        vs = 0x6e7250                                                          
        nr = <value optimized out>                                              
#6  0x00007ffff77fb6ff in varray_prepare (frontend=0x61b1b0, prim=<value
optimized out>, middle=0x0, opt=1200) at draw_pt_varray.c:151                  
        __FUNCTION__ = "varray_prepare"                                        
#7  0x00007ffff77f9911 in draw_pt_arrays (count=82, start=<value optimized
out>, prim=<value optimized out>, draw=<value optimized out>) at draw_pt.c:112
        frontend = 0x61b1b0                                                    
        middle = 0x4b0                                                          
        opt = 3                                                                
#8  draw_arrays (count=82, start=<value optimized out>, prim=<value optimized
out>, draw=<value optimized out>) at draw_pt.c:314                          
        reduced_prim = <value optimized out>                                    
#9  0x00007ffff768a22e in r300_swtcl_draw_range_elements (pipe=0x623eb0,
indexBuffer=0x0, indexSize=<value optimized out>, minIndex=<value optimized
out>,
    maxIndex=<value optimized out>, mode=8, start=0, count=82) at
r300_render.c:224                                                              
        i = 1                                                                  
#10 0x00007ffff76892de in r300_draw_elements (pipe=0x6e7a48, indexBuffer=0x0,
indexSize=1200, mode=<value optimized out>, start=<value optimized out>,    
    count=<value optimized out>) at r300_render.c:171                          
No locals.                                                                      
#11 0x00007ffff76ac564 in st_draw_vbo (ctx=0x650540, arrays=<value optimized
out>, prims=<value optimized out>, nr_prims=2, ib=<value optimized out>,      
    index_bounds_valid=<value optimized out>, min_index=0, max_index=161) at
state_tracker/st_draw.c:696                                                  
        i = 1                                                                  
        pipe = 0x623eb0                                                        
        vp = <value optimized out>                                              
        vbuffer = {{stride = 12, max_index = 161, buffer_offset = 0, buffer =
0x6abeb0}, {stride = 2871640566, max_index = 0, buffer_offset = 44,          
            buffer = 0x3e29276672}, {stride = 6880032, max_index = 0,
buffer_offset = 44, buffer = 0x7fffffffd060}, {stride = 6620480, max_index = 0,
---Type <return> to continue, or q <return> to quit---                          
            buffer_offset = 7011824, buffer = 0xab29c1f6}, {stride = 44,
max_index = 0, buffer_offset = 690447986, buffer = 0x6b01c0}, {                
            stride = 4150996009, max_index = 32767, buffer_offset = 6619149,
buffer = 0x6e2620}, {stride = 6951136, max_index = 0, buffer_offset = 6620480,
            buffer = 0x7fffffffd060}, {stride = 7218720, max_index = 0,
buffer_offset = 4294955040, buffer = 0x6e2620}, {stride = 0, max_index = 0,    
            buffer_offset = 4152161231, buffer = 0x0}, {stride = 256, max_index
= 0, buffer_offset = 4294955104, buffer = 0x6e2620}, {stride = 32,          
            max_index = 0, buffer_offset = 1, buffer = 0xd0000000d}, {stride =
13, max_index = 27394048, buffer_offset = 27394216, buffer = 0x0}, {        
            stride = 692224, max_index = 2, buffer_offset = 268435457, buffer =
0x0}, {stride = 0, max_index = 0, buffer_offset = 0, buffer = 0x0}, {      
            stride = 6620480, max_index = 0, buffer_offset = 4151720456, buffer
= 0x650540}, {stride = 6620480, max_index = 0, buffer_offset = 7218720,    
            buffer = 0x7ffff7736935}}                                          
        attr = <value optimized out>                                            
        velements = {{src_offset = 0, vertex_buffer_index = 0, nr_components =
3, src_format = PIPE_FORMAT_R32G32B32_FLOAT}, {src_offset = 4294967295,      
            vertex_buffer_index = 134, nr_components = 0, src_format = 0},
{src_offset = 4294955040, vertex_buffer_index = 255, nr_components = 127,      
            src_format = -142031088}, {src_offset = 32767, vertex_buffer_index
= 32, nr_components = 38, src_format = 0}, {src_offset = 27394080,          
            vertex_buffer_index = 0, nr_components = 0, src_format =
-142822562}, {src_offset = 32767, vertex_buffer_index = 134, nr_components = 0,
            src_format = 0}, {src_offset = 4152144440, vertex_buffer_index =
32, nr_components = 0, src_format = 0}, {src_offset = 0,                      
            vertex_buffer_index = 32, nr_components = 208, src_format = 32767},
{src_offset = 4152936208, vertex_buffer_index = 255, nr_components = 127,
            src_format = 27394216}, {src_offset = 0, vertex_buffer_index = 32,
nr_components = 0, src_format = 0}, {src_offset = 27394064,
            vertex_buffer_index = 0, nr_components = 0, src_format = 13},
{src_offset = 0, vertex_buffer_index = 246, nr_components = 188,
            src_format = 32767}, {src_offset = 13, vertex_buffer_index = 255,
nr_components = 127, src_format = -142822562}, {src_offset = 32767,
            vertex_buffer_index = 228, nr_components = 3, src_format = 0},
{src_offset = 0, vertex_buffer_index = 13, nr_components = 0,
            src_format = PIPE_FORMAT_YCBCR}, {src_offset = 0,
vertex_buffer_index = 32, nr_components = 208, src_format = 32767}, {src_offset
= 13,
            vertex_buffer_index = 0, nr_components = 0, src_format = 13},
{src_offset = 0, vertex_buffer_index = 8, nr_components = 0, src_format = 0}, {
            src_offset = 6, vertex_buffer_index = 0, nr_components = 0,
src_format = 7}, {src_offset = 0, vertex_buffer_index = 67, nr_components =
208,
            src_format = 32767}, {src_offset = 13, vertex_buffer_index = 0,
nr_components = 0, src_format = -142031472}, {src_offset = 32767,
            vertex_buffer_index = 40, nr_components = 6, src_format = 0},
{src_offset = 0, vertex_buffer_index = 0, nr_components = 0, src_format = 0}, {
            src_offset = 0, vertex_buffer_index = 16, nr_components = 67,
src_format = 0}, {src_offset = 693464672, vertex_buffer_index = 150,
            nr_components = 0, src_format = 27394064}, {src_offset = 27394166,
vertex_buffer_index = 0, nr_components = 67, src_format = 0}, {
            src_offset = 48, vertex_buffer_index = 0, nr_components = 0,
src_format = 0}, {src_offset = 0, vertex_buffer_index = 228, nr_components =
83,
            src_format = 62}, {src_offset = 33, vertex_buffer_index = 0,
nr_components = 0, src_format = 27394080}, {src_offset = 13,
            vertex_buffer_index = 13, nr_components = 0, src_format = 0},
{src_offset = 17184, vertex_buffer_index = 0, nr_components = 0,
            src_format = 693464776}, {src_offset = 62, vertex_buffer_index =
64, nr_components = 0, src_format = 0}}
        num_vbuffers = <value optimized out>
        num_velements = <value optimized out>
        userSpace = <value optimized out>
        __FUNCTION__ = "st_draw_vbo"
#12 0x00007ffff777110f in vbo_save_playback_vertex_list (ctx=0x650540,
data=<value optimized out>) at vbo/vbo_save_draw.c:277
        node = 0x6aae68
        __FUNCTION__ = "vbo_save_playback_vertex_list"
#13 0x00007ffff76d3ad2 in ext_opcode_execute (node=<value optimized out>,
ctx=<value optimized out>) at main/dlist.c:534
        i = <value optimized out>
#14 execute_list (node=<value optimized out>, ctx=<value optimized out>) at
main/dlist.c:6540
        opcode = <value optimized out>
        dlist = <value optimized out>
        n = 0x6aae60
        done = <value optimized out>
#15 0x00007ffff76d65fa in _mesa_CallList (list=1) at main/dlist.c:7723
        save_compile_flag = 0 '\000'
        __FUNCTION__ = "_mesa_CallList"
#16 0x00000000004032a9 in XPending ()
No symbol table info available.
#17 0x0000003e2921ea7d in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#18 0x00000000004018c9 in XPending ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0x00007fffffffd8d8 in ?? ()
No symbol table info available.
#20 0x000000000000001c in ?? ()
No symbol table info available.
#21 0x0000000000000002 in ?? ()
No symbol table info available.
#22 0x00007fffffffddd8 in ?? ()
No symbol table info available.
#23 0x00007fffffffddea in ?? ()
No symbol table info available.
#24 0x0000000000000000 in ?? ()
No symbol table info available.


--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@...
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev