openvpn-auth-ldap
openvpn-auth-ldap copied to clipboard
segfault libobjc4
#uname -a Linux 09e25e1e8cd7 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 Linux
when starting the openvpn service it results in a segfault segfault at 0 ip 00007fa790601af1 sp 00007fffc6cf8520 error 4 in libobjc.so.4.0.0[7fa7905f7000+20f000]
I am having the exact same problem. My openvpn runs in a docker container with alpine linux and starts well without auth-ldap activated. I search for a few days now and not making any pogress :( Here is some strace output: https://gist.github.com/claudio-walser/fcba7842beb04070633ec1bf6f76980a In dmesg i also have the same error with libobjc: [856394.633688] openvpn[11465]: segfault at 0 ip 00007faea4a2676f sp 00007ffd511973e0 error 4 in libobjc.so.4.0.0[7faea4a1c000+20f000]
Related debian bug from 2011: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641811
Their fix at the time was to build openvpn-auth-ldap with gcc 4.6 instead of 4.7.
Try to apply auth-ldap-2.0.3-gnustep.patch. And build --with-objc-runtime=modern.
Did this get fixed?
@nemaniarjun no, still the same. But I found way how to make it works. You can find it in my repo https://github.com/ivanovUA/docker-openVPN/blob/master/Dockerfile