Rule crash

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

Rule crash

Post by fluffykitty »

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: 127
Joined: July 22nd, 2014, 12:59 pm
Location: Within the infinite expanses of the Life universe

Re: Rule crash

Post by SuperSupermario24 »

It crashes iOS Golly too.

Code: Select all

7b2o2bo4bobo$obob2o5bo2bo4bobo$2bo4bo2b2o3bo4b2o$2o2bobo3bob2obo3bo$ob
ob2obo3bobobob3obo$4bo6b2o3bobo2bo$2o2bo2b2o11bo!
User avatar
Saka
Posts: 3626
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Rule crash

Post by Saka »

You forgot your commas. Maybe..?
jarring cyan
fluffykitty
Posts: 1178
Joined: June 14th, 2014, 5:03 pm
Contact:

Re: Rule crash

Post by fluffykitty »

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: 3626
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Rule crash

Post by Saka »

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...
jarring cyan
fluffykitty
Posts: 1178
Joined: June 14th, 2014, 5:03 pm
Contact:

Re: Rule crash

Post by fluffykitty »

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: 1039
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Rule crash

Post by Andrew »

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 or Glui to explore CA rules on non-periodic tilings: DominoLife and HatLife
Post Reply