Comment 100 for bug 1835296

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

Is anyone else having email troubles on this ticket? I just got one of
Jonatan's messages a few minutes ago, this evening, even though I see
it was quoted in later responses that I got hours ago!

On Thu, Oct 3, 2019 at 1:46 PM Adam Wolf <email address hidden> wrote:
>
> Can you try running kicad and eeschema by clicking on the icon? :D I
> have tried the October nightlies on multiple computers and do not have
> issues with ngspice and sallen_key or laser_driver on any of those.
> If that works fine for you, I'm going to close this ticket.
>
> If you want to reopen a new one for opening kicad from the command
> line from different locations on macos, that's a new ticket. It is
> unclear to me from your transcript what you're doing or what's going
> on, so maybe add a little more explanation.
>
> On Thu, Oct 3, 2019 at 1:06 PM Jonatan Liljedahl
> <email address hidden> wrote:
> >
> > > > That search path is not complied into ngspice at all. It works for me both
> > > > inside and outside of Applications, and renamed. I do not have ngspice
> > > > installed anywhere on my computer, and those downloaded installs work for
> > > > me where ever I place them. I did not test as standalone or not, but I
> > > > will test that as well.
> > >
> > > This is weird. I tried again running kicad.app from
> > > "/Applications/KiCad 5.99/" and now it worked as expected. I'm 99%
> > > sure I did exactly as before. Maybe some other random bug, or some OS
> > > caching mystery?
> >
> > Update: now I see the difference. When running via lldb:
> >
> > lijon-mbp:Applications lijon$ cd KiCad\ 5.99/
> > lijon-mbp:KiCad 5.99 lijon$ lldb kicad.app
> > (lldb) target create "kicad.app"
> > Current executable set to 'kicad.app' (x86_64).
> > (lldb) run
> >
> > It does not find the cm files:
> >
> > Error on line 0 :
> > a$poly$e.xu1.x1.egnd %vd [ +12v 0 -12v 0 ] %vd ( xu1.x1.99 0 )
> > a$poly$e.xu1.x1.egnd
> > MIF-ERROR - unable to find definition of model a$poly$e.xu1.x1.egnd
> > Warning: Model issue on line 0 :
> > .model a$poly$e.xu1.x1.egnd spice2poly coef = [ 0 .5 .5 ] ...
> > Unknown model type spice2poly - ignored
> > ...
> >
> > Running it like this from the commandline works though:
> >
> > lijon-mbp:Applications lijon$ cd KiCad\ 5.99/
> > lijon-mbp:KiCad 5.99 lijon$ open kicad.app
> >
> > But not like this (can't find cm files):
> >
> > lijon-mbp:KiCad 5.99 lijon$ cd kicad.app
> > lijon-mbp:kicad.app lijon$ Contents/MacOS/kicad
> >
> > Unless I rename the folder to "KiCad" only, then it works:
> >
> > lijon-mbp:Applications lijon$ cd KiCad
> > lijon-mbp:KiCad lijon$ cd kicad.app/
> > lijon-mbp:kicad.app lijon$ Contents/MacOS/kicad
> >
> > So, there's definitely some room for improvement here.
> >
> > --
> > /Jonatan
> > http://kymatica.com
> >
> > --
> > 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