I am trying to get KiCad working on my Manjaro install. I first tried to install with packages from AUR but I ran into issues with the library paths so decided to install from source. I had no problem with the compilation, but when I try to run CvPcb from EeSchema, KiCad crashes. I have provided the gdb backtrace (with debug symbols) below
➜ gdb kicad
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kicad...done.
(gdb) run
Starting program: /usr/local/bin/kicad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
(kicad:7913): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(kicad:7913): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
ElemsClear: clearing all _ELEMS for project
SetProjectFullName: old:'' new:'/home/tom/livelink/shiny-octo/board/shpcb.pro'
[New Thread 0x7fffe7bb3700 (LWP 7917)]
[New Thread 0x7fffe7397700 (LWP 7918)]
[New Thread 0x7fffe6b96700 (LWP 7919)]
12:07:17: Debug: FileWatcherReset: add '/home/tom/livelink/shiny-octo/board/footprints.pretty'
12:07:17: Debug: FileWatcherReset: add '/home/tom/livelink/shiny-octo/board/gerber'
12:07:17: Debug: FileWatcherReset: watched paths:
12:07:17: Debug: /home/tom/livelink/shiny-octo/board/gerber/
12:07:17: Debug: /home/tom/livelink/shiny-octo/board/
12:07:17: Debug: /home/tom/livelink/shiny-octo/board/footprints.pretty/
12:07:24: Debug: kiface SEARCH_STACK:
12:07:24: Debug: [ 0]:/usr/local/share/kicad/library
12:07:24: Debug: [ 1]:/usr/local/share/kicad/template
12:07:24: Debug: [ 2]:/usr/local/share
12:07:24: Debug: wxColour::Set - couldn't set to colour string 'NONE'
12:07:24: Debug: Unrecognized accel key 'bksp', accel string ignored.
wxFrame 19KICAD_MANAGER_FRAME : disabled
wxFrame 19KICAD_MANAGER_FRAME : enabled
wxFrame 19KICAD_MANAGER_FRAME : disabled
wxFrame 19KICAD_MANAGER_FRAME : enabled
ShowQuasiModal: optimal parent: 19KICAD_MANAGER_FRAME
wxFrame 19KICAD_MANAGER_FRAME : disabled
wxFrame 19KICAD_MANAGER_FRAME : enabled
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007ffff2a4c208 in ?? () from /usr/lib/libgobject-2.0.so.0
(gdb) bt
#0 0x00007ffff2a4c208 in () at /usr/lib/libgobject-2.0.so.0
#1 0x00007ffff2a51696 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#2 0x00007ffff2a52920 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#3 0x00007ffff307da60 in () at /usr/lib/libgtk-x11-2.0.so.0
#4 0x00007ffff2a37645 in g_object_unref () at /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff2a55332 in g_value_unset () at /usr/lib/libgobject-2.0.so.0
#6 0x00007ffff2a516cd in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#7 0x00007ffff2a52920 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff2fb2a86 in () at /usr/lib/libgtk-x11-2.0.so.0
#9 0x00007ffff2fb37ee in gtk_button_set_label () at /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007ffff6d1fb4e in wxButton::SetLabel(wxString const&) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#11 0x00007ffff6d1f109 in wxButton::Create(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long, wxValidator const&, wxString const&) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff6ee7cb9 in () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff6ee94f1 in wxLogGui::DoShowMultipleLogMessages(wxArrayString const&, wxArrayInt const&, wxArrayLong const&, wxString const&, int) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#14 0x00007ffff6ee24c5 in wxLogGui::Flush() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#15 0x00007ffff648e9a1 in wxLog::SetActiveTarget(wxLog*) () at /usr/lib/libwx_baseu-3.0.so.0
#16 0x00007ffff647e8e9 in wxEntryCleanup() () at /usr/lib/libwx_baseu-3.0.so.0
#17 0x00007ffff647e9ae in wxUninitialize() () at /usr/lib/libwx_baseu-3.0.so.0
#18 0x00007ffff647f5dc in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#19 0x00005555555dc061 in main(int, char**) (argc=1, argv=0x7fffffffe358) at /home/tom/Downloads/kicad-source-mirror/kicad/kicad.cpp:265
(gdb)
How do I stop KiCad from crashing?