Rule crash

Has something gone haywire? Let us know about it!
Post Reply
fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

Rule crash

Post by fluffykitty » December 25th, 2016, 2:28 pm

Code: Select all

@RULE B1S_B2S_B2S_B2S
0 empty
1 grow state
2 shrink state
3 shrink state 2
4 shrink state 3
@TABLE
n_states:4
neighborhood:vonNeumann
symmetries:rotate4reflect
010002
022003
033004
044001
100000
200000
300000
400000
@COLORS
0 0 0 0
1 255 0 0
2 255 127 0
3 255 255 0
4 127 255 0
Crashes 2.9b1 and 2.8b1. (Mac, 10.11)

User avatar
SuperSupermario24
Posts: 121
Joined: July 22nd, 2014, 12:59 pm
Location: Within the infinite expanses of the Life universe

Re: Rule crash

Post by SuperSupermario24 » December 25th, 2016, 5:45 pm

It crashes iOS Golly too.

Code: Select all

bobo2b3o2b2o2bo3bobo$obobobo3bo2bobo3bobo$obobob2o2bo2bobo3bobo$o3bobo3bo2bobobobo$o3bob3o2b2o3bobo2bo!

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Rule crash

Post by Saka » December 25th, 2016, 8:13 pm

You forgot your commas. Maybe..?

fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

Re: Rule crash

Post by fluffykitty » December 25th, 2016, 9:18 pm

Nope. If you change n_states to 5 nothing bad happens. (If you don't use variables and n_states is less than 10, you can omit the commas.)

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Rule crash

Post by Saka » December 25th, 2016, 9:31 pm

fluffykitty wrote:Nope. If you change n_states to 5 nothing bad happens. (If you don't use variables and n_states is less than 10, you can omit the commas.)
Ah, yes. You need 5 states. Remember that background is counted. But why does it crash...

fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

Re: Rule crash

Post by fluffykitty » December 25th, 2016, 11:24 pm

Saka wrote:
fluffykitty wrote:Nope. If you change n_states to 5 nothing bad happens. (If you don't use variables and n_states is less than 10, you can omit the commas.)
Ah, yes. You need 5 states. Remember that background is counted. But why does it crash...
I know. I just forgot when pasting in the rule.

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Rule crash

Post by Andrew » May 15th, 2017, 7:03 pm

fluffykitty wrote:Crashes 2.9b1 and 2.8b1. (Mac, 10.11)
Thanks for the report. Fixed in the next release (you'll get an error message if a state value is too big).
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

Post Reply