A complete crash of Kicad tools after using Moving, Place, Rotate PCB Footprint

Bug #1775727 reported by Callisto Pili
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Seth Hillbrand

Bug Description

Hi Devs,

I noted today that the Kicad tools completely crashed after doing just some footprint movement on PCBnew.

I saved the PCB all the time to keep the changes and able to reopen the PCB in the state before the crash.

At the moment I don't know exactly what is the reason but it happened randomly 90% of the time.
the fastest crash was just 10 seconds after using Pcbnew, the slowest probably few minutes.
If I do nothing PCBnew is still alive.

Task Manager in Windows doesn't report anomalous values for the memory usage.(93MB constantly ??)

Could you please let me know how to profile or to make a Stack call report to spot what happened, please?

I have to find a reproducible behaviour to spot the potential root cause of the problem.

Thanks.
Callisto.

Application: kicad
Version: (5.0.0-rc2-100-g6d77e594b), 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

Revision history for this message
Seth Hillbrand (sethh) wrote :

1) Does this happen in Eeschema or only pcbnew?

2) Does it happen in all canvases? (Modern, Fallback and Legacy)

Revision history for this message
Callisto Pili (callisto-pili) wrote :

Hi Seth,

The crash I mentioned still exists.

I am trying to reduce the crash behaviour as clear as possible.

At the moment the problem is in the PCBnew, with "Legacy" graphics.
Legacy Graphics is the only one which shows partial ratsnet if full view is disables
I figured out with just few actions a reproducible crash.
It is not immediate but after a bit "I am" crashing Kicad PCBNew and all the other Kicad windows(EESchema and the Kicad Project window).

At the moment I done only these sequence after opening the PCBNew with a PCB:
- keypressed M into a component pointed by the mouse
- move the footprint around the square box appears at the place where the footprint was,
- just make rotate(R) move(M) and place(mouse click) continuosly.
repeat all these steps above.
At some point the busy mouse icon appears and All Kicad crashes.

Reopened again, then do the same actions, crash again.

Now

Revision history for this message
Callisto Pili (callisto-pili) wrote :

WIth Fallback and Accelerated mode I don't have any crash at the moment.

In Legacy mode yes, I confirm I a m havng contiuous crash and described in the previous message.

C.

Seth Hillbrand (sethh)
Changed in kicad:
importance: Undecided → Critical
milestone: none → 5.0.0-rc3
status: New → Confirmed
Seth Hillbrand (sethh)
Changed in kicad:
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision c5c52c3dfd77cb017cb2476b849759efd1d56bf9
https://git.launchpad.net/kicad/patch/?id=c5c52c3dfd77cb017cb2476b849759efd1d56bf9

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

Remote bug watches

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