Giter Club home page Giter Club logo

Comments (3)

thomas725 avatar thomas725 commented on June 15, 2024

I've tried with a clone of this repository, using the master branch I got the same "idle" crash after a few minutes of playing:

    /opt/singularity    master  bash run_singularity.sh
Singularity 1.00 (commit: v1.00-7-ga8510bd)
Running under Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0]
pygame 2.1.2 (SDL 2.0.20, Python 3.10.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
The error-log configured as /home/thomas/.local/share/singularity/log/error.log (lazily created when something is logged)
----- Basic information (Please include all the data below in the bug report) ------
Fatal Python error: pygame_parachute: (pygame parachute) Segmentation Fault
Python runtime state: initialized

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

Thread 0x00007f5326bf7740 (most recent call first):
  File "/usr/lib/python3.10/logging/__init__.py", line 1201 in _open
  File "/usr/lib/python3.10/logging/__init__.py", line 1216 in emit
  File "/usr/lib/python3.10/logging/__init__.py", line 968 in handle
  File "/usr/lib/python3.10/logging/__init__.py", line 1696 in callHandlers
  File "/usr/lib/python3.10/logging/__init__.py", line 1634 in handle
  File "/usr/lib/python3.10/logging/__init__.py", line 1624 in _log
  File "/usr/lib/python3.10/logging/__init__.py", line 1506 in error
  File "/opt/singularity/singularity/code/safety.py", line 47 in log_error
  File "/opt/singularity/singularity/code/safety.py", line 68 in safe_call
  File "/opt/singularity/singularity/code/screens/map.py", line 580 in show
  File "/opt/singularity/singularity/code/graphics/dialog.py", line 125 in call_dialog
  File "/opt/singularity/singularity/code/screens/main_menu.py", line 111 in load_game
  File "/opt/singularity/singularity/code/graphics/button.py", line 247 in activated
  File "/opt/singularity/singularity/code/graphics/button.py", line 213 in activate_with_sound
  File "/opt/singularity/singularity/code/graphics/button.py", line 199 in handle_event
  File "/opt/singularity/singularity/code/graphics/dialog.py", line 405 in call_handlers
  File "/opt/singularity/singularity/code/graphics/dialog.py", line 390 in handle
  File "/opt/singularity/singularity/code/graphics/dialog.py", line 231 in show
  File "/opt/singularity/singularity/__init__.py", line 382 in main
  File "/opt/singularity/singularity/__main__.py", line 26 in <module>
  File "/usr/lib/python3.10/runpy.py", line 86 in _run_code
  File "/usr/lib/python3.10/runpy.py", line 196 in _run_module_as_main

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)
run_singularity.sh: line 8: 725653 Aborted                 (core dumped) PYTHONPATH="${PYPATH}" "${PYTHON}" -m singularity "$@"

from singularity.

nthykier avatar nthykier commented on June 15, 2024

Most likely related to pygame/pygame#3128. At this point, the only known work around is to downgrade your pygame version.

from singularity.

nthykier avatar nthykier commented on June 15, 2024

For now, closing this as pygame bug. If you can reproduce with pygame/2.5.2 then please let me know/reopen the issue.

from singularity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.