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 Reply Children
No data