openvpn dies in recent -CURRENT



Hi. Openvpn dies with an illegal instruction error in recent -CURRENTs. (I guess currents with the new gcc.)

Running through a debugger gives:-

Starting program: /usr/local/sbin/openvpn /usr/local/etc/openvpn/openvpn.conf

Program received signal SIGILL, Illegal instruction.
0x0000000800868dd0 in PEM_read_bio_X509 (bp=0x800e4b080, x=0x0,
cb=0x439e70 <pem_password_callback>, u=0x0) from /lib/libcrypto.so.5
(gdb) bt
#0 0x0000000800868dd0 in PEM_read_bio_X509 (bp=0x800e4b080, x=0x0,
cb=0x439e70 <pem_password_callback>, u=0x0) from /lib/libcrypto.so.5
#1 0x00000008006b14e8 in SSL_CTX_use_certificate_file (ctx=0x800e3d1c0,
file=0x800e1a0e8 "/usr/local/etc/openvpn/mboland.crt", type=Variable "type" is not available.
)
at /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_rsa.c:481
#2 0x000000000043b0f8 in init_ssl ()
#3 0x0000000000413a04 in init_instance ()
#4 0x0000000000413ecd in init_instance_handle_signals ()
#5 0x0000000000422b7f in main ()
(gdb) disas
Dump of assembler code for function PEM_read_bio_X509:
0x0000000800868dd0 <PEM_read_bio_X509+0>: ud2a
End of assembler dump.

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ruby-1.8.6 and GCC-4.2 issues
    ... Illegal instruction ... GDB is free software, covered by the GNU General Public License, and you are ... Core was generated by `ruby18'. ... Loaded symbols for /lib/libcrypt.so.3 ...
    (freebsd-current)
  • Illegal Instruction and Frame pointer overwriting
    ... From there it travels up the memory untill it hits a certain address ... I am able to check execution flow by examining the memory (using ... Here is some gdb output for you to chew on: ... Program received signal SIGILL, Illegal instruction. ...
    (Vuln-Dev)
  • How to investigate crash inside LIBC ?
    ... Test program and shared lib compiled with GCC 3.3.3. ... The GDB shows the following: ... 0x1000f110 in exit ... Program received signal SIGILL, Illegal instruction. ...
    (comp.unix.aix)
  • Re: big troubles in little libc
    ... but using LD_PRELOAD inside gdb makes this a ... Program received signal SIGILL, Illegal instruction. ... 0x40702641 in kill from /lib/libc.so.6 ...
    (Debian-User)
  • Illegal Instruction on Mac OS X Intel
    ... Illegal instruction ... The gdb output looks like this: ... Reading symbols for shared libraries .. ...
    (comp.lang.tcl)