Bug 15261 (qglVertex2f)

Summary: Segfault in function qglVertex2f
Product: DRI Reporter: Dmitriy <h_a_d_e_s>
Component: libglxAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: highest    
Version: XOrg git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Dmitriy 2008-03-29 14:29:49 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb76ed6d0 (LWP 30281)]
viaEmitState (vmesa=0x182a8c70) at via_state.c:223
223     via_state.c: No such file or directory.
        in via_state.c
(gdb) bt full
#0  viaEmitState (vmesa=0x182a8c70) at via_state.c:223
        texObj = <value optimized out>
        ctx = (GLcontext *) 0x182aa9f0
        j = <value optimized out>
        _vb = <value optimized out>
        _nr = <value optimized out>
        _x = <value optimized out>
#1  0xb7157298 in viaRasterPrimitive (ctx=0x182aa9f0, glprim=4, hwprim=4) at via_tris.c:927
        vmesa = (struct via_context *) 0x182a8c70
        regCmdB = <value optimized out>
        _vb = <value optimized out>
        __FUNCTION__ = "viaRasterPrimitive"
        __PRETTY_FUNCTION__ = "viaRasterPrimitive"
#2  0xb714cede in via_fastrender_quads_verts (ctx=0x182aa9f0, start=0, count=1, flags=55)
    at ../../../../../src/mesa/tnl_dd/t_dd_dmatmp.h:626
        vmesa = (struct via_context *) 0x182a8c70
        j = <value optimized out>
#3  0xb714cd03 in via_run_fastrender (ctx=0x182aa9f0, stage=0x182f5cac) at via_render.c:113
        mode = 0
        start = 0
        length = <value optimized out>
        tnl = (TNLcontext *) 0x182f5ac8
        i = 0
#4  0xb71f2cd3 in _tnl_run_pipeline (ctx=0x182aa9f0) at tnl/t_pipeline.c:158
        tnl = (TNLcontext *) 0x182f5ac8
        __tmp = 895
        i = 6
        mask = 63
#5  0xb71566e0 in viaRunPipeline (ctx=0x182aa9f0) at via_tris.c:1160
        vmesa = (struct via_context *) 0x2
#6  0xb71f3251 in _tnl_draw_prims (ctx=0x182aa9f0, arrays=0x182e3ef8, prim=0x182e2a54, nr_prims=1, ib=0x0,
    min_index=0, max_index=0) at tnl/t_draw.c:402
        bo = {0x3f12fa33, 0x9, 0x3f1813b7, 0x3f1a97bb, 0x3f1d15c8, 0x3f1f8dc7, 0x3f21ffa0, 0x3f246b3a,
  0x3f26d07c, 0x3f292f4b, 0xde1, 0x0, 0xa, 0x3f32687d, 0x8, 0x3f36dc2c, 0x18a7dd1c, 0x3f3b33a8, 0x3f3d549e,
  0x3f3f6e46, 0x3f41808e, 0x3f438b5f, 0x3f458ea7, 0x3f478a4c, 0x3f497e44, 0x3f4b6a78, 0x3f4d4ed5,
---Type <return> to continue, or q <return> to quit---
  0x3f4f2b47, 0x3f50ffbc, 0x3f52cc23, 0x3f549069, 0x3f564c7d, 0x3f58004e}
        nr_bo = 0
        tnl = (TNLcontext *) 0x182f5ac8
#7  0xb71ebdc0 in vbo_exec_vtx_flush (exec=0x182e2930) at vbo/vbo_exec_draw.c:215
        ctx = (GLcontext *) 0x182aa9f0
#8  0xb71e8358 in vbo_exec_FlushVertices (ctx=0x182aa9f0, flags=1) at vbo/vbo_exec_api.c:700
        exec = (struct vbo_exec_context *) 0x182e2930
#9  0xb7289061 in enable_texture (ctx=0x182aa9f0, state=<value optimized out>, bit=0) at main/enable.c:207
        curr = 1
        newenabled = 0
#10 0xb728b8d3 in _mesa_set_enable (ctx=0x182aa9f0, cap=3553, state=240 '�') at main/enable.c:595
        newenabled = <value optimized out>
#11 0xb728cece in _mesa_Disable (cap=3553) at main/enable.c:974
No locals.
#12 0x0811128a in R_DrawFlatGeoscape (x=0, y=0, w=1024, h=768, p=0.25, q=-1.77736676, cx=0.5, cy=0.5,
    iz=0.5, map=0x816e010 "map_earth") at src/renderer/r_draw.c:527
        gl = (image_t *) 0x1146670c
        nx = 0
        ny = 0
        nw = 800
        nh = 600
        __PRETTY_FUNCTION__ = "R_DrawFlatGeoscape"
#13 0x080a17f8 in MAP_DrawMap (node=0x15e85ce0) at src/client/cl_map.c:1372
        q = -1.77736676
        base = (base_t *) 0x300
        distance = 9.38528527e-26
        __PRETTY_FUNCTION__ = "MAP_DrawMap"
#14 0x080d33be in MN_DrawMenus () at src/client/menu/m_draw.c:326
        node = (menuNode_t *) 0x15e85ce0
        menu = (menu_t *) 0x1664dea8
        ref = 0x0
        font = 0x3ff00000 <Address 0x3ff00000 out of bounds>
        source = '\0' <repeats 63 times>
        sp = 1
        pp = 0
---Type <return> to continue, or q <return> to quit---
        color = {0.800000012, 0.800000012, 0.800000012, 1}
        mouseOver = 1
        y = -1208238880
        i = -1077167752
        message = (message_t *) 0x81225c1
        width = 0
        height = 407260176
        itemHover = (const invList_t *) 0x0
        tab = 0xc3 <Address 0xc3 out of bounds>
        end = 0x8164e55 "R_Clear"
        __PRETTY_FUNCTION__ = "MN_DrawMenus"
#15 0x080bb1ce in SCR_UpdateScreen () at src/client/cl_screen.c:458
No locals.
#16 0x08099ed3 in CL_Frame (now=22902, data=0x0) at src/client/cl_main.c:2374
        delta = 54
        last_frame = 22902
#17 0x080edf88 in tick_timer (now=22902, data=0x18a5a118) at src/common/common.c:963
        timer = (struct timer *) 0x18a5a118
        old_interval = 11
        lateness = 1875
#18 0x080ee1e1 in Qcommon_Frame () at src/common/common.c:1044
        event = (struct event *) 0x18a7dc78
        time_to_next = 0
#19 0x0812d149 in main (argc=10, argv=0xbfcbbb04) at src/ports/linux/linux_main.c:102
No locals.
(gdb)
Comment 1 Roland Scheidegger 2008-03-31 07:58:38 UTC
Why file two bugs about the same issue? Closing this one as it looks like Unichrome driver issue.

*** This bug has been marked as a duplicate of bug 14900 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.