← Back to team overview

kicad-developers team mailing list archive

Re: Schematic I/O plugin.

 

This segfault seems to be related to only occour with the offical display.lib.

Also, I note that I get a bunch of asserts when it loads the libs.
Possibly related to the rescue lib, becasue after the asserts I get a
kicad error dialog showing

17:26:40: Failed to retrieve file times for
'/tmp/kit-dev-coldfire-xilinx_5213/kit-dev-coldfire-xilinx_5213-rescue.lib'
(error 2: No such file or directory)

The earlier assert is:

ASSERT INFO:
/usr/include/wx-3.0/wx/datetime.h(1733): assert "IsValid()" failed in
GetValue(): invalid wxDateTime

BACKTRACE:
[1] KICAD_MANAGER_FRAME::RunEeschema(wxString const&)
/home/nickoe/kicad-git/kicad/mainframe.cpp:318
[2] KICAD_MANAGER_FRAME::OnRunEeschema(wxCommandEvent&)
/home/nickoe/kicad-git/kicad/mainframe.cpp:335
[3] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&,
wxEvent&) const
[4] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase
const&, wxEvtHandler*, wxEvent&)
[5] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[6] wxEvtHandler::TryHereOnly(wxEvent&)
[7] EDA_BASE_FRAME::ProcessEvent(wxEvent&)
/home/nickoe/kicad-git/common/basicframe.cpp:166
[8] wxEvtHandler::DoTryChain(wxEvent&)
[9] wxEvtHandler::ProcessEvent(wxEvent&)
[10] wxWindowBase::TryAfter(wxEvent&)
[11] wxWindowBase::TryAfter(wxEvent&)
[12] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[13] g_closure_invoke
[14] g_signal_emit_valist
[15] g_signal_emit
[16] g_closure_invoke
[17] g_signal_emit_valist
[18] g_signal_emit
[19] g_closure_invoke
[20] g_signal_emit_valist
[21] g_signal_emit
[22] gtk_propagate_event
[23] gtk_main_do_event
[24] g_main_context_dispatch
[25] g_main_loop_run
[26] gtk_main
[27] wxGUIEventLoop::DoRun()
[28] wxEventLoopBase::Run()
[29] wxAppConsoleBase::MainLoop()
[30] APP_KICAD::OnRun() /home/nickoe/kicad-git/kicad/kicad.cpp:253
[31] wxEntry(int&, wchar_t**)
[32] main /home/nickoe/kicad-git/kicad/kicad.cpp:285
[33] __libc_start_main
[34] _start




2017-02-11 10:43 GMT+01:00 Nick Østergaard <oe.nick@xxxxxxxxx>:
> I just got a crash when trying to load the eeschema symbol picker
> thing, this is using 092c61e02. This happens two out of two times.
>
> #0  0x00007faf85e92c38 in main_arena () at /usr/lib/libc.so.6
> #1  0x00007faf74dda458 in
> SCH_LEGACY_PLUGIN_CACHE::~SCH_LEGACY_PLUGIN_CACHE() (this=0x4f600f0,
> __in_chrg=<optimized out>)
>     at /home/kicad/kicad-git/eeschema/sch_legacy_plugin.cpp:2033
> #2  0x00007faf74dcf70f in SCH_LEGACY_PLUGIN::~SCH_LEGACY_PLUGIN()
> (this=0x4f2f450, __in_chrg=<optimized out>)
>     at /home/kicad/kicad-git/eeschema/sch_legacy_plugin.cpp:556
> #3  0x00007faf74dcf764 in SCH_LEGACY_PLUGIN::~SCH_LEGACY_PLUGIN()
> (this=0x4f2f450, __in_chrg=<optimized out>)
>     at /home/kicad/kicad-git/eeschema/sch_legacy_plugin.cpp:557
> #4  0x00007faf74c81a9a in
> std::default_delete<SCH_PLUGIN>::operator()(SCH_PLUGIN*) const
> (this=0x4f2f438, __ptr=0x4f2f450)
>     at /usr/include/c++/6.3.1/bits/unique_ptr.h:76
> #5  0x00007faf74c80a27 in std::unique_ptr<SCH_PLUGIN,
> std::default_delete<SCH_PLUGIN> >::~unique_ptr() (this=0x4f2f438,
> __in_chrg=<optimized out>)
>     at /usr/include/c++/6.3.1/bits/unique_ptr.h:239
> #6  0x00007faf74c7bf16 in PART_LIB::~PART_LIB() (this=0x4f2f320,
> __in_chrg=<optimized out>) at
> /home/kicad/kicad-git/eeschema/class_library.cpp:81
> #7  0x00007faf74c81f8c in
> std::default_delete<PART_LIB>::operator()(PART_LIB*) const

<snip>


References