An assertion failed [probably already fixed]

Just had another “Assertion Failed” in KiCad V5.0.2.
I started to do a bit of testing to trigger it again, and I managed to trigger it a 2nd time,but after that I could not reproduce it anymore.

What (I think) I did:
1). Open Symbol Library editor.
2). Right click on a library name and click on “Save library as”.

ASSERT INFO:
/build/kicad-rFhZT9/kicad-5.0.2+dfsg1/common/eda_base_frame.cpp(563): assert “!fn.GetPath().IsEmpty()” failed in IsWritable(): File name object path <.lib> is not set. Bad programmer!

BACKTRACE:
[1] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[2] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[3] wxEvtHandler::TryHereOnly(wxEvent&)
[4] wxEvtHandler::DoTryChain(wxEvent&)
[5] wxEvtHandler::ProcessEvent(wxEvent&)
[6] wxWindowBase::TryAfter(wxEvent&)
[7] wxWindowBase::TryAfter(wxEvent&)
[8] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[9] wxMenuBase::SendEvent(int, int)
[10] g_closure_invoke
[11] g_signal_emit_valist
[12] g_signal_emit
[13] gtk_widget_activate
[14] gtk_menu_shell_activate_item
[15] g_closure_invoke
[16] g_signal_emit_valist
[17] g_signal_emit
[18] gtk_propagate_event
[19] gtk_main_do_event
[20] g_main_context_dispatch
[21] g_main_context_iteration
[22] gtk_main_iteration
[23] wxWindow::DoPopupMenu(wxMenu*, int, int)
[24] wxWindowBase::PopupMenu(wxMenu*, int, int)
[25] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[26] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[27] wxEvtHandler::TryHereOnly(wxEvent&)
[28] wxEvtHandler::ProcessEventLocally(wxEvent&)
[29] wxEvtHandler::ProcessEvent(wxEvent&)
[30] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[31] g_closure_invoke
[32] g_signal_emit_valist
[33] g_signal_emit
[34] gtk_propagate_event
[35] gtk_main_do_event
[36] g_main_context_dispatch
[37] g_main_loop_run
[38] gtk_main
[39] wxGUIEventLoop::DoRun()
[40] wxEventLoopBase::Run()
[41] wxAppConsoleBase::MainLoop()
[42] wxEntry(int&, wchar_t**)
[43] __libc_start_main
[44] _start

Edit:
Trying to reproduce:
1). Close KiCad Completely, and start it.
2). Start Eeschema from the KiCad project manager.
3). Hover over a symbol and press [Ctrl+e]
4). Right click on a random library, I chose “Amplifier_Current” this time.
5). Click “Save Library As…” from the popup menu.
1234567_Amplifier_Current.lib

I find it hard to think what I did exactly.
I think that when it “works” the library is just saved under the new name, but the new library is not added to the lib table.

I think just before the assertion failed I got a question wheter to add the new library to the table. The question popped op without me triggering it.
It’s hard to remember because I do not use KiCad enough to separate “normal” from “abnormal” behaviour from memory.

I remember seeing this one fixed on GitHub some time ago, a recent 5.1.0 rc1 Nightly does not crash

Launchpad is the correct place to report bugs

1 Like

Someday I should get myself into getting accounts on Github & Launchpad…
And even without a launchpad account I probably should have browsed the existing buglists before posting this.
Sorry for the noise, edited the title to attract less attention to it.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.