From owner-freebsd-ports@freebsd.org Sun Feb 9 19:26:47 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 78ADA23FE65 for ; Sun, 9 Feb 2020 19:26:47 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48FzYd4brhz4RnW; Sun, 9 Feb 2020 19:26:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 1B1AA2601B1; Sun, 9 Feb 2020 20:26:36 +0100 (CET) Subject: Re: [CORE DUMP] Closing audacity leads to core dump To: Theron , FreeBSD Ports , "Conrad E. Meyer" References: From: Hans Petter Selasky Message-ID: <44679945-b5f6-194d-8395-6a5083fec3ab@selasky.org> Date: Sun, 9 Feb 2020 20:25:47 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48FzYd4brhz4RnW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; IP_SCORE(-2.66)[ip: (-9.20), ipnet: 2a01:4f8::/29(-2.52), asn: 24940(-1.56), country: DE(-0.02)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2020 19:26:47 -0000 On 2020-02-09 18:30, Theron wrote: > On 2020-02-09 10:57, Hans Petter Selasky wrote: >> I'm seeing a core-dump when closing audacity. This is a regression >> issue. Anyone else seeing this? >> > Yes.  I assumed it was partially my fault for mixing ports and packages > somewhere, but I guess it is a real issue. > > I've also seen this crash sometimes when using the "plot spectrum" tool, > but I can't reproduce it right now. > Reproduces 100% with Audacity (from pkg install). Observations: FreeBSD-11: works as expected FreeBSD-12: core-dumps I notice that trying to run: valgrind audacity Ends like this: > ==14015== Conditional jump or move depends on uninitialised value(s) > ==14015== at 0x6A26957: ??? (in /lib/libc.so.7) > ==14015== by 0x6A267BD: ??? (in /lib/libc.so.7) > ==14015== by 0x7D7ABB4: ??? > ==14015== by 0x663BDD4: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x663C03C: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x65C64E4: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x65FA305: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x65FA5C4: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x65FA738: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x65F95F6: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x65F8F20: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== by 0x65F8A9E: ??? (in /usr/local/lib/libglib-2.0.so.0.5600.3) > ==14015== > > --14015-- WARNING: unhandled syscall: 563 /usr/include/sys/syscall.h:#define SYS_getrandom 563 cem: Is valgrind perhaps missing some patches? > --14015-- You may be able to write your own handler. > --14015-- Read the file README_MISSING_SYSCALL_OR_IOCTL. > --14015-- Nevertheless we consider this a bug. Please report > --14015-- it at http://valgrind.org/support/bug_reports.html. > ==14015== > ==14015== HEAP SUMMARY: > ==14015== in use at exit: 0 bytes in 0 blocks > ==14015== total heap usage: 0 allocs, 0 frees, 0 bytes allocated > ==14015== > ==14015== All heap blocks were freed -- no leaks are possible > ==14015== > ==14015== For counts of detected and suppressed errors, rerun with: -v > ==14015== Use --track-origins=yes to see where uninitialised values come from > ==14015== ERROR SUMMARY: 85 errors from 51 contexts (suppressed: 0 from 0) > Killed --HPS