EESchema — Segmentation fault when previewing footprint in assign tools

Bug #1831465 reported by Antoine Pintout on 2019-06-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Critical
Seth Hillbrand

Bug Description

EESchema : When assigning footprints to symbols, and the footprint preview is open, a segmentation fault occurs.

Steps to reproduce :
– Create a new KiCad project
— Open EESchema
— Place two LEDs
– Launch assign tool
— Launch footprint preview
— Assign two footprint to the symbols or change filtering options :
— KiCad should crash with :
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x0000555556279f00 in ?? ()

Version infos :
Application: Eeschema
Version: 6.0.0-unknown-cbea514~86~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-51-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.4.0 with C++ ABI 1011

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

description: updated
description: updated
tags: added: eeschema
Ian McInerney (imcinerney) wrote :

I can recreate this on the most recent master commit. The error is:

Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007fffcb2d47a6 in BOARD_ITEM::GetBoard (this=0x75343e0) at /home/imcinerney/Documents/kicadDev/kicad-master/pcbnew/class_board_item.cpp:72
72 return parent->GetBoard();

The backtrace leading to this is attached.

Seth Hillbrand (sethh) on 2019-06-03
Changed in kicad:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Seth Hillbrand (sethh)
milestone: none → 6.0.0-rc1
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments