← Back to team overview

kicad-developers team mailing list archive

Assertion during netlist generation

 

In r2500 I got the following when generating a netlist:

ASSERT INFO:
/home/mrclnz/cvswork/kicad/eeschema/netform.cpp(799): assert "pin->Type() != COMPONENT_PIN_DRAW_TYPE" failed in FindAllsInstancesOfComponent().

BACKTRACE:
[1] FindAllsInstancesOfComponent(SCH_COMPONENT*, LIB_COMPONENT*, DrawSheetPath*) netform.cpp
[2] FindNextComponentAndCreatPinList(EDA_BaseStruct*, DrawSheetPath*) netform.cpp
[3] WriteNetListPCBNEW(WinEDA_SchematicFrame*, _IO_FILE*, bool) netform.cpp
[4] WriteNetList(WinEDA_SchematicFrame*, wxString const&, bool)
[5] WinEDA_NetlistFrame::GenNetlist(wxCommandEvent&)
[6] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[7] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[8] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[9] wxEvtHandler::ProcessEvent(wxEvent&)
[10] wxWindowBase::TryParent(wxEvent&)
[11] wxEvtHandler::ProcessEvent(wxEvent&)
[12] wxWindowBase::TryParent(wxEvent&)
[13] wxEvtHandler::ProcessEvent(wxEvent&)
[14] wxWindowBase::TryParent(wxEvent&)
[15] wxEvtHandler::ProcessEvent(wxEvent&)
[16] g_cclosure_marshal_VOID__VOID()
[17] g_closure_invoke()
[18] g_signal_emit_valist()
[19] g_signal_emit()
[20] gtk_button_clicked()
[21] g_cclosure_marshal_VOID__VOID()
[22] g_closure_invoke()
[23] g_signal_emit_valist()
[24] g_signal_emit()
[25] gtk_button_released()
[26] g_closure_invoke()
[27] g_signal_emit_valist()
[28] g_signal_emit()
[29] gtk_propagate_event()
[30] gtk_main_do_event()
[31] g_main_context_dispatch()
[32] g_main_loop_run()
[33] gtk_main()
[34] wxEventLoop::Run()
[35] wxDialog::ShowModal()
[36] WinEDA_SchematicFrame::OnCreateNetlist(wxCommandEvent&)
[37] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[38] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[39] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[40] wxEvtHandler::ProcessEvent(wxEvent&)
[41] wxWindowBase::TryParent(wxEvent&)
[42] wxEvtHandler::ProcessEvent(wxEvent&)
[43] wxToolBarBase::OnLeftClick(int, bool)
[44] g_cclosure_marshal_VOID__VOID()
[45] g_closure_invoke()
[46] g_signal_emit_valist()
[47] g_signal_emit()
[48] gtk_button_clicked()
[49] g_cclosure_marshal_VOID__VOID()
[50] g_closure_invoke()
[51] g_signal_emit_valist()

Using a previous release directly segfaults eeschema, so it may be a corrupted schematic or library or something similar.

I'll investigate on the issue and let you know if I find something interesting.