Program received signal SIGSEGV, Segmentation fault. nv50_vertex_arrays_validate (nv50=0x55555584ad60) at nv50_vbo.c:338 338 size = vb->buffer->width0; (gdb) p *vb $1 = {stride = 40, buffer_offset = 0, buffer = 0x0} (gdb) up #1 0x00007fffeb9dcd63 in nv50_state_validate (nv50=0x55555584ad60, mask=, words=8) at nv50_state_validate.c:385 385 validate->func(nv50); (gdb) p nv50->vertex->num_elements $2 = 2 (gdb) p nv50->vertex->element[0] $3 = {pipe = {src_offset = 0, instance_divisor = 0, vertex_buffer_index = 0, src_format = PIPE_FORMAT_R32G32B32A32_FLOAT}, state = 2114453504} (gdb) p nv50->vertex->element[1] $4 = {pipe = {src_offset = 0, instance_divisor = 0, vertex_buffer_index = 1, src_format = PIPE_FORMAT_R32G32_FLOAT}, state = 2116026369} (gdb) p nv50->num_vtxbufs $5 = 1 (gdb) p nv50->vtxbuf[0] $6 = {stride = 32, buffer_offset = 1408, buffer = 0x7fffdc665400} (gdb) p nv50->vtxbuf[1] $7 = {stride = 40, buffer_offset = 0, buffer = 0x0} (gdb) p *nv50 $8 = {base = {pipe = {winsys = 0x0, screen = 0x555555860af0, priv = 0x0, draw = 0x0, destroy = 0x7fffeb9d8300 , draw_vbo = 0x7fffeb9ddc40 , render_condition = 0x7fffeb9f3730 , create_query = 0x7fffeb9f35b0 , destroy_query = 0x7fffeb9f3590 , begin_query = 0x7fffeb9f38b0 , end_query = 0x7fffeb9f3aa0 , get_query_result = 0x7fffeb9f32e0 , create_blend_state = 0x7fffeb9da670 , bind_blend_state = 0x7fffeb9d9970 , delete_blend_state = 0x7fffeb9d9e50 , create_sampler_state = 0x7fffeb9daec0 , bind_fragment_sampler_states = 0x7fffeb9db6b0 , bind_vertex_sampler_states = 0x7fffeb9db5e0 , bind_geometry_sampler_states = 0x7fffeb9d99a0 , delete_sampler_state = 0x7fffeb9d9d70 , create_rasterizer_state = 0x7fffeb9da210 , bind_rasterizer_state = 0x7fffeb9d9980 , delete_rasterizer_state = 0x7fffeb9d9e40 , create_depth_stencil_alpha_state = 0x7fffeb9d9e60 , bind_depth_stencil_alpha_state = 0x7fffeb9d9990 , delete_depth_stencil_alpha_state = 0x7fffeb9d9e30 , create_fs_state = 0x7fffeb9dad10 , bind_fs_state = 0x7fffeb9d9a80 , delete_fs_state = 0x7fffeb9d9d50 , create_vs_state = 0x7fffeb9dad20 , bind_vs_state = 0x7fffeb9d9a70 , delete_vs_state = 0x7fffeb9d9d50 , create_gs_state = 0x7fffeb9dad00 , bind_gs_state = 0x7fffeb9d9aa0 , delete_gs_state = 0x7fffeb9d9d50 , create_vertex_elements_state = 0x7fffeb9dd240 , bind_vertex_elements_state = 0x7fffeb9d9cc0 , delete_vertex_elements_state = 0x7fffeb9dd220 , set_blend_color = 0x7fffeb9d9ab0 , set_stencil_ref = 0x7fffeb9d9ad0 , set_sample_mask = 0x7fffeb9d9af0 , set_clip_state = 0x7fffeb9d9ce0 , set_constant_buffer = 0x7fffeb9db3b0 , set_framebuffer_state = 0x7fffeb9d9b10 , set_polygon_stipple = 0x7fffeb9d9ba0 , set_scissor_state = 0x7fffeb9d9c60 , set_viewport_state = 0x7fffeb9d9c80 , set_fragment_sampler_views = 0x7fffeb9db910 , set_vertex_sampler_views = 0x7fffeb9dad30 , ---Type to continue, or q to quit--- set_geometry_sampler_views = 0x7fffeb9db780 , set_vertex_buffers = 0x7fffeb9db290 , set_index_buffer = 0x7fffeb9db510 , create_stream_output_target = 0, stream_output_target_destroy = 0, set_stream_output_targets = 0, resource_copy_region = 0x7fffeb9d5770 , resource_resolve = 0x7fffeb9d4020 , clear = 0x7fffeb9d5cd0 , clear_render_target = 0x7fffeb9d5420 , clear_depth_stencil = 0x7fffeb9d4ce0 , flush = 0x7fffeb9d81e0 , create_sampler_view = 0x7fffeb9d6820 , sampler_view_destroy = 0x7fffeb9db470 , create_surface = 0x7fffeb9d9890 , surface_destroy = 0x7fffeb9d9740 , get_transfer = 0x7fffebc026e0 , transfer_destroy = 0x7fffebc026f0 , transfer_map = 0x7fffebc02700 , transfer_flush_region = 0x7fffebc02710 , transfer_unmap = 0x7fffebc02720 , transfer_inline_write = 0x7fffebc02730 , redefine_user_buffer = 0x7fffebc026b0 , texture_barrier = 0x7fffeb9d8290 , create_video_decoder = 0x7fffeba31d20 , create_video_buffer = 0x7fffeba30be0 }, screen = 0x555555860af0, vbo_dirty = 0 '\000', cb_dirty = 0 '\000', copy_data = 0x7fffeb9d7980 , push_data = 0x7fffeb9d76c0 , push_cb = 0}, screen = 0x555555860af0, residents = {{data = 0x0, size = 0, capacity = 0}, {data = 0x5555559fc9c0, size = 32, capacity = 32}, {data = 0x555555b87c60, size = 16, capacity = 16}, {data = 0x555555bedc70, size = 16, capacity = 16}}, residents_size = 64, dirty = 2069647, state = { instance_elts = 0, instance_base = 0, interpolant_ctrl = 134349826, semantic_color = 16778244, semantic_psize = 0, index_bias = 0, prim_restart = 0 '\000', point_sprite = 0 '\000', num_vtxbufs = 0 '\000', num_vtxelts = 2 '\002', num_textures = "\000\000\001", num_samplers = "\000\000\001", scissor = 1}, blend = 0x5555559fc620, rast = 0x555555b87cc0, zsa = 0x555555a0daa0, vertex = 0x7fffdc125eb0, vertprog = 0x7fffdc15c720, gmtyprog = 0x0, fragprog = 0x7fffdc676000, constbuf = {{0x7fffdc678d00, 0x0 }, {0x7fffdc675d90, 0x0 }, {0x0 }}, constbuf_dirty = {0, 0, 0}, vtxbuf = {{stride = 32, buffer_offset = 1408, buffer = 0x7fffdc665400}, {stride = 40, buffer_offset = 0, buffer = 0x0}, {stride = 40, buffer_offset = 0, buffer = 0x0}, {stride = 0, buffer_offset = 0, buffer = 0x0} }, num_vtxbufs = 1, idxbuf = {index_size = 4, offset = 0, buffer = 0x7fffdc3302b0}, vbo_fifo = 0, vbo_user = 0, vbo_min_index = 0, vbo_max_index = 5, textures = {{0x0 }, { 0x0 }, {0x7fffdc6788c0, 0x0 }}, num_textures = {0, 0, 1}, samplers = {{ 0x0 }, {0x0 }, {0x7fffdc1c7560, 0x0 }}, num_samplers = {0, 0, 1}, ---Type to continue, or q to quit--- framebuffer = {width = 1024, height = 768, nr_cbufs = 1, cbufs = {0x5555559fcca0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, zsbuf = 0x5555559fd0d0}, blend_colour = {color = {0, 0, 0, 0}}, stencil_ref = {ref_value = "\000"}, stipple = {stipple = { 4294967295 }}, scissor = {minx = 496, miny = 369, maxx = 531, maxy = 397}, viewport = {scale = {17.5, -14, 0.5, 1}, translate = {513.5, 385, 0.5, 0}}, clip = {ucp = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, { 0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}, nr = 0, depth_clamp = 1}, sample_mask = 4294967295, vbo_push_hint = 1 '\001', draw = 0x55555584c0f0} (gdb) (gdb) quit A debugging session is active. Inferior 1 [process 30571] will be killed. Quit anyway? (y or n) y