Golly ios crashes forever with invalid icons

Has something gone haywire? Let us know about it!
Post Reply
User avatar
Redstoneboi
Posts: 429
Joined: May 14th, 2018, 3:57 am

Golly ios crashes forever with invalid icons

Post by Redstoneboi » December 12th, 2018, 9:15 am

This has happened to me twice, with valuable and irrecoverable data lost.
I've tried powering my device off and on, still a black screen with no sign of recovery.
It runs like an application designed to show a black screen, so I can still close it and do anything to the app, but not in it.

HOW TO REPLICATE (don't do this if you have valuable data)
1: make a rule
2: specify an @ICONS
3: put invalid XPM data
4: open the rule
5: exit golly
6: next time you open golly, there will be a black screen and you're stuck at that forever, until you reinstall.

this works with this rule:

Code: Select all

@RULE Crash

@TABLE
n_states:2
neighborhood:Moore
symmetries:none

@ICONS
XPM
"i sure hope i dont lose all my golly files"
"please fix i don't wanna lose them again"
it's just frustrating.
c(>^w^<c)~*
This is 「Fluffy」
「Fluffy」is my sutando.
「Fluffy」has the ability to engineer r e p l i c a t o r s.
「Fluffy」likes to watch spaceship guns in Golly.
「Fluffy」knows Natsuki best girl.

User avatar
PkmnQ
Posts: 1137
Joined: September 24th, 2018, 6:35 am
Location: Server antipode

Re: Golly ios crashes forever with invalid icons

Post by PkmnQ » December 13th, 2018, 12:54 am

I've got nothing to aay but YA GOT IOS GOLLY TOO?!

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

Re: Golly ios crashes forever with invalid icons

Post by fluffykitty » December 14th, 2018, 3:39 pm

My iOS Golly is permanently crashed for a different reason, but it's also due to an invalid rule. If it detects any problems with the current rule, instead of crashing or whatever, it should just switch to a default rule like desktop Golly.

User avatar
dvgrn
Moderator
Posts: 10671
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Golly ios crashes forever with invalid icons

Post by dvgrn » December 14th, 2018, 4:03 pm

fluffykitty wrote:My iOS Golly is permanently crashed for a different reason, but it's also due to an invalid rule. If it detects any problems with the current rule, instead of crashing or whatever, it should just switch to a default rule like desktop Golly.
Hm, I guess I'd better try this on an iPad, and see if there's some way to move or rename the GollyPrefs file. Golly saves the most recently used rule, and restores it on startup -- so any way of temporarily interrupting that storage and retrieval process ought to be enough to get Golly back in working order again.

Further bulletins as events warrant.

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

Re: Golly ios crashes forever with invalid icons

Post by Andrew » January 12th, 2019, 10:48 pm

Sorry for the late reply -- I've been overseas for the last few weeks with only occasional access to the internet.

The XPM bug has been fixed in the code on sourceforge, so if you have access to a Mac with Xcode then you could build a fixed version of Golly. It will probably be a few months before I release a new update (Apple don't make this a simple task).
Redstoneboi wrote:This has happened to me twice, with valuable and irrecoverable data lost....
I'd question the wisdom of using an iPad to store valuable data, but as mentioned in Help > Open Tab, Golly does support the transfer of pattern files and rule files from your iPad to a Mac/Windows desktop computer (and vice versa) using iTunes file sharing. Details here:

http://support.apple.com/kb/HT4094
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

Post Reply