PCB calculator - Assertion failed

Bug #1167345 reported by Pekka Harjamäki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Blair Bonnett

Bug Description

When launching pcb calculator, I get the following error message:

ASSERT INFO:
/var/tmp/portage/x11-libs/wxGTK-2.9.4.1/work/wxPython-src-2.9.4.0/src/common/sizer.cpp(1377): assert "Assert failure" failed in DoInsert(): too many items (21 > 4*5) in grid sizer (maybe you should omit the number of either rows or columns?)

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, wxString const&)
[2] wxGridSizer::DoInsert(unsigned long, wxSizerItem*)
[3] wxSizer::Add(wxSizerItem*)
[4] wxSizer::Add(int, int, int, int, int, wxObject*)
[5] PCB_CALCULATOR_FRAME_BASE::PCB_CALCULATOR_FRAME_BASE(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)
[6] PCB_CALCULATOR_FRAME::PCB_CALCULATOR_FRAME(wxWindow*)

Kicad is build from source (BZR version 4083) with GCC 4.7.2

Changed in kicad:
status: New → Fix Committed
Revision history for this message
Pekka Harjamäki (spamtrap-lpad) wrote :

ASSERT INFO:
/var/tmp/portage/x11-libs/wxGTK-2.9.4.1/work/wxPython-src-2.9.4.0/src/gtk/textctrl.cpp(846): assert "IsSingleLine()" failed in GetEditable(): shouldn't be called for multiline

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] wxTextCtrl::GetEditable() const
[3] wxTextEntry::SetMaxLength(unsigned long)
[4] PCB_CALCULATOR_FRAME_BASE::PCB_CALCULATOR_FRAME_BASE(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)
[5] PCB_CALCULATOR_FRAME::PCB_CALCULATOR_FRAME(wxWindow*)

This is the new error message with BZR version 4088

Changed in kicad:
status: Fix Committed → New
Revision history for this message
Martin Errenst (imp-d) wrote :

Can you still reproduce this and provide an file causing this assertion?

Changed in kicad:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → Expired
Revision history for this message
Blair Bonnett (bcb) wrote :

The "assert "IsSingleLine()" failed in GetEditable()" error still occurs when launching PCB calculator in revision 5250. I've posted a patch to the mailing list which fixes this -- just waiting for confirmation it doesn't break non-GTK backends and then for somebody to commit it.

Changed in kicad:
assignee: nobody → Blair Bonnett (blair-bonnett)
importance: Undecided → Low
status: Expired → In Progress
Revision history for this message
Blair Bonnett (bcb) wrote :

Patch committed in r5259.

Changed in kicad:
status: In Progress → Fix Committed
Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.