Riemann won't start with Icedtea 1.7.0_09 #73

Closed
hhenkel opened this Issue Nov 16, 2012 · 4 comments

Projects

None yet

2 participants

@hhenkel

Trying to start riemann 0.1.3 on a vm with fedora 17 gives the following error:

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

$ java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.3.fc17.1-i386)
OpenJDK Client VM (build 23.2-b09, mixed mode)

$ uname -rvp
3.6.3-1.fc17.i686 #1 SMP Mon Oct 22 16:10:29 UTC 2012 i686

@hhenkel

Running riemann with strace and java 1.6.27 it looks like this:

----snip----
mmap2(NULL, 331776, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0xb6dfb000
mprotect(0xb6dfb000, 4096, PROT_NONE) = 0
clone(child_stack=0xb6e4b464, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb6e4bba8, {entry_number:6, base_addr:0xb6e4bb40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb6e4bba8) = 9278
futex(0xb6e4bba8, FUTEX_WAIT, 9278, NULLINFO [2012-11-16 13:52:45,891] main - riemann.server - TCP server {:host 127.0.0.1, :port 5555, :pipeline-factory #} online

INFO [2012-11-16 13:52:45,955] main - riemann.server - UDP server {:host 127.0.0.1, :port 5555, :max-size 16384, :pipeline-factory #} online
----snip----

When running with 1.7.0_09 and strace it looks like this:
----snip----
mmap2(NULL, 331776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0xb6d26000
mprotect(0xb6d26000, 4096, PROT_NONE) = 0
clone(child_stack=0xb6d76464, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb6d76ba8, {entry_number:6, base_addr:0xb6d76b40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb6d76ba8) = 9340
futex(0xb6d76ba8, FUTEX_WAIT, 9340, NULLError: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

+++ exited with 1 +++
----snip----

@hhenkel

When I try to run riemann with 1.7.0_09 it will fail. Running it with oracle jdk 1.6.27 it give me an error about '+UseCompressedOops', see issue #74 .When running riemann without '+UseCompressedOops' and java 1.7.0_09 it seems to work.

@aphyr

Yeah, I probably shouldn't rely on non-portable JVM options. Since you're not the first person to report difficulties, I'm going to strip out most of the JVM opts and release a 0.1.4 release.

@aphyr

Fixed in 0.1.4! Thanks hhenkel. :)

@aphyr aphyr closed this Dec 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment