Golly bugs

Has something gone haywire? Let us know about it!
User avatar
confocaloid
Posts: 2360
Joined: February 8th, 2022, 3:15 pm

Re: Golly bugs

Post by confocaloid » October 1st, 2023, 5:52 pm

confocaloid wrote:
October 1st, 2023, 5:34 pm
I got the following steps, when trying to reproduce this:
...
b3s23love wrote:
October 1st, 2023, 5:49 pm
Would you like to repeat this with 10^30?
No, I was just trying to get a specific way of reproducing the bug (i.e. specific generation, specific coordinates to add a cell, where exactly to look, etc.) Hopefully the above suffices for that purpose.
127:1 B3/S234c User:Confocal/R (isotropic rules, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

User avatar
pzq_alex
Posts: 791
Joined: May 1st, 2021, 9:00 pm
Location: tell me if you know

Re: Golly bugs

Post by pzq_alex » October 2nd, 2023, 12:52 am

confocaloid wrote:
October 1st, 2023, 5:34 pm
* Turn "View -> Show Exact Numbers" on.
* Open the pattern via "Open Clipboard". The top-left cell should get coordinates (0,0).
* Use goto.lua to go to the generation 1000000000000000 (10^15).
* The displayed population is 1,042,324,103,587,982.
* Add a single state-1 cell at X = 56, Y = 43 (inside the tub).
* Now the displayed population is 1,042,324,158,506,313. (Addition of one cell changed the population by more than 1.)
* Press F to zoom out. Instead of the expected single diagonal line, there are two intersecting diagonal lines.
[/quote]

Using these steps I found that this is a bug with the Super algorithm, not with HashLife (Edit: I mean the HashLife algorithm, as in Control -> Set Algorithm -> HashLife). Exact steps to reproduce:

* Turn "View -> Show Exact Numbers" on (Ctrl-E).
* Open the pattern via "Open Clipboard".
* Press Alt-J to convert the pattern to two-state Life.
* Use goto.lua to go to generation 10^15.
* Observe that adding a cell or deleting one only changes the population by one. Also, pressing F shows that there is no extraneous diagonal line.
Last edited by pzq_alex on October 2nd, 2023, 4:01 am, edited 1 time in total.
\sum_{n=1}^\infty H_n/n^2 = \zeta(3)

How much of current CA technology can I redevelop "on a desert island"?

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

Re: Golly bugs

Post by rowett » October 2nd, 2023, 3:50 am

pzq_alex wrote:
October 2nd, 2023, 12:52 am
Using these steps I found that this is a bug with the Super algorithm, not with HashLife.
It's to do with HashLife. The RuleLoader version of LifeHistory also shows the same issue. Both RuleLoader and Super algos use HashLife.

rokicki
Posts: 80
Joined: August 6th, 2009, 12:26 pm

Re: Golly bugs

Post by rokicki » October 2nd, 2023, 2:22 pm

b3s23love wrote:
October 1st, 2023, 4:21 pm
(is it a bug or it has to do with HashLife?) ...
This is my bug, and it's fixed in the repository. Thanks for the report, and I'm sorry for the error.

-tom

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

Re: Golly bugs

Post by Andrew » October 2nd, 2023, 6:11 pm

confocaloid wrote:
September 29th, 2023, 9:36 am
It seems like underscores in filenames can trigger bugs.
Fixed for the next release. I've also fixed some problems (on all platforms) with filenames containing ampersands, so thanks for the report.

We've probably got enough changes and bug fixes to justify releasing Golly 4.3b1 some time in the next few weeks.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
muzik
Posts: 5530
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Golly bugs

Post by muzik » October 6th, 2023, 2:33 pm

oscar.lua incorrectly concluded that "This pattern is stable." after 563939073 generations and several hours of running it:

Code: Select all

x = 54, y = 2, rule = MarBlocks-5-rep
o49bobo$bo48bo2bo!

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

Re: Golly bugs

Post by rowett » October 7th, 2023, 2:40 am

muzik wrote:
October 6th, 2023, 2:33 pm
oscar.lua incorrectly concluded that "This pattern is stable." after 563939073 generations and several hours of running it:

Code: Select all

x = 54, y = 2, rule = MarBlocks-5-rep
o49bobo$bo48bo2bo!
It's because the pattern in the previous generation hashes to the same value. The check for hash collisions fails since it only tests if the pattern is the same size, hasn't moved, and has the same population. All three of which are true in this rare case.

User avatar
confocaloid
Posts: 2360
Joined: February 8th, 2022, 3:15 pm

Re: Golly bugs

Post by confocaloid » October 20th, 2023, 6:13 am

When trying to paste a RLE like

Code: Select all

boooooobobbob$bbooooooobobo$bobobboooobbb$bobobooobbobo$boobbboobbooo!
into Golly, the leftmost empty columns are ignored. (It is a 13x5 pattern that is incorrectly pasted as if it was a 12x5 pattern.)

In comparison, the same pattern formatted as

Code: Select all

x = 13, y = 5, rule = B3/S23
boooooobobbob$
bbooooooobobo$
bobobboooobbb$
bobobooobbobo$
boobbboobbooo!
is pasted correctly, with leftmost column empty.

(I noticed this when my program printed the single-line headerless RLE above, I tried to paste it into Golly to double-check and got evolution that did not match what my program claimed, because the pattern was pasted one cell left from the correct position.)

(Added later:) this also applies to empty rows, e.g.

Code: Select all

bbbbbbbbb$bbbbbobbb$bbobbbbbb$bbbobbbbb$bbbbobbob$bbbobbboo!
is 9x6 but it is pasted as if it was 7x5.
127:1 B3/S234c User:Confocal/R (isotropic rules, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

User avatar
iNoMed
Moderator
Posts: 606
Joined: August 29th, 2020, 3:05 pm
Location: Scotland

Re: Golly bugs

Post by iNoMed » November 29th, 2023, 4:25 am

Golly 1.3 for iOS freezes when trying to overwrite an already-saved file (Even those created before the data transfer) with a newer copy. This issue started happening after I had transferred data from an iPad Pro 12.9" (2018) to an iPad Pro 12.9" (2022) and is possibly the main cause of this problem. This isn't an issue with saving files as a whole - the RLE shown in the image was created after the aforementioned data transfer.

Edit after deleting/reinstalling: It still doesn't work on file overwrites. If it helps, it also plays the beep sound effect with the toggle switched on.
Attachments
IMG_8109.png
IMG_8109.png (1.01 MiB) Viewed 728 times

Code: Select all

x = 35, y = 5, rule = B3/S23
4b2o3b2o3bo3b2ob2o3b2ob2o$2o2bobo3bo2bobobobobobobobobobo$obobo2bo2bob
o2bobo2bo2bobo3bobo$2bobo3bobobobo2bo5bobo3bobob2o$b2ob2o3b2ob2o3b2o3b
2ob2o3b2ob2o!

randomviewer896
Posts: 4
Joined: April 8th, 2010, 5:37 pm

Re: Golly bugs

Post by randomviewer896 » December 1st, 2023, 11:48 pm

When I start Golly with a dark theme active in Linux, the text in the left pane is invisible. I think this is due to Golly asking the OS what color to use for the text's foreground color, but at the same time hard-coding the text's background color.

This screenshot was taken in Ubuntu with XFCE and the adwaita-dark theme, however the effect happens on a handful of other distros too.
Attachments
GOLLY BUG.png
GOLLY BUG.png (18.59 KiB) Viewed 668 times

Disaster16439
Posts: 191
Joined: June 30th, 2023, 9:17 am
Location: Suffocating(my coordinates are 3,-64,192929929)

Re: Golly bugs

Post by Disaster16439 » December 8th, 2023, 6:32 pm

Note:My version of golly is ipad golly v1.3
When I paste a B34q/S23-k pattern into an empty B34q/S23-kSuper universe(it converts to b34qs23-k), then I press undo, it first deletes the pattern I paste(which itself is a weird behavior), then after I press undo again, it converts to LifeSuper
iNoMed wrote:
November 29th, 2023, 4:25 am
Golly 1.3 for iOS freezes when trying to overwrite an already-saved file (Even those created before the data transfer) with a newer copy. This issue started happening after I had transferred data from an iPad Pro 12.9" (2018) to an iPad Pro 12.9" (2022) and is possibly the main cause of this problem. This isn't an issue with saving files as a whole - the RLE shown in the image was created after the aforementioned data transfer.

Edit after deleting/reinstalling: It still doesn't work on file overwrites. If it helps, it also plays the beep sound effect with the toggle switched on.
I have the same problem too after a data transfer. It also happens for ruletables. Also, it just happened if I paste a non-rle(the quote above) into golly
Hopefully these bugs will be fixed in golly 1.4
Also, once, when I changed a rule, an oscillator that isn't supposed to work still works
Edit 1:
If I name a rule (on golly-4.2-mac), and then I name another rule, the other rule's name eventually dissapears?
My 146th post!
146=73x2
I QUIT CA

Antonin Duda
Posts: 39
Joined: October 19th, 2023, 10:23 am
Location: 404 not found

Re: Golly bugs

Post by Antonin Duda » January 2nd, 2024, 3:56 am

On android version of golly, if you change the simulation speed, while the simulation is running, then chances are, that golly's generation counter will desync. To test this, open, for example 2c5-spaceship-gun-p416.rle, click "faster" (while it's running), them click "slower", then, when the generation counter reaches 416, stop, then, reset. If the gun was in a different phase before you reset, even if the generation counter showed 416, the period of the gun itself, you'll se that the generation counter desynced.

Post Reply