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

Minecraft launcher crashes while running malmo parallel in docker container #549

Open
kkjh0723 opened this issue Jun 5, 2017 · 1 comment

Comments

@kkjh0723
Copy link

kkjh0723 commented Jun 5, 2017

When I try to run multiple agents in multiple Minecraft environment with python threading in docker container, the Minecraft launchers are crashed and exited. The same code has no problem in normal desktop system(non-container) and Python_Examples(no threading) in Malmo are working in docker environment. Do you have any idea why it happens?
It seems threading makes problem...

I installed everything from docker ubuntu:14.04 container (anaconda2, tensorflow, malmo)
and I run the docker as follows to use GUI,

xhost + ; docker run -it -p 8888:8888 -p 6006:6006 -p 8000:8000 -v `pwd`:/home/sharedfolder --privileged --device=/dev/snd:/dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=unix$DISPLAY <container name>

I got following error messages from Minecraft launcher,

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGFPE (0x8) at pc=0x00007f2a8b48ce88, pid=3444, tid=0x00007f2ac7528700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [swrast_dri.so+0x272e88]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/Malmo-0.21.0/Minecraft1/run/hs_err_pid3444.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
                                                                                            :runClient FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runClient'.
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 134

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 36.853 secs
@AndKram
Copy link
Collaborator

AndKram commented Aug 24, 2018

Possibly out of memory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants