One Logstash shipper on windows 2012 frequently keeps crashing

Hi,

I've one Logstash shipper service (Logstash 1.5.6) keeps crashing. Below is the log and configuration. Anyone has any clues? Thanks a lot!

The logstash configuration (of course the actual configuration contains multiple file input modules):
input {
file {
type => "ApplicationA"
path => ""
add_field => ["logkey", "xxxx"]
}
}
output {
redis {
host => ""
data_type => "list"
key => "%{logkey}"
}
}

------------------------------------------crash log ------------------------------------------

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006e4c2143, pid=244, tid=16680

JRE version: Java(TM) SE Runtime Environment (8.0_66-b18) (build 1.8.0_66-b18)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b18 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [jffi-1.2.dll+0x2143]

Core dump written. Default location: C:\ELKShipper\logstash-1.5.6\bin\hs_err_pid244.mdmp

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.

--------------- T H R E A D ---------------

Current thread (0x00000000164e7800): JavaThread "<file" daemon [_thread_in_native, id=16680, stack(0x000000001cb30000,0x000000001cd30000)]

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff

Registers:
RAX=0x0000000000430052, RBX=0x000000001cd2c8e8, RCX=0x00000000164e79f8, RDX=0x0054002e0031007e
RSP=0x000000001cd2c620, RBP=0x000000001cd2c670, RSI=0x0000000000000001, RDI=0x00000000164e79f8
R8 =0x0000000000000000, R9 =0x000000000000002c, R10=0x0000000000618900, R11=0x0000000000000000
R12=0x0000000000000001, R13=0x0000000000000002, R14=0x000000001cd2ca20, R15=0x00000000164e79f8
RIP=0x000000006e4c2143, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x000000001cd2c620)
0x000000001cd2c620: 000000001cd2c8e8 0000000000000001
0x000000001cd2c630: 0000000000000002 000000006e4c6df6
0x000000001cd2c640: 0000000000430052 00007ff87c2712e0
0x000000001cd2c650: 00000000003cd540 000000001cd2ca38
0x000000001cd2c660: 0000000011010002 00000000003cd540
0x000000001cd2c670: 000000001cd2c9b0 000000006e4c6535
0x000000001cd2c680: 0000000000000000 000000001cd2ca20
0x000000001cd2c690: 0000000011000005 000000001cd2cb70
0x000000001cd2c6a0: 0000000011010002 000000001cd2c8e8
0x000000001cd2c6b0: 000000001cd2c6c0 000000006e4c6359
0x000000001cd2c6c0: 3630397300000020 3630397301d14c46
0x000000001cd2c6d0: cb1d588c01d14c46 0000000001d14caa
0x000000001cd2c6e0: 000000000003e00f 006900531cd2c8b0
0x000000001cd2c6f0: 004e0061006d0067 00720054006e006f
0x000000001cd2c700: 006f006b00630061 0072005300740075
0x000000001cd2c710: 005f0031005f0076 0038003900380031

Instructions: (pc=0x000000006e4c2143)
0x000000006e4c2123: 20 07 00 00 84 c0 75 c5 48 8b 43 20 44 8b 4b 2c
0x000000006e4c2133: 48 89 f9 44 8b 43 28 48 8b 53 18 48 89 44 24 20
0x000000006e4c2143: ff 53 08 eb a8 0f 1f 84 00 00 00 00 00 48 83 c4
0x000000006e4c2153: 38 5b 5e 5f 5d c3 48 89 da 48 89 f9 ff d0 eb 96

Register to memory mapping:

RAX=0x0000000000430052 is an unknown value
RBX=0x000000001cd2c8e8 is pointing into the stack for thread: 0x00000000164e7800
RCX=0x00000000164e79f8 is an unknown value
RDX=0x0054002e0031007e is an unknown value
RSP=0x000000001cd2c620 is pointing into the stack for thread: 0x00000000164e7800
RBP=0x000000001cd2c670 is pointing into the stack for thread: 0x00000000164e7800
RSI=0x0000000000000001 is an unknown value
RDI=0x00000000164e79f8 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x000000000000002c is an unknown value
R10=0x0000000000618900 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000001 is an unknown value
R13=0x0000000000000002 is an unknown value
R14=0x000000001cd2ca20 is pointing into the stack for thread: 0x00000000164e7800
R15=0x00000000164e79f8 is an unknown value

Stack: [0x000000001cb30000,0x000000001cd30000], sp=0x000000001cd2c620, free space=2033k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [jffi-1.2.dll+0x2143]
C [jffi-1.2.dll+0x6535]
C [jffi-1.2.dll+0x6aee]
C 0x0000000000f25874