russellallen / self

Making the world safe for objects
http://selflanguage.org
707 stars 76 forks source link

Stack Overflow sending simple message to empty list #111

Open edcrypt opened 7 years ago

edcrypt commented 7 years ago

The culprit: "at: 0 WithKey: 0"

On ubuntu, with a world built from master revision 8c65f05

error.txt

russellallen commented 7 years ago

Hi, can you let me know what your steps were to get to the error?

edcrypt commented 7 years ago

Sure.

First, I built the VM using a slight modified build script:

-docker run -i -v ${PWD}/..:/opt/self 32bit/ubuntu:14.04 /bin/bash -c "linux32 --32bit i386 /opt/self/vm/travis-ci-buildAndTest.sh"
+docker run -i -v ${PWD}/..:/opt/self helmijoe07/ubuntu-trusty-32bit /bin/bash -c "linux32 --32bit i386 /opt/self/vm/travis-ci-buildAndTest.sh"

... as the 32 bit ubuntu image is not available anymore.

Second, I just run created an alias to run release/artifacts/Self, did a cd objects, and once in the Vm repl, I used this command to build UI2:

'worldBuilder.self' _RunScript

After the build was done, I entered desktop open and, in the default shell evaluator, entered list copy. Then I opened an evaluator on the list outliner and entered the message.

russellallen commented 7 years ago

I'm having trouble recreating - it seems like something went wrong in the build and your lists don't have all the proper slots but it's a bit hard to determine.

Is it possible to see the output of the entire session? i.e. what happens from the moment you enter 'worldBuilder.self' _RunScript until you do list copy at: 0 WithKey: 0 and you get the crash?