← Back to team overview

kicad-developers team mailing list archive

Re: Segfault on eeschema start

 

Le 19/02/2014 20:14, Carl Poirier a écrit :
> Hi guys,
> 
> Are any of you aware of that? It happens with the latest commit.
> 
> $ cd build
> $ eeschema/eeschema 
> LocalizeResourcesDir:'/usr/local/share/eeschema/de'
> LIB_ENV_VAR:'/ ...(omitted path)... /kicad/build/eeschema'
> Segmentation fault (core dumped)
> 
> 
> It happens on line 127 of common/drawpanel.cpp. Here is the call stack:
> 
> wxConfigBase::Read(wxString const&, bool*, bool) const ()
> EDA_DRAW_PANEL::EDA_DRAW_PANEL (this=0x75f300, parent=0x6f42c0, id=-1,
> pos=@0x7fffffffdc80: {x = 0, y = 0}, size=@0x6f45c8: {x = 600, y = 341})
> EDA_DRAW_FRAME::EDA_DRAW_FRAME (this=0x6f42c0, aParent=0x0,
> aFrameType=SCHEMATIC_FRAME_TYPE, aTitle=@0x7fffffffe300: {<wxStringBase>
> = {static npos = 18446744073709551615, m_pchData = 0x6f4268
> L\"Eeschema\"}, <No data fields>}, aPos=@0x7fffffffe2e0: {x = 0, y = 0},
> aSize=@0x7fffffffe2f0: {x = 600, y = 400}, aStyle=541335104,
> aFrameName=@0x7fffffffe210: {<wxStringBase> = {static npos =
> 18446744073709551615, m_pchData = 0x6f4b98 L\"SchematicFrame\"}, <No
> data fields>})
> SCH_BASE_FRAME::SCH_BASE_FRAME (this=0x6f42c0, aParent=0x0,
> aWindowType=SCHEMATIC_FRAME_TYPE, aTitle=@0x7fffffffe300:
> {<wxStringBase> = {static npos = 18446744073709551615, m_pchData =
> 0x6f4268 L\"Eeschema\"}, <No data fields>}, aPosition=@0x7fffffffe2e0:
> {x = 0, y = 0}, aSize=@0x7fffffffe2f0: {x = 600, y = 400},
> aStyle=541335104, aFrameName=@0x7fffffffe210: {<wxStringBase> = {static
> npos = 18446744073709551615, m_pchData = 0x6f4b98 L\"SchematicFrame\"},
> <No data fields>})
> SCH_EDIT_FRAME::SCH_EDIT_FRAME (this=0x6f42c0, aParent=0x0,
> aTitle=@0x7fffffffe300: {<wxStringBase> = {static npos =
> 18446744073709551615, m_pchData = 0x6f4268 L\"Eeschema\"}, <No data
> fields>}, aPosition=@0x7fffffffe2e0: {x = 0, y = 0},
> aSize=@0x7fffffffe2f0: {x = 600, y = 400}, aStyle=541335104)
> SCH_FACE::CreateWindow (this=0x7fffea613208 <kiface>, aClassId=0,
> aKIWAY=0x607340 <standalone>, aCtlBits=0)
> PROCESS::OnInit (this=0x63e940)
> wxAppConsole::CallOnInit (this=0x63e940)
> wxEntry(int&, wchar_t**) ()
> main (argc=1, argv=0x7fffffffe508)
> 
> 
> Regards,
> 
> Carl

Be sure you do not have enabled USE_KIWAY_DLLS (which should be kept
disabled for now).
If no, I do not understand how you can have SCH_FACE::CreateWindow  in a
bug report.



-- 
Jean-Pierre CHARRAS


Follow ups

References