Skip to content

Instantly share code, notes, and snippets.

@guitorri
Created December 11, 2014 18:53
Show Gist options
  • Save guitorri/75dd552ba13753e4bc21 to your computer and use it in GitHub Desktop.
Save guitorri/75dd552ba13753e4bc21 to your computer and use it in GitHub Desktop.
tvector_crash
~/git/qucs-test/testsuite/TR_diode_hb_prj $ lldb -- /Users/guitorri/local/qucs/tvector/bin/qucsator -i netlist.txt
(lldb) target create "/Users/guitorri/local/qucs/tvector/bin/qucsator"
Current executable set to '/Users/guitorri/local/qucs/tvector/bin/qucsator' (x86_64).
(lldb) settings set -- target.run-args "-i" "netlist.txt"
(lldb) r
Process 75728 launched: '/Users/guitorri/local/qucs/tvector/bin/qucsator' (x86_64)
project location:
modules to load: 0
factorycreate.size() is 0
factorycreate has registered:
parsing netlist...
checking netlist...
checker notice, variable `time' in equation `Spectrum' not yet defined
checker notice, variable `Node3.Vt' in equation `Spectrum' not yet defined
subcircuit root
Vac:V1 Node1 gnd U="10V" f="1e+09Hz" Phase="0" Theta="0"
Diode:D1 gnd Node3 Is="1e-15A" N="1" Cj0="0F" M="0.5" Vj="0.7V" Fc="0.5" Cp="0F" Isr="0" Nr="2" Rs="0Ohm" Tt="0s" Ikf="0" Kf="0" Af="1" Ffe="1" Bv="0.7" Ibv="0.001A" Temp="26.85" Xti="3" Eg="1.11" Tbv="0" Trs="0" Ttt1="0" Ttt2="0" Tm1="0" Tm2="0" Tnom="26.85" Area="1"
R:R1 Node1 Node2 R="100" Temp="26.85" Tc1="0" Tc2="0" Tnom="26.85"
R:R2 Node2 Node3 R="100" Temp="26.85" Tc1="0" Tc2="0" Tnom="26.85"
HB:HB1 f="1e+09Hz" n="8" iabstol="1e-12A" vabstol="1e-06V" reltol="0.001" MaxIter="150"
TR:TR1 Type="lin" Start="0" Stop="4e-09s" Points="256" 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 Diode instances
2 R instances
1 HB instances
1 Vac instances
1 TR instances
creating netlist...
checker notice, variable `time' in equation `Spectrum' not yet defined
checker notice, variable `Node3.Vt' in equation `Spectrum' not yet defined
NOTIFY: TR1: creating node list for initial DC analysis
NOTIFY: TR1: solving initial DC netlist
NOTIFY: TR1: creating node list for transient analysis
NOTIFY: TR1: solving transient netlist
NOTIFY: TR1: average time-step 4.41014e-12, 254 rejections
NOTIFY: TR1: average NR-iterations 3.76295, 0 non-convergences
checker notice, variable `time' in equation `Spectrum' not yet defined
checker notice, variable `Node3.Vt' in equation `Spectrum' not yet defined
Process 75728 stopped
* thread #1: tid = 0x2e957b, 0x000000010006cd77 libqucs.0.dylib`qucs::tvector<double>::get(this=0x00007fff5fbfefe0, i=69606) + 151 at tvector.cpp:86, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7fff5fc87000)
frame #0: 0x000000010006cd77 libqucs.0.dylib`qucs::tvector<double>::get(this=0x00007fff5fbfefe0, i=69606) + 151 at tvector.cpp:86
83 template <class nr_type_t>
84 nr_type_t tvector<nr_type_t>::get (int i) {
85 assert (i >= 0 && i < (int)data->size ());
-> 86 return (*data)[i];
87 }
88
89 // Sets the tvector element at the given position.
(lldb) bt
* thread #1: tid = 0x2e957b, 0x000000010006cd77 libqucs.0.dylib`qucs::tvector<double>::get(this=0x00007fff5fbfefe0, i=69606) + 151 at tvector.cpp:86, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7fff5fc87000)
* frame #0: 0x000000010006cd77 libqucs.0.dylib`qucs::tvector<double>::get(this=0x00007fff5fbfefe0, i=69606) + 151 at tvector.cpp:86
frame #1: 0x00000001000ebf95 libqucs.0.dylib`qucs::hbsolver::expandFrequencies(this=0x0000000100c0b0a0, f=1000000000, n=7) + 245 at hbsolver.cpp:342
frame #2: 0x00000001000e8dc4 libqucs.0.dylib`qucs::hbsolver::collectFrequencies(this=0x0000000100c0b0a0) + 516 at hbsolver.cpp:394
frame #3: 0x00000001000e87b9 libqucs.0.dylib`qucs::hbsolver::solve(this=0x0000000100c0b0a0) + 73 at hbsolver.cpp:154
frame #4: 0x000000010005f76d libqucs.0.dylib`qucs::net::runAnalysis(this=0x0000000100c08100, err=0x00007fff5fbff3c0) + 493 at net.cpp:267
frame #5: 0x0000000100002ace qucsator`main(argc=3, argv=0x00007fff5fbffa08) + 4750 at ucs.cpp:251
frame #6: 0x0000000100001834 qucsator`start + 52
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment