id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 613,OpenVPN crashes with SIGSEGV when no certificate available,r.sokoll,Gert Döring," {{{ # /usr/local/openvpn/sbin/openvpn --version OpenVPN 2.3.6 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Dec 4 2014 library versions: OpenSSL 1.0.1k 8 Jan 2015, LZO 2.06 }}} If I try to start openvpn from the command line, it crashes with SIGSEGV, see the output from strace: {{{ access(""/usr/local/openvpn/conf/keys/dh2048.pem"", R_OK) = 0 access(""/usr/local/openvpn/conf/keys-new/cert.cabundle"", R_OK) = 0 access(""/usr/local/openvpn/conf/keys-new/wildcard.crt"", R_OK) = -1 ENOENT (No such file or directory) fstat(1, {st_mode=S_IFREG|0600, st_size=2169, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5b24d80000 write(1, ""Options error: --cert fails with""..., 108) = 108 access(""/usr/local/openvpn/conf/keys-new/wildcard.key"", R_OK) = -1 ENOENT (No such file or directory) write(1, ""Options error: --key fails with ""..., 107) = 107 access(""/usr/local/openvpn/run"", R_OK|W_OK|X_OK) = 0 access(""/usr/local/openvpn/run/openvpn-ish.tcp.new.pid"", F_OK) = -1 ENOENT (No such file or directory) access(""/var/log/openvpn"", R_OK|W_OK|X_OK) = 0 access(""/var/log/openvpn/status.new.tcp"", F_OK) = -1 ENOENT (No such file or directory) access(""/tmp"", R_OK|W_OK|X_OK) = 0 write(1, ""Options error: Please correct th""..., 44) = 44 write(1, ""Use --help for more information.""..., 33) = 33 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV +++ }}} Obviously, it is my fault since I have wrong file names in the config. Nevertheless, openvpn should complain and not just crash. ",Bug / Defect,closed,minor,release 2.3.12,Generic / unclassified,OpenVPN 2.3.5 (Community Ed),"Not set (select this one, unless your'e a OpenVPN developer)",worksforme,,David Sommerseth