#1053008 singularity: segmentation fault crash

#1053008#5
Date:
2023-09-26 21:27:58 UTC
From:
To:
While waiting for time to pass, game crashes. The log file is not created, but console contains the following:

% singularity
Singularity 1.00 (commit: 2ebc2f3f2059b96885416167363bde2e27ece106)
Running under Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
pygame 2.1.2 (SDL 2.26.5, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
The error-log configured as /home/mnalis/.local/share/singularity/log/error.log (lazily created when something is logged)
Warning: <singularity.code.graphics.button.DialogButton object at 0x7fde16323490> can't fit on its parent.
(0, 1037) (249, 43) (0, 0) (1920, 1080)
Warning: <singularity.code.graphics.dialog.SimpleMenuDialog object at 0x7fde5f32e690> can't fit on its parent.
(0, 0) (1920, 1080) (0, 0) (1920, 1080)
zsh: segmentation fault  singularity

#1053008#10
Date:
2023-09-27 01:37:13 UTC
From:
To:
It crashes at about once per hour or two. Buster version (0.30) was rock stable.

% singularity
Singularity 1.00 (commit: 2ebc2f3f2059b96885416167363bde2e27ece106)
Running under Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
pygame 2.1.2 (SDL 2.26.5, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
The error-log configured as /home/mnalis/.local/share/singularity/log/error.log (lazily created when something is logged)
Warning: <singularity.code.graphics.button.Button object at 0x7f55e3f51b10> can't fit on its parent.
(432, 0) (1223, 26) (9, 36) (268, 26)
Warning: <singularity.code.graphics.button.Button object at 0x7f55e3f50210> can't fit on its parent.
(204, 0) (1104, 26) (9, 36) (297, 26)
Warning: <singularity.code.graphics.button.Button object at 0x7f55e3f02ad0> can't fit on its parent.
(0, 0) (998, 26) (9, 36) (329, 26)
Warning: <singularity.code.graphics.button.Button object at 0x7f55e3f13cd0> can't fit on its parent.
(863, 0) (86, 26) (9, 36) (697, 26)
Warning: <singularity.code.graphics.button.Button object at 0x7f56254bb5d0> can't fit on its parent.
(0, 0) (998, 26) (9, 36) (329, 26)
Warning: <singularity.code.graphics.button.Button object at 0x7f55e3f701d0> can't fit on its parent.
(201, 0) (84, 26) (9, 36) (39, 26)
Fatal Python error: pygame_parachute: (pygame parachute) Segmentation Fault
Python runtime state: initialized

Current thread 0x00007f56125f96c0 (most recent call first):
  <no Python frame>

Thread 0x00007f562baa42c0 (most recent call first):
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 272 in handle
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 231 in show
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 674 in show
  File "/usr/lib/python3/dist-packages/singularity/code/screens/research.py", line 196 in show
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 125 in call_dialog
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/button.py", line 295 in show_dialog
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/button.py", line 247 in activated
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/button.py", line 213 in activate_with_sound
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/button.py", line 199 in handle_event
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 405 in call_handlers
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 390 in handle
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 231 in show
  File "/usr/lib/python3/dist-packages/singularity/code/safety.py", line 64 in safe_call
  File "/usr/lib/python3/dist-packages/singularity/code/screens/map.py", line 580 in show
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 125 in call_dialog
  File "/usr/lib/python3/dist-packages/singularity/code/screens/main_menu.py", line 109 in load_game
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/button.py", line 247 in activated
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/button.py", line 213 in activate_with_sound
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/button.py", line 199 in handle_event
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 405 in call_handlers
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 390 in handle
  File "/usr/lib/python3/dist-packages/singularity/code/graphics/dialog.py", line 231 in show
  File "/usr/lib/python3/dist-packages/singularity/__init__.py", line 382 in main
  File "/usr/games/singularity", line 11 in <module>

Extension modules: pygame.base, pygame.constants, pygame.rect, pygame.rwobject, pygame.surflock, pygame.color, pygame.bufferproxy, pygame.math, pygame.surface, pygame.display, pygame.draw, pygame.event, pygame.imageext, pygame.image, pygame.joystick, pygame.key, pygame.mouse, pygame.time, pygame.mask, pygame.pixelcopy, pygame.transform, pygame.font, pygame.mixer_music, pygame.mixer, pygame.scrap, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, pygame._freetype (total: 39)
zsh: IOT instruction  singularity