Crash when closing Modedit after using polygon tool

Bug #1784504 reported by Jeff Young
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Seth Hillbrand

Bug Description

Open the footprint editor.
Open a footprint.
Select polygon tool, add a few points, and then cancel.
Close the footprint editor.

Segfault trying to delete the PointEditor's m_statusPopup from the parent window (FOOTPRINT_EDIT_FRAME), presumably after it has already been deleted by the PointEditor.

Revision history for this message
Jeff Young (jeyjey) wrote :

Does this reproduce for others?

Changed in kicad:
importance: Undecided → Critical
Revision history for this message
Seth Hillbrand (sethh) wrote :

Yes, reproduces on linux

Changed in kicad:
milestone: none → 5.0.1
status: New → Confirmed
Revision history for this message
Franck78 (fbourdonnec) wrote :

yes, v5.0.0 release build

*** Error in `/usr/local/bin/eeschema': free(): invalid size: 0x000000000614b990 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x740ef)[0x7ffff37870ef]
/lib64/libc.so.6(+0x79646)[0x7ffff378c646]
/lib64/libc.so.6(+0x7a393)[0x7ffff378d393]
/usr/lib64/libwx_gtk2u_core-suse.so.1(_ZN12wxWindowBase7DestroyEv+0x23)[0x7ffff6ee2aa3]
/usr/lib64/libwx_gtk2u_core-suse.so.1(_ZN12wxWindowBase15DestroyChildrenEv+0x29)[0x7ffff6ee2ad9]
/usr/lib64/libwx_gtk2u_core-suse.so.1(_ZN8wxWindowD1Ev+0xab)[0x7ffff6da754b]
/usr/lib64/libwx_gtk2u_core-suse.so.1(_ZN19wxTopLevelWindowGTKD2Ev+0xa6)[0x7ffff6da0566]
/usr/lib64/libwx_gtk2u_core-suse.so.1(_ZN11wxFrameBaseD1Ev+0x6c)[0x7ffff6e646ac]
/usr/local/bin/_pcbnew.kiface(+0x94472a)[0x7fffdeb5e72a]
/usr/local/bin/_pcbnew.kiface(+0x446bc0)[0x7fffde660bc0]

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: Confirmed → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
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.