← Back to team overview

kicad-developers team mailing list archive

Re: add dimension broken in pcbnew

 

also in: void WinEDA_BasePcbFrame::SetCurItem( BOARD_ITEM* aItem )

(gdb) p aItem
$7 = (BOARD_ITEM *) 0x0
(gdb) bt
#0 0x080fbe35 in WinEDA_BasePcbFrame::SetCurItem (this=0x8d23600, aItem=0x0)
at /home/tlh24/svn/kicad/pcbnew/basepcbframe.cpp:302
#1 0x081b335a in WinEDA_ModuleEditFrame (this=0x8d23600, father=0x8453720,
parent=0x83d7670, title=@0xbf97aafc, pos=@0xbf97ab00, size=@0xbf97ab08,
style=541335104) at /home/tlh24/svn/kicad/pcbnew/moduleframe.cpp:139
#2 0x0815c12a in WinEDA_PcbFrame::Process_Special_Functions (this=0x8453720,
event=@0xbf97ad58) at /home/tlh24/svn/kicad/pcbnew/edit.cpp:182
#3 0xb7e104ef in wxAppConsole::HandleEvent (this=0x83d7670,
handler=0x8453720, func=&virtual table offset 860, event=@0xbf97ad58)
at ../src/common/appbase.cpp:320

???

On Mon, Mar 10, 2008 at 11:40 PM, Tim Hanson <tim@...> wrote:
> 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
> > >
> > >
> > >
> > >
> > >
> >
> > 
>






References