← Back to team overview

kicad-developers team mailing list archive

add dimension broken in pcbnew

 

hello,

Adding a dimension to a silkscreen layer causes a segfault the svn
version of pcbnew. It appears that the pointer m_BoardSettings is
being overwritten with a bad value. Here is part of the backtrace:

#0 0x0810736a in BOARD::GetCopperLayerCount (this=0x8714fb8)
at /home/tlh24/svn/kicad/pcbnew/class_board.cpp:184
#1 0x08109dbd in BOARD::GetLayerName (this=0x8714fb8, aLayerIndex=20)
at /home/tlh24/svn/kicad/pcbnew/class_board.cpp:90
#2 0x0811ffa7 in TEXTE_PCB::Display_Infos (this=0x869e0e0, frame=0x8453720)
at /home/tlh24/svn/kicad/pcbnew/class_pcb_text.cpp:182
#3 0x0810e6bd in COTATION::Display_Infos (this=0x8714fb8, frame=0x8453720)
at /home/tlh24/svn/kicad/pcbnew/class_cotation.cpp:491
#4 0x080fbe03 in WinEDA_BasePcbFrame::SetCurItem (this=0x8453720,
aItem=0x8714fb8) at /home/tlh24/svn/kicad/pcbnew/basepcbframe.cpp:290
#5 0x081c5364 in WinEDA_PcbFrame::OnLeftClick (this=0x8453720, DC=0xbfe18a3c,
MousePos=@0x843abd8) at /home/tlh24/svn/kicad/pcbnew/onleftclick.cpp:287
#6 0x0825c0f6 in WinEDA_DrawPanel::OnMouseEvent (this=0x84f47b8,
event=@0xbfe18d44) at /home/tlh24/svn/kicad/share/drawpanel.cpp:1070

Does anyone else get this error? If so, perhaps we shall valgrind it?
Or anyone know why this is happening?

thanks,
Tim

On Mon, Mar 10, 2008 at 9:41 PM, Wayne Stambaugh <stambaughw@...> wrote:
>
>
>
>
>
>
> Dick,
>
> I got it. It was time stamped 11:51AM. I'm not sure when I actually
> opened it though.
>
> Wayne
>
>
> Dick Hollenbeck wrote:
> > I did not get this one, after posting it via the yahoo web interface
> > (instead of via email client sending):
> >
> >
> > http://tech.groups.yahoo.com/group/kicad-devel/message/1244
> >
> >
> > Did anyone else get it via email?
> >
> > Dick
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>

 




Follow ups