Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.69k stars 2.98k forks source link

game crashed when i click on import scheme #10084

Closed DERKEROR closed 3 months ago

DERKEROR commented 3 months ago

Platforms

Windows

Build

steam build 146

Issue

crash

Steps to reproduce

clicked on the import scheme button

Mods used

vanilla

Save file

No response

(Crash) logs

Mindustry has crashed. How unfortunate. Report this at https://github.com/Anuken/Mindustry/issues/new?labels=bug&template=bug_report.md

Version: steam build 146 OS: Windows 10 x64 (amd64) Java Version: 16.0.1 Runtime Available Memory: 4078mb Cores: 16 Mods: none (vanilla)

java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.base/java.util.TimSort.mergeHi(Unknown Source) at java.base/java.util.TimSort.mergeAt(Unknown Source) at java.base/java.util.TimSort.mergeForceCollapse(Unknown Source) at java.base/java.util.TimSort.sort(Unknown Source) at java.base/java.util.Arrays.sort(Unknown Source) at mindustry.ui.dialogs.FileChooser.getFileNames(FileChooser.java:167) at mindustry.ui.dialogs.FileChooser.updateFiles(FileChooser.java:193) at mindustry.ui.dialogs.FileChooser.setupWidgets(FileChooser.java:98) at mindustry.ui.dialogs.FileChooser.lambda$new$1(FileChooser.java:49) at arc.scene.ui.Dialog$5.shown(Dialog.java:397) at arc.scene.event.VisibilityListener.handle(VisibilityListener.java:11) at arc.scene.Element.notify(Element.java:162) at arc.scene.Element.fire(Element.java:133) at arc.scene.ui.Dialog.show(Dialog.java:468) at arc.scene.ui.Dialog.show(Dialog.java:507) at arc.scene.ui.Dialog.show(Dialog.java:502) at mindustry.core.Platform.defaultFileDialog(Platform.java:211) at mindustry.core.Platform.showFileChooser(Platform.java:147) at mindustry.core.Platform.showFileChooser(Platform.java:215) at mindustry.ui.dialogs.SchematicsDialog.lambda$showImport$27(SchematicsDialog.java:237) at arc.scene.Element.lambda$clicked$2(Element.java:913) at arc.scene.Element$4.clicked(Element.java:922) at arc.scene.event.ClickListener.touchUp(ClickListener.java:77) at arc.scene.event.InputListener.handle(InputListener.java:31) at arc.scene.Scene.touchUp(Scene.java:370) at arc.input.InputMultiplexer.touchUp(InputMultiplexer.java:136) at arc.input.InputEventQueue.drain(InputEventQueue.java:71) at arc.backend.sdl.SdlInput.update(SdlInput.java:181) at arc.backend.sdl.SdlApplication.loop(SdlApplication.java:189) at arc.backend.sdl.SdlApplication.(SdlApplication.java:54) at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:39)

Mindustry has crashed. How unfortunate. Report this at https://github.com/Anuken/Mindustry/issues/new?labels=bug&template=bug_report.md

Version: steam build 146 OS: Windows 10 x64 (amd64) Java Version: 16.0.1 Runtime Available Memory: 4078mb Cores: 16 Mods: none (vanilla)

java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.base/java.util.TimSort.mergeHi(Unknown Source) at java.base/java.util.TimSort.mergeAt(Unknown Source) at java.base/java.util.TimSort.mergeForceCollapse(Unknown Source) at java.base/java.util.TimSort.sort(Unknown Source) at java.base/java.util.Arrays.sort(Unknown Source) at mindustry.ui.dialogs.FileChooser.getFileNames(FileChooser.java:167) at mindustry.ui.dialogs.FileChooser.updateFiles(FileChooser.java:193) at mindustry.ui.dialogs.FileChooser.lambda$updateFiles$14(FileChooser.java:230) at arc.scene.Element.lambda$clicked$2(Element.java:913) at arc.scene.Element$4.clicked(Element.java:922) at arc.scene.event.ClickListener.touchUp(ClickListener.java:77) at arc.scene.event.InputListener.handle(InputListener.java:31) at arc.scene.Scene.touchUp(Scene.java:370) at arc.input.InputMultiplexer.touchUp(InputMultiplexer.java:136) at arc.input.InputEventQueue.drain(InputEventQueue.java:71) at arc.backend.sdl.SdlInput.update(SdlInput.java:181) at arc.backend.sdl.SdlApplication.loop(SdlApplication.java:189) at arc.backend.sdl.SdlApplication.(SdlApplication.java:54) at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:39)

Submission

Matita008 commented 3 months ago

Seems like you sent the same log twice

Also it's better to send it as a file and include video proof

DERKEROR commented 3 months ago

crash-report-08_04_2024_19_52_33.txt

crash-report-08_04_2024_19_43_45.txt

Anuken commented 3 months ago

This crash isn't relevant anymore either way; Mindustry uses a native file chooser now.