g-truc/ogl-samples

Linux sse3 segfault

holocronweaver opened this issue · 2 comments

Due to the recent commits I can now get Linux builds to compile (thanks for that!), but running ANY sample results in (via gdb):

Program received signal SIGSEGV, Segmentation fault.
__memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1704
1704    ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: No such file or directory.

I am using glibc version 2.17 on Ubuntu 13.04 x64 with latest updates. I have no problem compiling or running any other OpenGL related apps, including those using SSE3 optimizations. I have never encountered this error before in any other context.

ldd output:

linux-vdso.so.1 =>  (0x00007fff233fe000)
libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007f03dda75000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f03dd70f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f03dd4f2000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f03dd2e8000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f03dd0d8000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f03dced1000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f03dccc9000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f03dc9c6000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f03dc6c0000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f03dc4aa000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f03dc0e1000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f03dbece000)
libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0x00007f03dbdb1000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f03dbb93000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f03db98e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f03ddc56000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f03db784000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f03db57f000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f03db379000)

NEVER MIND! Apparently a system library or kernel update occurred without my noticing and a simple reboot fixed the problem. Closing issue.

A similar problem here: https://stackoverflow.com/questions/11507675/memcpy-ssse3-segmentation-fault
Either a freed memory op. or a memory alignment problem.