[Petter Reinholdtsen]
It is unclear to me why you believe this should work. Can you tell me where you got the idea to run the shared library like this?
1. /usr/bin/ssr-glinject from simplescreenrecorder package sets LD_PRELOAD=/usr/$LIB/simplescreenrecorder/libssr-glinject.so which also segmentation faults 2. LD_PRELOAD=/path/to/libssr-glinject.so works if simplescreenrecorder is compiled from source from https://github.com/MaartenBaert/ssr [Petter Reinholdtsen]
I only use the package by starting simplescreenrecorder, so I have never seen the problem you are reporting before, and do not understand when it would occur in normal use.
How do you "Record OpenGL" glxgears? When I try to launch anything using "OpenGL settings..." silent segmentation fault happens. I know it's segmentation fault (launched "ls") because "sudo dmesg -c" outputs: [ 261.486120] ls[3859]: segfault at ffffffffffffffe8 ip 00007f315ab2fd9a sp 00007ffc03c91e50 error 5 in libstdc++.so.6.0.30[7f315aa99000+101000] likely on CPU 2 (core 2, socket 0) [ 261.486134] Code: ff eb b4 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 48 89 fd 53 48 89 f3 48 83 ec 08 48 8b 06 48 89 77 08 c6 07 00 <48> 8b 78 e8 48 01 f7 48 8b 87 d8 00 00 00 8b 77 20 48 85 c0 74 2a