This would correspond to the THROW_INCONSISTENCY_EXCEPTION instruction here:
Line ProjectWindows.cpp
71 -
72 - AUDACITY_DLL_API wxFrame &GetProjectFrame( AudacityProject &project )
73 - {
74 - auto ptr = ProjectWindows::Get(project).mFrame;
75 - if ( !ptr )
76 - THROW_INCONSISTENCY_EXCEPTION;
77 - return *ptr;
78 - }
79 -
which likely means that Audacity was trying to retrieve its pointer to a wxFrame widget, but for some reason lost it. Perhaps it was never allocated to begin with. This is the first report I have heard of this particular error. You can search Google or this forum database.
So that puts the ball back in your court. Is this a problem with any and all Audacity projects or with a specific one ? What steps do you take to reproduce this error ?
Do you have plenty of disk space ? Can you start Audacity with an empty project and then record or generate some audio ?