簡體   English   中英

Mac OS X Yosemite上的ElasticSearch + Node: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.
#

這是核心轉儲的內容

似乎在console.log()語句中存在一個錯誤,導致在節點5.2.0中導致此錯誤: http : //github.com/nodejs/node/issues/4261

如果您降級到Node 5.1.1,則應該一切順利。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM