VirtualBox

Opened 13 years ago

Last modified 10 years ago

#9127 closed defect

gluBuild2DMipmaps crash — at Initial Version

Reported by: Jorge Owned by:
Component: 3D support Version: VirtualBox 4.0.10
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

My setup information:

Host: Windows 7
Guest: Ubuntu Lucid
Video card: NVidia 8700M GT

Test case:

#include <GL/glew.h>
#include <GL/glu.h>
#include <GL/glfw.h>

int main(int c, char** v)
{   
    glfwInit();

    glfwOpenWindow(100, 100, 0, 0, 0, 0, 16, 0, GLFW_WINDOW);

    GLuint iGLId;
    glGenTextures(1, &iGLId);
    glBindTexture(GL_TEXTURE_2D, iGLId);                                                                                         
    unsigned char iData[256*256*4];
    for (int i = 0; i < 256*256*4; i++)
        iData[i] = 255;

    gluBuild2DMipmaps(GL_TEXTURE_2D,
        4,
        256,
        256,
        GL_RGBA,
        GL_UNSIGNED_BYTE,
        &iData[0]);

    glBindTexture(GL_TEXTURE_2D, 0);
}

(Requires GLFW - "apt-get install libglfw-dev")

Crash stack trace:

0  0x003066e3 in __printf_fp () from /lib/tls/i686/cmov/libc.so.6
#1  0x003012a8 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
#2  0x0032170c in vsprintf () from /lib/tls/i686/cmov/libc.so.6
#3  0x0030a1db in sprintf () from /lib/tls/i686/cmov/libc.so.6
#4  0x008b8d19 in packspu_GetString () from /usr/lib/VBoxOGLpackspu.so
#5  0x007904f3 in cr_glGetString () from /usr/lib/dri/vboxvideo_dri.so
#6  0x0042bb16 in ?? () from /usr/lib/libGLU.so.1
#7  0x00433e38 in gluBuild2DMipmaps () from /usr/lib/libGLU.so.1
#8  0x08048912 in main ()
 

Change History (1)

by Jorge, 13 years ago

Attachment: VBox.log added

Log file of a sesson where the crash occurs.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use