This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Segmentation Fault: OpenGLES 2.0 emulator 1.2.0 linux 64-bit

Note: This was originally posted on 16th March 2011 at http://forums.arm.com

Hi there,

I have installed Mali OpenGLES 2.0 emulator v 1.2.0 on my Ubuntu 10.10 (64-bit) machine. I am able to successfully build the cube example program available with the emulator. However, when I try to run the program, I get a segmentation fault. Here is GDB backtrace:


(gdb) r
Starting program:~/ARM/Mali_Developer_Tools/OpenGL_ES_2_0_Emulator_1.2.0/example/cube/cube
warning: the debug information found in "/lib/ld-2.12.1.so" does not match "/lib/ld-linux.so.2" (CRC mismatch).

[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0xf7e83b6c in GLES2_InitializeContext(GLES2_sContext*) ()
   from /home/local/SERILOCAL/z.anwar/ARM/Mali_Developer_Tools/OpenGL_ES_2_0_Emulator_1.2.0/bin/libGLESv2.so

(gdb) bt
#0  0xf7e83b6c in GLES2_InitializeContext(GLES2_sContext*) ()
   from /home/local/SERILOCAL/z.anwar/ARM/Mali_Developer_Tools/OpenGL_ES_2_0_Emulator_1.2.0/bin/libGLESv2.so
#1  0xf7e83e69 in GLES2_MakeCurrent ()
   from /home/local/SERILOCAL/z.anwar/ARM/Mali_Developer_Tools/OpenGL_ES_2_0_Emulator_1.2.0/bin/libGLESv2.so
#2  0xf7e3bda2 in makeCurrent ()
   from /home/local/SERILOCAL/z.anwar/ARM/Mali_Developer_Tools/OpenGL_ES_2_0_Emulator_1.2.0/bin/libEGL.so
#3  0xf7e3e647 in eglMakeCurrent ()
   from /home/local/SERILOCAL/z.anwar/ARM/Mali_Developer_Tools/OpenGL_ES_2_0_Emulator_1.2.0/bin/libEGL.so
#4  0x08049864 in main (argc=1, argv=0xffffd194) at src/cube.c:252

I have got ATI Radeon HD 5670 graphics card with driver version 8·78.3 (OpenGL version 4.0.10237).

BR,
Zeeshan
Parents
  • Note: This was originally posted on 29th June 2011 at http://forums.arm.com

    Hy Anthony,

    Thank you for your reply. I installed the package you mentioned, but the cube demo still stops with the same fault. GDB output looks still the same.


    > glxinfo | grep -i GLX
    server glx vendor string: Brian Paul
    server glx version string: 1.4 Mesa 7.7.1
    server glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
    client glx vendor string: Brian Paul
    client glx version string: 1.4 Mesa 7.7.1
    client glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
    GLX version: 1.4
    GLX extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
    64 GLX Visuals
    64 GLXFBConfigs:

    rest of the system stayed the same.

    Thanks

      lutz
Reply
  • Note: This was originally posted on 29th June 2011 at http://forums.arm.com

    Hy Anthony,

    Thank you for your reply. I installed the package you mentioned, but the cube demo still stops with the same fault. GDB output looks still the same.


    > glxinfo | grep -i GLX
    server glx vendor string: Brian Paul
    server glx version string: 1.4 Mesa 7.7.1
    server glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
    client glx vendor string: Brian Paul
    client glx version string: 1.4 Mesa 7.7.1
    client glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
    GLX version: 1.4
    GLX extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
    64 GLX Visuals
    64 GLXFBConfigs:

    rest of the system stayed the same.

    Thanks

      lutz
Children
No data