You are not logged in.

#1 2021-03-02 18:18:48

qurn
Member
Registered: 2017-10-13
Posts: 21

[solved]kicad-git schematic editor crashing

I have problems with kicad-git. When I open the schematic editor, it is crashing with this error:

(kicad:303245): Gdk-ERROR **: 19:08:02.290: The program 'kicad' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 2823 error_code 2 request_code 151 (GLX) minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

Is there a way to fix this, or move my projects to the mainline non-git kicad?

Application: KiCad

Version: (5.99.0-9534-g959ae73a01), release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.75.0 OpenSSL/1.1.1j zlib/1.2.11 zstd/1.4.8 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0

Platform: Linux 5.11.2-arch1-1 x86_64, 64 bit, Little endian, wxGTK, , tty

Build Info:
	Date: Mar  1 2021 19:53:59
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.75.0
	OCC: 7.5.0
	Curl: 7.75.0
	ngspice: 33
	Compiler: GCC 10.2.0 with C++ ABI 1014

Build settings:
	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
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

Last edited by qurn (2021-03-02 23:10:44)

Offline

#2 2021-03-02 21:03:33

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [solved]kicad-git schematic editor crashing

Do you use wayland? There is an upstream bug report "KiCad does not work natively on Wayland."

Offline

#3 2021-03-02 22:55:58

qurn
Member
Registered: 2017-10-13
Posts: 21

Re: [solved]kicad-git schematic editor crashing

No wayland. kicad-git was working before. I made some projects here and since some weeks it doesn't anymore. I can't tell if it failed after a new compilation. Can someone confirm that a current installation works for them?

Offline

#4 2021-03-02 23:02:59

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [solved]kicad-git schematic editor crashing

I have a working (at least not segfaulting) version from 23 decembre.

5.99.0.r7781.g912657dd23-1

Last edited by Stefan Husmann (2021-03-02 23:03:41)

Offline

#5 2021-03-02 23:03:54

qurn
Member
Registered: 2017-10-13
Posts: 21

Re: [solved]kicad-git schematic editor crashing

I just got it working. I removed a configuration for my intel gpu:
/etc/X11/xorg.conf.d/20-intel.conf
which contained:

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "TearFree" "true"
  Option "DRI" "2"
EndSection

Offline

#6 2021-03-03 07:38:03

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [solved]kicad-git schematic editor crashing

I rebuild kicad and can now confirm, that a recent checkout also works for me.

Offline

Board footer

Powered by FluxBB