[CORE DUMP] Closing audacity leads to core dump

Jack L. xxjack12xx at gmail.com
Mon Feb 10 05:39:58 UTC 2020


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 at 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:
> >
> >> ==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=<optimized out>, dst=<optimized out>, dstLen=0, src=<optimized out>, 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=<optimized out>, dst=<optimized out>, dstLen=0, src=<optimized out>, 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<wxString, std::__1::function<std::__1::shared_ptr<BlockFile> (DirManager&, wchar_t const**)>, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<std::__1::pair<wxString const, std::__1::function<std::__1::shared_ptr<BlockFile> (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=<optimized out>, lockstate=<optimized out>) at /usr/img/freebsd.12/libexec/rtld-elf/rtld.c:2723
> > #7  0x0000000800ea81d2 in _rtld (sp=<optimized out>, 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
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list