Bug 2008299 - qucs crashes when simulating circuit
Summary: qucs crashes when simulating circuit
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: qucs
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-27 20:11 UTC by tlatorre
Modified: 2022-06-08 06:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-08 06:24:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Schematic (1011 bytes, text/plain)
2021-09-27 20:11 UTC, tlatorre
no flags Details
Netlist file (533 bytes, text/plain)
2021-09-27 20:12 UTC, tlatorre
no flags Details

Description tlatorre 2021-09-27 20:11:52 UTC
Created attachment 1826772 [details]
Schematic

Description of problem:

When trying to simulate a simple circuit, the simulator crashes.


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


How reproducible: Always


Steps to Reproduce:
1. Create a simple circuit
2. Try to simulate it
3. It fails to simulate, then go to ~/.qucs and run: $ qucsator -i netlist.txt

Actual results:

$ qucsator -i netlist.txt 
project location: 
modules to load: 0
factorycreate.size() is 0
factorycreate has registered:
parsing netlist...
checking netlist...
subcircuit root
  R:R1 gnd output R="50Ohm" Temp="26.85" Tc1="0" Tc2="0" Tnom="26.85"
  C:C1 _net0 output C="1e-12F"
  Vpulse:V1 _net0 gnd U1="0V" U2="1V" T1="0" T2="1e-08s" Tr="1e-09s" Tf="1e-09s"
  TR:TR1 Type="lin" Start="0" Stop="0.001s" Points="11" IntegrationMethod="Trapezoidal" Order="2" InitialStep="1e-09s" MinStep="1e-16" MaxIter="150" reltol="0.001" abstol="1e-12A" vntol="1e-06V" Temp="26.85" LTEreltol="0.001" LTEabstol="1e-06" LTEfactor="1" Solver="CroutLU" relaxTSR="no" initialDC="yes" MaxStep="0"
netlist content
      1 C instances
      1 R instances
      1 Vpulse instances
      1 TR instances
creating netlist...
NOTIFY: TR1: creating node list for initial DC analysis
/usr/include/c++/11/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = qucs::nodelist_t*; _Alloc = std::allocator<qucs::nodelist_t*>; std::vector<_Tp, _Alloc>::reference = qucs::nodelist_t*&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)

Expected results: No core dump


Additional info:

Comment 1 tlatorre 2021-09-27 20:12:21 UTC
Created attachment 1826773 [details]
Netlist file

Comment 2 Gabriel Somlo 2022-01-23 20:57:05 UTC
This: https://github.com/Qucs/qucsator/issues/32 might be relevant. Apparently it should be fixed in v0.0.20 -- any chance for a version bump in f34+?

As things stand right now, simulation is unusable on f34...

Comment 3 Jaroslav Škarvada 2022-01-24 22:49:41 UTC
I am OK to rebase to v0.0.20 once stable even in the f34.

Comment 4 Ben Cotton 2022-05-12 16:52:35 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Ben Cotton 2022-06-08 06:24:16 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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