Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
Segmentation Fault: OpenGLES 2.0 emulator 1.2.0 linux 64-bit
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
136 subscribers
Views
8215 views
Users
0 members are here
OpenGL ES
Options
Share
More actions
Cancel
Related
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
Zeeshan Anwar
over 12 years ago
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
Lutz Aicher
over 12 years ago
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
Cancel
Vote up
0
Vote down
Cancel
Reply
Lutz Aicher
over 12 years ago
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
Cancel
Vote up
0
Vote down
Cancel
Children
No data