From: Shouri C. <sh...@ee...> - 2012-06-09 09:27:07
|
Hi, I am trying to use the pss experimental analysis. I have been trying both, with ngspice-24, as well as the git version. The test circuit is a quad coupled oscillator (like the one in the pss examples folder, but with different l, c etc values and bsim3 MOS models.) The pss analysis converges and then, before giving me the prompt, crashes: Convergence reached. Final circuit time is 1.263414241e-08 s and predicted fundamental frequency is 3.87808e+09 Hz. ---------------- throwing out permanent breakpoint times <= current time (brk pt: 1.26341e-08) ckt_time: 1.26341e-08 ckt_min_break: 1.25e-18 throwing out permanent breakpoint times <= current time (brk pt: 1.2892e-08) ckt_time: 1.2892e-08 ckt_min_break: 1.25e-18 No. of Data Rows : 1024 No. of Data Rows : 11 *** glibc detected *** ngspice: double free or corruption (!prev): 0x000000000408bd20 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7e626)[0x7fdabc7a5626] followed by a lengthy backtrace. I have used gdb to find out what is going on: The crash occurs in the function plotAddRealValue (frontend/outitf.c). After going through this function several times (roughly 8*1024 times), the function for the first time enters the section with the "real parading as a VF_COMPLEX". As soon as the TREALLOC is attempted, the program crashes. Let me know what I can do to help debug this further, or to clean this up. Shouri _________ Asst Professor Department of Electrical Engineering IIT Delhi, Hauz Khas New Delhi 110016, India |