Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Crash report: Cannot run binary as user, only root #11660

Open
z3nix opened this Issue Oct 7, 2013 · 2 comments

Comments

Projects
None yet
1 participant

z3nix commented Oct 7, 2013

I have a VPS and a Dedicated Server. Both are the same OS, Centos 6.4 Final 64 bit.

I am using the phantomjs binary version 1.9.2

The permissions are 755 on both systems, and owned by the same user on both systems. The user account on the dedicated is a carbon copy of the account on the vps using cpanel WHM transfer function. The phantomjs binary is the same owner and group on both systems.

For some reason, I can run the binary fine as a user and root on the VPS, but only as root on the dedicated. When I try running as the user on the dedicated, it crashes. Here is the report: http://pastebin.com/H4ZsGxAy

Any ideas???

z3nix commented Oct 8, 2013

Here is an strace: http://pastebin.com/5XRdCsXE

line 583: mmap(NULL, 1073741824, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)

Everything past that seems to be SIGSEGV taking over.

There also seems to be a lot of '(Permission denied)' in the beginning. Could this be part of the issue?

z3nix commented Nov 10, 2013

I just installed a new user on the dedicated and voila, this new user can run phantomjs fine. This means that there is some sort of set up with the user that I migrated from the VPS through cPanel. I will update this issue and close once I discover exactly what the problem was in case anyone else has to deal with server migration Seg Fault problems like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment