Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when leaving planet #52

Open
0XDE57 opened this issue Sep 17, 2024 · 0 comments
Open

Fatal error when leaving planet #52

0XDE57 opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels

Comments

@0XDE57
Copy link
Owner

0XDE57 commented Sep 17, 2024

Repro: land on planet then take off.

Intermittent. Doesn't happen every time.

appears to be crashing when creating body fixture for spacestation: com.badlogic.gdx.physics.box2d.Body.createFixture(), BodyBuilder.createSpaceStation()

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5d7bddb28c, pid=45745, tid=45751
#
# JRE version: OpenJDK Runtime Environment JBR-17.0.9+8-1166.2-nomod (17.0.9+8) (build 17.0.9+8-b1166.2)
# Java VM: OpenJDK 64-Bit Server VM JBR-17.0.9+8-1166.2-nomod (17.0.9+8-b1166.2, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgdx-box2d64.so+0x2128c]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/logica/Documents/GitHub/SpaceProject/core.45745)
#
# If you would like to submit a bug report, please visit:
#   https://youtrack.jetbrains.com/issues/JBR
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Dfile.encoding=UTF-8 -Duser.country=CA -Duser.language=en -Duser.variant com.spaceproject.desktop.DesktopLauncher

Host: AMD Ryzen 9 5900X 12-Core Processor, 32 cores, 31G, Manjaro Linux
Time: Mon Sep 16 20:51:34 2024 MDT elapsed time: 73.195821 seconds (0d 0h 1m 13s)

---------------  T H R E A D  ---------------

Current thread (0x00007f5e04028660):  JavaThread "main" [_thread_in_native, id=45751, stack(0x00007f5e08611000,0x00007f5e08711000)]

Stack: [0x00007f5e08611000,0x00007f5e08711000],  sp=0x00007f5e0870f120,  free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgdx-box2d64.so+0x2128c]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 3624  com.badlogic.gdx.physics.box2d.Body.jniCreateFixture(JJFFFFZSSS)J (0 bytes) @ 0x00007f5df95e5970 [0x00007f5df95e5920+0x0000000000000050]
J 3623 c1 com.badlogic.gdx.physics.box2d.Body.createFixture(Lcom/badlogic/gdx/physics/box2d/FixtureDef;)Lcom/badlogic/gdx/physics/box2d/Fixture; (109 bytes) @ 0x00007f5df1889e74 [0x00007f5df1889da0+0x00000000000000d4]
j  com.spaceproject.generation.BodyBuilder.createSpaceStation(FFFFLcom/badlogic/gdx/physics/box2d/BodyDef$BodyType;Lcom/badlogic/ashley/core/Entity;)Lcom/badlogic/gdx/physics/box2d/Body;+335
j  com.spaceproject.generation.EntityBuilder.createSpaceStation(Lcom/badlogic/ashley/core/Entity;FZ)Lcom/badlogic/ashley/core/Entity;+172
j  com.spaceproject.systems.SpaceLoadingSystem.createPlanetarySystem(FFJ)Lcom/badlogic/gdx/utils/Array;+190
j  com.spaceproject.systems.SpaceLoadingSystem.createPlanetarySystem(FF)Lcom/badlogic/gdx/utils/Array;+10
j  com.spaceproject.systems.SpaceLoadingSystem.createAstronomicalObjects(FF)Lcom/badlogic/gdx/utils/Array;+72
j  com.spaceproject.systems.SpaceLoadingSystem.loadCloseEntities(F)V+153
J 3696 c2 com.spaceproject.systems.SpaceLoadingSystem.update(F)V (16 bytes) @ 0x00007f5df96ee77c [0x00007f5df96ee6e0+0x000000000000009c]
J 3500 c2 com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update()Z (217 bytes) @ 0x00007f5df9647104 [0x00007f5df96467c0+0x0000000000000944]
j  com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop()V+111
j  com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lcom/badlogic/gdx/ApplicationListener;Lcom/badlogic/gdx/backends/lwjgl3/Lwjgl3ApplicationConfiguration;)V+269
j  com.spaceproject.desktop.DesktopLauncher.main([Ljava/lang/String;)V+46
v  ~StubRoutines::call_stub```


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant