-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculate DC bias with Sweep is broken #272
Comments
In "qucs.cpp": SweepDialog Dia = new SweepDialog((Schematic)sim->DocWidget); is causing the fault. I checked and "sim->DocWidget" is not NULL. "SweepDialog::SweepDialog(Schematic *Doc_)" seems to cause this. |
Will give it a try later. What about: moreover it seems to crash already on 0.0.18... In my fork, it works sometimes as there is a visible dock showing a warning. |
Another crash example: No idea if something is wrong in the schematic or if there is a lurking bug. |
With qucs 0.0.18, it crash with the two schematics. If that can help: For me gdb on my fork, report SIGSEV in sweepdialog.cpp at line 140 or 49, it depend some time the small dialog open sometime not. |
But if in the first "dc_bias_crash.sch" i f you rename the parameter, from "Vin" to another name, it doesn't crash... I renamed it to "abc" and it still crashes. |
I retry, redownloaded example, modify the parameter value to "abc", save the file, and press F8, and don't crash with version 0.0.18, but the small window to choose the DC point not appear all the time, only the first time... |
OK, I might have again missed something. |
This is the relevant part of the crash report I get with the first schematic:
|
@nvdl your pull request seems to fix the crash. I left some comments on the PR. |
This passing around of pointers is hurting my brain... has anyone looked at it? |
Another fix attempt and more discussion in PR #282. |
This schematic using a Sweep with a DC simulation crashes the Qucs GUI when running
Calculate DC bias
(F8
) . Simpler schematics often run, but the small dialog allowing to select the sweep run to use for showing the DC bias is not shown. Was apparently broken also in 0.0.18 (??).The text was updated successfully, but these errors were encountered: