PCBNew crashes when deleting a locked footprint

Bug #1843048 reported by Leandro Heck
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Incomplete
Undecided
Unassigned

Bug Description

PCBNew crashes when deleting a locked footprint

Application: Pcbnew
Version: 5.1.4-e60b266~84~ubuntu19.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3
Platform: Linux 5.0.0-27-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

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

Tags: pcbnew
Revision history for this message
Ian McInerney (imcinerney) wrote :

@Leandro, are you sure this is running with the current 5.1 nightly? There was an issue with deleting locked items earlier, but it was fixed a while ago. I just tried deleting a locked item in the current build I have, and it didn't crash.

Application: Pcbnew
Version: (5.1.4-62-g8d04d3903), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.65.3 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.38.0
Platform: Linux 5.1.18-300.fc30.x86_64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.65.3
    Compiler: Clang 8.0.0 with C++ ABI 1002

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

Changed in kicad:
status: New → Incomplete
tags: added: pcbnew
Revision history for this message
Leandro Heck (leoheck) wrote : Re: [Bug 1843048] Re: PCBNew crashes when deleting a locked footprint
Download full text (3.9 KiB)

Hi @Iam

I am pretty sure. It has crashed 2 times, Then I opened it again to get the
version number to report the issue here.
I just started the project using a template this time. It may be related.
The template is one of the RPi Hat (it was the one with some components on
top of it)

I also have 2 installed Kicad version. The second version is the latest
dev-nightly 5.99, it is as follow.
However, I am sure I was not using 5.99

Application: KiCad
Version: 5.99.0-unknown-8d86d94~100~ubuntu19.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3
Platform: Linux 5.0.0-27-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    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

--
Leandro Heck

On Fri, Sep 6, 2019 at 10:50 AM Ian McInerney <email address hidden>
wrote:

> @Leandro, are you sure this is running with the current 5.1 nightly?
> There was an issue with deleting locked items earlier, but it was fixed
> a while ago. I just tried deleting a locked item in the current build I
> have, and it didn't crash.
>
> Application: Pcbnew
> Version: (5.1.4-62-g8d04d3903), debug build
> Libraries:
> wxWidgets 3.0.4
> libcurl/7.65.3 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7
> libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib
> nghttp2/1.38.0
> Platform: Linux 5.1.18-300.fc30.x86_64 x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
> Boost: 1.69.0
> OpenCASCADE Community Edition: 6.9.1
> Curl: 7.65.3
> Compiler: Clang 8.0.0 with C++ ABI 1002
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=ON
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_PYTHON3=OFF
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_USE_OCC=OFF
> KICAD_SPICE=ON
>
>
> ** Changed in: kicad
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1843048
>
> Title:
> PCBNew crashes when deleting a locked footprint
>
> Status in KiCad:
> Incomplete
>
> Bug description:
> PCBNew crashes when deleting a locked footprint
>
>
> Application: Pcbnew
> Version: 5.1.4-e60b266~84~ubuntu19.04.1, release build
> Libraries:
> wxWidgets 3.0.4
> libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5
> libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0
> librtmp/2...

Read more...

Revision history for this message
Ian McInerney (imcinerney) wrote :

@Leandro, are you using the kicad-5.1 PPA (https://launchpad.net/~js-reynaud/+archive/ubuntu/kicad-5.1) to install this? I was slightly confused by your version number and thought you were using nightly builds for 5.1 instead of the PPA. If that is the case, then this has already been fixed and will be released as part of the 5.1.5 release.

Revision history for this message
Leandro Heck (leoheck) wrote :

These are the 2 ppa's I have installed.

http://ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu disco main
http://ppa.launchpad.net/js-reynaud/kicad-dev-nightly/ubuntu disco main

--
Leandro Heck

On Fri, Sep 6, 2019 at 12:00 PM Ian McInerney <email address hidden>
wrote:

> @Leandro, are you using the kicad-5.1 PPA (https://launchpad.net/~js-
> reynaud/+archive/ubuntu/kicad-5.1
> <https://launchpad.net/~js-reynaud/+archive/ubuntu/kicad-5.1>) to install
> this? I was slightly
> confused by your version number and thought you were using nightly
> builds for 5.1 instead of the PPA. If that is the case, then this has
> already been fixed and will be released as part of the 5.1.5 release.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1843048
>
> Title:
> PCBNew crashes when deleting a locked footprint
>
> Status in KiCad:
> Incomplete
>
> Bug description:
> PCBNew crashes when deleting a locked footprint
>
>
> Application: Pcbnew
> Version: 5.1.4-e60b266~84~ubuntu19.04.1, release build
> Libraries:
> wxWidgets 3.0.4
> libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5
> libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0
> librtmp/2.3
> Platform: Linux 5.0.0-27-generic x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+
> 3.24
> Boost: 1.67.0
> OpenCASCADE Community Edition: 6.9.1
> Curl: 7.64.0
> Compiler: GCC 8.3.0 with C++ ABI 1013
>
> 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
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1843048/+subscriptions
>

Revision history for this message
Ian McInerney (imcinerney) wrote :

Ok, that is the 5.1.4 release not the 5.1 nightly, so I was confused earlier. This has been fixed and will be contained in the next bug fix release.

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.