Comment 63 for bug 1835296

Revision history for this message
Adam Wolf (adamwolf) wrote : Re: [Bug 1835296] Re: simulating laser_driver on macos nightly causes segfault

This is for sallen_key.

Do I need to modify the ngspice build in order to get these? Just let
me know, I can rebuild everything and retest pretty quickly.

Process 82432 stopped
* thread #16, stop reason = EXC_BAD_ACCESS (code=1, address=0x1c0)
    frame #0: 0x000000013652e5ad
libngspice.0.dylib`MIFsetup(matrix=<unavailable>,
inModel=<unavailable>, ckt=<unavailable>, states=<unavailable>) at
mifsetup.c:148:32 [opt]
   145 if(model->param[i]->is_null) {
   146
   147 /* setup a pointer for quick access */
-> 148 param_info = &(DEVices[mod_type]->DEVpublic.param[i]);
   149
   150 /* determine the size and allocate the
parameter element(s) */
   151 if(! param_info->is_array) {
Target 0: (kicad) stopped.
(lldb) frame variable
(SMPmatrix *) matrix = <variable not available>
(GENmodel *) inModel = <variable not available>
(CKTcircuit *) ckt = <variable not available>
(int *) states = <variable not available>
(MIFmodel *) model = <variable not available>
(MIFinstance *) here = <variable not available>
(int) i = <variable not available>
(int) max_size = <variable not avaiable>
(int) size = <variable not available>
(int) j = <variable not available>
(int) num_conn = <variable not available>
(int) num_port = <variable not available>
(int) k = <variable not available>
(Mif_Boolean_t) is_input = <variable not available>
(Mif_Boolean_t) is_output = <variable not available>
(Mif_Smp_Ptr_t *) smp_data_out = <variable not available>
(Mif_Port_Type_t) type = <variable not available>
(char *) suffix = <variable not available>
(CKTnode *) tmp = <variable not available>
(int) error = <variable not available>
(Mif_Port_Type_t) out_type = <variable not available>
(int) l = <variable not available>
(Mif_Smp_Ptr_t *) smp_data_cntl = <variable not available>
(Mif_Port_Type_t) in_type = <variable not available>
(Mif_Cntl_Src_Type_t) cntl_src_type = <variable not available>
(int) mod_type = <no location, value may have been optimized out>
(int) num_port_k = <no location, value may have been optimized out>
(Mif_Param_Info_t *) param_info = <no location, value may have been
optimized out>

On Wed, Sep 18, 2019 at 8:51 AM Holger Vogt <email address hidden> wrote:
>
> It tells as about the exact place, but might be good to know the
> variables.
>
> Could you execute the command
>
> frame variable
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1835296
>
> Title:
> simulating laser_driver on macos nightly causes segfault
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1835296/+subscriptions