Non-convergence during simulation causes the KiCAD Schematic Editor crash

168 views
Skip to first unread message

David Cat

unread,
Dec 25, 2023, 12:50:56 AM12/25/23
to KiCad Developers

Hello developers,
    When we simulate the circuit diagram using KiCAD, the Schematic Editor crashes. Simulating the same circuit diagram on different machines also results in a crash of the Schematic Editor. The outcome is as shown in the figure:crash.png
Our software is used in the following environment:

Application:

KiCad Schematic Editor(64-bit)

Version:

(6.0.9), release build

Libraries:

wxWidgets 3.2.1

libcurl/7.83.1-DEV Schannel zlib/1.2.12

Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:

Date: Oct 29 2022 23:44:28

wxWidgets: 3.2.1 (wchar_t,wx containers)

Boost: 1.79.0

OCC: 7.6.0

Curl: 7.83.1-DEV

ngspice: 37

Compiler: Visual C++ 1929 without C++ ABI

Build settings:

KICAD_USE_OCC=ON

KICAD_SPICE=ON

     To facilitate the reproduction of the issue, we have provided the circuit diagram file (crash.kicad_sh) and the simulation model library (PN2222.mod and diode.lib) used.  
Due to the limitation on uploading files with the .lib extension as attachments, we have changed the extension to .txt. When reproducing the issue, please change the extension back to .lib.

diode.txt
PN2222.mod
crash.cir
crash.kicad_sch

bevan...@gmail.com

unread,
Dec 25, 2023, 12:57:23 AM12/25/23
to dev...@kicad.org

You should report issues directly to the GitLab repository

https://gitlab.com/kicad/code/kicad/-/issues

 

It also appears that you’re using v6.0.9, and not the most recent release v7.0.9.

https://www.kicad.org/download/windows/

 

As such, you should reproduce the error under the latest released version of KiCad, and report this if it occurs there.

If the error is fixed in v7.0.9, then you should upgrade your current installation to fix the issue.

 

 

Regards,

Bevan Weiss

 

 

From: dev...@kicad.org <dev...@kicad.org> On Behalf Of David Cat
Sent: Monday, 25 December 2023 4:51 PM
To: KiCad Developers <dev...@kicad.org>
Subject: [kicad] Non-convergence during simulation causes the KiCAD Schematic Editor crash

 

Hello developers,
    When we simulate the circuit diagram using KiCAD, the Schematic Editor crashes. Simulating the same circuit diagram on different machines also results in a crash of the Schematic Editor. The outcome is as shown in the figure:


Our software is used in the following environment:

Application:

KiCad Schematic Editor(64-bit)

Version:

(6.0.9), release build

Libraries:

wxWidgets 3.2.1

libcurl/7.83.1-DEV Schannel zlib/1.2.12

Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:

Date: Oct 29 2022 23:44:28

wxWidgets: 3.2.1 (wchar_t,wx containers)

Boost: 1.79.0

OCC: 7.6.0

Curl: 7.83.1-DEV

ngspice: 37

Compiler: Visual C++ 1929 without C++ ABI

Build settings:

KICAD_USE_OCC=ON

KICAD_SPICE=ON

     To facilitate the reproduction of the issue, we have provided the circuit diagram file (crash.kicad_sh) and the simulation model library (PN2222.mod and diode.lib) used.  

Due to the limitation on uploading files with the .lib extension as attachments, we have changed the extension to .txt. When reproducing the issue, please change the extension back to .lib.

--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devlist+u...@kicad.org.
To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/b26919cd-df11-41d5-bf0f-0feb16371e8an%40kicad.org.

image001.png

David Cat

unread,
Dec 25, 2023, 2:55:12 AM12/25/23
to KiCad Developers, bevan...@gmail.com
Thank you very much for your response. I have downloaded the latest version, v7.0.9. The bug appeared in version v6.0.9 but is indeed no longer present in v7.0.9. It seems to be an old version simulation issue. I appreciate your reply, and I will be working in the new version moving forward.
Reply all
Reply to author
Forward
0 new messages