eclipse-agail / agile-core

Source code repository for agile core components
Eclipse Public License 2.0
7 stars 16 forks source link

Container won't run #60

Closed craigmulligan closed 7 years ago

craigmulligan commented 7 years ago
docker --version
Docker version 17.07.0-ce-rc3, build 665d244

Not sure if this is something with my set up. I'm running it on my local machine with agile-cli then other containers start fine but agile-core has the following errors.

# If you would like to submit a bug report, please visit:
#   http://www.azulsystems.com/support/
#
qemu: uncaught target signal 6 (Aborted) - core dumped
/usr/src/app/scripts/start.sh: line 110:    31 Aborted                 java -jar -Djava.library.path=deps iot.agile.ProtocolManager/target/protocol-manager-1.0-jar-with-dependencies.jar
/usr/src/app/scripts/start.sh: line 110:    41 Aborted                 java -jar -Djava.library.path=deps iot.agile.DeviceManager/target/device-manager-1.0-jar-with-dependencies.jar
OpenJDK Client VM warning: You have loaded library /usr/src/app/deps/libunix-java.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xf4e2bf94, pid=61, tid=0xe18b9460
#
# JRE version: OpenJDK Runtime Environment (8.0_121-b42) (build 1.8.0_121-b42)
# Java VM: OpenJDK Client VM (25.121-b42 mixed mode, Evaluation linux-aarch32 )
# Problematic frame:
# V  [libjvm.so+0x191f94]
#
# 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:
# /tmp/hs_err_pid61.log
Compiled method (c1)   14523  125             java.util.HashMap::put (13 bytes)
 total in heap  [0xf2a408c8,0xf2a40b84] = 700
 relocation     [0xf2a40994,0xf2a409bc] = 40
 main code      [0xf2a409c0,0xf2a40aa0] = 224
 stub code      [0xf2a40aa0,0xf2a40b04] = 100
 metadata       [0xf2a40b04,0xf2a40b14] = 16
 scopes data    [0xf2a40b14,0xf2a40b40] = 44
 scopes pcs     [0xf2a40b40,0xf2a40b80] = 64
 dependencies   [0xf2a40b80,0xf2a40b84] = 4
Compiled method (c1)   14533  125             java.util.HashMap::put (13 bytes)
 total in heap  [0xf2a408c8,0xf2a40b84] = 700
 relocation     [0xf2a40994,0xf2a409bc] = 40
 main code      [0xf2a409c0,0xf2a40aa0] = 224
 stub code      [0xf2a40aa0,0xf2a40b04] = 100
 metadata       [0xf2a40b04,0xf2a40b14] = 16
 scopes data    [0xf2a40b14,0xf2a40b40] = 44
 scopes pcs     [0xf2a40b40,0xf2a40b80] = 64
 dependencies   [0xf2a40b80,0xf2a40b84] = 4
#
# If you would like to submit a bug report, please visit:
#   http://www.azulsystems.com/support/
#
qemu: uncaught target signal 6 (Aborted) - core dumped
cskiraly commented 7 years ago

ARM qemu emulation is not compatible with Java (at least with OpenJDK and ZuluJDK). Please use native version of images.