[Mesa-dev] [Bug 46597] New: nv50_pc.h:351: nv_alloc_instruction: Assertion `pc->num_instructions < 2048' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 24 18:56:25 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46597

             Bug #: 46597
           Summary: nv50_pc.h:351: nv_alloc_instruction: Assertion
                    `pc->num_instructions < 2048' failed.
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at freedesktop.org


System environment: 
-- chipset: NVA8
-- system architecture: x86_64
-- xserver-xorg-video-nouveau: 1:0.0.16+git20110411+8378443-1
-- mesa: 6512bc4e67f0f2b53805d050e11f6a336b505f40
-- libdrm version: 2.4.26
-- kernel version: 3.0.0-16-generic
-- Linux distribution: Ubuntu 11.10 amd64

Run piglit test fp-indirections2.

$ ./bin/fp-indirections2 -auto
Max TEX instructions / TEX indirections: 16384 / 16384
fp-indirections2: nv50_pc.h:351: nv_alloc_instruction: Assertion
`pc->num_instructions < 2048' failed.
Aborted (core dumped)


(gdb) bt
#0  0x00007fcb7b9723a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fcb7b975b0b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fcb7b96ad4d in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007fcb78ab30ce in nv_alloc_instruction (opcode=<optimized out>,
pc=<optimized out>) at nv50_pc.h:351
#4  new_instruction (opcode=<optimized out>, pc=<optimized out>) at
nv50_pc.h:362
#5  0x00007fcb78b26ee9 in nv_alloc_instruction (opcode=<optimized out>,
pc=<optimized out>) at nv50_pc.h:351
#6  new_instruction (opcode=<optimized out>, pc=<optimized out>) at
nv50_pc.h:362
#7  bld_insn_1 (opcode=<optimized out>, src0=0x1ecf5f8, bld=<optimized out>) at
nv50_tgsi_to_nc.c:535
#8  0x00007fcb78b26f43 in emit_tex (bld=0x1e1f740, opcode=39,
dst=0x7ffface85190, t_in=0x7ffface85060, argc=1, tic=0, tsc=0, 
    cube=0) at nv50_tgsi_to_nc.c:1378
#9  0x00007fcb78b2937d in bld_tex (bld=0x1e1f740, dst0=0x7ffface85190,
insn=0x1e756a0) at nv50_tgsi_to_nc.c:1527
#10 0x00007fcb78b2bbf2 in bld_instruction (insn=0x1e756a0, bld=0x1e1f740) at
nv50_tgsi_to_nc.c:1965
#11 nv50_tgsi_to_nc (pc=<optimized out>, ti=0x1dd8070) at
nv50_tgsi_to_nc.c:2060
#12 0x00007fcb78b2164b in nv50_generate_code (ti=0x1dd8070) at nv50_pc.c:500
#13 0x00007fcb78b1f2f7 in nv50_program_translate (p=0x1dd7e50) at
nv50_program.c:658
#14 0x00007fcb78b1f7a8 in nv50_program_validate (nv50=0x1b9d6d0,
prog=0x1dd7e50) at nv50_shader_state.c:134
#15 0x00007fcb78b1fda3 in nv50_fragprog_validate (nv50=<optimized out>) at
nv50_shader_state.c:194
#16 0x00007fcb78b1c253 in nv50_state_validate (nv50=0x1b9d6d0, mask=<optimized
out>, words=8) at nv50_state_validate.c:393
#17 0x00007fcb78b1d285 in nv50_draw_vbo (pipe=0x1b9d6d0, info=<optimized out>)
at nv50_vbo.c:660
#18 0x00007fcb78c2601b in st_draw_vbo (ctx=0x1c722e0, arrays=<optimized out>,
prims=<optimized out>, nr_prims=1, ib=0x0, 
    index_bounds_valid=<optimized out>, min_index=0, max_index=3,
tfb_vertcount=0x0) at state_tracker/st_draw.c:1113
#19 0x00007fcb78cf6ae7 in vbo_draw_arrays (ctx=0x1c722e0, mode=<optimized out>,
start=0, count=<optimized out>, numInstances=1)
    at vbo/vbo_exec_array.c:635
#20 0x00000000004539bc in piglit_draw_rect_tex (x=0, y=0, w=32, h=32, tx=0,
ty=0, tw=1, th=1)
    at piglit/tests/util/piglit-util-gl.c:817
#21 0x000000000042a2ba in test (dim=1, samples=1024) at
piglit/tests/shaders/fp-indirections2.c:182
#22 0x000000000042a40d in piglit_display () at
piglit/tests/shaders/fp-indirections2.c:214
#23 0x000000000042a52d in display () at piglit/tests/util/piglit-framework.c:56
#24 0x00007fcb7c033220 in ?? () from /usr/lib/libglut.so.3
#25 0x00007fcb7c036939 in fgEnumWindows () from /usr/lib/libglut.so.3
#26 0x00007fcb7c03365a in glutMainLoopEvent () from /usr/lib/libglut.so.3
#27 0x00007fcb7c033f65 in glutMainLoop () from /usr/lib/libglut.so.3
#28 0x000000000042ac9c in main (argc=1, argv=0x7ffface85c88) at
piglit/tests/util/piglit-framework.c:304
(gdb) frame 3
#3  0x00007fcb78ab30ce in nv_alloc_instruction (opcode=<optimized out>,
pc=<optimized out>) at nv50_pc.h:351
351       assert(pc->num_instructions < NV_PC_MAX_INSTRUCTIONS);

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


More information about the mesa-dev mailing list