Mac OS X Yosemite 上的 ElasticSearch + 节点:JRE 崩溃?
ElasticSearch + Node on Mac OS X Yosemite: JRE crash?
对这个有点困惑,可能是因为我不经常遇到 JRE 核心转储。
我正在为 Node.js 使用官方 ElasticSearch 模块,并试图在我的一个索引中创建一个新文档。
我的 Node 应用程序似乎可以很好地连接到 ES 实例,但是当我执行 create
请求时,我的 JRE 就出问题了!这是 Node 吐出的错误:
Elasticsearch INFO: 2015-12-16T21:40:47Z
Adding connection to http://my.server.address/:9200
Elasticsearch DEBUG: 2015-12-16T21:40:53Z
starting request { method: 'POST',
path: '/test/document',
body: { foo: 'bar' },
query: { op_type: 'create' } }
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001004f3616, pid=40975, tid=1299
#
# JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [node+0x4f3616] _ZN4node8debugger5Agent14MessageHandlerERKN2v85Debug7MessageE+0x34
#
# 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:
# /Path/To/My/App/hs_err_pid42140.log
#
# 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.
#
在节点 5.2.0 中似乎有一个 console.log()
语句导致此错误:http://github.com/nodejs/node/issues/4261
如果您降级到 Node 5.1.1,您应该可以继续使用了。
对这个有点困惑,可能是因为我不经常遇到 JRE 核心转储。
我正在为 Node.js 使用官方 ElasticSearch 模块,并试图在我的一个索引中创建一个新文档。
我的 Node 应用程序似乎可以很好地连接到 ES 实例,但是当我执行 create
请求时,我的 JRE 就出问题了!这是 Node 吐出的错误:
Elasticsearch INFO: 2015-12-16T21:40:47Z
Adding connection to http://my.server.address/:9200
Elasticsearch DEBUG: 2015-12-16T21:40:53Z
starting request { method: 'POST',
path: '/test/document',
body: { foo: 'bar' },
query: { op_type: 'create' } }
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001004f3616, pid=40975, tid=1299
#
# JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [node+0x4f3616] _ZN4node8debugger5Agent14MessageHandlerERKN2v85Debug7MessageE+0x34
#
# 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:
# /Path/To/My/App/hs_err_pid42140.log
#
# 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.
#
在节点 5.2.0 中似乎有一个 console.log()
语句导致此错误:http://github.com/nodejs/node/issues/4261
如果您降级到 Node 5.1.1,您应该可以继续使用了。