Assertion Failure - Audacity 2.1.2

I installed audacity from the Linux Mint 18.3 repository. I was using it today to open a real media file and then export it as a flac file. When I complete filling out the album and other information and hit the button to complete the dialog I get the assertion failure. The details are:

ASSERT INFO:
../src/common/wincmn.cpp(478): assert "GetEventHandler() == this" failed in ~wxWindowBase(): any pushed event handlers must have been removed

BACKTRACE:
[1] wxWindowBase::~wxWindowBase()
[2] wxComboBox::~wxComboBox()
[3] wxWindowBase::Destroy()
[4] wxWindowBase::DestroyChildren()
[5] wxWindow::~wxWindow()
[6] wxWindowBase::Destroy()
[7] wxWindowBase::DestroyChildren()
[8] wxWindow::~wxWindow()
[9] Grid::~Grid()
[10] TagsEditor::~TagsEditor()
[11] Tags::ShowEditDialog(wxWindow*, wxString, bool)
[12] Exporter::Process(AudacityProject*, bool, double, double)
[13] AudacityProject::OnExport()
[14] CommandManager::HandleCommandEntry(CommandListEntry const*, unsigned int, unsigned int, wxEvent const*)
[15] AudacityProject::OnMenu(wxCommandEvent&)
[16] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[17] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[18] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[19] wxEvtHandler::TryHereOnly(wxEvent&)
[20] wxEvtHandler::ProcessEventLocally(wxEvent&)
[21] wxEvtHandler::ProcessEvent(wxEvent&)
[22] wxWindowBase::TryAfter(wxEvent&)
[23] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[24] wxMenuBase::SendEvent(int, int)
[25] g_closure_invoke
[26] g_signal_emit_valist
[27] g_signal_emit
[28] gtk_widget_activate
[29] gtk_menu_shell_activate_item
[30] g_closure_invoke
[31] g_signal_emit_valist
[32] g_signal_emit
[33] gtk_propagate_event
[34] gtk_main_do_event
[35] g_main_context_dispatch
[36] g_main_loop_run
[37] gtk_main
[38] wxGUIEventLoop::DoRun()
[39] wxEventLoopBase::Run()
[40] wxAppConsoleBase::MainLoop()
[41] wxEntry(int&, wchar_t**)
[42] main
[43] __libc_start_main
[44] _start

After I saved the above log I hit continue and the flac file was saved properly and I was able to close audacity normally.

What is causing the assertion problem? Is there something I need to correct in my profile?

Dave

Does the problem only occur with that one project or all projects?
Does the problem only occur when exporting as FLAC or all formats?

This is the first time I have attempted to use Audacity and as such this is the only experience I have had. Some time in the future I may be able to answer your question, but at present that is not possible.

I don’t code this language, but looking at the backtrace it appears that something unexpected happened in the TagsEditor. I should note that the tags were present in the saved FLAC file, so at least not all was lost with this exception.

Dave

Found it. I thought it sounded familiar, but I’ve not used Audacity 2.1.2 for a couple of years (we are currently working on 2.3.1).
See this topic: https://forum.audacityteam.org/t/problem-with-metadata/44617/1