Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Graphics, Gaming, and VR forum
Segmentation Fault: OpenGLES 2.0 emulator 1.2.0 linux 64-bit
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
136 subscribers
Views
7777 views
Users
0 members are here
OpenGL ES
Options
Share
More actions
Cancel
Related
How was your experience today?
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 11 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
Lutz Aicher
over 11 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
Up
0
Down
Cancel
Zeeshan Anwar
over 11 years ago
Note: This was originally posted on 9th June 2011 at
http://forums.arm.com
I also get segmentation fault even after using -m32 flag.
---
zeeshan
Cancel
Up
0
Down
Cancel
Lutz Aicher
over 11 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
Up
0
Down
Cancel