← Back to team overview

kicad-developers team mailing list archive

Re: Segfault on eeschema start

 

On 2/19/2014 2:14 PM, Carl Poirier wrote:
> 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

A little more information would be helpful.  It works fine for me on:

Application: Eeschema
Version: (2014-02-19 BZR 4707)-product Release build
wxWidgets: Version 3.0.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC
4.7.2,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64
bit, Little endian, wxMSW
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=OFF

If you are using Linux, I wont be able to get to it until later this
evening after I get home.

Thanks,

Wayne



References