[Regression PNV]glsl demo/vert-tex fail
Submitted by Guang Yang
Assigned to Ian Romanick
Description
System Environment:
Platform: Pineview
Libdrm: (master)2.4.31-10-gbe30d350
Mesa: (8.0)fa68a8ba
Xserver: (server-1.12-branch)xorg-server-1.12.1
Xf86_video_intel:
(master)2.18.0-27-gaaed9e9722aa30a3d6dc9a3f07309655de65b6bd
Cairo: (master)dbc0efad7e565558a3abf7f69d7675efddc4688d
Libva: (master)bdbc9675fb2529b276bc3e8f720709e75beeae10
Libva_intel_driver: (master)506205da0b04024415d38a451a595f8075c49073
Kernel: (drm-intel-fixes)2e7a44814d802c8ba479164b8924070cd908d6b5
Bug detailed description:
Startx and run mesa demo vert-tex, it shows :Segmentation fault (core dumped) on the console ,and the backtrace is:
#0 0xb7b01323 in fetch_texel_2d_f_i8 (texImage=0x8272d20, i=63, j=63, k=0, texel=0xbfffeaa8) at swrast/s_texfetch_tmp.h:955
#1 0xb7b158df in sample_2d_linear (rgba=<optimized out>, texcoord=<optimized out>, img=0x8272d20, tObj=0x82dbd18, ctx=0x8065f08) at swrast/s_texfilter.c:1135
#2 sample_linear_2d (ctx=0x8065f08, tObj=0x82dbd18, n=1, texcoords=0xbfffebb8, lambda=0xbfffeb28, rgba=0xbfffebe8) at swrast/s_texfilter.c:1342
#3 0xb7ab5cad in vp_fetch_texel (ctx=0x8065f08, texcoord=0xbfffebb8, lambda=0, unit=0, color=0xbfffebe8) at tnl/t_vb_program.c:200
#4 0xb7adeac3 in fetch_texel (color=0xbfffebd8, lodBias=0, texcoord=0xbfffeba8, inst=0x82b4e40, machine=0x821ec20, ctx=0x8065f08) at program/prog_execute.c:408
#5 _mesa_execute_program (ctx=0x8065f08, program=0x82baba8, machine=0x821ec20) at program/prog_execute.c:1662
#6 0xb7ab60c5 in run_vp (ctx=0x8065f08, stage=0x80dcf88) at tnl/t_vb_program.c:392
#7 0xb7ab4c17 in _tnl_run_pipeline (ctx=0x8065f08) at tnl/t_pipeline.c:163
#8 0xb79e788a in intelRunPipeline (ctx=0x8065f08) at intel_tris.c:1095
#9 0xb7ab5547 in _tnl_draw_prims (ctx=0x8065f08, arrays=0x80cac80, prim=0x80c9568, nr_prims=20, ib=0x0, min_index=0, max_index=799) at tnl/t_draw.c:523
#10 0xb7ab5c41 in _tnl_vbo_draw_prims (ctx=0x8065f08, arrays=0x80cac80, prim=0x80c9568, nr_prims=20, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=799,
tfb_vertcount=0x0) at tnl/t_draw.c:423
#11 0xb7aa5884 in vbo_exec_vtx_flush (exec=0x80c9148, keepUnmapped=1 '\001') at vbo/vbo_exec_draw.c:407
#12 0xb7a99ff7 in vbo_exec_FlushVertices_internal (exec=0x80c9148, unmap=<optimized out>) at vbo/vbo_exec_api.c:444
#13 0xb7aa2fbf in vbo_exec_FlushVertices (ctx=0x8065f08, flags=1) at vbo/vbo_exec_api.c:1195
#14 0xb7a33dd1 in _mesa_PopMatrix () at main/matrix.c:284
#15 0x08049a06 in Redisplay () at vert-tex.c:101
#16 0x410593c3 in ?? () from /usr/lib/libglut.so.3
#17 0x4105cdc7 in fgEnumWindows () from /usr/lib/libglut.so.3
#18 0x4105986e in glutMainLoopEvent () from /usr/lib/libglut.so.3
#19 0x4105a104 in glutMainLoop () from /usr/lib/libglut.so.3
#20 0x08049784 in main (argc=1, argv=0xbffff364) at vert-tex.c:264
Version: git