Bug 2178303 - Simulator crashes when starting simulation
Summary: Simulator crashes when starting simulation
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: qucs
Version: 37
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-14 18:55 UTC by Matti Lehti
Modified: 2023-03-14 18:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matti Lehti 2023-03-14 18:55:24 UTC
Description of problem:
When starting simulation of any circuit in qucs GUI, it is aborted at netlist creation with output like this in progress-window:
----------------------------
creating netlist...
NOTIFY: TR1: creating node list for initial DC analysis

Errors occurred during simulation on Tue 14. Mar 2023 at 20:46:11:685
Aborted.
----------------------------
And this in Errors and Warnings:
---------------------
/usr/include/c++/12/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = qucs::nodelist_t*; _Alloc = std::allocator<qucs::nodelist_t*>; reference = qucs::nodelist_t*&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.


ERROR: Simulator crashed!
Please report this error to qucs-bugs.net
-------------------------

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

How reproducible:
Tested four different examples and one own circuit. All failed with same error pointing to stl_vector.h:1123.

Steps to Reproduce:
1. Open any example project in /usr/share/qucs/examples
2. Start simulation
3.

Actual results:
Simulator crash.

Expected results:
Simulation output.

Additional info:


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