libressl/portable

solaris_ci regression

Closed this issue · 5 comments

I've added gmake -j2 check || (cat tests/test-suite.log && exit 1)
(probably, I'll add something like that in PR)

build link:
https://github.com/chipitsine/portable/actions/runs/5879700788/job/15944351160#step:4:18195

 libressl 3.8.1: tests/test-suite.log
  ==========================================
  # TOTAL: 124
  # PASS:  117
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  7
  # XPASS: 0
  # ERROR: 0
  .. contents:: :depth: 2
  FAIL: aeadtest.sh
  =================
  ./aeadtest.sh: line 7: 7289: Memory fault(coredump)
  ../test-driver: line 112: 7287: Memory fault(coredump)
  FAIL aeadtest.sh (exit status: 267)
  FAIL: apitest
  =============
  == Testing SSL_get_peer_cert_chain()... ==
  ../test-driver: line 112: 7297: Memory fault(coredump)
  FAIL apitest (exit status: 267)
  FAIL: gcm128test
  ================
  ../test-driver: line 112: 7566: Memory fault(coredump)
  FAIL gcm128test (exit status: 267)
  FAIL: signertest
  ================
  ../test-driver: line 112: 7687: Memory fault(coredump)
  FAIL signertest (exit status: 267)
  FAIL: ssl_get_shared_ciphers
  ============================
  ../test-driver: line 112: 7699: Memory fault(coredump)
  FAIL ssl_get_shared_ciphers (exit status: 267)
  FAIL: ssltest.sh
  ================
  WARNING: can't open config file: /usr/local/etc/ssl/openssl.cnf
  LibreSSL 3.8.1
  WARNING: can't open config file: /usr/local/etc/ssl/openssl.cnf
  test sslv2/sslv3
  ./testssl: line 21: 7731: Memory fault(coredump)
  FAIL ssltest.sh (exit status: 1)
  FAIL: tlstest.sh
  ================
  ./tlstest.sh: line 13: 7855: Memory fault(coredump)
  ../test-driver: line 112: 7854: Memory fault(coredump)
  FAIL tlstest.sh (exit status: 267)
botovq commented

I'm trying to get backtrace (from github actions)

gcm128test:

GNU gdb (GDB) 8.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-solaris2.11".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./gcm128test...done.
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x00000000004066ed in CRYPTO_gcm128_init (ctx=ctx@entry=0x7fffbfffe9a0, 
    key=key@entry=0x7fffbfffe8a0, block=<optimized out>) at modes/gcm128.c:654
654		ctx->H.u[0] = be64toh(ctx->H.u[0]);
A debugging session is active.
	Inferior 1 [process 8232    ] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
botovq commented

identical backtrace for signertest

  GNU gdb (GDB) 8.0
  Copyright (C) 2017 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-pc-solaris2.11".
  Type "show configuration" for configuration details.
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>.
  Find the GDB manual and other documentation resources online at:
  <http://www.gnu.org/software/gdb/documentation/>.
  For help, type "help".
  Type "apropos word" to search for commands related to "word"...
  Reading symbols from ./signertest...done.
  [Thread debugging using libthread_db enabled]
  [New Thread 1 (LWP 1)]
  
  Thread 2 received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 1 (LWP 1)]
  0x000000000054d79d in CRYPTO_gcm128_init (ctx=ctx@entry=0x743ba8, 
      key=key@entry=0x743ab0, block=<optimized out>) at modes/gcm128.c:654
  654		ctx->H.u[0] = be64toh(ctx->H.u[0]);
  A debugging session is active.
  
  	Inferior 1 [process 8231    ] will be killed.
  
  Quit anyway? (y or n) [answered Y; input not from terminal]