Azure / iot-edge-v1

Azure IoT Edge
http://azure.github.io/iot-edge/
Other
525 stars 258 forks source link

Seg Fault at launch - Linux Gateway w/NodeJS bindings built against NodeJS +8.x #387

Open WilliamBerryiii opened 7 years ago

WilliamBerryiii commented 7 years ago

Gateway build: Master Run-time: Linux (debian/jessie-scm) Container run-time image base: microsoft/dotnet:latest Enabled Bindings: NodeJS & DotNetCore Target NodeJS Version: 8.5.0

Expected results: Build succeeds & Gateway run nodejs_simple_sample Actual Results: Build succeeds with excessive warnings about dependency conflicts & gateway terminates with segfault on startup. Running strace yields no useful results.

Reproduction: Starting from the microsoft/dotnet latest build, create a container images by first installing node, and gateway environment dependencies. Continue by running build_nodejs.sh with a node version flag of 8.5.x. Run the gateway build with NodeJS and .NetCore bindings enabled. Run the nodejs_simple_sample ... the gateway will exit immediately with a segment fault.

damonbarry commented 7 years ago

I believe we support the Node.js binding with a (small) range of Node.js versions up through 7.something... @avranju can confirm. We'll need some help to support versions of Node.js outside that range.

avranju commented 7 years ago

Yes, we haven't tested the Node.js bindings with 8.5.0.