Updated Kicad yesterday from git.
Since then, when I open a project (which I edited just before the update) Kicad can't find any files in the project (no *.kicad_pcb no *.kicad_sch). It just says "Empty project"
Right clicking in that window immediately crashes Kicad with a segfault
(nothing in the console window)
Steps to reproduce
Worked with projects with in the old format (*.pcb, *sch)
Opened them with the Kicad git version and saved to the new format
Updated to the version mentioned above and tried to open the project again
@mangamaniakku Just breifly, I thought this was true, but I had switched to a 5.1.6 window. I can not confirm this behavior. Please check the version info at runtime. (Same version as you state, (5.99.0-2358-g6d8fb94d8))
Ok, I think I see what you mean now. Is is not so much that it can't be found, but rather that it is not shown properly in the treeview in the kicad manager. I got this backtrace:
(gdb) bt#0 0x00005619d9330e16 in ()#1 0x00007f3c9d4884c1 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#2 0x00007f3c9d4885c4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib/libwx_baseu-3.0.so.0#3 0x00007f3c9d48890e in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#4 0x00007f3c9d488994 in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#5 0x00007f3c9d488a32 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#6 0x00007f3c9d9eef4a in wxWindowBase::TryAfter(wxEvent&) () at /usr/lib/libwx_gtk3u_core-3.0.so.0#7 0x00007f3c9da5613e in wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_gtk3u_core-3.0.so.0#8 0x00007f3c9da6d733 in wxGenericTreeCtrl::OnMouse(wxMouseEvent&) () at /usr/lib/libwx_gtk3u_core-3.0.so.0#9 0x00007f3c9d4884c1 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#10 0x00007f3c9d4885c4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib/libwx_baseu-3.0.so.0#11 0x00007f3c9d48890e in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#12 0x00007f3c9d488994 in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#13 0x00007f3c9d488a32 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#14 0x00007f3c9da5613e in wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_gtk3u_core-3.0.so.0#15 0x00007f3c9d4887c7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0#16 0x00007f3c9d82c5f0 in () at /usr/lib/libwx_gtk3u_core-3.0.so.0#17 0x00007f3c9bb70f6f in () at /usr/lib/libgtk-3.so.0#18 0x00007f3c9b9a9052 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0#19 0x00007f3c9b9d1685 in () at /usr/lib/libgobject-2.0.so.0#20 0x00007f3c9b9c4a4b in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0#21 0x00007f3c9b9c5980 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0#22 0x00007f3c9be364a5 in () at /usr/lib/libgtk-3.so.0#23 0x00007f3c9bccfc55 in () at /usr/lib/libgtk-3.so.0#24 0x00007f3c9bcd0fad in gtk_main_do_event () at /usr/lib/libgtk-3.so.0#25 0x00007f3c9ba2a793 in () at /usr/lib/libgdk-3.so.0#26 0x00007f3c9ba7af94 in () at /usr/lib/libgdk-3.so.0#27 0x00007f3c9b70b43c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0#28 0x00007f3c9b7591d9 in () at /usr/lib/libglib-2.0.so.0#29 0x00007f3c9b709c03 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0#30 0x00007f3c9bcce08f in gtk_main () at /usr/lib/libgtk-3.so.0#31 0x00007f3c9d80b856 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk3u_core-3.0.so.0#32 0x00007f3c9d33ee0e in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0#33 0x00007f3c9d303f27 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.0.so.0#34 0x00005619d930c2c9 in ()#35 0x00007f3c9d3927f9 in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0#36 0x00005619d92eb668 in ()#37 0x00007f3c9c2b9002 in __libc_start_main () at /usr/lib/libc.so.6#38 0x00005619d92f713e in _start ()
Project manager on initial open:
At this point, double clicking on for example the "Empty project" entry in the treeview give above backtrace. There is a lot of wx stuff in that backtrace, I don't know if I can roll it back a bit to see stuff from kicad.
Opening eeschema and saving makes the schematic file appear in the treeview. Opening pcbnew and saving makes the board file appear in the treeview. But note that "Empty project" is still there.
Clicking the board file correctly jumps to pcbnew. Clicking "Empty project" still crashes. This happens always.