From owner-freebsd-ports@freebsd.org Sun Feb 9 22:31:41 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 6CA3A244AE7 for ; Sun, 9 Feb 2020 22:31:41 +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 48G3g01gmyz4d85; Sun, 9 Feb 2020 22:31:39 +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 A2AAD2600F6; Sun, 9 Feb 2020 23:31:36 +0100 (CET) Subject: Re: [CORE DUMP] Closing audacity leads to core dump From: Hans Petter Selasky To: Theron , FreeBSD Ports , "Conrad E. Meyer" , Ed Maste References: <44679945-b5f6-194d-8395-6a5083fec3ab@selasky.org> Message-ID: Date: Sun, 9 Feb 2020 23:30:12 +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: <44679945-b5f6-194d-8395-6a5083fec3ab@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48G3g01gmyz4d85 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)[4]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; 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.53), 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 22:31:41 -0000 On 2020-02-09 20:25, Hans Petter Selasky wrote: > 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? > Tried to build wxgtk31 using gcc9, with no success: /usr/ports/x11-toolkits/wxgtk31 # env CXX=g++9 CC=gcc9 make all deinstall install > Program received signal SIGBUS, Bus error. > wxMBConvStrictUTF8::ToWChar (this=, dst=, dstLen=0, src=, srcLen=25964) > at ./src/common/strconv.cpp:994 > 994 unsigned char c = *p; > (gdb) bt > #0 0x00000008011d8285 in wxMBConvStrictUTF8::ToWChar(wchar_t*, unsigned long, char const*, unsigned long) const > (this=, dst=, dstLen=0, src=, srcLen=25964) at ./src/common/strconv.cpp:994 > #1 0x00000008011e8b67 in wxString::AsWChar(wxMBConv const&) const (this=0x7fffffffd8f0, conv=...) at ./src/common/string.cpp:482 > #2 0x000000000085bb12 in wxString::ToStdWstring() const () > #3 0x000000000085990b in std::__1::unordered_map (DirManager&, wchar_t const**)>, std::__1::hash, std::__1::equal_to, std::__1::allocator (DirManager&, wchar_t const**)> > > >::operator[](wxString const&) () > #4 0x0000000000852bd9 in DirManager::RegisteredBlockFileDeserializer::RegisteredBlockFileDeserializer(wxString const&, std::__1::function (DirManager&, wchar_t const**)>) () > #5 0x0000000000874a7c in () > #6 0x0000000800ea946e in objlist_call_init (list=, lockstate=) at /usr/img/freebsd.12/libexec/rtld-elf/rtld.c:2723 > #7 0x0000000800ea81d2 in _rtld (sp=, exit_proc=0x7fffffffe900, objp=0x7fffffffe908) > at /usr/img/freebsd.12/libexec/rtld-elf/rtld.c:765 > #8 0x0000000800ea6019 in rtld_start () at /usr/img/freebsd.12/libexec/rtld-elf/amd64/rtld_start.S:39 > #9 0x0000000000000000 in () emaste: Do you see anyting with regards to compiler differences FreeBSD 11 and FreeBSD 12 and GCC9 ? --HPS