Kicad-nightly doesn't run after update - Ubuntu

When executing kicad-nightly

/usr/bin/kicad-nightly: line 3: 12816 Segmentation fault      (core dumped) /usr/lib/kicad-nightly/bin/kicad "$@"

I run with gdb and got:

Starting program: /usr/lib/kicad-nightly/bin/kicad 
/usr/lib/kicad-nightly/bin/kicad: error while loading shared libraries: libkigal.so.9.0.0: cannot open shared object file: No such file or directory
[Inferior 1 (process 13048) exited with code 0177]

Uninstalling and installing again doesn’t help.

The crash should be fixed tomorrow.

The reason gdb doesn’t work when called like that is that /usr/bin/kicad-nightly is a wrapper script on Ubuntu and it’s setting some environment variables (see debian/rules · dailybuild · KiCad / KiCad Packaging / kicad-ubuntu-builder / KiCad Daily Package · GitLab )

You should be able to launch GDB if you do something like . /usr/share/kicad-nightly/kicad-nightly.env first

What is your OS version?

This Kicad nightly starts, but crashes when an attempt to open a project is made. I don’t now if this is the “fixed tomorrow” version (see message by @craftyjon ) or the version mentioned by the OP.

The previous version (downloaded six hours before the one shown below) would not open at all.

Application: KiCad x86_64 on x86_64

Version: 9.0.0-rc3-66cbc8127b~182~ubuntu22.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.11.1
	HarfBuzz 2.7.4
	FontConfig 2.13.1
	libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.18

Platform: Linux Mint 21.3, 64 bit, Little endian, wxGTK, X11, cinnamon, x11

Build Info:
	Date: Feb  8 2025 14:52:01
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.6.3
	Curl: 7.81.0
	ngspice: 43
	Compiler: GCC 11.4.0 with C++ ABI 1016
	KICAD_IPC_API=ON

Locale: 
	Lang: en_AU
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)

No, it is a day older

1 Like

Thanks, I didn’t want to unnecessarily create an issue.

For this reason, it is not possible to update and install the application if FreeCAD is installed on the system.

Application: KiCad x86_64 on x86_64

Version: 9.0.0-rc3-66cbc8127b~182~ubuntu22.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.11.1
	HarfBuzz 2.7.4
	FontConfig 2.13.1
	libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.18

Platform: Ubuntu 22.04.5 LTS, 64 bit, Little endian, wxGTK, X11, , 

Build Info:
	Date: Feb  8 2025 14:52:01
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.6.3
	Curl: 7.81.0
	ngspice: 43
	Compiler: GCC 11.4.0 with C++ ABI 1016
	KICAD_IPC_API=ON

Locale: 
	Lang: en_US
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)

Can be executed as root. I see its not just my case, so will wait for an update :slight_smile:

I you remove/rename KiCad settings folder, it will also start until you open any project.

Ubuntu 22.04 has libgit2 version 1.1.0, which was old enough to crash in our usage.

An updated KiCad build will be available in the ppa eventually.

Nightly is working again with this package:

Application: KiCad x86_64 on x86_64

Version: 9.0.0-rc3-9b184afb43~182~ubuntu22.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.11.1
	HarfBuzz 2.7.4
	FontConfig 2.13.1
	libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.18

Platform: Linux Mint 21.3, 64 bit, Little endian, wxGTK, X11, cinnamon, x11
OpenGL: Mesa, NV106, 4.3 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.3

Build Info:
	Date: Feb  9 2025 14:52:12
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.6.3
	Curl: 7.81.0
	ngspice: 43
	Compiler: GCC 11.4.0 with C++ ABI 1016
	KICAD_IPC_API=ON

Locale: 
	Lang: en_AU
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)

1 Like