Skip to contentSkip to conversation

New: [i915g] src/gallium/drivers/i915/i915_fpc_translate.c:1101:i915_translate_token: Assertion `ifs->constant_flags[i] == 0x0' failed.

Bug 43768 [email protected] 1 participant 4 messages Dec 13, 2011 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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

             Bug #: 43768
           Summary: [i915g]
                    src/gallium/drivers/i915/i915_fpc_translate.c:1101:i91
                    5_translate_token: Assertion `ifs->constant_flags[i]
                    == 0x0' failed.
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/i915g
        AssignedTo: [email protected]
        ReportedBy: [email protected]

mesa: 23895cc006f3dbf96a502ddd15e291e071aff25a (master)

Run piglit glsl-fs-convolution-1 test on i915g.

$ ./bin/shader_runner tests/shaders/glsl-fs-convolution-1.shader_test -auto
src/gallium/drivers/i915/i915_fpc_translate.c:1101:i915_translate_token:
Assertion `ifs->constant_flags[i] == 0x0' failed.
Trace/breakpoint trap (core dumped)

(gdb) bt
#0 0x010eee18 in _debug_assert_fail (expr=0x1a68743 "ifs->constant_flags[i] == 0x0", file=0x1a683d8 "src/gallium/drivers/i915/i915_fpc_translate.c",

    line=1101, function=0x1a6884b "i915_translate_token") at

src/gallium/auxiliary/util/u_debug.c:278
#1 0x0109e0ad in i915_translate_token (p=0x98611f8, token=0x98a23f8, fs=0x98602f8) at src/gallium/drivers/i915/i915_fpc_translate.c:1101 #2 0x0109e372 in i915_translate_instructions (p=0x98611f8, tokens=0x9867890, fs=0x98602f8) at src/gallium/drivers/i915/i915_fpc_translate.c:1178 #3 0x0109e90c in i915_translate_fragment_program (i915=0x96ce8c0, fs=0x98602f8) at src/gallium/drivers/i915/i915_fpc_translate.c:1340 #4 0x010967d6 in i915_create_fs_state (pipe=0x96ce8c0, templ=0x98d977c) at src/gallium/drivers/i915/i915_state.c:577
#5 0x010c0910 in aaline_create_fs_state (pipe=0x96ce8c0, fs=0x98d977c) at src/gallium/auxiliary/draw/draw_pipe_aaline.c:856
#6 0x010c2a2f in aapoint_create_fs_state (pipe=0x96ce8c0, fs=0x98d977c) at src/gallium/auxiliary/draw/draw_pipe_aapoint.c:839
#7 0x0191d608 in st_translate_fragment_program (st=0x97bc488, stfp=0x98c9420, key=0xbfa60ca0) at src/mesa/state_tracker/st_program.c:710
#8 0x0191d729 in st_get_fp_variant (st=0x97bc488, stfp=0x98c9420, key=0xbfa60ca0) at src/mesa/state_tracker/st_program.c:747
#9 0x019c913d in update_fp (st=0x97bc488) at src/mesa/state_tracker/st_atom_shader.c:86
#10 0x019c543b in st_validate_state (st=0x97bc488) at src/mesa/state_tracker/st_atom.c:177
#11 0x01918144 in st_draw_vbo (ctx=0x97663d8, arrays=0x97bf8a0, prims=0xbfa60dec, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3)

    at src/mesa/state_tracker/st_draw.c:979

#12 0x019ab5ff in vbo_draw_arrays (ctx=0x97663d8, mode=7, start=0, count=4, numInstances=1) at src/mesa/vbo/vbo_exec_array.c:620
#13 0x019ab757 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at src/mesa/vbo/vbo_exec_array.c:651
#14 0x0809cbf6 in piglit_draw_rect (x=-1, y=-1, w=2, h=2) at piglit/tests/util/piglit-util-gl.c:647
#15 0x0807289d in piglit_display () at piglit/tests/shaders/shader_runner.c:1095
#16 0x08074147 in display () at piglit/tests/util/piglit-framework.c:56 #17 0x0062ec1e in fghRedrawWindow (window=0x96c6a28) at freeglut_main.c:210 #18 fghcbDisplayWindow (window=0x96c6a28, enumerator=0xbfa61118) at freeglut_main.c:227
#19 0x00632590 in fgEnumWindows (enumCallback=0x62eb20 <fghcbDisplayWindow>, enumerator=0xbfa61118) at freeglut_structure.c:394
#20 0x0062f02e in fghDisplayAll () at freeglut_main.c:249
#21 glutMainLoopEvent () at freeglut_main.c:1450
#22 0x0062f935 in glutMainLoop () at freeglut_main.c:1498
#23 0x0807487e in main (argc=2, argv=0xbfa61384) at piglit/tests/util/piglit-framework.c:294
(gdb) frame 1
#1 0x0109e0ad in i915_translate_token (p=0x98611f8, token=0x98a23f8, fs=0x98602f8) at src/gallium/drivers/i915/i915_fpc_translate.c:1101
1101 assert(ifs->constant_flags[i] == 0x0);
(gdb) info locals
i = 32
ifs = 0x98602f8
__FUNCTION__ = "i915_translate_token"
(gdb) print ifs->constant_flags[i]
$1 = 255 '\377'

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 43768] [i915g] src/gallium/drivers/i915/i915_fpc_translate.c:1101:i915_translate_token: Assertion `ifs->constant_flags[i] == 0x0' failed.

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

Pavel Ondračka <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Pavel Ondračka <[email protected]> 2011-12-31 05:49:52 PST --- *** Bug 44346 has been marked as a duplicate of this bug. ***

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 43768] [i915g] src/gallium/drivers/i915/i915_fpc_translate.c:1101:i915_translate_token: Assertion `ifs->constant_flags[i] == 0x0' failed.

In reply to [email protected]

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

Julien Nabet <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Julien Nabet <[email protected]> 2012-03-31 02:55:16 PDT --- *** Bug 47569 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 43768] [i915g] src/gallium/drivers/i915/i915_fpc_translate.c:1101:i915_translate_token: Assertion `ifs->constant_flags[i] == 0x0' failed.

In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #3 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/655.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel