Date: Tue, 31 Jan 2023 11:57:41 +0100 From: Frank Lichtenheld Message-ID: References: <20230130172936.3444840-1-arne@...1227...> <20230130172936.3444840-4-arne@...1227...> MIME-Version: 1.0 In-Reply-To: <20230130172936.3444840-4-arne@...1227...> Subject: Re: [Openvpn-devel] [PATCH 4/5] Add printing USAN stack trace on github actions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline To: Arne Schwabe Cc: openvpn-devel@lists.sourceforge.net On Mon, Jan 30, 2023 at 06:29:35PM +0100, Arne Schwabe wrote: > This allows identifying the source of undefined behaviour more easily > from the github action logs. > > Signed-off-by: Arne Schwabe > --- > .github/workflows/build.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml > index 6adb69563..132624547 100644 > --- a/.github/workflows/build.yaml > +++ b/.github/workflows/build.yaml > @@ -242,6 +242,9 @@ jobs: > > name: "clang-asan - ${{matrix.os}} - ${{matrix.ssllib}}" > > + env: > + UBSAN_OPTIONS: print_stacktrace=1 > + > runs-on: ${{matrix.os}} > steps: > - name: Install dependencies > @@ -291,6 +294,7 @@ jobs: > LDFLAGS: ${{ matrix.ldflags }} > OPENSSL_CFLAGS: "-I/usr/local/opt/${{matrix.libdir}}/include" > OPENSSL_LIBS: "-L/usr/local/opt/${{matrix.libdir}}/lib -lcrypto -lssl" > + UBSAN_OPTIONS: print_stacktrace=1 > steps: > - name: Install dependencies > run: brew install openssl@...2560... openssl@...1554... lzo lz4 man2html cmocka libtool automake autoconf libressl > @@ -400,6 +404,7 @@ jobs: > CFLAGS: ${{ matrix.cflags }} > LDFLAGS: ${{ matrix.ldflags }} > CC: ${{matrix.cc}} > + UBSAN_OPTIONS: print_stacktrace=1 > > steps: > - name: Install dependencies Acked-By: Frank Lichtenheld Trivial enough. Regards, -- Frank Lichtenheld