kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #08448
pcbnew sucking cpu - investigation
I did the poor man statistical profile... killing the process and seeing where it stops:P
It seems that pcbnew is continuously repainting even when minimized! I often see the following stack snippet:
#10 0x000000301cc18bc8 in wxWindow::GetCharHeight() const () from /usr/X11R6/lib64/libwx_gtk2ud-2.8.so.0
#11 0x000000301cc90ce1 in wxComboCtrlBase::PrepareBackground(wxDC&, wxRect const&, int) const ()
from /usr/X11R6/lib64/libwx_gtk2ud-2.8.so.0
#12 0x000000301cd53eb3 in wxBitmapComboBox::OnDrawBackground(wxDC&, wxRect const&, int, int) const ()
from /usr/X11R6/lib64/libwx_gtk2ud-2.8.so.0
#13 0x000000301cd8ee14 in wxVListBoxComboPopup::PaintComboControl(wxDC&, wxRect const&) () from /usr/X11R6/lib64/libwx_gtk2ud-2.8.so.0
#14 0x000000301cd143be in wxGenericComboCtrl::OnPaintEvent(wxPaintEvent&) () from /usr/X11R6/lib64/libwx_gtk2ud-2.8.so.0
Could it maybe be the layer combo box?
Of course it could be a wx bug or a debug mode wx behaviour (I'm using wx 2.8.12 compiled for debug)
--
Lorenzo Marcantonio
Logos Srl
Follow ups