From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 10D793858C2D for ; Tue, 8 Feb 2022 10:18:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 10D793858C2D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from reform (deer0x16.wildebeest.org [172.31.17.152]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 6F9F63000A21; Tue, 8 Feb 2022 11:18:08 +0100 (CET) Received: by reform (Postfix, from userid 1000) id CA44F2E81619; Tue, 8 Feb 2022 11:18:07 +0100 (CET) Date: Tue, 8 Feb 2022 11:18:07 +0100 From: Mark Wielaard To: buildbot@builder.wildebeest.org Cc: elfutils-devel@sourceware.org Subject: Re: Buildbot failure in Wildebeest Builder on whole buildset Message-ID: References: <20220207202747.2F79C801EA3@builder.wildebeest.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2022 10:18:11 -0000 Hi, On Mon, Feb 07, 2022 at 11:29:34PM +0100, Mark Wielaard wrote: > On Mon, Feb 07, 2022 at 09:46:26PM +0100, Mark Wielaard wrote: > > This is an odd one. It happens during make distcheck, after make check passed. > > > > FAIL: run-readelf-compressed-zstd.sh > > ==================================== > > /srv/buildbot/worker/elfutils-fedora-x86_64/build/elfutils-0.186/_build/sub/src/readelf: failed reading 'hello_i386.ko.zst': zstd decompression failed > > > > Which would mean that zstd decompresssion only failed when using > > -fsanitize=undefined and/or running under valgrind (both are enabled > > by distcheck, but aren't used during the previous make check). > > Replicated on an updated Fedora 35, run-readelf-compressed-zstd.sh > passes without valgrind, but fails running under valgrind. > > Specifically: > $ cp tests/hello_i386.ko.bz2 . > $ bunzip2 hello_i386.ko.bz2 > $ zstd hello_i386.ko > $ LD_LIBRARY_PATH=libelf:libdw src/readelf -a hello_i386.ko.zst > /dev/null > $ LD_LIBRARY_PATH=libelf:libdw valgrind -q src/readelf -a hello_i386.ko.zst > src/readelf: failed reading 'hello_i386.ko.zst': zstd decompression failed > > I haven't figured out why yet. Still not much progress. Under valgrind ZSTD_decompressStream does indeed return an error: ZSTD_decompressStream: -20 (1) Corrupted block detected Will have to trace that with/without valgrind to figure out if it is a bug in valgrind or some memory operation that behaves different under valgrind that causes an issue in ZSTD_decompressStream. Cheers, Mark