Crash after placing footprint pad on a via and undoing

Bug #1793110 reported by Aleksandr Sh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Tomasz Wlostowski

Bug Description

Steps to reproduce:
1. Download and open pcb file of attached project.
2. Update PCB from schematic.
3. Place J1 connector so that one of it's pads is on a via.
4. Ctrl-Z to undo everything.
5. Try to save the project or move a via.
6. Crash, pcb file is now empty.

Application: kicad
Version: (6.0.0-rc1-dev-484-g9b50b9406), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

In newer nightlies "Update PCB from schematic" does not add footprints for some reason.

Revision history for this message
Aleksandr Sh (dsa-t) wrote :
Revision history for this message
Jeff Young (jeyjey) wrote :

"pcb file is now empty"

A reproducible case of the disappearing tracks bug?

Changed in kicad:
importance: Undecided → Critical
Changed in kicad:
assignee: nobody → Tomasz Wlostowski (twlostow)
Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

Hi Aleksandr,

I can't reproduce the error on my system, maybe I'm doing something wrong. Could you make a movie showing how to trigger it?

Thanks,
Tom

Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

Ok, got it! In my case, only saving the project causes the crash and damaged board file. Working on a fix.

Changed in kicad:
status: New → Confirmed
milestone: none → 5.0.1
Changed in kicad:
status: Confirmed → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.