DRC fill zones crash

Bug #1737557 reported by Hildo Guillardi Júnior
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Tomasz Wlostowski

Bug Description

Pcbnew crash using DRC (in the process to calculate the filled zones).
Version? last nightly (1955f25~61~ubuntu16.04.1).

Error printed in terminal:
Segmentation fault (core dumped)

Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

After update of 11/12/2017 on apt-get Ubuntu, the error is just in the Legancy Canvas.

Changed in kicad:
assignee: nobody → Tomasz Wlostowski (twlostow)
Changed in kicad:
importance: Undecided → Critical
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: New → Fix Committed
Revision history for this message
miceuz (mic-j) wrote :

Still crashes for me. Steps to reproduce - as before.

Application: kicad
Version: no-vcs-found-b47a06e~61~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.10.0-40-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

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_SPICE=ON

Revision history for this message
miceuz (mic-j) wrote :

Oops, posted to the wrong bug - I ment to post to the duplicate I have reported: https://bugs.launchpad.net/kicad/+bug/1737991

Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

Yes @miceuz, the bug still. I tested my files and your.
To work around I am using the other canvas to run the DRC. Bug to work in general I still preferring the Legacy because of the transparent visualization of filled areas.

Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

Maybe, tomorrow in next nightly release (with the release of the revision eed924fe45e85707a3032466c76fd2289881c325 by @Kicad-janitor), the bug will be fixed.
(It is normal 1 day for the code updates in the nightly release).

Revision history for this message
miceuz (mic-j) wrote :

For me it crashed even in legacy mode once, then I opened the file and can not make it to crash! Weird...

I'm experiencing it in b47a06e which is after eed924.

Now it kinda seems to work, but after running DRC zones are not updated. Like in pic attached. Turning display of filler areas off and on makes it to update and look properly.

Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

It is working now, for me.

Revision history for this message
energijapanikoj@gmail.com (energijapanikoj) wrote :

It does not crash for me, just zones are still not updated after DRC - is it by design? Should I report it as a separate bug?

Revision history for this message
Tomasz Wlostowski (twlostow) wrote : Re: [Bug 1737557] Re: DRC fill zones crash

On 15/12/17 15:01, <email address hidden> wrote:
> It does not crash for me, just zones are still not updated after DRC -
> is it by design? Should I report it as a separate bug?
>

Please attach the board. Legacy or GAL canvas?

Tom

Revision history for this message
energijapanikoj@gmail.com (energijapanikoj) wrote :

GAL canvas. Zones are filled by pressing B, just not after DRC.

Application: kicad
Version: no-vcs-found-75b21d0~61~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.10.0-40-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

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_SPICE=ON

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

Exactly 'B' rebuild zones, and the display is updated.
But running DRC rebuild zones, but the display is not updated.

This issue happens with any board, but only in OpenGL mode (Cairo mode updates the display)

Jeff Young (jeyjey)
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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