DS (or LibGDX) not happy on Macs? Threading issue related to UI rendering / the game splash screen?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
Comienza en org.destinationsol.desktop.SolDesktop.main y sigue la ruta de inicio de LibGDX/LWJGL mostrada en el stack trace. Reproduce el lanzamiento del juego en macOS con Java 10 o una versión cercana, centrándote en los errores reportados del primer hilo y de creación de la ventana. Se considera terminado cuando el juego alcanza el inicio sin el fallo de inicialización registrado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What you were trying to do
Update and run DS on my Macbook while out of town. Would be nice to know what happens on other OSes
What actually happened
Angry red text (see below). Some of it seems to suggest a JVM flag may be able to help, or to avoid certain other libs?
How to reproduce
- Be on a later Java (10 in this case - unsure about 9, 11, or 12)
- Possibly be on a Mac
- Simply run the game
Log details and game version
DEBUG [Thread-0] (PermissionSet.java:186) - Added API classes 'org.destinationsol.files.*'
DEBUG [Thread-0] (PermissionSet.java:186) - Added API classes 'org.destinationsol.game.input.*'
DEBUG [Thread-0] (ModuleClassLoader.java:83) - Module path: /Users/cervator/dev/terasology/git_ws/DestinationSol/out/production/engine
WARN [Thread-0] (Reflections.java:181) - given scan urls are empty. set urls in the configuration
2019-05-27 19:08:49.931 java[27529:613056] pid(27529)/euid(502) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2019-05-27 19:08:50.029 java[27529:613056] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff468667eb -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 378
1 AppKit 0x00007fff46863bdb -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1479
2 AppKit 0x00007fff4686360e -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
3 libglfw.dylib 0x00000001307d90c9 libglfw.dylib + 57545
4 libglfw.dylib 0x00000001307d3a5b libglfw.dylib + 35419
5 ??? 0x000000011ad3ab50 0x0 + 4745046864
6 ??? 0x000000011ad34a50 0x0 + 4745022032
)
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.lwjgl.glfw.GLFW.glfwShowWindow(GLFW.java:2149)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.setVisible(Lwjgl3Window.java:234)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:393)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:379)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:108)
at org.destinationsol.desktop.SolDesktop.main(SolDesktop.java:145)
Caused by: java.lang.IllegalStateException: Please run the JVM with -XstartOnFirstThread and make sure a window toolkit other than GLFW (e.g. AWT or JavaFX) is not initialized.
at org.lwjgl.glfw.EventLoop$OnScreen.<clinit>(EventLoop.java:63)
... 6 more
AL lib: (EE) alc_cleanup: 1 device not closed
Process finished with exit code 1
Computer details
- Macbook Pro, running Mojave 10.14.5. Really wanted to write Mojava. I don't know Macs.
- Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
- Lenguaje dominante
- Java
- Estrellas
- 350
- Forks
- 125
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MovingBlocks/DestinationSol
-
Bundled desktop JRE is Java 11 while engine compiles to Java 17; afterEclipseImport never runsAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
MovingBlocks/DestinationSol#740 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
MovingBlocks/DestinationSol#739 ·
-
Destiatio SolAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
MovingBlocks/DestinationSol#735 · 1 comentario ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
MovingBlocks/DestinationSol#733 · 1 comentario ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
MovingBlocks/DestinationSol#732 ·
Todos los issues de MovingBlocks/DestinationSol
Issues similares
-
[destination-snowflake] Custom domains rejected unlike source connectionsPosiblemente ocupada @kuza55 la tomó hoy. Abiertoautoteam community connectors/destination/snowflake team/use
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area-dashboard
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
component/operate kind/feature-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Forge coverage prompts carry text the agent cannot act onPosiblemente ocupada @graalvmbot la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
oracle/graalvm-reachability-metadata#10572 ·
Los mantenedores suelen responder en 1 día
-
[CI] Core CI doesn't run for changes to amoro-format-lance (and amoro-web)Posiblemente ocupada @MarkAlex1234 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días