From owner-freebsd-ports@freebsd.org Mon Feb 10 05:39:58 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 476AE22E072 for ; Mon, 10 Feb 2020 05:39:58 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48GF993z3Rz41QF; Mon, 10 Feb 2020 05:39:57 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by mail-qt1-x842.google.com with SMTP id c5so4286261qtj.6; Sun, 09 Feb 2020 21:39:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GLFQD/0O7S96TUTUcHyLTCgqIV0+daZGje76UymI//E=; b=FzTTW+IvxozerpeXbHmReZr8NZ57nOTe1JAGNM2OUnwawyK+HI5XuBwx9xCPtUJBCY DQ9TgGAWlOTbAxUU8TevRFJX7vuscpsGVcIxzLW8GArmrSSWJC0R2Qp899DKE8Z0aSwS sTZUlXGKv/Qgy8PChwGxmgh42fyQrC+Ieo2FuCFw6iLuaEAynjERD/NzIkiCTJr5OA7a mXT64TNjJqgEBpSFNztBbNp0ktnk68N2ANyBBmLJb2pKk+ojd50VHNrsRQytYeyr+A6X DbSeS/XHpqhb5TjHF9ZG22kM9l+cjx3Sr4TXxM0SqNE0bLK56XONCKjM0R4cnlnXPFMP IvXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GLFQD/0O7S96TUTUcHyLTCgqIV0+daZGje76UymI//E=; b=hlBQJ8LV+vL3AzHFWBAFma0RtgIGfrt9v491bUllan9mWVgSfXUlCW9eBL6FbMFh+/ 05vPoFhcx5mJko8EEiWivTLWaLoH3l6t6cnTUySPwd+SqeIc7uZKeYTRNJv/CJR9iKrb hU6ef/TcXLblsNbVP3K3ThLK3cYTuI8ue5Wz/FqFgVs5HFvTunLiRqRhRsS5M5FxY1W0 rQRiPQBBmSC0Lu8VnTHa7h2vhPRJl7a1b3vJHAn6vWJd4CQXjN+33FznK4iQ7UvyfPGJ OAxkRhuucihVW5d60+dsurlW61/3Hxb+Inue2rHHcRxlZ8kRHSTKhZOiK74NMD1sGAMY Ua8A== X-Gm-Message-State: APjAAAU/1Auxw2G5bujHtc944w9llzrMrxjKWzr84UU9oYpTzbBHp2EM Wiiok+drCR0cSwrpM0+edpIV6uXY+GaNxGXpuqQ= X-Google-Smtp-Source: APXvYqzqdtnwgjLL1S87Rboh1zkyo5YE3MEflznAMf3fFEOOr+zC+8XS70QJTkCWhccexhAc2sG12AHAQ0/B08bsM2c= X-Received: by 2002:ac8:2ffa:: with SMTP id m55mr8591392qta.189.1581313195291; Sun, 09 Feb 2020 21:39:55 -0800 (PST) MIME-Version: 1.0 References: <44679945-b5f6-194d-8395-6a5083fec3ab@selasky.org> In-Reply-To: From: "Jack L." Date: Sun, 9 Feb 2020 21:39:19 -0800 Message-ID: Subject: Re: [CORE DUMP] Closing audacity leads to core dump To: Hans Petter Selasky Cc: Theron , FreeBSD Ports , "Conrad E. Meyer" , Ed Maste Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48GF993z3Rz41QF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=FzTTW+Iv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of xxjack12xx@gmail.com designates 2607:f8b0:4864:20::842 as permitted sender) smtp.mailfrom=xxjack12xx@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (1.79), ipnet: 2607:f8b0::/32(-1.97), asn: 15169(-1.73), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_CC(0.00)[gmail.com]; 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: Mon, 10 Feb 2020 05:39:58 -0000 Monitoring the audacity mailing list, it appears that this bug is happening in Linux also. On Sun, Feb 9, 2020 at 2:31 PM Hans Petter Selasky wrote: > > 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: > > > >> =3D=3D14015=3D=3D Conditional jump or move depends on uninitialised va= lue(s) > >> =3D=3D14015=3D=3D at 0x6A26957: ??? (in /lib/libc.so.7) > >> =3D=3D14015=3D=3D by 0x6A267BD: ??? (in /lib/libc.so.7) > >> =3D=3D14015=3D=3D by 0x7D7ABB4: ??? > >> =3D=3D14015=3D=3D by 0x663BDD4: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x663C03C: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x65C64E4: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x65FA305: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x65FA5C4: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x65FA738: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x65F95F6: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x65F8F20: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D by 0x65F8A9E: ??? (in > >> /usr/local/lib/libglib-2.0.so.0.5600.3) > >> =3D=3D14015=3D=3D > >> --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=3Dg++9 CC=3Dgcc9 make all > deinstall install > > > Program received signal SIGBUS, Bus error. > > wxMBConvStrictUTF8::ToWChar (this=3D, dst=3D, dstLen=3D0, src=3D, srcLen=3D25964) > > at ./src/common/strconv.cpp:994 > > 994 unsigned char c =3D *p; > > (gdb) bt > > #0 0x00000008011d8285 in wxMBConvStrictUTF8::ToWChar(wchar_t*, unsigne= d long, char const*, unsigned long) const > > (this=3D, dst=3D, dstLen=3D0, src=3D<= optimized out>, srcLen=3D25964) at ./src/common/strconv.cpp:994 > > #1 0x00000008011e8b67 in wxString::AsWChar(wxMBConv const&) const (thi= s=3D0x7fffffffd8f0, conv=3D...) at ./src/common/string.cpp:482 > > #2 0x000000000085bb12 in wxString::ToStdWstring() const () > > #3 0x000000000085990b in std::__1::unordered_map (DirManager&, wchar_t const**)>, st= d::__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=3D, lo= ckstate=3D) at /usr/img/freebsd.12/libexec/rtld-elf/rtld.c:2= 723 > > #7 0x0000000800ea81d2 in _rtld (sp=3D, exit_proc=3D0x7f= ffffffe900, objp=3D0x7fffffffe908) > > 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 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"