Golly crashes when setting rule

Has something gone haywire? Let us know about it!
Post Reply
User avatar
praosylen
Posts: 2443
Joined: September 13th, 2014, 5:36 pm
Location: Pembina University, Home of the Gliders
Contact:

Golly crashes when setting rule

Post by praosylen » February 25th, 2017, 8:31 pm

I have 64-bit Golly 2.8 on Mac, and it crashes when I try to set the rule to

Code: Select all

B4c4e4c4c4c3e3c5c5e6c6e2e2c2i2n2n6n6i6i3i5a3y1e1c5k7c7e4t4q4t6k4w4i88888000005i5y3a1c1e3k7e7c6e6c2c2e2n2i2i4r6i6n6n3c3e5e5c4e4c4e4e4e/S4c4e4c4c4c3e3c5c5e6c6e2e2c2i2n2n6n6i6i3i5a3y1e1c5k7c7e4t4q4t6k4w4i88888000005i5y3a1c1e3k7e7c6e6c2c2e2n2i2i4r6i6n6n3c3e5e5c4e4c4e4e4e
. This came about via a script, which could be optimized, but it also happens when I try to do it through the interface, and I'm not sure what the issue is. I could probably try something to fix the rulestring, but I still want to know what's going on.
former username: A for Awesome
praosylen#5847 (Discord)

The only decision I made was made
of flowers, to jump universes to one of springtime in
a land of former winter, where no invisible walls stood,
or could stand for more than a few hours at most...

User avatar
Mr. Missed Her
Posts: 90
Joined: December 7th, 2016, 12:27 pm
Location: Somewhere within [time in years since this was entered] light-years of you.

Re: Golly crashes when setting rule

Post by Mr. Missed Her » February 25th, 2017, 8:39 pm

Not unique to Mac. Crashes when I try it on Windows.
There is life on Mars. We put it there with not-completely-sterilized rovers.
And, for that matter, the Moon, Jupiter, Titan, and 67P/Churyumov–Gerasimenko.

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

Re: Golly crashes when setting rule

Post by Andrew » February 25th, 2017, 10:57 pm

Golly 2.9b1 doesn't crash -- just reports the rule as unknown (which it is -- you definitely need to fix the script that is creating it). Download links for 2.9b1 are here: viewtopic.php?f=7&t=2554
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly crashes when setting rule

Post by rowett » February 26th, 2017, 1:32 am

The rule is valid it's just too long. Golly has a maximum rule length of 200 characters and the rule as specified is 267 characters long. It would certainly be worth taking Andrew's advice and optimizing the script that created it to remove all of the duplication.

For reference the canonical form of the rule is only 65 characters long:
B012-ak3-jnqr4ceiqrtw5-jnqr6-a78/S012-ak3-jnqr4ceiqrtw5-jnqr6-a78

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

Re: Golly crashes when setting rule

Post by Andrew » February 26th, 2017, 1:40 am

rowett wrote:The rule is valid it's just too long.
Ah, I see. Chris, feel free to increase that limit to something like 500 if you think 200 is too small. There's no particular reason why we chose 200.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly crashes when setting rule

Post by rowett » February 26th, 2017, 1:47 am

Done.

Post Reply