Assert when trying to move an item after it has been remapped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Unassigned |
Bug Description
Assert when trying to move an item after it has been remapped.
Steps to reproduce:
1. git clone https:/
2. kicad mod12003.pro
3. Start eeschema
4. Dismiss the missing libs dialog
5. Accept the rescue
6. Remap
7. Close the remap dialog
8. Saving the schematic here or not does not affect the assert
9. Hover over a symbol and hit M for move
10. Then left click somewhere in the canvas with the mouse
11. Assert below is triggered
TIP: On subsequent runs do "git checkout -- . && git clean -fdx && kicad mod12003.pro" in step 2.
The assert is:
ASSERT INFO:
/home/nickoe/
BACKTRACE:
[1] wxEvtHandler:
[2] wxEventHashTabl
[3] wxEvtHandler:
[4] wxEvtHandler:
[5] wxEvtHandler:
[6] wxScrollHelperE
[7] wxEvtHandler:
[8] g_closure_invoke
[9] g_signal_
[10] g_signal_emit
[11] gtk_propagate_event
[12] gtk_main_do_event
[13] g_main_
[14] g_main_loop_run
[15] gtk_main
[16] wxGUIEventLoop:
[17] wxEventLoopBase
[18] wxAppConsoleBas
[19] wxEntry(int&, wchar_t**)
[20] __libc_start_main
[21] _start
Application: kicad
Version: (2017-12-18 revision 3c6d17026)-master, debug build
Libraries:
wxWidgets 3.0.3
libcurl/7.57.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.28.0
Platform: Linux 4.14.6-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.65.1
Curl: 7.57.0
Compiler: GCC 7.2.1 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=ON
summary: |
- Assert when trying to move an item after it has been remapped and saved + Assert when trying to move an item after it has been remapped |
description: | updated |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Looks like there was a stray IS_NEW flag.
The attached patch clears the state after loading the project files.