Comment 65 for bug 1835296

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

Holger, am I supposed to run frame variable after the crash? I
compiled with -O0 and also with -Og and both times I got:

(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 available>
(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>

Any thoughts?

On Thu, Sep 19, 2019 at 7:45 AM Holger Vogt <email address hidden> wrote:
>
> Maybe it is necessary to compile without optimization, e.g. without -O2
> and -O3 flags.
>
> --
> 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