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
8217 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 9th June 2011 at
http://forums.arm.com
Hy Anthony,
I have got the same problem, but including the compile switch -m32 does not fix the problem.
The gdb output is similar.
> glxinfo | grep -i glx
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap
64 GLX Visuals
96 GLXFBConfigs:
> lspci | grep -i displ
01:00.1 Display controller: ATI Technologies Inc RV516 [Radeon X1300 Pro] (Secondary)
> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
I do not use the fglrx driver, but the mesa driver that comes with Ubuntu
Thanks
lutz
Cancel
Vote up
0
Vote down
Cancel
Reply
Lutz Aicher
over 12 years ago
Note: This was originally posted on 9th June 2011 at
http://forums.arm.com
Hy Anthony,
I have got the same problem, but including the compile switch -m32 does not fix the problem.
The gdb output is similar.
> glxinfo | grep -i glx
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap
64 GLX Visuals
96 GLXFBConfigs:
> lspci | grep -i displ
01:00.1 Display controller: ATI Technologies Inc RV516 [Radeon X1300 Pro] (Secondary)
> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
I do not use the fglrx driver, but the mesa driver that comes with Ubuntu
Thanks
lutz
Cancel
Vote up
0
Vote down
Cancel
Children
No data