KiCad 3D render coredumps after latest Manjaro/Arch updates - libEGL_mesa is suspect

Since this week’s Manjaro updates 3D render in KiCad’s pcb editor fails with core dumps. Never did this before latest updates. Version info is:
Application: KiCad PCB Editor
Version: (6.0.9), release build
wxWidgets 3.2.1
libcurl/7.87.0 OpenSSL/3.0.7 zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.4) libssh2/1.10.0 nghttp2/1.51.0
Platform: Linux 5.15.85-1-MANJARO x86_64, 64 bit, Little endian, wxGTK, xfce, x11
Build Info:
Date: Dec 12 2022 07:17:56
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.80.0
OCC: 7.6.3
Curl: 7.86.0
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:

I looked at the coredump and the bt top shows a SEGFAULT from /usr/lib/

Any help would be appreciated. Top of bt below:

Core was generated by `pcbnew /home/ecomer/Desktop/pcb_projects/kicad/pureaero-relay/pureaero-relay-2l’.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007efcc3d8c4e4 in ?? () from /usr/lib/
[Current thread is 1 (Thread 0x7efcadfc56c0 (LWP 1968))]
(gdb) bt
#0 0x00007efcc3d8c4e4 in () at /usr/lib/
#1 0x00007efcc0541ef3 in () at /usr/lib/dri/
#2 0x00007efcc05455de in () at /usr/lib/dri/
#3 0x00007efcc0545772 in () at /usr/lib/dri/
#4 0x00007efcc3d9d034 in () at /usr/lib/
#5 0x00007efcc3d9f412 in () at /usr/lib/
#6 0x00007efcc3d9f7bb in () at /usr/lib/
#7 0x00007efcc053f41a in () at /usr/lib/dri/
#8 0x00007efcc053f5b1 in () at /usr/lib/dri/
#9 0x00007efcc0542685 in () at /usr/lib/dri/
#10 0x00007efcc0609eca in () at /usr/lib/dri/
#11 0x00007efcc060aa56 in () at /usr/lib/dri/
#12 0x00007efcc05e4306 in () at /usr/lib/dri/
#13 0x00007efcc07d2aca in () at /usr/lib/dri/
#14 0x00007efcc07f7878 in () at /usr/lib/dri/
#15 0x00007efcc076bec8 in () at /usr/lib/dri/
#16 0x00007efcc054e966 in () at /usr/lib/dri/
#17 0x00007efcc059e43c in () at /usr/lib/dri/
#18 0x00007efd073a88fd in start_thread (arg=) at pthread_create.c:442
#19 0x00007efd0742aa60 in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

I have the same issue with Arch Linux. Both version 6.0.10 and the latest git version (r5dce8323e8). I opened a bug report. But it could be an OS specific issue.

What happens if you go to an older version of mesa?

The issue occurs with mesa-22.3+. With mesa-22.2.4 it seems to be OK.

OK, I would recommend reporting it to mesa then, it’s unlikely to be a KiCad bug.

I made a report


mesa_glthread=false seems to address it.

1 Like

Thank you. I’ll be able totest in Manjaro tomorrow night.

Out of my league. I’ll need to wait for brighter minds.

firewalker: since the Manjaro mesa update seems like it will be longer than I can wait, a couple of weeks ago I have put your suggested “mesa_glthread=false” into /etc/environment and now I can 3D render while waiting for the mesa update. Thanks for posting it.