Bug 15668

Summary: via_tex.c:429: viaSwapOutWork: (sz == vmesa->total_alloc[heap])
Product: Mesa Reporter: Dmitriy <h_a_d_e_s>
Component: OtherAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: high    
Version: 6.5   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Sample test for this bug

Description Dmitriy 2008-04-22 23:52:02 UTC
Created attachment 16122 [details]
Sample test for this bug

(gdb) run +set vid_fullscreen 0 +set vid_grabmouse 0
Starting program: /home/hades/src/test/test +set vid_fullscreen 0 +set vid_grabmouse 0
[Thread debugging using libthread_db enabled]
[New Thread 0xb725d8d0 (LWP 3431)]
test: via_tex.c:429: viaSwapOutWork: Проверочное утверждение `sz == vmesa->total_alloc[heap]' не выполнено.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb725d8d0 (LWP 3431)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7477ef5 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7479871 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb74710ee in __assert_fail () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4  0xb6e7684a in viaSwapOutWork (vmesa=0x808f168) at via_tex.c:429
        nr = 0
        sz = 0
        s = (struct via_tex_buffer *) 0x808f8ac
        tmp = (struct via_tex_buffer *) 0x808f8ac
        done = 0
        heap = 0
        target = 65536
        __FUNCTION__ = "viaSwapOutWork"
        __PRETTY_FUNCTION__ = "viaSwapOutWork"
#5  0xb6e775ec in viaWaitBreadcrumb (vmesa=0x808f168, value=0) at via_ioctl.c:438
        __FUNCTION__ = "viaWaitBreadcrumb"
        __PRETTY_FUNCTION__ = "viaWaitBreadcrumb"
#6  0xb6e77bba in viaWaitIdle (vmesa=0x808f168, light=0 '\0') at via_ioctl.c:463
        __FUNCTION__ = "viaWaitIdle"
#7  0xb6e7dc80 in viaSpanRenderStart (ctx=0x8091330) at via_span.c:149
No locals.
#8  0xb6f5182b in _swrast_render_start (ctx=0x6) at swrast/s_context.c:882
        swrast = (SWcontext *) 0x80bf5a0
#9  0xb6f842c6 in _swsetup_RenderStart (ctx=0x8091330) at swrast_setup/ss_context.c:192
        swsetup = (SScontext *) 0x80b2398
        tnl = (TNLcontext *) 0x80dbfc8
#10 0xb6e78d2f in via_run_fastrender (ctx=0x8091330, stage=0x80dc1ac) at via_render.c:97
        tnl = (TNLcontext *) 0x80dbfc8
        i = <value optimized out>
---Type <return> to continue, or q <return> to quit---
#11 0xb6f1ee53 in _tnl_run_pipeline (ctx=0x8091330) at tnl/t_pipeline.c:158
        tnl = (TNLcontext *) 0x80dbfc8
        __tmp = 895
        i = 6
        mask = 63
#12 0xb6e82820 in viaRunPipeline (ctx=0x8091330) at via_tris.c:1160
        vmesa = (struct via_context *) 0x0
#13 0xb6f1f3d1 in _tnl_draw_prims (ctx=0x8091330, arrays=0x80ca3e8, prim=0x80c8f44, nr_prims=1, ib=0x0,
    min_index=0, max_index=8) at tnl/t_draw.c:402
        bo = {0x20, 0x0, 0x0, 0x0, 0x98, 0x81aea08, 0x809cf7c, 0x1f570, 0xb757d3a0, 0xb6ec417e, 0x2,
  0x809cf7c, 0xbf9eaf4c, 0x20, 0x20, 0x1900, 0x1a00, 0xb6f9cd32, 0x81aea8c, 0x81aea90, 0x4, 0xb6ed176d,
  0x80, 0xb7047e7c, 0xbf9eadf8, 0xb6f135e9, 0x8091330, 0xc000, 0xb7598140, 0x81aea10, 0x1900, 0xb7047e7c,
  0xbf9eae18}
        nr_bo = 0
        tnl = (TNLcontext *) 0x80dbfc8
#14 0xb6f17f40 in vbo_exec_vtx_flush (exec=0x80c8e20) at vbo/vbo_exec_draw.c:215
        ctx = (GLcontext *) 0x8091330
#15 0xb6f144d8 in vbo_exec_FlushVertices (ctx=0x8091330, flags=1) at vbo/vbo_exec_api.c:700
        exec = (struct vbo_exec_context *) 0x80c8e20
#16 0xb6ede397 in _mesa_PolygonStipple (
    pattern=0xbf9eaecc "��\017������\017������\017����������\017������\017������\017������\017����������\017������\017������\017������\017����������\017������\017������\017������\017����������\017���������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017"...) at main/polygon.c:237
No locals.
#17 0x0804c505 in MyGLWidget::paintGL (this=0xbf9eb67c) at myglwidget.cpp:143
        rightpattern = "�����\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017������\017�\017����\017�\017�"
        leftpattern = "��\017������\017������\017����������\017������\017������\017������\017����������\017������\017������\017������\017����������\017������\017������\017������\017����������\017����"
#18 0xb7da6ebb in QGLWidget::glDraw () from /usr/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#19 0xb7da6725 in QGLWidget::paintEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0xb7b976a4 in QWidget::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0xb7b0118a in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0xb7b01f43 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0xb7a953e4 in QETWidget::translatePaintEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#24 0xb7a9fc80 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#25 0xb7aaffe6 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#26 0xb7b17b80 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#27 0xb7b17a16 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#28 0xb7b00cff in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#29 0x0804c22b in main (argc=Cannot access memory at address 0xd67
) at main.cpp:13
        app = <incomplete type>
        myglw = {<> = {<No data fields>}, static metaObj = 0x81a8d30}
(gdb)
Comment 1 Xavier Bachelot 2008-04-25 04:56:28 UTC

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

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.