Subject: | Bus error on FreeBSD 10 systems |
t/02-verify-good-cert.t and t/03-verify-bad-cert.t fail with bus errors on my FreeBSD 10.3 smokers:
...
$ gdb perl5.18.4
...
(gdb) set args -Mblib t/02-verify-good-cert.t
(gdb) r
...
ok 1
ok 2
ok 3
1..3
Program received signal SIGBUS, Bus error.
[Switching to Thread 801c06400 (LWP 100119/perl)]
0x0000000802cf2465 in sk_pop_free () from /lib/libcrypto.so.7
(gdb) bt
#0 0x0000000802cf2465 in sk_pop_free () from /lib/libcrypto.so.7
#1 0x0000000802d3903a in i2d_X509_AUX () from /lib/libcrypto.so.7
#2 0x0000000802d67524 in ASN1_item_free () from /lib/libcrypto.so.7
#3 0x0000000802d673f7 in ASN1_item_free () from /lib/libcrypto.so.7
#4 0x000000080241340b in XS_Crypt__OpenSSL__X509_DESTROY (cv=<value optimized out>) at X509.xs:348
#5 0x00000000004aabb7 in Perl_pp_entersub ()
#6 0x000000000043b119 in Perl_call_sv ()
#7 0x00000000004b4ffd in S_curse ()
#8 0x00000000004b473e in Perl_sv_clear ()
#9 0x00000000004b525f in Perl_sv_free2 ()
#10 0x00000000004cef6f in Perl_leave_scope ()
#11 0x00000000004d6dda in Perl_pp_leave ()
#12 0x00000000004a4323 in Perl_runops_standard ()
#13 0x000000000043a9a0 in perl_run ()
#14 0x0000000000420c16 in main ()
I don't observe this problem on other systems (freebsd 9.2, various linux distributions).