Pcbnew crashs on drag a track in "Drag 45 degree mode"

Bug #1839612 reported by Eberhard Seibel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Undecided
Seth Hillbrand

Bug Description

Perhaps this bug is similiar zu #1837766 (Dragging a via in 45° mode).

There is an attachement, which contains an example project. Pcbnew is started without any user defined changes in the environment of pcbnew like Track width, net width a.s.o..

To crash prcbnew is simple.

Open project
open pcbnew

Select one of the 3 track segments.
Choose "Drag (45 degree mode)"
 -> move the mouse -> Crash

Version info:
Application: Pcbnew
Version: (5.1.0-1467-g885497ec1), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

Tags: pcbnew pns
Revision history for this message
Eberhard Seibel (cantor53) wrote :
Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

Eberhard,

> Version: (5.1.0-1467-g885497ec1), release build

You're using a quite old version of KiCad. 5.1.3 stable is available already, please update.

Tom

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

Hi Tom,
This is a very recent version on master (last is 5.1.0-1469)
On master, our version numbering has an issue.
It should be 6.0.0-xxx, but it is 5.1.0-yyyy when the version string is built from git.

Revision history for this message
Eberhard Seibel (cantor53) wrote :

I had playing around with the <Interactive Router Settings>:
In Mode "walk Around" pcbnew crashs only in <Drag (45 degree Mode)>
Drad45Degr.png shows the setting above

Used Kicad version:
Download from Cern nightly Windows Version 5.1.0-1469 at 2019-8-9 20:00h

Application: KiCad
Version: (5.1.0-1469-g441c2c240), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

Rene Poeschl (poeschlr)
Changed in kicad:
status: Incomplete → New
Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

I can't reproduce it on my machine. Any chance you can post a stack trace?

Tom

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

I also have the crash on my W7 32 bits install with the test board, as soon as I try to drag the 45degrees segment (D hotkey).
Attached the trace.

Revision history for this message
Seth Hillbrand (sethh) wrote :

I see the issue locally. Fix incoming.

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

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

Changed in kicad:
status: New → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Seth Hillbrand (sethh)
Changed in kicad:
milestone: none → 6.0.0-rc1
tags: added: pns
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.