I can reproduce this here too. I got a backtrace (see below) and took a
look around s_linetemp.h. There is no INTERP_W for lines so the
assertion must fail for textured lines.

Don't worry about the segfault, that's my own assert macro. Without that
I can't get a backtrace with my gdb+glibc combination. For the same
reason line numbers are off by 7 in s_span.c (sorry for the
inconvenience).

s_span.c(572): interpolate_texcoords: Assertion 'span->interpMask & SPAN_W' failed.
 
Program received signal SIGSEGV, Segmentation fault.
0x4078a369 in interpolate_texcoords (ctx=0x80d6740, span=0xbfffee50)
    at s_span.c:573
573                 for (i = 0; i < span->end; i++) {
(gdb) bt
#0  0x4078a369 in interpolate_texcoords (ctx=0x80d6740, span=0xbfffee50)
    at s_span.c:573
#1  0x40788f45 in _swrast_write_texture_span (ctx=0x80d6740, span=0xbfffee50)
    at s_span.c:1384
#2  0x4077e040 in textured_line (ctx=0x80d6740, vert0=0xbffff150,
    vert1=0xbffff1f4) at s_linetemp.h:428
#3  0x40774937 in _swrast_validate_line (ctx=0x80d6740, v0=0xbffff150,
    v1=0xbffff1f4) at s_context.c:299
#4  0x40773ec6 in _swrast_Line (ctx=0x80d6740, v0=0xbffff150, v1=0xbffff1f4)
    at s_context.c:497
#5  0x408154ba in savage_fallback_line (imesa=0x80d5fa0, v0=0x489fe020,
    v1=0x489fe040) at savagetris.c:464
#6  0x4080de45 in line_fallback (ctx=0x80d6740, e0=0, e1=1)
    at /home/src/mesa/trunk/Mesa/src/mesa/tnl_dd/t_dd_tritmp.h:640
#7  0x407c7bea in _tnl_render_lines_verts (ctx=0x80d6740, start=0, count=8,
    flags=49) at t_vb_rendertmp.h:92
#8  0x407c90a3 in run_render (ctx=0x80d6740, stage=0x826046c)
    at t_vb_render.c:323
#9  0x407b4ebb in _tnl_run_pipeline (ctx=0x80d6740) at t_pipeline.c:159
#10 0x407d4078 in _tnl_flush_vtx (ctx=0x80d6740) at t_vtx_exec.c:282
#11 0x407d086c in _tnl_FlushVertices (ctx=0x80d6740, flags=1)
    at t_vtx_api.c:833
#12 0x406ff80f in _mesa_set_enable (ctx=0x80d6740, cap=2852, state=0 '\0')
---Type <return> to continue, or q <return> to quit---q
 at enQuit


On Fri, 23 Apr 2004 01:31:35 +0100
Sérgio Monteiro Basto <[EMAIL PROTECTED]> wrote:

> Hi
> today after update srcs from cvs trunk (Mesa, drm and xc )
> 
> got this error on foobillard 2.9, I send gdb of the bug in debug.txt
> file.
> 
> thanks
> -- 
> Sérgio M. B.
> 


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to