Assert "false" failed in Clone()

I’ve found a reliable way to crash Pcbnew.

The steps are:
1). Open the attached project with KiCad.
2). Go to Eeschema.
3). [F8] & [Yes] to port the netlist & components to Pcbnew.
4). [Update PCB], [Update PCB], [Close].
5). Components are now in the upper left corner.
6). Drag a box around the components and try to move them as a block.

Edit:
If you want to try this, please state how many times you clicked on [Update PCB]. Clicking this multiple times in step 4 is critical to trigger the bug.

As soon as you try to move the block an Assertion failes with the text:

ASSERT INFO:
/build/kicad-PCtFts/kicad-5.1.0+dfsg1/common/base_struct.cpp(126): assert “false” failed in Clone(): Clone not implemented in derived class NETINFO_ITEM. Bad programmer!

BACKTRACE:
[1] make_fcontext

On launchpad I found a bug that may be reated, but I’m not sure:
https://bugs.launchpad.net/kicad/+bug/1793987

Before I file a bug report, I would like to know:

  • Can others reproduce this (Other OS, nightly builds etc).
  • Should I crate a new bug report, or attach it to the bug link above?asdf_3.zip (1.9 KB)

I’m running the stable V5.1 myself:

Application: kicad
Version: 5.1.0+dfsg1-1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: Clang 7.0.1 with C++ ABI 1002

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

Does not seem to happen in below version.

Application: kicad
Version: 5.1.1-8be2ce7~80~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-47-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.