Comment 23 for bug 1740952

Revision history for this message
ludovic leau-mercier (ludovic-mercier) wrote : Re: [Bug 1740952] Re: symbol editor crashes when editing symbol name

Hi,

the patch doesn't work :

process : open eeschema > load project > edit symbol with lib editor >
move an element of symbol

ASSERT INFO:
/home/ludovic/workspaceCDT/kicad/eeschema/class_libentry.cpp(272):
assert "m_aliases.size()" failed in GetName(): no aliases defined for symbol

BACKTRACE:
[1] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&,
wxEvent&) const
[2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)
[3] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[4] wxEvtHandler::TryHereOnly(wxEvent&)
[5] wxEvtHandler::ProcessEventLocally(wxEvent&)
[6] wxEvtHandler::ProcessEvent(wxEvent&)
[7] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
[8] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[9] g_closure_invoke
[10] g_signal_emit_valist
[11] g_signal_emit
[12] gtk_propagate_event
[13] gtk_main_do_event
[14] g_main_context_dispatch
[15] g_main_loop_run
[16] gtk_main
[17] wxGUIEventLoop::DoRun()
[18] wxEventLoopBase::Run()
[19] wxAppConsoleBase::MainLoop()
[20] wxEntry(int&, wchar_t**)
[21] __libc_start_main
[22] _start

On 09/01/2018 13:42, Maciej Suminski wrote:
> Another patch attached, I am willing to commit the changes if they fix
> the problem. I would be grateful if you could verify it, as I cannot get
> eeschema to crash on my PCs.
>
> ** Patch added: "libedit_rename_fix.patch"
> https://bugs.launchpad.net/kicad/+bug/1740952/+attachment/5033440/+files/libedit_rename_fix.patch
>

--
Ludovic Léau-Mercier