2017-06-22 11 views
0

Yocto Linuxシステム(プロセッサ:IntelQuark®x1020 400 MHz)でnode-redを実行しています。V8_Fatalエラー - 到達不能コード0x891e307

私のアプリケーションには、PLCの値を読み取るためのS7ノード(これは現在、15秒ごとに真と偽、またはその逆に変化するテスト値です)が含まれています。 OPCUA-Server-Node(node-red-contrib-opcua)はブール変数の作成で初期化され、OPCプロトコルを介してデータをさらに読み出すためのOPCUA-Serverを作成します。 OPC-Clientは、PLCから受信した真偽値をOPCUA-Serverに書き込みます。

指定されていない時間(約20-40分)が経過すると、ノードが赤くクラッシュします。

Welcome to Node-RED 
=================== 

22 Jun 07:53:37 - [info] Node-RED version: v0.15.2 
22 Jun 07:53:37 - [info] Node.js version: v6.9.2 
22 Jun 07:53:37 - [info] Linux 4.4.18-yocto-standard ia32 LE 
22 Jun 07:53:52 - [info] Loading palette nodes 
22 Jun 07:55:13 - [info] Dashboard version 2.1.0 started at /ui 
22 Jun 07:55:14 - [warn] ------------------------------------------------------ 
22 Jun 07:55:14 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node 
22 Jun 07:55:14 - [warn] ------------------------------------------------------ 
22 Jun 07:55:14 - [info] Settings file : /home/root/.node-red/settings.js 
22 Jun 07:55:14 - [info] User directory : /home/root/.node-red 
22 Jun 07:55:14 - [info] Flows file  : /home/root/.node-red/flows_iot2000.json 
22 Jun 07:55:15 - [info] Server now running at http://127.0.0.1:1880/ 
22 Jun 07:55:15 - [debug] red/runtime/nodes/credentials.load : no user key present 
22 Jun 07:55:15 - [debug] red/runtime/nodes/credentials.load : using default key 
22 Jun 07:55:15 - [info] Starting flows 
22 Jun 07:55:35 - [info] Started flows 
22 Jun 07:55:36 - [info] [debug:9e445757.340408] 
{ opcuaCommand: 'addVariable' } 
22 Jun 07:56:39 - [info] [debug:7f92b9a0.ab1b8] true 
22 Jun 07:56:39 - [error] [OpcUa-Client:WRITE ] WRITE OPC UA connection error: connect ECONNREFUSED 127.0.0.1:53880 
22 Jun 07:56:39 - [info] [OpcUa-Client:WRITE ] TESTLOG: RESET CLIENT NACH CONNECTION ERROR 
Bad Session in _on_ActivateSessionRequest 030691667bf38f6e20b540681a3c7a3e 
22 Jun 07:57:29 - [error] [s7 endpoint:ac2f8250.edec] Failure (Bad values) 
22 Jun 07:57:31 - [info] [debug:7f92b9a0.ab1b8] false 
22 Jun 07:57:37 - [info] [debug:7f92b9a0.ab1b8] true 
Timeout .... waiting for response for OpenSecureChannelRequest { /*RequestHeader*/ 
authenticationToken   /* NodeId       */: ns=0;i=0 
timeStamp      /* UtcTime       */: 2017-06-22T07:56:39.362Z 
requestHandle     /* IntegerId      */: 1    0x1 
returnDiagnostics    /* UInt32       */: 0    0x0 
auditEntryId     /* UAString       */: null 
timeoutHint     /* UInt32       */: 0    0x0 
additionalHeader    /* ExtensionObject     */: null 
}; 
Timeout .... waiting for response for CloseSecureChannelRequest { /*RequestHeader*/ 
authenticationToken   /* NodeId       */: ns=0;i=0 
timeStamp      /* UtcTime       */: 2017-06-22T07:56:39.667Z 
requestHandle     /* IntegerId      */: 2    0x2 
returnDiagnostics    /* UInt32       */: 0    0x0 
auditEntryId     /* UAString       */: 
timeoutHint     /* UInt32       */: 0    0x0 
additionalHeader    /* ExtensionObject     */: null 
}; 
22 Jun 07:57:43 - [error] [s7 endpoint:ac2f8250.edec] Failure (Bad values) 
22 Jun 07:57:43 - [error] [OpcUa-Client:WRITE ] WRITE OPC UA connection error: Transaction has timed out 
22 Jun 07:57:43 - [info] [OpcUa-Client:WRITE ] TESTLOG: RESET CLIENT NACH CONNECTION ERROR 
22 Jun 07:57:56 - [info] [debug:7f92b9a0.ab1b8] false 
22 Jun 07:58:06 - [info] [debug:9e445757.340408] 
{ opcuaCommand: 'addVariable' } 
22 Jun 07:58:08 - [info] [debug:7f92b9a0.ab1b8] true 
22 Jun 07:58:23 - [info] [debug:7f92b9a0.ab1b8] false 
22 Jun 07:58:39 - [info] [debug:7f92b9a0.ab1b8] true 
22 Jun 07:58:55 - [info] [debug:7f92b9a0.ab1b8] false 
22 Jun 07:59:10 - [info] [debug:7f92b9a0.ab1b8] true 
... 
... 
... 
22 Jun 08:17:57 - [info] [debug:7f92b9a0.ab1b8] true 
22 Jun 08:18:13 - [info] [debug:7f92b9a0.ab1b8] false 
22 Jun 08:18:28 - [info] [debug:7f92b9a0.ab1b8] true 
22 Jun 08:18:44 - [info] [debug:7f92b9a0.ab1b8] false 
22 Jun 08:18:59 - [info] [debug:7f92b9a0.ab1b8] true 


# 
# Fatal error in , line 0 
# unreachable code 
# 

==== C stack trace =============================== 

1: V8_Fatal 
2: 0x891e307 
3: v8::internal::LCodeGenBase::GenerateBody() 
4: v8::internal::LCodeGen::GenerateCode() 
5: v8::internal::LChunk::Codegen() 
6: v8::internal::OptimizedCompileJob::GenerateCode() 
7: v8::internal::Compiler::FinalizeOptimizedCompileJob(v8::internal::OptimizedCompileJob*) 
8: v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() 
9: v8::internal::StackGuard::HandleInterrupts() 
10: v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) 
11: 0x3dd0a07e 
12: 0x3c43c8df 
13: 0x3dd1fd9e 
14: 0x3dd1bd23 
15: 0x85da06a 
16: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) 
17: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) 
18: v8::Function::Call(v8::Local<v8::Value>, int, v8::Local<v8::Value>*) 
19: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) 
20: 0x89a5cbb 
21: 0x89f1d30 
22: uv_run 
23: node::Start(int, char**) 
24: main 
25: __libc_start_main 
Illegal instruction 

ノードがランダムにクラッシュする理由を理解したいと思います。誰でも助けることができますか?

答えて

0

Illigal instructionエラーは、ご使用のnode.jsのバージョンのJITコンパイラが、使用しているIntel Quarkプロセッサでは使用できない命令を生成したことを意味します。

あなたの最善の策は、あなたがこのエラーことを排除するシステムが適切に障害が発生した時点で完全なコアファイルを生成し、Node.jsのプロジェクトに対してhere

+0

を問題を提起するように設定されていることを確認することですノード赤の使用に起因するのではなく、むしろシステム関連のエラーですか? 完全なコアファイルはどのように生成できますか? – scsi1042

+0

インタプリタ言語では、ランタイムがクラッシュすることは決してありません。特にそうではありません。コアファイルの作成は通常、現在のシェルのulimitsによって制御されています。あなたが設定したデフォルト値を調べることをお勧めします。 – hardillb

+0

これは私にはちょっと変です。私はs7ノードだけを使用するとクラッシュは発生しないためです。 OPC UA Serverを実行すると、クラッシュします。したがって、この問題の最初の原因はこのノードです。 プログラム(およびそのopcuaノード)は、問題を引き起こし、その結果、違法な命令につながる可能性がありますか? – scsi1042

関連する問題