Package: kicad
Version: 4.0.5+dfsg1-4~bpo8+1
Severity: normal
Eeschema crashes upon the dialog "The new component contains alias
names that conflict with entries in the component library...". This
occurs when trying to create a new component by editing an existing
component as a template, and that original component has aliases
defined.
I'm using kicad from jessie-backports. It appears this version
(4.0.5+dfsg1-4~bpo8+1) derives exactly from 4.0.5+dfsg1-4 (the version
in testing and unstable), according to the changelog for the bpo
version, so I believe the issue applies to testing and unstable as
well.
Steps to reproduce:
1) Start with a newly-created temporary user which has a mostly-empty
homedir. This probably won't be strictly necessary, but I did it
to ensure that no part of my configuration would influence the
reproducibility of this issue.
2) Run eeschema.
3) Make a library available to eeschema:
a) Click the Preferences menu, then Component Libraries.
b) An assertion failure message appears. Click Continue.
c) Click Add.
d) Choose /usr/share/kicad/library/device.lib .
e) Click OK.
4) Click Tools->Library Editor. The Library Editor window appears.
5) Click File->Current Library.
6) Double-click "device".
7) Choose the "Load component to edit from the current library" icon
in the toolbar.
8) Double-click "C_Feedthrough". As far as I can tell, any component
which has defined aliases will trigger this bug, but "C_Feedthrough"
is one concrete example.
9) Edit the "C_Feedthrough" component name text. (Hover mouse over
the text "C_Feedthrough" and press "e".)
10) Replace "C_Feedthrough" with any unique value (e.g. "Bogus").
11) A dialog box appears: "The new component contains alias names that
conflict with entries in the component library 'device'. Do you
wish to remove all of the conflicting aliases from this
component?"
At the same time, an assertion failure message appears in another
window. It is not possible to continue in this instance; the
message keeps reappearing in a loop.
This is the assertion failure message and backtrace:
ASSERT INFO:
/build/kicad-4.0.5+dfsg1/eeschema/libeditframe.cpp(515): assert "alias !=
__null" failed in OnUpdateViewDoc(): Alias <C_Feedthrough> not found.
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::DoTryChain(wxEvent&)
[6] wxEvtHandler::ProcessEvent(wxEvent&)
[7] wxWindowBase::TryAfter(wxEvent&)
[8] wxAuiToolBar::DoIdleUpdate()
[9] wxAuiToolBar::UpdateWindowUI(long)
[10] wxWindowBase::SendIdleEvents(wxIdleEvent&)
[11] wxWindowBase::SendIdleEvents(wxIdleEvent&)
[12] wxFrame::SendIdleEvents(wxIdleEvent&)
[13] wxWindowBase::SendIdleEvents(wxIdleEvent&)
[14] wxFrame::SendIdleEvents(wxIdleEvent&)
[15] wxAppBase::ProcessIdle()
[16] wxApp::DoIdle()
[17] g_main_context_dispatch
[18] g_main_loop_run
[19] gtk_dialog_run
[20] wxMessageDialog::ShowModal()
[21] wxMessageBox(wxString const&, wxString const&, long, wxWindow*, int, int)
[22] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&,
wxEvent&) const
[23] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)
[24] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[25] wxEvtHandler::TryHereOnly(wxEvent&)
[26] wxEvtHandler::DoTryChain(wxEvent&)
[27] wxEvtHandler::ProcessEvent(wxEvent&)
[28] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&,
wxEvent&) const
[29] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)
[30] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[31] wxEvtHandler::TryHereOnly(wxEvent&)
[32] wxEvtHandler::ProcessEventLocally(wxEvent&)
[33] wxEvtHandler::ProcessEvent(wxEvent&)
[34] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
[35] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[36] wxWindow::GTKDoInsertTextFromIM(char const*)
[37] g_cclosure_marshal_VOID__STRINGv
[38] g_signal_emit_valist
[39] g_signal_emit_by_name
[40] g_cclosure_marshal_VOID__STRINGv
[41] g_signal_emit_valist
[42] g_signal_emit_by_name
[43] g_closure_invoke
[44] g_signal_emit_valist
[45] g_signal_emit
[46] gtk_window_propagate_key_event
[47] g_closure_invoke
[48] g_signal_emit_valist
[49] g_signal_emit
[50] gtk_propagate_event
[51] gtk_main_do_event
[52] g_main_context_dispatch
[53] g_main_loop_run
[54] gtk_main
[55] wxGUIEventLoop::DoRun()
[56] wxEventLoopBase::Run()
[57] wxAppConsoleBase::MainLoop()
[58] wxEntry(int&, wchar_t**)
[59] __libc_start_main
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (700, 'stable-updates'), (700, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kicad depends on:
ii kicad-common 4.0.5+dfsg1-4~bpo8+1
ii libboost-context1.55.0 1.55.0+dfsg-3
ii libboost-date-time1.55.0 1.55.0+dfsg-3
ii libboost-filesystem1.55.0 1.55.0+dfsg-3
ii libboost-iostreams1.55.0 1.55.0+dfsg-3
ii libboost-locale1.55.0 1.55.0+dfsg-3
ii libboost-program-options1.55.0 1.55.0+dfsg-3
ii libboost-regex1.55.0 1.55.0+dfsg-3
ii libboost-system1.55.0 1.55.0+dfsg-3
ii libboost-thread1.55.0 1.55.0+dfsg-3
ii libc6 2.19-18+deb8u7
ii libcairo2 1.14.0-2.1+deb8u2
ii libcurl3-gnutls 7.38.0-4+deb8u5
ii libgcc1 1:4.9.2-10
ii libgl1-mesa-glx [libgl1] 13.0.4-1~bpo8+1
ii libglew1.10 1.10.0-3
ii libglu1-mesa [libglu1] 9.0.0-2
ii libgomp1 4.9.2-10
ii libice6 2:1.0.9-1+b1
ii libpython2.7 2.7.9-2+deb8u1
ii libsm6 2:1.2.2-1+b1
ii libstdc++6 4.9.2-10
ii libwxbase3.0-0 3.0.2-1+b1
ii libwxgtk3.0-0 3.0.2-1+b1
ii libx11-6 2:1.6.2-3
ii libxext6 2:1.3.3-1
ii python 2.7.9-1
ii python-wxgtk3.0 3.0.1.1+dfsg-2
pn python:any <none>
Versions of packages kicad recommends:
ii xsltproc 1.1.28-2+deb8u2
Versions of packages kicad suggests:
ii extra-xdg-menus 1.0-4
ii kicad-doc-en 4.0.5+dfsg1-4~bpo8+1
-- no debconf information
--
J.P. Larocque <[email protected]>