joschi / docker-graylog-alpine

Graylog Docker image based on Alpine Linux
https://hub.docker.com/r/joschi/graylog-alpine/
MIT License
5 stars 3 forks source link

graylog died #4

Closed bodsch closed 7 years ago

bodsch commented 7 years ago

Hallo! I'm about to test your container. build and starts are fine. After a small konfiguration part, the webinterface is accessable.

i klick a little bit around for an overview an then unfortunately, Graylog dies with this message:

graylog           | 2017-09-22 13:30:00,242 INFO : org.graylog2.shared.initializers.InputSetupService - Triggering launching persisted inputs, node transitioned from Uninitialized [LB:DEAD] to Running [LB:ALIVE]
graylog           | 2017-09-22 13:30:00,242 INFO : org.graylog2.bootstrap.ServerBootstrap - Services started, startup times in ms: {BufferSynchronizerService [RUNNING]=29, OutputSetupService [RUNNING]=61, KafkaJournal [RUNNING]=64, JournalReader [RUNNING]=132, ConfigurationEtagService [RUNNING]=134, InputSetupService [RUNNING]=145, StreamCacheService [RUNNING]=160, LookupTableService [RUNNING]=196, PeriodicalsService [RUNNING]=219, JerseyService [RUNNING]=10428}
graylog           | 2017-09-22 13:30:00,246 INFO : org.graylog2.bootstrap.ServerBootstrap - Graylog server up and running.
graylog           | #
graylog           | # A fatal error has been detected by the Java Runtime Environment:
graylog           | #
graylog           | #  SIGSEGV (0xb) at pc=0x0000000000009fae, pid=1, tid=0x00007f7ba2e2fae8
graylog           | #
graylog           | # JRE version: OpenJDK Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
graylog           | # Java VM: OpenJDK 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
graylog           | # Derivative: IcedTea 3.4.0
graylog           | # Distribution: Custom build (Fri Jun 16 13:41:54 GMT 2017)
graylog           | # Problematic frame:
graylog           | # C  0x0000000000009fae
graylog           | #
graylog           | # Core dump written. Default location: /opt/graylog/core or core.1
graylog           | #
graylog           | # Can not save log file, dump to screen..
graylog           | #
graylog           | # A fatal error has been detected by the Java Runtime Environment:
graylog           | #
graylog           | #  SIGSEGV (0xb) at pc=0x0000000000009fae, pid=1, tid=0x00007f7ba2e2fae8
graylog           | #
graylog           | # JRE version: OpenJDK Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
graylog           | # Java VM: OpenJDK 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
graylog           | # Derivative: IcedTea 3.4.0
graylog           | # Distribution: Custom build (Fri Jun 16 13:41:54 GMT 2017)
graylog           | # Problematic frame:
graylog           | # C  0x0000000000009fae
graylog           | #
graylog           | # Core dump written. Default location: /opt/graylog/core or core.1
graylog           | #
graylog           | # If you would like to submit a bug report, please include
graylog           | # instructions on how to reproduce the bug and visit:
graylog           | #   http://icedtea.classpath.org/bugzilla
graylog           | # The crash happened outside the Java Virtual Machine in native code.
graylog           | # See problematic frame for where to report the bug.
graylog           | #
graylog           | 
graylog           | ---------------  T H R E A D  ---------------
graylog           | 
graylog           | Current thread (0x000055f51e07d000):  JavaThread "scheduled-daemon-23" daemon [_thread_in_native, id=102, stack(0x00007f7ba2d2f000,0x00007f7ba2e2faa8)]
graylog           | 
graylog           | siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000009fae
graylog           | 
graylog           | Registers:
graylog           | RAX=0x0000000000000000, RBX=0x00007f7ba2e2cc48, RCX=0x00007f7bc43bd370, RDX=0x0000000000000000
graylog           | RSP=0x00007f7ba2e2cc38, RBP=0x00007f7ba2e2cc50, RSI=0x00007f7ba2e2cc48, RDI=0x00007f7ba2e2cc50
graylog           | R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x0000000000000000, R11=0x0000000000000246
graylog           | R12=0x00007f7ba2e2ec70, R13=0x00007f7ba7d86660, R14=0x00007f7ba2e2ed20, R15=0x000055f51e07d000
graylog           | RIP=0x0000000000009fae, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000014
graylog           |   TRAPNO=0x000000000000000e

I would like to help you to better locate and correct the error.

bodsch commented 7 years ago

currently, i switch to the official (debain-based?) Container and they work. I think, my problem are ar only a alpine thing.

joschi commented 7 years ago

@bodsch The problem is that the official OpenJDK and Oracle JDK don't work on Alpine Linux because of its "custom" C standard library (musl instead of glibc), so that might introduce bugs that don't exist in the official OpenJDK builds.

bodsch commented 7 years ago

Thanks for your reaction! :) I think, for the work-case is debian the better solution. Thanks for your work!