Assertion Failure - Audacity 2.1.2

Help for Audacity 2.x.x on GNU/Linux.
Forum rules
ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
dhdurgee
Posts: 2
Joined: Mon Oct 15, 2018 7:07 pm
Operating System: Linux Mint

Assertion Failure - Audacity 2.1.2

Post by dhdurgee » Mon Oct 15, 2018 7:16 pm

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:

Code: Select all

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

steve
Site Admin
Posts: 48767
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Assertion Failure - Audacity 2.1.2

Post by steve » Mon Oct 15, 2018 8:50 pm

Does the problem only occur with that one project or all projects?
Does the problem only occur when exporting as FLAC or all formats?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

dhdurgee
Posts: 2
Joined: Mon Oct 15, 2018 7:07 pm
Operating System: Linux Mint

Re: Assertion Failure - Audacity 2.1.2

Post by dhdurgee » Mon Oct 15, 2018 9:42 pm

steve wrote:
Mon Oct 15, 2018 8:50 pm
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

steve
Site Admin
Posts: 48767
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Assertion Failure - Audacity 2.1.2

Post by steve » Mon Oct 15, 2018 10:23 pm

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: viewtopic.php?f=7&t=94590
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply