Date: Sun, 9 Feb 2020 21:39:19 -0800 From: "Jack L." <xxjack12xx@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: Theron <theron.tarigo@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org>, "Conrad E. Meyer" <cem@freebsd.org>, Ed Maste <emaste@freebsd.org> Subject: Re: [CORE DUMP] Closing audacity leads to core dump Message-ID: <CALeGphx4Xg=i1E6KKHf--E0JEGyk195%2BNY=VQ_hm2Wtq%2BqPTwA@mail.gmail.com> In-Reply-To: <eeb2e7e8-7ccd-c1f9-ca64-f27d270ceadb@selasky.org> References: <dce115ba-5795-8865-32a9-07656af4ecb7@selasky.org> <c4697d8c-ad4f-359e-89e2-818a2171a5b7@gmail.com> <44679945-b5f6-194d-8395-6a5083fec3ab@selasky.org> <eeb2e7e8-7ccd-c1f9-ca64-f27d270ceadb@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <hps@selasky.org> 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<optimized out>, dst=3D<optimized o= ut>, dstLen=3D0, src=3D<optimized out>, 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<optimized out>, dst=3D<optimized out>, 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<wxString, std::__1::f= unction<std::__1::shared_ptr<BlockFile> (DirManager&, wchar_t const**)>, st= d::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<s= td::__1::pair<wxString const, std::__1::function<std::__1::shared_ptr<Block= File> (DirManager&, wchar_t const**)> > > >::operator[](wxString const&) () > > #4 0x0000000000852bd9 in DirManager::RegisteredBlockFileDeserializer::= RegisteredBlockFileDeserializer(wxString const&, std::__1::function<std::__= 1::shared_ptr<BlockFile> (DirManager&, wchar_t const**)>) () > > #5 0x0000000000874a7c in () > > #6 0x0000000800ea946e in objlist_call_init (list=3D<optimized out>, lo= ckstate=3D<optimized out>) at /usr/img/freebsd.12/libexec/rtld-elf/rtld.c:2= 723 > > #7 0x0000000800ea81d2 in _rtld (sp=3D<optimized out>, 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALeGphx4Xg=i1E6KKHf--E0JEGyk195%2BNY=VQ_hm2Wtq%2BqPTwA>