← Back to team overview

kicad-developers team mailing list archive

Re: Last layers for UIs

 

Le 04/07/2014 15:38, Lorenzo Marcantonio a écrit :
> On Fri, Jul 04, 2014 at 03:15:25PM +0200, jean-pierre charras wrote:
>> In fact Pcbnew crashes when loading a board file, not when starting.
> 
> Seem to have reproduced it loading the sample 'video' board (I still
> can't load my boards)
> 
> The backtrace:
> 
> #0  0x00007ffff642ed28 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /lib64/libstdc++.so.6
> #1  0x00007ffff6e6891a in wxString (stringSrc=..., this=0x130c280)
>     at ./include/wx/string.h:1220
> #2  wxStaticTextBase::GetEllipsizedLabel (this=0x1)
>     at ./src/common/stattextcmn.cpp:225
> #3  0x00007fffee70d0c1 in PCB_LAYER_WIDGET::SyncLayerVisibilities (this=0x10b0410)
>     at /home/lomarcan/cvswork/kicad-bzr/pcbnew/class_pcb_layer_widget.cpp:272
> #4  0x00007fffee6f9a84 in PCB_EDIT_FRAME::syncLayerVisibilities (
>     this=this@entry=0x7a6940)
>     at /home/lomarcan/cvswork/kicad-bzr/pcbnew/pcbframe.cpp:940
> #5  0x00007fffee8688cb in PCB_EDIT_FRAME::OpenProjectFiles (this=0x7a6940, 
>     aFileSet=..., aCtl=<optimized out>)
>     at /home/lomarcan/cvswork/kicad-bzr/pcbnew/files.cpp:489
> 
> Make me think that the problem occurs when there is a mismatch between the 'current' set of layers and the 'shown' set of labels.
> 
> Working on it, thanks for the report
> 

I am thinking I fixed this issue (which crashed also Gerbview).
Due to a minor typo, in fact!
Can you test my last commit?

-- 
Jean-Pierre CHARRAS


Follow ups

References