Steps to reproduce:
1. Open pcbnew
2. File -> Print...
3. Select all layers
4. Press print, select a printer and print somewhere
5. Before printing dialog hides, repeat step 4
6. Kicad will crash
Tested only in pcbnew, may be reproducible in other applications.
Application: kicad
Version: (5.0.0-rc2-dev-446-gb46fc7fe9), debug build
Libraries:
wxWidgets 3.0.3
libcurl/7.59.0 OpenSSL/1.0.2o (WinSSL) zlib/1.2.11 brotli/1.0.3 libidn2/2.0.4 nghttp2/1.31.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.66.0
Curl: 7.59.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_ACTION_MENU=OFF
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
Fixed in revision cfa99168369b881 e3a0a024decfc88 96bae86745 /git.launchpad. net/kicad/ patch/? id=cfa99168369b 881e3a0a024decf c8896bae86745
https:/