[Vm-dev] Cog + Pi + OSProcess
David T. Lewis
lewis at mail.msen.com
Fri Jun 17 12:03:25 UTC 2016
On Fri, Jun 17, 2016 at 12:42:59AM -0700, Eliot Miranda wrote:
>
> Hi David,
>
>
> > On Jun 16, 2016, at 6:40 PM, David T. Lewis <lewis at mail.msen.com> wrote:
> >
> >
> >> On Wed, Jun 08, 2016 at 11:42:57AM -0700, tim Rowledge wrote:
> >>
> >> I finally got a moment to look at this - not that I really have much clue
> >> about the whole unix process thing - and it appears that something is odd
> >> with the compiled code in the plugin.
> >>
> >> My test is very simple - run the UnixProcess class>listDirectory example.
> >> It exits with a segfault and the forkAndExec??? method as the last thing
> >> on the stack.
> >>
> >> I build a debug vm (and had some fun with asserts and the ARM fp offset in
> >> the process, all fixed now) and??? it doesn???t fail. I???ve tried compiling
> >> the plugin with varying levels of optimisation, since we???ve fairly regularly
> >> seen problems there, and even at -O0 it fails. So debug -> OK, no-debug -> boom.
> >> Nice.
> >>
> >> Ideas?
> >
> > I just unpacked my new Raspberry Pi (thanks Ben and Tim for the shopping and
> > setup advice). Very cool. My only usability complaint is that the TV monitor
> > is in the next room, so I am getting a stiff neck trying to look at the monitor
> > while I type on my chiclet keyboard here in the kitchen. But it works, and it
> > is a real computer.
>
> I recommend you either set up a VNC server on the Pi and VNC in or use
> X11. I never attach a monitor to the Pi except during setup.
>
Thanks Eliot, I'll do that. I was partly making fun of myself fumbling around
trying to put the pieces together for the first time. Remember that classic
old video (from DEC research labs I think?) showing a first time user trying
to insert a floppy disk into a PC? That was me setting up my new Pi ;-)
Dave
More information about the Vm-dev
mailing list