Bug 1996626 - kicad crashes trying to launch simultator window (ngspice)
Summary: kicad crashes trying to launch simultator window (ngspice)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kicad
Version: 37
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Steven A. Falco
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-23 10:36 UTC by carl
Modified: 2023-02-13 01:23 UTC (History)
7 users (show)

Fixed In Version: kicad-5.1.10-6.fc34 kicad-5.1.10-6.fc33 kicad-6.0.11-3.fc37 kicad-6.0.11-3.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-13 00:40:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description carl 2021-08-23 10:36:49 UTC
Description of problem:

I have a schematic in Kicad that I have previously been able to simulate. Now when I go to the simulator menu item Kicad crashes due to not being able to find libngspice.so.0.0.0.


Version-Release number of selected component (if applicable):

kicad-5.1.10-1.fc34.x86_64

How reproducible:


Steps to Reproduce:
1. Create a new project in Kicad
2. Open schematic
3. Go to Tools > Simulator

Actual results:

Schematic window gives warning 'Missing ngspice shared library'
Main project window gives error 'libngspice.so.0.0.0: cannot open shared object file: No such file or directory'

Expected results:

Simulator window opens

Additional info:

I do not have libngspice.so.0.0.0, but I do have:
 - /usr/lib64/libngspice.so.0
 - /usr/lib64/libngspice.so.0.0.1

Running 'sudo journalctl -xe | grep kicad' shows:
Aug 23 18:59:30 jonsbo.local audit[46732]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=46732 comm="kicad" exe="/usr/bin/kicad" sig=11 res=1
Aug 23 18:59:30 jonsbo.local kernel: kicad[46732]: segfault at 7ffe00000005 ip 00007fec5b510354 sp 00007ffdc8258160 error 4 in libgobject-2.0.so.0.6800.3[7fec5b4ee000+30000]
Aug 23 18:59:31 jonsbo.local systemd-coredump[50651]: Process 46732 (kicad) of user 1000 dumped core.
                                                      #34 0x00005583cc6614fc main (kicad + 0x6f4fc)
                                                      #36 0x00005583cc665ece _start (kicad + 0x73ece)
░░ Subject: Process 46732 (kicad) dumped core
░░ Process 46732 (kicad) crashed and dumped core.
Aug 23 18:59:32 jonsbo.local systemd[2439]: app-glib-kicad-46732.scope: Consumed 42.956s CPU time.

Comment 1 Steven A. Falco 2021-08-23 13:57:37 UTC
Thanks for the report.  I can reproduce the problem, and I'll run a build of the package to pick up the new ngspice library.  It will take a little while, but it should be available in the "testing" area later today.

If enough people test and up-vote the testing version, it will become generally available quickly.

Comment 2 Fedora Update System 2021-08-23 20:57:17 UTC
FEDORA-2021-9ce7257048 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9ce7257048

Comment 3 Fedora Update System 2021-08-23 20:57:45 UTC
FEDORA-2021-f5144d49b0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f5144d49b0

Comment 4 Fedora Update System 2021-08-24 01:57:37 UTC
FEDORA-2021-9ce7257048 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9ce7257048`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9ce7257048

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-08-24 02:08:47 UTC
FEDORA-2021-f5144d49b0 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f5144d49b0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f5144d49b0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-08-25 19:57:10 UTC
FEDORA-2021-9ce7257048 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-08-25 20:04:43 UTC
FEDORA-2021-f5144d49b0 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Matthew Woehlke 2023-02-03 18:55:24 UTC
I'm having the same issue with kicad-6.0.10-1.fc36.x86_64...

Comment 9 Steven A. Falco 2023-02-03 20:35:35 UTC
I'm working on a fix.  It should be ready for testing within 12 hours or so.

In the meantime, please try:

sudo dnf install libngspice ngspice-codemodel

That should bring in the missing pieces.

Comment 10 Fedora Update System 2023-02-04 02:40:51 UTC
FEDORA-2023-aa8874e067 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-aa8874e067

Comment 11 Fedora Update System 2023-02-04 02:41:33 UTC
FEDORA-2023-ef6484d8cb has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ef6484d8cb

Comment 12 Fedora Update System 2023-02-05 02:05:54 UTC
FEDORA-2023-aa8874e067 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-aa8874e067`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-aa8874e067

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-02-05 02:24:16 UTC
FEDORA-2023-ef6484d8cb has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-ef6484d8cb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ef6484d8cb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2023-02-13 00:40:41 UTC
FEDORA-2023-aa8874e067 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-02-13 01:23:40 UTC
FEDORA-2023-ef6484d8cb has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.