SkyAPM-nodejs icon indicating copy to clipboard operation
SkyAPM-nodejs copied to clipboard

Segmentation fault

Open rysinal opened this issue 5 years ago • 1 comments

node version v8.16.2 [email protected]

My script file is as follows:

console.log("SW_AGENT_NAME:" + process.env.SW_AGENT_NAME)
console.log("SW_AGENT_COLLECTOR_BACKEND_SERVICES:" + process.env.SW_AGENT_COLLECTOR_BACKEND_SERVICES)

require('skyapm-nodejs').start({
    // Service name is showed in sky-walking-ui. Suggestion: set an unique name for each service, one
    // service's nodes share the same code.
    // this value cannot be empty.
    serviceName: process.env.SW_AGENT_NAME,
    // The identifier of the instance
    instanceName: process.env.HOSTNAME,
    // Collector agent_gRPC/grpc service addresses.
    // default value: localhost:11800
    directServers: process.env.SW_AGENT_COLLECTOR_BACKEND_SERVICES
});

I try to run, but throws an error:

Segmentation fault

rysinal avatar Nov 18 '20 11:11 rysinal

I have this problem in centos7.5.1804, kernel version 3.10.0-862.el7.x86_64, after upgrading the kernel to 5.8.13-1.el7.elrepo.x86_64, it runs successfully

rysinal avatar Nov 23 '20 08:11 rysinal