Hello,
with today (05/01/2023) nightly build i get a crash when opening the schematic and pcb of designs saved with previous 6.99 releases, for example see attached project. (Linux Ubuntu 22.04.1)
is someone experiencing the same?
Catalog.zip (679.0 KB)
Application: KiCad x86_64 on x86_64
Version: 6.99.0-unknown-bd5d10cd7b~164~ubuntu22.10.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 2.7.4
FontConfig 2.13.1
libcurl/7.85.0 OpenSSL/3.0.5 zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.3 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.49.0 librtmp/2.3
Platform: Ubuntu 22.10, 64 bit, Little endian, wxGTK, mate, x11
Build Info:
Date: Jan 4 2023 20:32:50
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.85.0
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_USE_EGL=ON
KICAD_SPICE=ON
Not confirmed on Win11.
Application: KiCad x64 on x64
Version: (6.99.0-5301-gc3a214983d), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.86.0-DEV Schannel zlib/1.2.13
Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jan 5 2023 06:18:31
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.86.0-DEV
ngspice: 38
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON
1 Like
hmk
January 5, 2023, 10:21am
#3
I can open both schematic and board files, but get an error message about a missing drawing sheet.
No crash.
Application: KiCad x86_64 on x86_64
Version: 6.99.0-1.20230103gitbaa13b8.fc37, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.14.1
libcurl/7.85.0 OpenSSL/3.0.5 zlib/1.2.12 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.51.0
Platform: , 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: Jan 3 2023 18:17:25
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.5.0
Curl: 7.85.0
ngspice: 38
Compiler: GCC 12.2.1 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
1 Like
straubm
January 5, 2023, 10:26am
#4
Same for me. But that’s no bug, as the file is local to the OPs machine and not in the .zip
hmk
January 5, 2023, 10:52am
#5
My understanding is that he has made his own drawing sheet template and put it in the same library with the templates that are distributed with KiCad.
1 Like
so on Windows, the missing worksheet file fails gracefully, on the OPs Ubuntu, there is a crash?
straubm
January 5, 2023, 12:35pm
#7
Unlikely, assuming in the OP’s installation the file is there.
hmk
January 5, 2023, 12:35pm
#8
What if we don’t see the crash because we don’t have that file?
hmk
January 5, 2023, 12:37pm
#9
I run fedora Linux 37 and don’t see a crash when the drawing sheet file is missing, so it’s not only Windows.
1 Like
no, also under Linux is signaled if missing the template, the crash is related to something else.
I checked with a machine containing the yesterday nightly and the same design can be opened without crashing, even removing the source template from my local directories.
straubm
January 5, 2023, 12:43pm
#11
@Claudio.Lorini Maybe open a bug report. Devs are really triggered by the word ‘crash’…
1 Like
@Claudio.Lorini : There was the bug #13374 (already fixed, associated with bitmaps, for instance on customized worksheets).
1 Like
that’s an idea to follow, i’ll try to do some testing with the ‘standard’ sheet template. (and a clean project)
straubm
January 5, 2023, 12:47pm
#14
Nope. At least not on Windows. My wks has graphics in it and still no crash.
[EDIT] I have graphics on the board (silkscreen) as well and no crash either.
hmk
January 5, 2023, 12:52pm
#15
Is it PNG graphics?
The commit fixing issue #13374 is 611fcc2f with the title " Initialize m_originalBitmap when loading PNG data".
1 Like
straubm
January 5, 2023, 12:56pm
#16
I don’t remember but most likely: yes. Most of my logos/images are PNG.
Download of latest nightly is complete, kicad installed and tested. The bug is really fixed in todays nightly, so for windows:
version kicad-nightly-r30912.33b835ceef-x86_64-lite.exe from 4.1.2022: crash on schematic loading
version kicad-nightly-r30940.c3a214983d-x86_64-lite.exe from 5.1.2022: all is fine again
So maybe the ubuntu-version is some hours behind in the nightly-commits.
And because I like to state the obvious: If the crash remains tomorrow: it’s something different.
hmk
January 5, 2023, 1:05pm
#18
I have now updated the nightly to the version below, seems to be until the same commit as you had initially (bd5d10cd) and no crash on f37 when the drawing sheet template is missing.
Any chance you can share the drawing sheet, if so I could test with it?
Application: KiCad x86_64 on x86_64
Version: 6.99.0-1.20230104gitbd5d10c.fc37, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.14.1
libcurl/7.85.0 OpenSSL/3.0.5 zlib/1.2.12 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.51.0
Platform: , 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: Jan 4 2023 18:15:28
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.5.0
Curl: 7.85.0
ngspice: 38
Compiler: GCC 12.2.1 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
IIT-Titleblock.kicad_wks (80.8 KB)
it indeed has a png graphics in it!
straubm
January 5, 2023, 1:13pm
#20
The very core of many a management statement: BFO - Blinding Flash Of The Obvious
1 Like