Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Segmentation fault #141

Open
rysinal opened this issue Nov 18, 2020 · 1 comment
Open

Segmentation fault #141

rysinal opened this issue Nov 18, 2020 · 1 comment
Assignees

Comments

@rysinal
Copy link

rysinal commented Nov 18, 2020

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
Copy link
Author

rysinal commented Nov 23, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants