PCBnew crash/hang on window close with GAL

Bug #1483020 reported by Benjamin Kohl
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Maciej Suminski

Bug Description

How to reproduce:
1. Open kicad\share\demos\video\video.pro
2. Start PCBNew
3. Switch to OpenGL
4. Try to close Window:
5. Status Bar: Shows Pads, Vias, etc = 0, except Net = 1
6. Window doesnt close.
7. Press F9 --> Empty Drawing Sheet
8. Try to close PCBNew Window again --> Crash

Application: kicad
Version: (2015-08-09 BZR 6077)-product release build
wxWidgets: Version 3.0.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.2,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Tags: cern gal
Revision history for this message
Benjamin Kohl (ben-819) wrote :

Maybe related to Bug #1483015 ?

Changed in kicad:
status: New → Confirmed
Revision history for this message
jean-pierre charras (jp-charras) wrote :

I can confirm.

Using video.kicad_pcb:

In debug mode, I have error messages like:
- run out of memory
- vertex allocation error
- gpu error
Even without using the GAL mode, in legacy mode, there is also a crash just when trying to make invisible a copper layer.

With a older version ( I still have a copy of version 6016) it does not happen.

Revision history for this message
Benjamin Kohl (ben-819) wrote :

Version 6056 worked fine for me without hang or crash.

tags: added: cern gal
Changed in kicad:
assignee: nobody → Maciej Sumiński (orsonmmz)
Revision history for this message
jean-pierre charras (jp-charras) wrote :

Version 6055 crashes for me on exit.

Revision history for this message
Benjamin Kohl (ben-819) wrote :

I checked V6056 again. It seems to crash sometimes, when I close the PCBNew window with OpenGL view enabled. V6077 was crashing almost every time, even when switching to the old canvas before closing the window.

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Can you test with revision 6089?

Revision history for this message
jean-pierre charras (jp-charras) wrote :

In rev 6090, I do not have the crashes I had previously with my large test boards.

Thanks.

Revision history for this message
Benjamin Kohl (ben-819) wrote :

Rev 6089 seems to work fine so far!
Thank you.

Changed in kicad:
status: Confirmed → Fix Committed
Jon Neal (reportingsjr)
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.