VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1819 - 1821 of 16363)

Ticket Resolution Summary Owner Reporter
#7395 fixed glGetVertexAttrib[if]v returns superfluous data -> memory corruption -> Fixed in SVN kuroneko
Description

Host: Windows Vista, guest: Windows XP/SP3 with guest additions 3.2.8r64453

I'm aware that 3D support is experimental but so far I did't have any issues apart from the memory corruption caused by glGetVertexAttrib[if]v.

This function allows for 7 different name parameters:

GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING GL_VERTEX_ATTRIB_ARRAY_ENABLED GL_VERTEX_ATTRIB_ARRAY_SIZE GL_VERTEX_ATTRIB_ARRAY_STRIDE GL_VERTEX_ATTRIB_ARRAY_TYPE GL_VERTEX_ATTRIB_ARRAY_NORMALIZED GL_CURRENT_VERTEX_ATTRIB

The first 6 return a *single* GLint/GLfloat, the last one returns 4. What I experience is that the first 6 names return 4 parameters as well (the real one and garbage), therefore corrupting program variable/stack info which usually kills my program. This does not happen when running natively under Vista or XP.

As a side note, using GL_CURRENT_VERTEX_ATTRIB for index 0 should fail.

I'll attach a modified NeHe lesson (#6) which issues the relevant call (around line 200) and asserts when too much data is returned.

#8916 fixed glGetString(GL_VERSION) must not depend on locale -> Fixed in SVN Loïc Yhuel
Description

With LANG=fr_FR, glGetString(GL_VERSION) returns "2,0 Chromium 1.9" instead of "2.1 Chromium 1.9"
It's not visible with glxinfo since there is no setlocale call, but it makes gnome-shell segfault on start : clutter uses a NULL pointer when trying to call glBlendEquation (it only sets the pointer if it detects OpenGL >= 1.2, and it doesn't support the comma so detected version is 0.0).

In src/VBox/Additions/common/crOpenGL/pack/packspu_getstring.c :

  • in packspu_GetString, using sprintf with "%.1f Chromium %s" depends on the language
  • in GetVersionString, usage of crStrToFloat is probably wrong since the string uses '.' (I did not test, but I suppose "2.1" is converted to 2.0f here)

In src/VBox/GuestHost/OpenGL/state_tracker/state_limits.c :

  • in crStateComputeVersion, same thing as above, CR_OPENGL_VERSION_STRING is "2.1", which doesn't work with crStrToFloat(atof) for all languages
#8925 fixed glGetShaderSource doesn't zero-terminate source string kuroneko
Description

This has been observed for windows and Mac OS hosts.

Once the source length (including terminator) has been established through glGetShaderiv() a buffer is allocated. The call to glGetShaderSource() is now supposed to fill this buffer with the shader source which *is* zero-terminated. The fill length is reported without said terminator (i.e. strlen(src)).

What I observe is that the length is reported correctly, the shader source itself is correct but the zero-terminator is missing.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy