Golly 3.3b2

For general discussion about Conway's Game of Life.
User avatar
Andrew
Moderator
Posts: 828
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Golly 3.3b2

Post by Andrew » April 4th, 2019, 7:03 pm

EDIT: I've removed the links now that version 3.3 is available.

This version fixes a bug that could cause "PyRun_SimpleString failed!" warnings when running Python scripts.

Important note for Mac users:
This version fixes some nasty memory leaks when running certain Lua/Python scripts for a long time (basically any script that caused a window refresh due to commands like g.show or g.update). If you use Mac OS 10.9 or later then download the .dmg file, otherwise download the .zip file. If you *are* using 10.9 then please let me know if the dmg version works ok.

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

Re: Golly 3.3b2

Post by muzik » April 7th, 2019, 11:04 am

Suggestion: can the Larger than Life algorithm be made to support hexagonal neighbourhoods?

Code: Select all

x = 37, y = 9, rule = 012345678//3
21b5o$12b4o5b6o$5b3o4b5o4b7o$2o3b4o3b6o3b8o$obo2b2ob2o2b3ob3o2b4ob4o2b
obobo$b2o3b4o3b6o3b8o$7b3o4b5o4b7o$15b4o5b6o$25b5o!
[[ GRID THEME Golly ]]

Sokwe
Moderator
Posts: 1841
Joined: July 9th, 2009, 2:44 pm

Re: Golly 3.3b2

Post by Sokwe » April 8th, 2019, 7:19 am

I ran a knightt search to confirm that the known width-11 period-5 c/5 orthogonal ship was the shortest possible. This results in a small change to Spaceships/short-thin.rle:

Code: Select all

#C From thin.rle (left side of pattern):
#C This table shows the minimum possible width of those types of
#C  spaceships for which this has been determined.  The width is
#C  measured over all time, so that, for example, the width of a
#C  LWSS is counted as 5 even though each individual phase has
#C  width 4.
#C A period p spaceship which displaces itself (m,n) during its
#C  period, where m >= n, is said to be of type (m,n)c/p.
#C  the "width" of a non-orthogonal spaceship is considered to be
#C  along the same direction as that of the least displacement.
#C  For example, the width of a (2,1)c/6 spaceship is parallel
#C  to the direction of travel that is 1 cell per period.
#C For each type I also give the minimum known length for a spaceship
#C  of minimal width.  The length here is defined as the length of the
#C  union of n successive generations (where n is the period), the
#C  starting generation being chosen to minimise this figure.
#C Lengths marked with an asterisk (*) indicate that they are the
#C  minimum possible for the given width.
#C For types where the minimum width is not known, the maximum width
#C  that has been fully searched is given, preceded by ">".
#C
#C            | minimum |
#C     type   |  width  | minimum length for this width
#C  ----------+---------+------------------------------------
#C  (1,0)c/2  |   21    | 12* (Hartmut Holzwart, 3 Jul 1992)
#C  (1,0)c/3  |   12    | 13* ("turtle", Dean Hickerson, Aug 1989)
#C  (1,0)c/4  |   10    | 44* (Stephen Silver, 2 Mar 1999)
#C  (1,1)c/4  |    3    |  4* ("glider", Richard Guy, 1970)
#C  (2,0)c/4  |    5    |  6* ("LWSS", John Conway, 1970)
#C  (1,0)c/5  |   11    | 89* (Paul Tooke, 12 Mar 2001)
#C  (1,1)c/5  |   13    | 26  (Tim Coe, Dec 2015)
#C  (2,0)c/5  |   10    | 31* (Stephen Silver, 2 Mar 1999)
#C  (1,0)c/6  |  >11    |
#C  (1,1)c/6  |  >10    |
#C  (2,0)c/6  |   12    | 48  (Matthias Merzenich, 4 Feb 2017)
#C  (2,1)c/6  |  >15    |
#C  (3,0)c/6  |  >18    |
#C  (1,0)c/7  |   10    | 10  ("loafer", Josh Ball, 17 Feb 2013)
#C  (1,1)c/7  |  > 9    |
#C  (2,0)c/7  |  >10    |
#C  (2,1)c/7  |  >11    |
#C  (3,0)c/7  |  >14    |
#C
#C From short.rle (right side of pattern):
#C This table shows the minimum possible length of those types
#C  of orthogonal spaceship for which this has been determined.
#C  For each type I also give the minimum known width for a
#C  spaceship of minimal length.
#C Widths marked with an asterisk (*) indicate that they are the
#C  minimum possible.
#C For types where the minimum length is not known, the maximum length
#C  that has been fully searched is given, preceded by ">".
#C
#C            | minimum |
#C     type   |  length | minimum width for this length
#C  ----------+---------+------------------------------------
#C  (1,0)c/2  |    8    | 31* (Dean Hickerson, 28 Jul 1989)
#C  (1,0)c/3  |    5    | 16* (Dean Hickerson, Aug 1989)
#C  (1,0)c/4  |    8    | 26* (Tim Coe, 6 Aug 1995)
#C  (1,1)c/4  |    3    |  4* ("glider", Richard Guy, 1970)
#C  (2,0)c/4  |    6    |  5* ("LWSS", John Conway, 1970)
#C  (1,0)c/5  |    8    | 31* ("spider", David Bell, 14 Apr 1997)
#C  (1,1)c/5  |   13    | 26  (Tim Coe, Dec 2015)
#C  (2,0)c/5  |   11    | 16  (Matthias Merzenich, 8 Aug 2015)
#C  (1,0)c/6  |  > 9    |
#C  (1,1)c/6  |  >10    |
#C  (2,0)c/6  |  > 7    |
#C  (2,1)c/6  |  >10    |
#C  (3,0)c/6  |  > 9    |
#C  (1,0)c/7  |  > 8    |
#C  (1,1)c/7  |  > 9    |
#C  (2,0)c/7  |  > 8    |
#C  (2,1)c/7  |  > 7    |
#C  (3,0)c/7  |  > 7    |
#C
#C Patterns and comments from Stephen Silver's 12 Jan 2004 'ships.zip'
#C Updated on 8 Apr 2019.
x = 376, y = 114, rule = B3/S23
351bo17bo$26b3o34bo25b2ob2o24bo33b2o26b2o27bo28bo29bo3bo77b3o15b3o$b2o
22bo36bobo23bo3bobo22b3o29b2ob2o22b2obo2bob2o22bobo26b3o27b3ob3o74b2ob
3o13b3ob2o$2o22bo5bo30bo2bo23bobobobo22b3o26b4o2bobo21b2o6b2o21b2ob2o
24b2obo26b2obobob2o74bo2bob2o4bo4b2obo2bo$2bo21bo5bo31b2o25b2ob2o51bo
4bo4bo20bobo4bobo21b2o2bo24b3o26b2o7b2o70b2obo4bobob2ob2obobo4bob2o$
25b2obo90b3o24b2o7bo22b2o2b2o26b3o24b2o27bo7bo71b2obobo2bobo7bobo2bobo
b2o$24b3o2bob2o25bo5bo57bobo30bo21b2ob2ob2o22b2o4b2o50b2o7b2o70bo8b3ob
obob3o8bo$25bo5bo25bobo3bo26b3o29bo2bo25b3o25bo2bo28b4o48b2obobo3bobob
2o67b2o7b2o9b2o7b2o$32bo23bo2bo3b2o24b3o2bo27bo3bo23bo26bo6bo24b2o5bo
47bobob2ob2obobo$25b2o29bo2b2o3bo23bo32bo3bo24bobo24bo6bo25bob3o46b2ob
o2bobobobo2bob2o$24b3o68b2o21bo5b2o23b2o60bo49b2obob2obobob2obob2o$24b
o3b2o59bo4b2o21b2ob2o2bo23b3o26b8o26bobo47bo2bo4bobo4bo2bo$24b3o64b5o
24bobob2o24bobo23b2o6b2o27bobo44b2o2bob2obobob2obo2b2o$24b2o7b2o57bobo
25bo31b2o60bobo$25bo5bo3bo58b2o54bo3bo56bo$25b2obob2o2bo57bo2bo30bo23b
o59bobo$25bo4bo62b3o25b5o22b3o62bo146bo$26bo4bo2bo54b4o31bo22bo2bo62bo
145b3o$31bobo55b2o2bobo25b2obo21bo63bobo145b2obo$30bob2o56b3o2bo24bo4b
o83b2o147b3o$30bobo59bo26b2obo23bob2obo57b2ob2o145b2o$31b2o54b2o2bo27b
2o2bobo20bo3b3o$32bo55b3obob3o25bobo24bo3bo60bo$32bo54bo3bob2obo22b2ob
obo22bo64bobo$31bo56b2ob5o22bo3bo25bobo62bo$32b2o54b2obob2o23bo2b2o24b
2ob3o60b2o$90b3o30bo22bobobob2o59b2o$90bo31b2o21b2obobo3bo57bo$89bob3o
24b2o4bo23bo60b2o2b2o$88b2o3bo24b2ob2o22b2obobo58b2o145bo$87bo5bo25bob
o28bo59bo144b3o$88bo3bo25b2ob2o23bo4bo202bo3bo$89bo30b3o23bo2bo2b2o
200b2ob2o5bo$87b2ob2o58b3o211b2o$86bo3b3o26bobo231b4obo5bob2o$86bo32b
3o232bo2bo2b3o2bo$89bobo29b2o24b2o211b3o$91b2o29bo23bo2b2o213bo$91bo
30bo26b2o213bob2o$91b2o27bo29bo$87b2o2b2o27bobo$87b2obo28bo26b2o2bo$
88b4o2bo27bo24b3o$91bo2bo26b2o25bo$92b2obo52bobo$148bobo$91bo56bo$91b
2o56bo210bo$91bobo259b2ob3ob3o$90b2ob2o258b2o4bo2b2ob2o$90b2obo258bo2b
ob2o3bo2b2o$90bo2bo270bo2bo$88bo2bo$89b2o$89b3o$90b3o$91bobo$94bo$91bo
$91bo$89b3o3bo$88bo2bo3b2o$87bo3bo256bo$92bo2b2o251bo7b3o11b3o$91bo
255bobo4b2o5b3o$88bo2bo262b5ob5o4bo2bo$89bobo2bo257bobo2bo2bo3bo5bo$
90b4o254b6o3bo2b2o4b6o$91b3o255b2o6bobo2b2o3bo$89b2obo266bo6bo$87b3ob
3o$87bobobobo$88bo3bo$88bo3bo$86b2o5b2o$86b3o3b3o$87bo5bo$356bo7bo$88b
5o257b2obobob2o3b2obobob2o$89bob2o254b3obob3o9b3obob3o$89b4o254bo3bobo
5bobo5bobo3bo$89bo2bo258b2o6bobo6b2o$89bo2bob3o251b2o9bobo9b2o$88b2obo
2b3o251b2ob2o15b2ob2o$87b3o2bob2o256bo15bo$87bo3b2o$88bo4bo$87b2o2b2o$
87b2o4$360bo$360b2o$359bobo8$360b4o3bob2o$357b5ob2ob3o2bo$356bobo2bob
2o2b2o3bo$372bo$358bo3bo5bo3bo$362bo4bo$353b2o2b2o10b2o$349bo2bo2b2ob
2o6b2o$348bob5o10bobo$348bo5b2o4bo$356bobobo$359bo!
-Matthias Merzenich

User avatar
Freywa
Posts: 718
Joined: June 23rd, 2011, 3:20 am
Location: Singapore
Contact:

Re: Golly 3.3b2

Post by Freywa » May 11th, 2019, 11:35 pm

There appears to a bug with 3.3b2 on my Ubuntu 19.04 system when using an Nvidia graphics card: open Golly as usual, then

(1) add a new layer
(2) check "tile layers" in the Layer menu, or click the button above the viewport window that does the same effect

The program segfaults at this point. A gdb stack trace is below:

Code: Select all

Thread 7 (Thread 0x7fffdae09700 (LWP 6459)):
#0  0x00007ffff6ea6729 in __GI___poll (fds=0x7fffc8007030, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffdb4609f1 in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fffdb452260 in pa_mainloop_poll () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffdb4528ae in pa_mainloop_iterate () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fffdb452960 in pa_mainloop_run () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fffdb460939 in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffdb400788 in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-12.2.so
#7  0x00007ffff6f89182 in start_thread (arg=<optimised out>) at pthread_create.c:486
#8  0x00007ffff6eb2b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffdbfff700 (LWP 6457)):
#0  0x00007ffff6eac2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff6512b9a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff64990c1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff6499681 in g_async_queue_timeout_pop () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff64f13f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff64f098d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff6f89182 in start_thread (arg=<optimised out>) at pthread_create.c:486
#7  0x00007ffff6eb2b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ffff1ef8700 (LWP 6455)):
#0  0x00007ffff6ea6729 in __GI___poll (fds=0x7fffe4015770, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff64c7cb6 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff64c8042 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5d02c76 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff64f098d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6f89182 in start_thread (arg=<optimised out>) at pthread_create.c:486
#6  0x00007ffff6eb2b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ffff26f9700 (LWP 6454)):
#0  0x00007ffff6ea6729 in __GI___poll (fds=0x555555a2ac00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff64c7cb6 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff64c7ddc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff31d0ffd in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff64f098d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6f89182 in start_thread (arg=<optimised out>) at pthread_create.c:486
#6  0x00007ffff6eb2b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ffff2efa700 (LWP 6453)):
#0  0x00007ffff6ea6729 in __GI___poll (fds=0x555555a27450, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff64c7cb6 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff64c7ddc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff64c7e21 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff64f098d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6f89182 in start_thread (arg=<optimised out>) at pthread_create.c:486
#6  0x00007ffff6eb2b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff3efca00 (LWP 6449)):
#0  0x00000000400b3d20 in  ()
#1  0x00007fffe19514b4 in  () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.418.56
#2  0x00007fffe14ee60d in  () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.418.56
#3  0x000055555569d39b in DrawGridLines(int, int) ()
#4  0x00005555556a0671 in DrawView(int) ()
#5  0x000055555566b6c0 in PatternView::OnPaint(wxPaintEvent&) ()
#6  0x00007ffff74cfa8e in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7  0x00007ffff74cfb93 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8  0x00007ffff74cfecc in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9  0x00007ffff74cff53 in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff74cfff1 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff74cfd97 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#12 0x00007ffff7f7d2a8 in wxGLCanvas::OnInternalIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_gl-3.0.so.0
#13 0x00007ffff7a240b3 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#14 0x00007ffff7a240e8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#15 0x00007ffff7a240e8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#16 0x00007ffff7a240e8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#17 0x00007ffff7a240e8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#18 0x00007ffff78cd89f in wxFrame::SendIdleEvents(wxIdleEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#19 0x00007ffff790db7d in wxAppBase::ProcessIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#20 0x00007ffff783de05 in wxApp::DoIdle() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#21 0x00007ffff783def3 in  () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#22 0x00007ffff64c7958 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff64c7d48 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff64c8042 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff6a7c3e7 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff785aff5 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#27 0x00007ffff73a576d in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#28 0x00007ffff736e8f6 in wxAppConsoleBase::MainLoop() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#29 0x00007ffff73effd9 in wxEntry(int&, wchar_t**) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#30 0x00005555555d76f2 in main ()
Princess of Science, Parcly Taxel

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

Re: Golly 3.3b2

Post by Andrew » May 30th, 2019, 7:03 am

Freywa wrote:There appears to a bug with 3.3b2 on my Ubuntu 19.04 system when using an Nvidia graphics card...
I don't have access to an Nvidia card so this could be tricky to solve. I'll need more clues:

1. Did the bug occur in previous versions like 3.2?

2. It looks like the bug is in the DrawGridLines code. To confirm that, please turn off grid lines by unticking View > Show Grid Lines and see if that avoids the crash.

3. A number of optimizations were made to the DrawGridLines code around version 3.1, so please download 3.0 from sourceforge and see if that works ok.

Finally, any chance you can build Golly from source (see docs/Build.html)? That would be the quickest way to find a solution.

wildmyron
Posts: 1518
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.3b2

Post by wildmyron » May 30th, 2019, 12:01 pm

I can reproduce the crash when enabling Tile Layers with an NVIDIA GPU (Ubuntu 16.04, NVIDIA Driver Version: 384.130)
Andrew wrote:2. It looks like the bug is in the DrawGridLines code. To confirm that, please turn off grid lines by unticking View > Show Grid Lines and see if that avoids the crash.
Yes, disabling Show Grid Lines avoids the crash.
3. A number of optimizations were made to the DrawGridLines code around version 3.1, so please download 3.0 from sourceforge and see if that works ok.
Same crash happens with golly-3.0-gtk-64bit from Sourceforge
Finally, any chance you can build Golly from source (see docs/Build.html)? That would be the quickest way to find a solution.
I've built Golly-3.3b2 from source with --enable-debug (but neglected to build wxWidgets with --enable-debug as well - can do that if necessary)

Here's the stack trace with slightly more info.

Code: Select all

Thread 1 "golly" received signal SIGSEGV, Segmentation fault.
0x00000000400a2d20 in ?? ()
(gdb) bt
#0  0x00000000400a2d20 in ?? ()
#1  0x00007ffff2e00f74 in ?? ()
   from /usr/lib/nvidia-384/libnvidia-glcore.so.384.130
#2  0x00007ffff29cd5d8 in ?? ()
   from /usr/lib/nvidia-384/libnvidia-glcore.so.384.130
#3  0x0000000000511e30 in DrawGridLines (wd=280, ht=511)
    at ../gui-wx/configure/../../gui-wx/wxrender.cpp:1304
#4  0x0000000000513681 in DrawView (tileindex=0)
    at ../gui-wx/configure/../../gui-wx/wxrender.cpp:1808
#5  0x0000000000555873 in PatternView::OnPaint (this=0x1571c20)
    at ../gui-wx/configure/../../gui-wx/wxview.cpp:2361
#6  0x00000000007f9d4e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#7  0x0000000000934ed4 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#8  0x0000000000935033 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at ../gui-wx/configure/../../gollybase/viewport.h:20
#9  0x00000000009356e3 in wxEvtHandler::TryHereOnly(wxEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#10 0x0000000000935756 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#11 0x00000000009357dd in wxEvtHandler::ProcessEvent(wxEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#12 0x0000000000937287 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#13 0x000000000055d28a in wxGLCanvas::OnInternalIdle() ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#14 0x00000000006ef4e9 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#15 0x00000000006ef538 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#16 0x00000000006ef538 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#17 0x00000000006ef538 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#18 0x00000000006ef538 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#19 0x000000000060a85f in wxFrame::SendIdleEvents(wxIdleEvent&) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#20 0x000000000062f537 in wxAppBase::ProcessIdle() ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#21 0x00000000005cb2d0 in wxApp::DoIdle() ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#22 0x00000000005cb3e0 in wxapp_idle_callback ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#23 0x00007ffff560604a in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff56063f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff5606712 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff6e32697 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x000000000075a475 in wxGUIEventLoop::DoRun() ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#28 0x000000000082f05a in wxEventLoopBase::Run() ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#29 0x0000000000800f39 in wxAppConsoleBase::MainLoop() ()
---Type <return> to continue, or q <return> to quit---
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#30 0x0000000000880374 in wxEntry(int&, wchar_t**) ()
    at ../gui-wx/configure/../../gollybase/viewport.h:20
#31 0x000000000046a010 in main (argc=1, argv=0x7fffffffd8f8)
    at ../gui-wx/configure/../../gui-wx/wxgolly.cpp:43
In DrawGridLines, line 1304 is a call to glDrawArrays(GL_LINES, 0, numPoints / 2)
"p numPoints" gives "$4 = 176"

I'll need some guidance to get more useful info though.
The latest version of the 5S Project contains over 226,000 spaceships. There is also a GitHub mirror of the collection. Tabulated pages up to period 160 (out of date) are available on the LifeWiki.

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

Re: Golly 3.3b2

Post by Andrew » May 30th, 2019, 8:31 pm

wildmyron wrote:I can reproduce the crash when enabling Tile Layers with an NVIDIA GPU...
Thanks for the info, and for building from source!

Does the crash only occur when layers are tiled? That is, if you untick Tile Layers then no crash occurs even if grid lines are displayed? What happens if Stack Layers is ticked (with grid lines)?

We've seen problems with DrawGridLines and NVIDIA cards on Windows. Near the top of the DrawView routine you'll see this code:

Code: Select all

    if (firstview) {
        firstview = false;
        // draw a tiny pixmap before calling DrawGridLines to avoid crash in NVIDIA driver
        // (this probably only happens on Windows but safer to do it on all platforms)
        unsigned char data[] = "RGBARGBARGBARGBA";
        DrawRGBAData(data, 0, 0, 2, 2); // data has 4 pixels
    }
So maybe we need to do that *every* time we are going to call DrawGridLines. Try changing

Code: Select all

    if (firstview) {
to

Code: Select all

    if (viewptr->GridVisible()) {
Hopefully that will prevent any crash.

wildmyron
Posts: 1518
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.3b2

Post by wildmyron » May 30th, 2019, 9:22 pm

Andrew wrote:Does the crash only occur when layers are tiled? That is, if you untick Tile Layers then no crash occurs even if grid lines are displayed? What happens if Stack Layers is ticked (with grid lines)?
I tried all the combinations of Show Grid Lines, Stack Layers, and Tile Layers. Golly only crashes with both Show Grid Lines and Tile Layers enabled (it doesn't matter in which order they're turned on)
Try changing

Code: Select all

    if (firstview) {
to

Code: Select all

    if (viewptr->GridVisible()) {
Hopefully that will prevent any crash.
I tried that and it does prevent the crash. I also did some minimal extra testing by moving the view around, changing zoom, drawing, and adding extra layers whilst Draw Grid Lines and Tile Layers were both enabled. No crash during that testing.
The latest version of the 5S Project contains over 226,000 spaceships. There is also a GitHub mirror of the collection. Tabulated pages up to period 160 (out of date) are available on the LifeWiki.

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

Re: Golly 3.3b2

Post by Andrew » May 30th, 2019, 11:27 pm

wildmyron wrote:I tried that and it does prevent the crash.
Excellent -- much thanks! I'll do more testing and then implement that change for the next 3.3 release.

wildmyron
Posts: 1518
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.3b2

Post by wildmyron » June 4th, 2019, 11:33 pm

From the Golly 3.2 thread:
dvgrn wrote:
Apple Bottom wrote:Nice, kudos to everyone involved for your excellent ongoing work!

The latest Lexicon fixes don't seem to have made it into the bundled Lexicon in this release though --- for instance, Sir Robin is still listed as (2,1)c/7 in :spaceship:.
Darn manual table patching system anyway. I suspect that it's only the tables that may sometimes be not quite up to date -- and really only the spaceship and Herschel tables have seen many changes, so they're the most likely to have stubborn typos.

Basically, the updates made it in into the HTML, but then got stomped on by the not quite up-to-date contents of manual-edits.txt (in the source distribution). Will fix and check in new HTML files, to be ready for when the next Golly build happens -- and new ZIP files for the regular Lexicon.

Anyway, I'm quite sure that I rebuilt all the HTML files from the latest source, not too many days ago and since any major new definitions or changes went in, and I did enough spot checking to be sure that at least some of the latest stuff was there.

For example, :GPSE: and :BLSE: made it in, and they were in the final couple of weeks' changes. Do you see any other "for instance"s, besides the Sir Robin (2,1)c/7 problem?
The current lexicon html files on Sourceforge still have this error (as does the online version)

========

There's a UX issue with the the Help for the RuleLoader algorithm:

Help -> Algorithms -> RuleLoader -> click "your rules folder"
=> brings up the Preferences dialogue as expected.

Control -> Set Rule -> select "RuleLoader" -> click "Help" -> click "your rules folder"
=> Golly Error: Unable to open requested HTML document: prefs:control

========

In some scripts which frequently call g.note(), "Cancel" does not work properly - the script keeps running. Pressing "Esc" on the keyboard also doesn't work.

This script fails:

Code: Select all

import golly as g

ships = """
3, B2a3r/S, 1, 0, 1, 2bo$obo!
3, B2a3n/S, 2, 0, 2, 2bo$obo!
3, B2e3-a/S2, 1, 0, 2, o$bo$o!
3, B2ac3n/S, 3, 0, 3, obo$2bo!
4, B2ac3ae/S1c2i3i, 2, 0, 3, o$2o$o!
3, B2cin3aiy6c/S02ac3i, 1, 0, 3, 2obo!
3, B2ac/S, 4, 0, 4, obo$2bo!
4, B2-k3-aijq4-aijky5-inry6-a78/S2-ek3ijry4cinwyz5ekqry6-ak8, 3, 0, 4, o$bo2$bo$bo!
3, B2ce3ei/S1e2ac, 2, 0, 4, o$bo$o!
3, B2-ak3eiy/S123i6, 1, 0, 4, 2obo!
"""

def parseshipstr(shipstr):
    if (not shipstr) or (not shipstr[0] in '123456789'):
        return
    ship = shipstr.split(', ')
    if not len(ship) == 6:
        return
    ship[0] = int(ship[0])
    ship[1] = ship[1].strip()
    ship[2] = int(ship[2])
    ship[3] = int(ship[3])
    ship[4] = int(ship[4])
    ship[5] = ship[5].strip()
    return tuple(ship)

with open('golly_clip.py', 'r') as F:
    for line in F:
        ship = parseshipstr(line)
        if not ship:
            continue
        g.note(str(ship))
but this script which doesn't call the function works fine:

Code: Select all

import golly as g

ships = """
3, B2a3r/S, 1, 0, 1, 2bo$obo!
3, B2a3n/S, 2, 0, 2, 2bo$obo!
3, B2e3-a/S2, 1, 0, 2, o$bo$o!
3, B2ac3n/S, 3, 0, 3, obo$2bo!
4, B2ac3ae/S1c2i3i, 2, 0, 3, o$2o$o!
3, B2cin3aiy6c/S02ac3i, 1, 0, 3, 2obo!
3, B2ac/S, 4, 0, 4, obo$2bo!
4, B2-k3-aijq4-aijky5-inry6-a78/S2-ek3ijry4cinwyz5ekqry6-ak8, 3, 0, 4, o$bo2$bo$bo!
3, B2ce3ei/S1e2ac, 2, 0, 4, o$bo$o!
3, B2-ak3eiy/S123i6, 1, 0, 4, 2obo!
"""

def parseshipstr(shipstr):
    if (not shipstr) or (not shipstr[0] in '123456789'):
        return
    ship = shipstr.split(', ')
    if not len(ship) == 6:
        return
    ship[0] = int(ship[0])
    ship[1] = ship[1].strip()
    ship[2] = int(ship[2])
    ship[3] = int(ship[3])
    ship[4] = int(ship[4])
    ship[5] = ship[5].strip()
    return tuple(ship)

with open('golly_clip.py', 'r') as F:
    for line in F:
        g.note(line)
========

The second and third issues were tested with Golly 3.3b2 x64 on Win10 with Python 2.7.
Last edited by wildmyron on June 6th, 2019, 10:37 am, edited 1 time in total.
The latest version of the 5S Project contains over 226,000 spaceships. There is also a GitHub mirror of the collection. Tabulated pages up to period 160 (out of date) are available on the LifeWiki.

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

Re: Golly 3.3b2

Post by Andrew » June 5th, 2019, 4:53 am

wildmyron wrote:Control -> Set Rule -> select "RuleLoader" -> click "Help" -> click "your rules folder"
=> Golly Error: Unable to open requested HTML document: prefs:control
Fixed in the next 3.3 release. Thanks for the report.
In some scripts which frequently call g.note(), "Cancel" does not work properly - the script keeps running. Pressing "Esc" on the keyboard also doesn't work.
I was able to duplicate the bug on my Mac but I have no explanation for why it happens! Very strange. Fortunately there is an easy way to allow the cancel to happen -- just add a g.doevent("") call after the g.note call.

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

Re: Golly 3.3b2

Post by Andrew » June 6th, 2019, 1:18 am

wildmyron wrote:In some scripts which frequently call g.note(), "Cancel" does not work properly - the script keeps running. Pressing "Esc" on the keyboard also doesn't work.
Still no idea why that happens but I found an easy way to avoid the problem in the g.note (and g.warn) code, so in the next 3.3 release you won't need to add any g.doevent("") call.

wildmyron
Posts: 1518
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.3b2

Post by wildmyron » June 6th, 2019, 1:29 am

Andrew wrote:
wildmyron wrote:In some scripts which frequently call g.note(), "Cancel" does not work properly - the script keeps running. Pressing "Esc" on the keyboard also doesn't work.
Still no idea why that happens but I found an easy way to avoid the problem in the g.note (and g.warn) code, so in the next 3.3 release you won't need to add any g.doevent("") call.
Well that is curious. Thank you for investigating and fixing the two issues.
The latest version of the 5S Project contains over 226,000 spaceships. There is also a GitHub mirror of the collection. Tabulated pages up to period 160 (out of date) are available on the LifeWiki.

User avatar
gameoflifemaniac
Posts: 1229
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: Golly 3.3b2

Post by gameoflifemaniac » July 14th, 2019, 4:33 am

I found a bug where when you put a pattern that can't be run very very fast and really speed it up, and then slow it down, the generation shown in the status bar is way beyond its actual generation, as if it would advance without calculating anything while slowing it down.
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

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

Re: Golly 3.3b2

Post by Andrew » July 14th, 2019, 8:31 pm

gameoflifemaniac wrote:I found a bug where when you put a pattern that can't be run very very fast and really speed it up, and then slow it down, the generation shown in the status bar is way beyond its actual generation, as if it would advance without calculating anything while slowing it down.
I can't reproduce this bug. Please provide *detailed* steps that reproduce the bug -- ie. which pattern and algorithm you used, what keys you pressed, etc. The more details the better. And also tell me which platform you use (Mac, Windows or Linux) and whether Golly is 32-bit or 64-bit.

User avatar
_zM
Posts: 176
Joined: June 26th, 2016, 3:07 pm

Re: Golly 3.3b2

Post by _zM » July 15th, 2019, 7:59 am

In Golly 3.3b2 (and possibly in earlier versions as well), the bottom right corner of the border around each icon in the icon bar and in the scroll bar above it and the box around the selected state are all missing.
Attachments
Bildschirmfoto_2019-07-15_14-00-15.png
Bildschirmfoto_2019-07-15_14-00-15.png (9.7 KiB) Viewed 8199 times
may or may not be what you'd expect

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

Re: Golly 3.3b2

Post by Andrew » July 15th, 2019, 8:34 pm

_zM wrote:In Golly 3.3b2 (and possibly in earlier versions as well), the bottom right corner of the border around each icon in the icon bar and in the scroll bar above it and the box around the selected state are all missing.
It looks like you're using Linux -- if so, which flavor and version? I don't see any such problems on my Linux systems (32-bit Mint 13, 64-bit Ubuntu 16), nor on my Mac/Windows systems. Does anybody else see this problem?

Did you happen to build Golly from source? If so, which version of wxWidgets did you use?

wildmyron
Posts: 1518
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.3b2

Post by wildmyron » July 16th, 2019, 1:03 am

Andrew wrote:
_zM wrote:In Golly 3.3b2 (and possibly in earlier versions as well), the bottom right corner of the border around each icon in the icon bar and in the scroll bar above it and the box around the selected state are all missing.
It looks like you're using Linux -- if so, which flavor and version? I don't see any such problems on my Linux systems (32-bit Mint 13, 64-bit Ubuntu 16), nor on my Mac/Windows systems. Does anybody else see this problem?

Did you happen to build Golly from source? If so, which version of wxWidgets did you use?
I don't see this specific issue in my build. Built from commit c76d5f, wxWidgets v3.1.2, also 64-bit Ubuntu 16.04. I do however have a different visual glitch with the scroll bar for state selection.
Golly cell state selector
Golly cell state selector
Golly_Cell_States.png (14.48 KiB) Viewed 8157 times
Golly cell state selector - mouseover
Golly cell state selector - mouseover
Golly_Cell_States_hover.png (15.55 KiB) Viewed 8157 times
I can't remember exactly why I chose wxWidgets 3.1.2, I believe I was following this advice from the wxWidgets website:
wxwidgets.org wrote:Please notice that while 3.1.2 is officially a “development” version because it is not fully compatible with the “stable” 3.0.x, the list of backwards incompatible changes is very short, so you shouldn’t have any problems updating to this version from 3.0.x in practice, and you’re encouraged to use this release, including in production.
====

A separate issue I have with the Linux build is that Golly hangs when I open the About Window. A Help window pops up, titled "About Golly", but it is completely blank. Golly is using about 50% of one CPU. I am unable to interact with Golly or the About dialog in any way, including pressing `Esc` or clicking the `X` to close it. If I spend some time navigating the Help contents prior to opening the About dialog then occasionally the dialog won't hang. I haven't been able to work out what the threshold is for activity that is required to prevent the hang. I can provide a stacktrace from when Golly is hung, but other than a few pointer values it appears to be identical to the stacktrace when the About dialog is responsive.
The latest version of the 5S Project contains over 226,000 spaceships. There is also a GitHub mirror of the collection. Tabulated pages up to period 160 (out of date) are available on the LifeWiki.

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

Re: Golly 3.3b2

Post by Andrew » July 16th, 2019, 7:45 am

wildmyron wrote:I don't see this specific issue in my build. Built from commit c76d5f, wxWidgets v3.1.2, also 64-bit Ubuntu 16.04.
I got my version number wrong -- I use Ubuntu 12. I think the wx developers are overly optimistic about the reliability of wx 3.1! It would be worth rebuilding Golly using the latest stable version (3.0.4) to see if that fixes the various problems you've found. Unfortunately Ubuntu seems to be the flakiest flavor of Linux when it comes to writing wxGTK apps. Of the three flavors I've tried (Fedora, Mint, Ubuntu) Mint seems the most reliable.
A separate issue I have with the Linux build is that Golly hangs when I open the About Window. A Help window pops up, titled "About Golly", but it is completely blank. Golly is using about 50% of one CPU. ...
Sounds like there is a wx 3.1 bug in the handling of the GIF animation. Try editing Help/about.html and delete the img link to images/about.gif to see if that avoids the problem.

User avatar
_zM
Posts: 176
Joined: June 26th, 2016, 3:07 pm

Re: Golly 3.3b2

Post by _zM » July 16th, 2019, 8:11 am

Andrew wrote:
_zM wrote:In Golly 3.3b2 (and possibly in earlier versions as well), the bottom right corner of the border around each icon in the icon bar and in the scroll bar above it and the box around the selected state are all missing.
It looks like you're using Linux -- if so, which flavor and version?
[...]

Did you happen to build Golly from source? If so, which version of wxWidgets did you use?
I use Xubuntu 18.04 LTS, and did not build from source.
may or may not be what you'd expect

User avatar
gameoflifemaniac
Posts: 1229
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: Golly 3.3b2

Post by gameoflifemaniac » July 16th, 2019, 2:48 pm

Andrew wrote:
gameoflifemaniac wrote:I found a bug where when you put a pattern that can't be run very very fast and really speed it up, and then slow it down, the generation shown in the status bar is way beyond its actual generation, as if it would advance without calculating anything while slowing it down.
I can't reproduce this bug. Please provide *detailed* steps that reproduce the bug -- ie. which pattern and algorithm you used, what keys you pressed, etc. The more details the better. And also tell me which platform you use (Mac, Windows or Linux) and whether Golly is 32-bit or 64-bit.
Windows 64-bit, algorithm doesn't matter.
For example, run this:

Code: Select all

[M2] (golly 3.2)
#R B3/S23
$$$$$$$....*..*$
4 0 0 0 1
$$$$$$$*$
4 0 0 3 0
5 0 0 2 4
6 0 0 0 5
6 0 0 5 5
7 0 0 6 7
7 0 0 7 7
8 0 0 8 9
8 0 0 9 9
9 0 0 10 11
9 0 0 11 11
10 0 0 12 13
10 0 0 13 13
11 0 0 14 15
11 0 0 15 15
12 0 0 16 17
12 0 0 17 17
13 0 0 18 19
13 0 0 19 19
14 0 0 20 21
14 0 0 21 21
15 0 0 22 23
15 0 0 23 23
16 0 0 24 25
16 0 0 25 25
17 0 0 26 27
$$$$$......**$......**$
4 0 0 0 29
$$$$$...**$..*.***$..*....*$
4 0 0 31 0
5 0 0 30 32
6 0 0 5 33
7 0 0 7 34
8 0 0 9 35
9 0 0 11 36
10 0 0 13 37
11 0 0 15 38
12 0 0 17 39
13 0 0 19 40
14 0 0 21 41
$$$$.......*$
.....**$......*$......*$.......*$
4 0 43 0 44
$.......*$......*$......*$.....**$
4 0 46 0 0
5 0 45 0 47
$$$.......*$*......*$*$*.*$.**$
$$$*$*$
$$*$*$
....**$....**$$$$......*$......**$
4 49 50 51 52
$$$**$*$*$
4 0 0 54 0
$*$*$
$$$$$$.**$*.*$
4 56 0 57 0
$$.....**$.....**$
4 0 0 59 0
5 53 55 58 60
$.......*$
4 0 62 0 0
$$$$$..**...*$..**..*$......*$
4 0 0 0 64
$$$....**$...*..*$....**$......**$......*$
$$$$$*$***$...*$
...**.*$...*.**$.......*$....**$..***.**$.*$..***.**$....*.**$
4 0 66 67 68
5 0 63 65 69
*$*$$.....**$....*.*$....*$...**$
$.....**$.....**$$$...**$..*.*$..*$
4 71 0 72 0
$$$$...**$...*.*$.....*$.....**$
4 0 0 74 0
.**$$$$.**$*.*$
.*$*.*$.*$*$
4 76 0 77 0
$$$.......*$.......*$......**$**$*$
$$**$.*.....*$.......*$
.***$...*$
$.......*$....*..*$....****$$....**$....**$
4 79 80 81 82
5 73 75 78 83
6 48 61 70 84
4 0 29 0 0
$$$$.......*$......*$.....*.*$.....*$
$$$$*$.*$*$
....**$
4 87 88 89 0
5 0 86 0 90
$$$$$...*$..*.*$..*.*..*$
.**.**$.....*.*$.**.*..*$.**.*.*$.....*.*$......*$.......*$
4 0 92 0 93
$$$$$$$*...*$
*..*.*$...*.*$***.*$..*$...*$*...*$...**$
4 95 0 96 0
$$......**$......**$
$...**$...*$....***$......*$
$$$$$$$.......*$
4 98 0 99 100
$$$$.**$*.*$*$*$
$$$$$$$...**$
4 0 0 102 103
5 94 97 101 104
.....*$...***$..*$..**$
4 0 0 106 0
$$$*$*$$$....*$
**.*.*$.*.*.*$.*.*.**$.**..*$*....*$*.***$.**$
4 108 0 109 0
5 107 0 110 0
....*$.***$.*$
4 0 112 0 0
5 0 113 0 0
6 91 105 111 114
7 0 0 85 115
..**$..*$*.*$**....**$......*$....*.*$....**$
$$....**$....*.*$......*$......**$
$$$$.......*$.....***$....*$....**$
4 117 0 118 119
5 0 0 120 0
$$$$.....**$......*$......*$.......*$
4 0 0 0 122
5 0 123 0 0
$$$$$.....**$.....**$
....**$...*.*$...*$..**$
4 0 125 126 0
$$....**.*$.....*.*$.....*$...***$..*...**$..****$
$$*$*$$$$*$
.....*.*$..***..*$.*.....*$..*****$....*$
*$
4 128 129 130 131
5 127 132 0 0
$$$$$$......*$....***$
4 0 0 0 134
...**$...**$
4 0 0 0 136
...*$..*.*$..*.*$...*$
$$$$$.......*$.......*$
4 0 138 0 139
5 0 135 137 140
6 121 124 133 141
$$$...**$...**..*$.......*$...****$...*..*$
$$$**$.***$....*$**..*$*.*.**$
......*$.......*$$$$......**$*.....**$*$
*.*.*$*.*.*$...*$
4 143 144 145 146
$$$$$$.**$.*$
..***$....*$$$$.......*$.......*$......**$
4 0 148 0 149
...*$.***$*$**$
$$$$**$.*$
$.**....*$.**...*$......**$$......**$.....*$......**$
4 0 151 152 153
5 147 0 150 154
$$$$$$**.**$.*.**$
.*$**$..**$**..*$.*.**$*..*$...*$***$
4 156 0 157 0
5 0 0 158 0
$$$$$*$.*$.*$
4 0 0 160 0
4 0 0 125 0
5 0 0 161 162
4 131 0 0 0
$$$$$..*$.*.*$.*.*..**$
$$$$$$$...*$
4 0 0 165 166
5 164 0 167 0
6 155 159 163 168
7 0 0 142 169
8 0 0 116 170
9 0 0 171 0
10 0 0 172 0
11 0 0 173 0
12 0 0 174 0
13 0 0 175 0
14 0 0 176 0
15 0 0 42 177
16 0 0 178 0
17 0 0 179 0
18 0 0 28 180
$$$$$....**$....*$......*$
....****$$..******$.*$.**..**$.....**$
..*****$..*$.....***$.....*$$**$*..*.**$..**.**$
$$*$*....**$.....**$
4 182 183 184 185
.*$.*$*.**$*.*..*$*...**$**$
4 187 0 0 0
$$...*$.***$*$**$
$$$$$$$...**..*$
4 189 0 0 190
$$$$**$*$.***$...*$
$$..**.**$*..*.**$**$$.....*$.....***$
$$$$$.....**$*....**$*$
4 192 0 193 194
5 186 188 191 195
$$$$....**$.....*$...*$...**$
4 0 0 197 0
$$$$$$.......*$.......*$
$$$$$$*$..*$
4 0 0 199 200
.**...*$*..****$**.*$.*.*.**$.*.*.**$**.*$...*$...*.*$
$$$....**$....**$
....**$$$$......*$......**$
$...**$...*$**.*...*$.*.**..*$.*$.*.....*$.**$
4 202 203 204 205
.....*.*$.....**$
.**$*$*$***$...*$..**$
$$$*$*$$*$*$
4 207 208 209 125
5 198 201 206 210
$$$......*$......**$
..*.****$..*$**.*****$.*.*$...*.**$..**.**$
$$$.....**$.....**$
4 212 213 0 214
..*$..******$**...*$..*$.**$$$...*..*$
$*$*$$.....**$.**..**$.*$..******$
...*****$$...****$...*..*$$$.....**$.....**$
**$.*..****$....*..*$$$..**$*..*$**$
4 216 217 218 219
$$$$..**$...*$***$*$
$$.....**$.....**$$$...*..*$...****$
$$**$*..*$..**$$$....*..*$
4 0 221 222 223
$$*$***$...*$..**$
4 0 225 3 125
5 215 220 224 226
6 0 196 211 227
$$$......*$**....**$*...**$*.*..*$*.**$
.*$.*$*$
4 229 213 230 214
5 231 220 224 226
6 196 196 232 232
......*$......**$
4 0 234 0 0
$$$$$......**$......*$
$$$$..**.**$...*.**$.*.*$**.*****$
..*$..*.****$...**..*$
4 236 237 0 238
5 235 239 0 0
$...*****$...*..*$$$.**$..*$**...*$
.*..****$**$..******$.*$.**..**$.....**$$*$
..******$..*$.....***$.....*$$**$*..*.**$..**.**$
*$$*$*....**$.....**$
4 241 242 243 244
.*$.*$*.**$*.*..*$*...**$**....**$......*$
4 246 237 0 238
5 245 247 191 195
6 240 248 211 227
6 248 248 232 232
7 228 233 249 250
7 233 233 250 250
7 249 250 249 250
7 250 250 250 250
8 251 252 253 254
8 252 252 254 254
8 253 254 253 254
8 254 254 254 254
9 255 256 257 258
9 256 256 258 258
9 257 258 257 258
9 258 258 258 258
10 259 260 261 262
10 260 260 262 262
10 261 262 261 262
10 262 262 262 262
11 263 264 265 266
11 264 264 266 266
11 265 266 265 266
11 266 266 266 266
12 267 268 269 270
12 268 268 270 270
12 269 270 269 270
12 270 270 270 270
13 271 272 273 274
13 272 272 274 274
13 273 274 273 274
13 274 274 274 274
14 275 276 277 278
14 276 276 278 278
14 277 278 277 278
14 278 278 278 278
15 279 280 281 282
15 280 280 282 282
15 281 282 281 282
15 282 282 282 282
16 283 284 285 286
16 284 284 286 286
16 285 286 285 286
16 286 286 286 286
17 287 288 289 290
......**$......*$$$$$**$.*$
.*.*$..**$
4 0 292 0 293
**.**..*$.*.*.*.*$.*.*.*.*$..**.*.*$......*$$$.**$
$*$
.**$
4 295 296 297 0
....**$....*$.....***$.......*$$$$.......*$
$$$$$$**$.*.....*$
.......*$......**$
.......*$$$$$.......*$....*..*$....****$
4 299 300 301 302
5 294 298 191 303
$$**$..*$.**$......**$.......*$.....*$
$....**$....**$
.....***$$...****$...*..*$$$.....**$.....**$
**$.*$$$$..**$*..*$**$
4 305 306 307 308
5 231 309 224 226
6 196 304 232 310
7 233 311 250 250
8 252 312 254 254
9 256 313 258 258
10 260 314 262 262
11 264 315 266 266
12 268 316 270 270
13 272 317 274 274
14 276 318 278 278
$$$$$$....**$.....*$
..****.*$..*..*.*$.....*.*$......**$$$$.....**$
.....*.*$......**$$$.....*$...***$..*$..**$
.....**$
4 320 321 322 323
*..*$.*.**$.*.*$.*.*$..*$
$.**$.**$
4 325 0 0 326
*$$$....*$**.*.*$.*.*.*$.*.*.**$.**..*$
4 3 0 328 190
**$*$.***$...*$
4 330 0 0 0
5 324 327 329 331
$......**$......**$
$$.......*$.......*$.....*.*$.....**$
$$$$$$$.*$
4 333 334 0 335
$$*$
4 337 0 0 0
*.*$*.*$.*$..***$....*$
4 0 339 0 0
5 336 338 340 0
*....*$*.***$.**$......*$......**$
4 342 213 0 214
4 305 0 307 308
$$**$*..*$..**$
4 0 221 222 345
$$$$$$...**$....*$
4 0 0 347 0
5 343 344 346 348
$$$$......**$......*$$.......*$
$$$$$$*$*$
4 0 0 350 351
5 0 0 352 0
6 332 341 349 353
...**.**$...**.*$......*$......**$....**$...*..**$...**.*$....*..*$
4 0 0 0 355
....*$.....***$.......*$
4 0 357 0 0
5 0 356 0 358
$$....*$....***$.......*$......**$
$$$*....**$.*...**$**$$**$
$$$$$$......**$......*$
4 360 0 361 362
..*$**$
4 364 0 0 0
*$**$
4 366 0 0 0
5 363 4 365 367
$$$.**$..*$..*.**$...*..*$....**$
4 0 0 0 369
5 0 370 0 0
6 359 368 0 371
$.....***$.....*$.......*$......**$.**$..*$**$
.*$**$
4 373 374 0 0
....*.*$.....**$
$$$......**$......**$
$.......*$$...**$...**..*$$...**$...*$
4 376 377 0 378
.....*$....**$
4 0 380 0 0
5 375 379 191 381
.....*$.....***$$.....**$.....**$$$......*$
.**$*..*$*.**$*.*$*.*$*.**$*$*$
......**$*$*$*.**$*.*..*$..*.**$..*$.**$
4 383 384 385 0
4 0 0 0 190
5 386 0 387 0
5 231 344 224 226
5 215 344 224 226
6 382 388 389 390
4 0 0 0 100
$$$$$$$.....**$
.......*$
....*.*$....*$...**$
....**$....**$$$$.....**$....*.*$.*..*.*$
4 393 394 395 396
5 0 392 387 397
$..**$*..*$**.*.*$..*.**$..*$***$
$$$$$$.....**$.....**$
4 0 0 399 400
....*$..*****$.*.....*$..***..*$.....*.*$..****$..*...**$...***$
$$$$*$*$
4 0 0 402 403
$$$$$....**$....*$.....***$
$$$$.*$*.*$*.*$*.**$
.......*$$$$$$$...**..*$
4 131 405 406 407
.....*$.....*.*$....**.*$
4 409 56 0 0
5 401 404 408 410
.****.**$.....*$.**..*.*$.**...**$
4 305 412 307 308
5 215 413 224 226
..*$..*$**$......*$......**$
4 415 213 0 214
5 416 344 346 348
6 398 411 414 417
7 354 372 391 418
$$$$$$$......**$
$$$$$$*$***$
.....*$.....*$....**.*$....*..*$.....**$.......*$.......*$....**.*$
...*$***$$***$..*...**$**....**$
4 420 421 422 423
$$$$$$$.**$
$.......*$.......*$
4 0 425 426 230
....**.*$
*$$$.......*$$.....***$.....*$
4 428 429 0 0
4 50 0 0 0
5 424 427 430 431
$$$......*$....***$...*$....***$......**$
$.....*.*$.....**$$$......**$.....*$......**$
4 0 433 0 434
$$$**$**$$**$..*$
**$**$
.*.*$*.*.*$*..*$*$**$..*.*$*..**$
4 436 437 438 0
$$$$$$......**$......**$
4 0 440 0 0
5 435 439 441 0
.***$*$**$
4 0 166 0 443
$$$$....**$.....*$.....*.*$......**$
4 445 0 0 0
$$$$$...**$...**$
......**$......**$$......**$.......*$.......*$
4 0 136 447 448
$$$$$....*$...*.*$..*.*$
$$$$$**$.*$*$
.*.*...*$.*..****$..*.*$.**..*$.*..**$.*$*$
$.*.....*$*.*$*.*..***$.*...*$
4 450 451 452 453
5 444 446 449 454
$$$...**$...**$
4 0 0 0 456
$$$$......*$....****$...*$...*..**$
.....**$.....**$$$$*$.*$*$
..**.*$..*..***$...**$.....***$.....*$..**.*$..**.**$
$*$*...**$....**$
4 458 459 460 461
4 0 0 56 0
$.....**$......*$...***$...*$
4 0 464 0 0
5 457 462 463 465
6 432 442 455 466
$.....*$...***$..*$..**$
$$$$......**$.....*$....*.**$....*$
4 297 0 468 469
$$$$$*$
4 0 0 471 59
...**$
4 0 473 0 0
$..**$..*$...***$.....*$
4 0 475 0 100
5 470 472 474 476
**.**..*$....*.*$**.*..**$**.*.*$....*.*$.....*.*$......*$
..*.*$..*.*$**.*$.*$..*$...*$..**$
4 478 479 0 0
$$.......*$......*$......**$
$.*$**$
4 481 482 0 214
$$$$$.......*$.......*$......**$
4 484 152 3 0
$$$...**.*$...**.**$
4 0 486 0 0
5 480 483 485 487
$$$$$.......*$.......*$.....*.*$
4 489 471 323 0
....**$..***.**$.*$..***.**$....*.**$
4 0 491 0 0
.......*$.......*$
4 0 493 0 0
$**$..*$.**$
$$$....**$....**$$$*$
$$...**$...*.*$.....*$.....**$
4 495 0 496 497
5 490 492 494 498
*$$$$......*$......*$......**$
$$$.......*$....*.*$....**.*$.......*$.......*$
4 500 471 0 501
...*$..*.*$.*.*$**..***$..**...*$.*..**.*$.*.*..*$.*.**$
$$$..**$..**$
4 0 0 503 504
$$$$$$....**$....*.*$
4 0 506 0 234
*$$$$$.......*$.......*$
$.......*$.......*$..**$..*$*.*$..*.**$.**.*$
$$.....**$....*.*$....*$.**.*$..*.*.**$..*.*.**$
....*$....**$$$$$.....**$.....**$
4 508 509 510 511
5 502 505 507 512
6 477 488 499 513
$$$.......*$
$$$*$*$*.**$.*..*$..**$
4 515 516 0 0
5 0 0 0 517
6 0 518 353 0
.......*$.......*$......**$.......*$.......*$
4 0 520 0 335
.*.**$.*.*.*$.*.*.*$..**.***$....*$***.*..*$..**...*$
$...**$*...*$*...*.*$.....**$*$*$
$$$$...*$...***$......*$.....**$
4 522 523 524 360
.......*$......*$......**$
**$
.**$.**$
4 526 527 0 528
$$$$$..*...**$.*.*...*$*.*...*$
4 0 0 530 0
5 521 525 529 531
....**$....**$
$$$$$.....**$.....*$...*.*$
...**$$$$$......*$.....*.*$......*$
4 533 534 0 535
.**.*$.*..****$..**...*$....**$....*$......*$.....**$
4 537 0 0 0
.*$..***$....*$
4 0 425 475 539
5 536 538 540 0
$$$$$.**$.**$
....**.*$....**.*$$....**.*$.....*.*$.....*.*$......*$
4 542 543 0 0
.*...*$..****.*$*.*...*$*..*..*$..**...*$
4 545 51 0 100
$$.......*$.......*$
4 0 547 0 0
5 544 546 0 548
$$$.....**$.....*$**.....*$*.....**$*$
.....*$.......*$$$...**$..*.*$..*$*.*$
*.**..**$*.*...**$..*$..**$
4 393 550 551 552
*.*.**$*.*.**$*.*$..****$**...*$..**$..*$....*$
4 554 136 473 0
$$$....**$....*.*$......*$......**$
4 556 0 0 0
5 553 0 555 557
6 532 541 549 558
7 467 514 519 559
6 248 382 232 389
7 250 561 250 250
5 0 0 387 0
6 388 563 390 390
4 0 225 3 0
5 215 344 224 565
$$$$$.......*$.......*$..**$
$.......*$.......*$$$$.....**$....*.*$
..*$*.*$..*.**$.**.*$....*$....**$
4 0 567 568 569
$$$$$*$$.*$
**$$**$**$
4 571 0 572 0
....*$.**.*$..*.*.**$..*.*.**$.**.*$.*..****$..**...*$....**$
....*$......*$.....**$
4 574 59 575 0
4 236 351 0 527
5 570 573 576 577
6 563 0 566 578
5 245 188 191 195
$$$$$$...**$.*..*$
4 0 0 581 0
.**.*.*$...*.**$...*$.***$*$**$
4 583 377 0 378
5 582 352 584 386
5 231 220 224 565
$$$$**$*...**$*.*..*$*.**$
.....*$....**$$$$.......*$.......*$..**$
.*$.*.....*$*......*$$$$.....**$....*.*$
4 587 588 589 569
5 590 573 576 577
6 580 585 586 591
7 564 579 250 592
8 419 560 562 593
$$$**$.*$
4 595 0 0 0
5 0 0 596 0
$$$$..*$*.*$.**$
$$$$$$.......*$......*$
......**$$$$$$.......*$.......*$
4 598 599 0 600
$$$$$.*$**$
$$$......**$.......*$.......*$*....***$*...*$
$$$.**$.**$$$**$
4 602 0 603 604
$*.....**$.....*.*$.*...*$**..**$$**$**$
4 606 0 0 0
....****$.......*$....***$...*$....****$......*$
..*$.**$.*$.*$*$
4 608 609 0 0
5 601 605 607 610
6 597 0 611 0
$......**$......*$
$.....**$*.....*$*...*$**..**$$....**$....**$
4 613 614 0 199
$$$..**$...*$...*.**$**.*..*$.*.**$
.*$**$.......*$.......*$$$*.....**$*.....**$
$$*$.*$.*$.*.**$.*.*$.*.*$
4 616 0 617 618
$......**$.....*.*$.....*$....**$
4 620 0 0 0
$......**$......*$$$.......*$.......*$
.*.**$**..*$..**$**$.*$$*$
4 622 623 0 0
5 615 619 621 624
6 625 0 0 0
7 612 0 626 0
$$$$$.....**$......*$....*$
....**$$....**$....**$
4 0 628 0 629
$$$$$$$..**$
...*$...*.**$**.*..*$.*.**$.*$**$.......*$.......*$
$$$$$$*$.*$
4 631 0 632 633
$$$$$......**$.....*.*$.....*$
4 635 547 89 0
$$*.....**$*.....**$$......**$......*$
.*$.*.**$.*.*$.*.*$.*.**$**..*$..**$**$
.*$$*$
4 637 638 426 639
5 630 634 636 640
6 641 0 0 0
7 642 0 642 0
8 627 0 643 0
7 250 592 250 592
8 254 645 254 645
8 643 0 643 0
9 594 644 646 647
9 646 647 646 647
10 648 0 649 0
10 649 0 649 0
11 650 0 651 0
11 651 0 651 0
12 652 0 653 0
12 653 0 653 0
13 654 0 655 0
13 655 0 655 0
14 656 0 657 0
14 657 0 657 0
15 319 658 282 659
15 282 659 282 659
16 660 0 661 0
16 661 0 661 0
17 662 0 663 0
4 0 225 0 125
5 215 220 346 665
6 240 248 211 666
5 231 220 346 665
6 248 248 668 668
5 375 239 0 0
6 240 670 0 0
6 670 670 0 0
7 667 669 671 672
7 669 669 672 672
8 673 674 0 0
8 674 674 0 0
9 257 258 675 676
9 258 258 676 676
10 261 262 677 678
10 262 262 678 678
11 265 266 679 680
11 266 266 680 680
12 269 270 681 682
12 270 270 682 682
13 683 684 0 0
13 684 684 0 0
14 277 278 685 686
14 278 278 686 686
15 687 688 0 0
15 688 688 0 0
16 689 690 0 0
16 690 690 0 0
17 691 692 0 0
4 0 0 0 426
5 231 220 346 694
4 587 380 230 0
$$**$..*$.**$
4 0 0 697 0
5 696 0 698 0
6 580 585 695 699
$$$$.....**$.....*$.......*$
4 0 0 0 701
5 375 702 0 0
$$$$....**$....**$
$....**.*$....**.*$$$..*..*$..****$
$$$.**.**$..*.**$*.*$*.******$.*$
....****$....*$......*$.....**$**$.*$*$
4 704 705 706 707
$*$..*$.**$$$$*$
4 709 0 131 0
.*.****$..**..*$
4 711 0 0 0
5 708 710 712 0
6 703 713 0 0
7 669 700 672 714
8 674 715 0 0
7 642 0 0 0
8 717 0 0 0
9 646 647 716 718
10 649 0 719 0
11 651 0 720 0
12 653 0 721 0
13 722 0 0 0
14 657 0 723 0
15 688 724 0 0
16 725 0 0 0
17 726 0 0 0
18 291 664 693 727
19 0 181 0 728
Really REALLY speed it up and then slow it back down. The generation is way ahead the real one.
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

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

Re: Golly 3.3b2

Post by dvgrn » July 16th, 2019, 3:17 pm

gameoflifemaniac wrote:Really REALLY speed it up and then slow it back down. The generation is way ahead the real one.
Yup, I can reproduce this -- Windows 64-bit, HashLife algorithm (QuickLife isn't an option for this pattern). Specifically, I started running the pattern at around 8^70, waited for a few seconds, then started tapping the minus key, about once per second.

By the time the step size was reduced to 8^67, the reported generation was

Code: Select all

962,851,565,111,278,829,260,335,014,337,347,172,829,663,678,626,748,942,227,219,677,184
-- but in fact the pattern was still stuck at T=0, because HashLife can't manage to make any actual progress with step sizes anywhere near that high.

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

Re: Golly 3.3b2

Post by Andrew » July 16th, 2019, 6:59 pm

gameoflifemaniac wrote:Really REALLY speed it up and then slow it back down. The generation is way ahead the real one.
Ok, I can now reproduce this on my Mac. Thanks for the report. (It looks like it's a bug in the changes Tom recently made to improve the responsiveness of the hash-based algorithms. I'll let him know and hopefully it'll be fixed in the next 3.3 release.)

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

Re: Golly 3.3b2

Post by Andrew » July 16th, 2019, 7:29 pm

_zM wrote:I use Xubuntu 18.04 LTS, and did not build from source.
Sorry, but I've really got no idea why that version of Linux would display those boxes differently to other versions of Linux. Perhaps it has a buggy implementation of GTK 2, so maybe try updating the relevant package(s)?

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

Re: Golly 3.3b2

Post by rokicki » July 16th, 2019, 10:44 pm

Thanks for the excellent report (on the generation count advancing spuriously).
It was indeed exactly as Andrew has described. I've submitted a change that
will fix this.

No one was sacked over this bug.

Post Reply