Re: Crash on import

"Jack L." <[email protected]>
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CALeGphwWoHOVe9-YDkw46FJxRz8MZEBpeU=NvG0A8oipyiGtGg@mail.gmail.com>
So I recently upgraded from FreeBSD 12 to FreeBSD 13 beta and did a
fresh install of everything and audacity has stopped crashing. I
wonder if a dependency was causing the previous crashes (suspecting an
lv2 plugin as there was 1 particular lv2 dependency that was causing
mysterious problems until they updated it to the latest version).
Anyways, looking forward to the next release! I haven't had a chance
to test build it as I've been too busy with upgrading hardware on my
ancient servers but when that's done, audacity should build faster ;)

On Sun, Aug 9, 2020 at 8:44 PM Jack L. <[email protected]> wrote:
>
> Hmm, this time it crashed when I selected some audio and hit the
> delete key. For the past few weeks, I've noticed if I close the
> project after about 30 minutes and reopening, it won't crash. Seems
> like the project has to be actively worked on for at least 20 minutes
> or so for it to start crashing. Leaving it open and working on it
> periodically won't cause it to crash either. Included a bt below of it
> crashing when selecting some audio and hitting delete. I don't know
> why debug build doesn't seem to really debugging even though it says
> it's a debug build.
>
>
> Reading symbols from /usr/local/bin/audacity...
> (No debugging symbols found in /usr/local/bin/audacity)
> [New LWP 100648]
> [New LWP 100650]
> [New LWP 100653]
> [New LWP 100654]
> [New LWP 100656]
> [New LWP 100665]
> Core was generated by `audacity /home/jack/prdstuff/751edit.aup'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x0000000803714ef5 in memcpy () from /lib/libc.so.7
> [Current thread is 1 (LWP 100648)]
> warning: File "/usr/local/lib/libpython3.7m.so.1.0-gdb.py"
> auto-loading has been declined by your `auto-load safe-path' set to "$
> debugdir:$datadir/auto-load".
> To enable execution of this file add
>        add-auto-load-safe-path /usr/local/lib/libpython3.7m.so.1.0-gdb.py
> line to your configuration file "/root/.gdbinit".
> To completely disable this security protection add
>        set auto-load safe-path /
> line to your configuration file "/root/.gdbinit".
> For more information about this security protection see the
> --Type <RET> for more, q to quit, c to continue without paging--
> "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
>        info "(gdb)Auto-loading safe path"
> (gdb) bt
> #0  0x0000000803714ef5 in memcpy () at /lib/libc.so.7
> #1  0x0000000801477bf2 in wxStreamBuffer::Write(void const*, unsigned
> long) () at /usr/local/lib/libwx_baseu-3.1.so.3
> #2  0x00000008014622df in wxMemoryOutputStream::OnSysWrite(void
> const*, unsigned long) () at /usr/local/lib/libwx_baseu-3.1.so.3
> #3  0x0000000801479112 in wxOutputStream::Write(void const*, unsigned
> long) () at /usr/local/lib/libwx_baseu-3.1.so.3
> #4  0x00000000009b3c7e in AutoSaveFile::WriteAttr(wxString const&,
> wxString const&) ()
> #5  0x0000000000b03e41 in ProjectFileIO::WriteXML(XMLWriter&,
> wxArrayStringEx*) ()
> #6  0x0000000000b050e3 in ProjectFileIO::AutoSave() ()
> #7  0x0000000000b1a5f2 in ProjectHistory::PushState(TranslatableString
> const&, TranslatableString const&, UndoPush) ()
> #8  0x0000000000e81da0 in
> EditActions::Handler::OnDelete(CommandContext const&) ()
> #9  0x0000000000c1352c in
> CommandManager::HandleCommandEntry(AudacityProject&, CommandListEntry
> const*, std::__1::bitset<64ul>, b
> ool, wxEvent const*) ()
> #10 0x0000000000c1330e in
> CommandManager::FilterKeyEvent(AudacityProject*, wxKeyEvent const&,
> bool) ()
> #11 0x0000000000c17e25 in bool
> std::__1::__invoke_void_return_wrapper<bool>::__call<InstallHandlers::InstallHandlers()::{lambda(w
> xKeyEvent&)#2}&,
> wxKeyEvent&>(InstallHandlers::InstallHandlers()::{lambda(wxKeyEvent&)#2}&,
> wxKeyEvent&) ()
> #12 0x0000000000a7d5c7 in
> EventMonitor::FilterEvent(wxEvent&)::{lambda()#1}::operator()() const
> ()
> #13 0x0000000000a7d445 in EventMonitor::FilterEvent(wxEvent&) ()
> #14 0x000000080153158c in wxEvtHandler::ProcessEvent(wxEvent&) () at
> /usr/local/lib/libwx_baseu-3.1.so.3
> #15 0x0000000801531cbc in wxEvtHandler::SafelyProcessEvent(wxEvent&)
> () at /usr/local/lib/libwx_baseu-3.1.so.3
> #16 0x0000000801a564b7 in  () at /usr/local/lib/libwx_gtk3u_core-3.1.so.3
> #17 0x0000000802f76a28 in  () at /usr/local/lib/libgtk-3.so.0
> #18 0x0000000803300eed in g_closure_invoke () at
> /usr/local/lib/libgobject-2.0.so.0
> #19 0x0000000803316a48 in  () at /usr/local/lib/libgobject-2.0.so.0
> #20 0x00000008033177d1 in g_signal_emit_valist () at
> /usr/local/lib/libgobject-2.0.so.0
> #21 0x0000000803317dae in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
> #22 0x0000000802f25ad9 in  () at /usr/local/lib/libgtk-3.so.0
> #23 0x0000000802f3f234 in gtk_window_propagate_key_event () at
> /usr/local/lib/libgtk-3.so.0
> #24 0x0000000801a4d7ee in  () at /usr/local/lib/libwx_gtk3u_core-3.1.so.3
> #25 0x0000000802f76a28 in  () at /usr/local/lib/libgtk-3.so.0
> #26 0x0000000803300eed in g_closure_invoke () at
> /usr/local/lib/libgobject-2.0.so.0
> #27 0x0000000803316a48 in  () at /usr/local/lib/libgobject-2.0.so.0
> #28 0x00000008033177d1 in g_signal_emit_valist () at
> /usr/local/lib/libgobject-2.0.so.0
> #29 0x0000000803317dae in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
> #30 0x0000000802f25ad9 in  () at /usr/local/lib/libgtk-3.so.0
> #31 0x0000000802dc8a78 in gtk_propagate_event () at /usr/local/lib/libgtk-3.so.0
> --Type <RET> for more, q to quit, c to continue without paging--
> #32 0x0000000802dc862d in gtk_main_do_event () at /usr/local/lib/libgtk-3.so.0
> #33 0x00000008026f9461 in  () at /usr/local/lib/libgdk-3.so.0
> #34 0x00000008027319e7 in  () at /usr/local/lib/libgdk-3.so.0
> #35 0x00000008033fce76 in g_main_context_dispatch () at
> /usr/local/lib/libglib-2.0.so.0
> #36 0x00000008033fd224 in  () at /usr/local/lib/libglib-2.0.so.0
> #37 0x00000008033fd54f in g_main_loop_run () at /usr/local/lib/libglib-2.0.so.0
> #38 0x0000000802dc7f8a in gtk_main () at /usr/local/lib/libgtk-3.so.0
> #39 0x0000000801a39b65 in wxGUIEventLoop::DoRun() () at
> /usr/local/lib/libwx_gtk3u_core-3.1.so.3
> #40 0x00000008013fb092 in wxEventLoopBase::Run() () at
> /usr/local/lib/libwx_baseu-3.1.so.3
> #41 0x00000008013adcb6 in wxAppConsoleBase::MainLoop() () at
> /usr/local/lib/libwx_baseu-3.1.so.3
> #42 0x0000000801448bd8 in wxEntry(int&, wchar_t**) () at
> /usr/local/lib/libwx_baseu-3.1.so.3
> #43 0x0000000000981f3f in main ()
> (gdb)
>
>
>
> On Mon, Jun 29, 2020 at 2:07 AM Jack L. <[email protected]> wrote:
> >
> > It seems to be random also, I was trying to fix the crashed project
> > and was chop chop chop and then it kaboomed
> >
> > On Mon, Jun 29, 2020 at 2:04 AM Peter Sampson
> > <[email protected]> wrote:
> > >
> > >
> > >
> > > On Mon, Jun 29, 2020 at 5:39 AM Jack L. <[email protected]> wrote:
> > >>
> > >> So with 2.4.2, I only had 1 window open with 2 tracks in it. I ctrl+x
> > >> a segment of a single track and it crashed with this:
> > >
> > >
> > > Following those steps to reproduce - on W10 with 2.4.2 I do not get a crash,
> > > Audacity successfully cuts the audio.
> > >
> > > And I can paste it back elsewhere in the two-track project.
> > >
> > > Peter.
> > >
> > >
> > >>
> > >> % du -sh AutoSave/
> > >> 332K    AutoSave/
> > >>
> > >> root@upstairs:/home/jack # gdb /usr/local/bin/audacity
> > >> prdstuff/audacity.core
> > >> GNU gdb (GDB) 9.2 [GDB v9.2 for FreeBSD]
> > >> Copyright (C) 2020 Free Software Foundation, Inc.
> > >> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > >> This is free software: you are free to change and redistribute it.
> > >> There is NO WARRANTY, to the extent permitted by law.
> > >> Type "show copying" and "show warranty" for details.
> > >> This GDB was configured as "x86_64-portbld-freebsd12.1".
> > >> Type "show configuration" for configuration details.
> > >> For bug reporting instructions, please see:
> > >> <http://www.gnu.org/software/gdb/bugs/>.
> > >> Find the GDB manual and other documentation resources online at:
> > >>    <http://www.gnu.org/software/gdb/documentation/>.
> > >>
> > >> For help, type "help".
> > >> Type "apropos word" to search for commands related to "word"...
> > >> Reading symbols from /usr/local/bin/audacity...
> > >> (No debugging symbols found in /usr/local/bin/audacity)
> > >> [New LWP 100440]
> > >> [New LWP 101242]
> > >> [New LWP 101255]
> > >> [New LWP 101257]
> > >>
> > >> Core was generated by `audacity /home/jack/prdstuff/prd745.aup'.
> > >> Program terminated with signal SIGSEGV, Segmentation fault.
> > >> #0  0x0000000803714db8 in memcpy () from /lib/libc.so.7
> > >> [Current thread is 1 (LWP 100440)]
> > >> warning: File "/usr/local/lib/libpython3.7m.so.1.0-gdb.py"
> > >> auto-loading has been declined by your `auto-load safe-path' set to "$
> > >> debugdir:$datadir/auto-load".
> > >> To enable execution of this file add
> > >>        add-auto-load-safe-path /usr/local/lib/libpython3.7m.so.1.0-gdb.py
> > >> line to your configuration file "/root/.gdbinit".
> > >> To completely disable this security protection add
> > >>        set auto-load safe-path /
> > >> line to your configuration file "/root/.gdbinit".
> > >> For more information about this security protection see the
> > >> "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
> > >>        info "(gdb)Auto-loading safe path"
> > >> (gdb)
> > >> (gdb) bt
> > >> #0  0x0000000803714db8 in memcpy () at /lib/libc.so.7
> > >> #1  0x0000000801477bf2 in wxStreamBuffer::Write(void const*, unsigned
> > >> long) () at /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #2  0x00000008014622df in wxMemoryOutputStream::OnSysWrite(void
> > >> const*, unsigned long) () at /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #3  0x0000000801479112 in wxOutputStream::Write(void const*, unsigned
> > >> long) () at /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #4  0x00000000009b39fe in AutoSaveFile::WriteAttr(wxString const&,
> > >> wxString const&) ()
> > >> #5  0x0000000000bb2502 in Track::WriteCommonXMLAttributes(XMLWriter&,
> > >> bool) const ()
> > >> #6  0x0000000000beeb1f in WaveTrack::WriteXML(XMLWriter&) const ()
> > >> #7  0x0000000000b0430c in ProjectFileIO::WriteXML(XMLWriter&,
> > >> wxArrayStringEx*) ()
> > >> #8  0x0000000000b04e73 in ProjectFileIO::AutoSave() ()
> > >> #9  0x0000000000b1a382 in ProjectHistory::PushState(TranslatableString
> > >> const&, TranslatableString const&, UndoPush) ()
> > >> #10 0x0000000000e81171 in EditActions::Handler::OnCut(CommandContext const&) ()
> > >> #11 0x0000000000c132bc in
> > >> CommandManager::HandleCommandEntry(AudacityProject&, CommandListEntry
> > >> const*, std::__1::bitset<64ul>, b
> > >> ool, wxEvent const*) ()
> > >> #12 0x0000000000c1309e in
> > >> CommandManager::FilterKeyEvent(AudacityProject*, wxKeyEvent const&,
> > >> bool) ()
> > >> #13 0x0000000000c17bb5 in bool
> > >> std::__1::__invoke_void_return_wrapper<bool>::__call<InstallHandlers::InstallHandlers()::{lambda(w
> > >> xKeyEvent&)#2}&,
> > >> wxKeyEvent&>(InstallHandlers::InstallHandlers()::{lambda(wxKeyEvent&)#2}&,
> > >> wxKeyEvent&) ()
> > >> #14 0x0000000000a7d357 in
> > >> EventMonitor::FilterEvent(wxEvent&)::{lambda()#1}::operator()() const
> > >> ()
> > >> #15 0x0000000000a7d1d5 in EventMonitor::FilterEvent(wxEvent&) ()
> > >> #16 0x000000080153158c in wxEvtHandler::ProcessEvent(wxEvent&) () at
> > >> /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #17 0x0000000801531cbc in wxEvtHandler::SafelyProcessEvent(wxEvent&)
> > >> () at /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #18 0x0000000801a564b7 in  () at /usr/local/lib/libwx_gtk3u_core-3.1.so.3
> > >> #19 0x0000000802f76a28 in  () at /usr/local/lib/libgtk-3.so.0
> > >> #20 0x0000000803300ead in g_closure_invoke () at
> > >> /usr/local/lib/libgobject-2.0.so.0
> > >> #21 0x0000000803316a08 in  () at /usr/local/lib/libgobject-2.0.so.0
> > >> #22 0x0000000803317791 in g_signal_emit_valist () at
> > >> /usr/local/lib/libgobject-2.0.so.0
> > >> #23 0x0000000803317d6e in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
> > >> #24 0x0000000802f25ad9 in  () at /usr/local/lib/libgtk-3.so.0
> > >> #25 0x0000000802f3f234 in gtk_window_propagate_key_event () at
> > >> /usr/local/lib/libgtk-3.so.0
> > >> #26 0x0000000801a4d7ee in  () at /usr/local/lib/libwx_gtk3u_core-3.1.so.3
> > >> #27 0x0000000802f76a28 in  () at /usr/local/lib/libgtk-3.so.0
> > >> #28 0x0000000803300ead in g_closure_invoke () at
> > >> /usr/local/lib/libgobject-2.0.so.0
> > >> #29 0x0000000803316a08 in  () at /usr/local/lib/libgobject-2.0.so.0
> > >> #30 0x0000000803317791 in g_signal_emit_valist () at
> > >> /usr/local/lib/libgobject-2.0.so.0
> > >> #31 0x0000000803317d6e in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
> > >> --Type <RET> for more, q to quit, c to continue without paging--
> > >> #32 0x0000000802f25ad9 in  () at /usr/local/lib/libgtk-3.so.0
> > >> #33 0x0000000802dc8a78 in gtk_propagate_event () at /usr/local/lib/libgtk-3.so.0
> > >> #34 0x0000000802dc862d in gtk_main_do_event () at /usr/local/lib/libgtk-3.so.0
> > >> #35 0x00000008026f4461 in  () at /usr/local/lib/libgdk-3.so.0
> > >> #36 0x000000080272c9e7 in  () at /usr/local/lib/libgdk-3.so.0
> > >> #37 0x00000008033fce76 in g_main_context_dispatch () at
> > >> /usr/local/lib/libglib-2.0.so.0
> > >> #38 0x00000008033fd224 in  () at /usr/local/lib/libglib-2.0.so.0
> > >> #39 0x00000008033fd54f in g_main_loop_run () at /usr/local/lib/libglib-2.0.so.0
> > >> #40 0x0000000802dc7f8a in gtk_main () at /usr/local/lib/libgtk-3.so.0
> > >> #41 0x0000000801a39b65 in wxGUIEventLoop::DoRun() () at
> > >> /usr/local/lib/libwx_gtk3u_core-3.1.so.3
> > >> #42 0x00000008013fb092 in wxEventLoopBase::Run() () at
> > >> /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #43 0x00000008013adcb6 in wxAppConsoleBase::MainLoop() () at
> > >> /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #44 0x0000000801448bd8 in wxEntry(int&, wchar_t**) () at
> > >> /usr/local/lib/libwx_baseu-3.1.so.3
> > >> #45 0x0000000000981cbf in main ()
> > >>
> > >>
> > >> _______________________________________________
> > >> audacity-devel mailing list
> > >> [email protected]
> > >> https://lists.sourceforge.net/lists/listinfo/audacity-devel
> > >
> > > _______________________________________________
> > > audacity-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/audacity-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.