-
Notifications
You must be signed in to change notification settings - Fork 337
Segfault when running napajs on CentOS 7 #225
Comments
The crash stacktrace looks like the known issue here - nodejs/node#17817 Please have a try if the crash happens on Node 8.10.0/8.9.4. If the answer is Yes on 8.10.0 and No on 8.9.4. That should be the same issue. |
@fs-eire it worked (didn't crash) on 8.9.4, haven't had a chance to test 8.10.0 yet |
I did some investigation. Thanks for the stack trace the root cause is identified: ( From the dump above)
Both node and libnapa.so expose the symbol See nodejs/node#17817 to check more information. |
Should have been fixed in 0.2.3 @mnahkies could you please have a try on the latest version? |
This appears fixed now, thanks @fs-eire! |
Impact:
Napajs is unusable on CentOS 7, and pressumbly some other RHEL distributions. I have tried both the pre-build binary automatically installed, and by forcing a rebuild using
Reproduction:
On a Linux system with a working docker installation create the following two files side by side. Then execute reproduce.sh.
This will build a docker environment based on centos 7 that has the required tools (cmake, nodejs, g++, etc), clone the napajs repository, and build it.
The docker run command then attempts to run the napajs test suite against the newly build image. This fails with a segfault. This happens when I try to include napajs in my project as well.
node-v8-centos7-napajs.dockerfile
reproduce.sh
Output:
The text was updated successfully, but these errors were encountered: