Fedora 17 下运行Kettle遇到”A fatal error has been detected by the Java Runtime Environment” ,此问题令我十分纠结,具体的报错信息如下:
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=6455, tid=139924755695360
#
# JRE version: 6.0_35-b10
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.10-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000000
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/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 (0x00007f42c0007000): JavaThread “main” [_thread_in_native, id=6456, stack(0x00007f42c54bc000,0x00007f42c55bd000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000
Registers:
RAX=0x000000360e888ca0, RBX=0x00007f42c1005d28, RCX=0x0000000000000001, RDX=0x0000000000000000
RSP=0x00007f42c55ba828, RBP=0x0000000000000000, RSI=0x0000000000000010, RDI=0x000000360de37e90
R8 =0x0000000000000000, R9 =0x0000000000000002, R10=0x0000000800281093, R11=0x0000000000000000
R12=0x00007f42c1028b90, R13=0x000000360de37e90, R14=0x00007f42c55baae8, R15=0x00007f42c0007000
RIP=0x0000000000000000, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000014
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007f42c55ba828)
0x00007f42c55ba828: 000000360da4b76d 0000000000000000
0x00007f42c55ba838: 000000360e8215d0 00007f42c1005d28
0x00007f42c55ba848: 00007f42c1028b90 0000000000000000
0x00007f42c55ba858: 000000360da70138 0000000000000001
0x00007f42c55ba868: 000000360da704b7 00007f42c0007001
0x00007f42c55ba878: 0000003fe7c7f493 0000007c00000077
0x00007f42c55ba888: 0000000000000010 0000000000000001
0x00007f42c55ba898: 000000360c200f4f 00007f42c1005dc8
0x00007f42c55ba8a8: 000000360d067178 00007f42c55baae8
0x00007f42c55ba8b8: 333b1f12d3e2da00 00007f42c1028b90
0x00007f42c55ba8c8: 00007f42c1005cc0 000000360e8215f0
0x00007f42c55ba8d8: 000000360e626ed0 0000000000000000
0x00007f42c55ba8e8: 000000360da714c9 00007f42c1082270
0x00007f42c55ba8f8: 00007f42c1028908 00007f42c1005d88
0x00007f42c55ba908: 00007f42c1028b90 0000003fe7c886aa
0x00007f42c55ba918: 00007f42c10288c0 00007f42c10878f8
0x00007f42c55ba928: 00007f42c1005cc0 0000000000000000
0x00007f42c55ba938: 0000000000000000 00007f42c1082270
0x00007f42c55ba948: 000000360da71fcf 00007f42c1082270
0x00007f42c55ba958: 0000000000000000 00007f42c1087ae0
0x00007f42c55ba968: 01007f42c1087ac0 00007f42c1028300
0x00007f42c55ba978: 00007f42c10283c0 00007f42c10072d0
0x00007f42c55ba988: 0000003400000000 000000360dcb8abf
0x00007f42c55ba998: 000000010000000f 0000000000000000
0x00007f42c55ba9a8: 0000000000000000 00007f42c1091960
0x00007f42c55ba9b8: 000000360da4ebc3 0000000000000000
0x00007f42c55ba9c8: 0000003fe7814915 00007f42c1087190
0x00007f42c55ba9d8: 00007f42c1087670 00007f42c1086a98
0x00007f42c55ba9e8: 000000050000003a 0000000000000000
0x00007f42c55ba9f8: 00000000d156bb80 00007f42c55baaa0
0x00007f42c55baa08: 0000000000000000 00000000d156bb80
0x00007f42c55baa18: 00007f427178ea3e 00007f42c55bab30
经查,这应该时GNOME或者X的库和Spoon集成的浏览器不能一起工作导致的。所以需要编辑(或创建)~/.kettle/.spoonrc,并在里面输入以下内容:
ShowWelcomePageOnStartup=N
在此之后,Kettle能正常运行!