Menu

#7 OpenVPN crashing on exit

git master branch
open
nobody
None
5
2013-08-25
2013-08-25
No

I am using Ununtu 12.04 LTS and self-compiled gopenvpn. Everything works really great, but when i`m disconnecting connection OpenVPN crashing:

[20893.835263] openvpn[28373]: segfault at 7fffe1c39ff8 ip 00007f8bcf54106e sp 00007fffe1c3a000 error 6 in libc-2.15.so[7f8bcf4c5000+1b5000]

It was especially annoying because ubuntu asking me to send bug report to the OpenVPN developer. With strace I found that problem is related to the closed openvpn pipe. OpenVPN expecting that client will read all the output after receiving "signal SIGTERM\r\n" command on control port. So i created a patch to do this. Now OpenVPN/gopenvpn works fine w/o crashing on disconnect.

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.