xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 2 and Version 3 of Ticket #314


Ignore:
Timestamp:
04/16/13 09:59:56 (8 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #314 – Description

    v2 v3  
    2525Looks like a bad pointer somewhere. Note: I reproduced the exact same values above twice..
    2626[[BR]]
    27 * Also seeing this message when closing the application:
     27* Also seeing this message when closing the application - but I think this one may well be a separate issue:
    2828{{{
    29 OpenGL Warning: Assertion failed: ctx>fAutoFlush, file D:\tinderbox\add-4.2\src\VBox\Additions\common\crOpenGL\pack\packspu_misc.c, line 648
     29OpenGL Warning: Assertion failed: ctx>fAutoFlush, \
     30  file D:\tinderbox\add-4.2\src\VBox\Additions\common\crOpenGL\pack\packspu_misc.c, line 648
    3031}}}
    31 
     32The {{{VBox}}} {{{Additions}}} source can be found [http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c here], this assertion is in {{{packspu_VBoxDetachThread}}}:
     33{{{
     34for (i=0; i<CR_MAX_CONTEXTS; ++i)
     35            {
     36                ContextInfo *ctx = &pack_spu.context[i];
     37                if (ctx->currentThread == thread)
     38                {
     39                    CRASSERT(ctx->fAutoFlush);
     40                    ctx->currentThread = NULL;
     41                }
     42            }
     43}}}
     44Looks like it expects {{{fAutoFlush}}} to be true because the thread matches.
     45Maybe when we cleanup we end up closing the window from the wrong thread.
    3246[[BR]]
    3347AFAICT, this happens with all versions of {{{VirtualBox}}}, up to and including 4.2.12
     
    445803:59:02.886692 OpenGL Info: Render SPU: GL_RENDERER: ATI Radeon HD 5450     
    455903:59:02.886716 OpenGL Info: Render SPU: GL_VERSION:  4.2.12002 Compatibility Profile Context 9.002
    46 03:59:02.886770 OpenGL Info: Render SPU: GL_EXTENSIONS: GL_AMDX_debug_output GL_AMDX_vertex_shader_tessellator (...)
     6003:59:02.886770 OpenGL Info: Render SPU: GL_EXTENSIONS: GL_AMDX_debug_output (...)
    476103:59:22.734485 Switching Gl mode off
    486204:00:14.899835 Switching Gl mode on