eeschema debug build hits assert when adding component
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
ronnie |
Bug Description
This only to affects debug builds.
Steps for reproducing:
* Open eeschema with an empty schematic,
* Ensure Preferences > Colors > Body Background color has an uniform color (as in r = g = b) e.g. white (r = g = b = 255) or grayish
* Press A to add a component
* Select any part to insert
* Confirm dialog with OK
Assert is hit at
eeschema: /home/ronnie/
Affected version info is ()
Application: eeschema
Version: (6.0.0-
Libraries:
wxWidgets 3.0.2
Platform: Linux 4.4.0-137-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=OFF
Stack Trace from CLion:
raise 0x00007fa52727e428
abort 0x00007fa52728002a
<unknown> 0x00007fa527276bd7
__assert_fail 0x00007fa527276c82
KIGFX::
KIGFX::
KIGFX::
KIGFX::
KIGFX::
KIGFX::
KIGFX::
KIGFX::
KIGFX::
KIGFX::
KIGFX::VIEW::draw view.cpp:1029
KIGFX::
RTree<KIGFX:
RTree<KIGFX:
KIGFX::
KIGFX::
KIGFX::VIEW::Redraw view.cpp:1135
EDA_DRAW_
SCH_DRAW_
wxAppConsoleBas
wxEvtHandler:
wxEvtHandler:
wxEvtHandler:
wxEvtHandler:
wxEvtHandler:
wxEvtHandler:
wxAppConsoleBas
wxApp::DoIdle() 0x00007fa5289f5ac2
<unknown> 0x00007fa5289f5bb3
g_main_
<unknown> 0x00007fa525aa03f0
g_main_loop_run 0x00007fa525aa0712
gtk_main 0x00007fa526d2e697
wxGUIEventLoop:
wxEventLoopBase
wxAppConsoleBas
APP_SINGLE_
wxEntry(int&, wchar_t**) 0x00007fa5281c4f70
main single_top.cpp:260
__libc_start_main 0x00007fa527269830
_start 0x0000000000437fb9
summary: |
- eeschema crashes when adding component + eeschema debug build hits assert when adding component |
description: | updated |
Changed in kicad: | |
milestone: | none → 5.1.0 |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
That bugfix might be just a symptomatic fix and not addressing the root cause.
Usage of function
kicad- source- mirror (8 usages found)
common/ dialogs (4 usages found)
dialog_ color_picker. cpp (4 usages found)
buttColor Click (1 usage found)
506 m_newColor4D.ToHSV( m_hue, m_sat, m_val, true );
DIALOG_ COLOR_PICKER (1 usage found)
35 m_newColor4D.ToHSV( m_hue, m_sat, m_val, true );
onRGBMous eDrag (1 usage found)
606 m_newColor4D.ToHSV( m_hue, m_sat, m_val, true );
SetEditVa ls (1 usage found)
457 m_newColor4D.ToHSV( m_hue, m_sat, m_val, true );
common/ gal (4 usages found)
color4d. cpp (4 usages found)
GetNeares tLegacyColor (3 usages found)
179 aColor.ToHSV( h, s, v );
200 candidate4d.ToHSV( ch, cs, cv );
229 candidate4d.ToHSV( ch, cs, cv );
Saturate (1 usage found)
403 ToHSV( h, s, v, true );
ToHSV(double &, double &, double &, bool) const : void
Found usages (8 usages found)
Production (8 usages found)