richardwilkes / gcs

GURPS Character Sheet
http://gurpscharactersheet.com
Mozilla Public License 2.0
224 stars 62 forks source link

Clicking on Settings > Fonts on Linux freezes app #697

Closed alexispurslane closed 1 year ago

alexispurslane commented 1 year ago

What it says in the title. The rest of the app seems to work just fine though. It's just that the fonts are too small for me.

Here's my system info: image

richardwilkes commented 1 year ago

I see you're using Wayland, which GCS doesn't specifically support -- it's just built using the X11 libraries. This may or may not be the issue.

Please attach any log output. You can find the location of the log file in General Settings panel.

alexispurslane commented 1 year ago

Thanks! I figured Wayland was probably the issue, although it's running in XWayland so theoretically it should be fine. I'll send the logs tomorrow.

alexispurslane commented 1 year ago

Alright I checked again, and it just takes so long that GNOME thinks the app is frozen, but it does eventually show up. The log seems to contain several "invalid memory address or nil pointer" errors and one "EOF" error, however, although they don't seem to be related. Here they are though:

                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:42.746 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:42.864 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:43.426 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:43.480 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:43.537 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:43.593 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:43.652 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:43.770 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:43.986 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:44.205 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:44.262 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:44.318 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:44.369 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 07:52:44.543 | recovered from panic
                                      [github.com/richardwilkes/unison.(*Text).AdjustDecorations] github.com/richardwilkes/unison@v0.54.2/text.go:189
                                      [github.com/richardwilkes/unison.(*menuItem).paint] github.com/richardwilkes/unison@v0.54.2/menu_item.go:293
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:428
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Panel).Draw] github.com/richardwilkes/unison@v0.54.2/panel.go:446
                                      [github.com/richardwilkes/unison.(*Window).Draw.func1] github.com/richardwilkes/unison@v0.54.2/window.go:847
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).Draw] github.com/richardwilkes/unison@v0.54.2/window.go:844
                                      [github.com/richardwilkes/unison.(*Window).draw] github.com/richardwilkes/unison@v0.54.2/window.go:878
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:172
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: runtime error: invalid memory address or nil pointer dereference
ERR | 2023-05-14 | 11:54:46.426 | Invalid file data.
                                      [github.com/richardwilkes/gcs/v5/model/gurps.NewTemplateFromFile] template.go:45
                                      [github.com/richardwilkes/gcs/v5/ux.NewTemplateFromFile] template.go:72
                                      [github.com/richardwilkes/gcs/v5/ux.OpenFile] navigator.go:985
                                      [github.com/richardwilkes/gcs/v5/ux.(*NavigatorNode).Open] navigator_node.go:251
                                      [github.com/richardwilkes/gcs/v5/ux.(*Navigator).handleSelectionDoubleClick] navigator.go:727
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Table[...]).DefaultMouseDown] github.com/richardwilkes/unison@v0.54.2/table.go:804
                                      [github.com/richardwilkes/gcs/v5/ux.(*Navigator).mouseDown] navigator.go:515
                                      [github.com/richardwilkes/unison.(*Window).mouseDown.func2] github.com/richardwilkes/unison@v0.54.2/window.go:1027
                                      [github.com/richardwilkes/toolbox.CallWithHandler] github.com/richardwilkes/toolbox@v1.84.0/call.go:25
                                      [github.com/richardwilkes/toolbox.Call] github.com/richardwilkes/toolbox@v1.84.0/call.go:19
                                      [github.com/richardwilkes/unison.(*Window).mouseDown] github.com/richardwilkes/unison@v0.54.2/window.go:1027
                                      [github.com/richardwilkes/unison.(*Window).mouseButtonCallback] github.com/richardwilkes/unison@v0.54.2/window.go:334
                                      [github.com/go-gl/glfw/v3.3/glfw.goMouseButtonCB] github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20221017161538-93cebf72946b/input.go:334
                                      [_cgoexp_4e2a132c1af0_goMouseButtonCB] _cgo_gotypes.go:2647
                                      [github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwWaitEvents] _cgo_gotypes.go:2561
                                      [github.com/go-gl/glfw/v3.3/glfw.WaitEvents] github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20221017161538-93cebf72946b/window.go:982
                                      [github.com/richardwilkes/unison.processEvents] github.com/richardwilkes/unison@v0.54.2/app.go:165
                                      [github.com/richardwilkes/unison.Start] github.com/richardwilkes/unison@v0.54.2/app.go:160
                                      [github.com/richardwilkes/gcs/v5/ux.Start] startup.go:33
                                      [main.main] github.com/richardwilkes/gcs/v5/main.go:80
                                    Caused by: EOF
                                      [github.com/richardwilkes/gcs/v5/model/jio.Load] load.go:54
richardwilkes commented 1 year ago

All of those invalid memory addresses are likely being caused by one or more bad fonts on your system returning no name to display.

I can fix that particular spot which is expecting a valid name to be present, but it will probably push the problem to another point in the code.