-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suddenly segfaulting, even as root #12
Comments
Just checked latest node 0.10 and 0.12 - works for me on openSUSE 13.2 Perhaps try this for debugging: https://github.com/ddopson/node-segfault-handler Also .. you can try rebuilding node-authenticate-pam with |
Ok, thanks. So, the trace isn't making things a whole of a lot more clear for me other than pointing at: authenticate_pam.node(_Z17doing_auth_threadP9uv_work_s+0xc6)[0x2b7c04d0bf16] So off to the second option and I'm giving the rebuild a try. It seems to rebuild fine and generates the "authenticate_pam.node", but now when starting the node app it errs with a "Cannot find module 'authenticate-pam'" Could it be that I'm missing some extra step after rebuilding, maybe? PS: got it. Still no clue about why it's segfaulting, I'll keep investigating. |
(Thanks for contributing this great library, Damian.) We're getting a perhaps related error. RHEL 6.4, Node 10.21 running as root. Here's the GDB output:
The relevant PAM profile is:
Thanks! |
Have you managed to find a solution? |
It fixed itself "automatically" for me. I didn't change anything at all (and as far as I know nothing else was changed on that server) and a couple of weeks later it was working, and has been working nicely since then. I have no clue about why it was crashing. |
Hi,
I've been using authenticate-pam for pam authentication with express.js (node 0.10.28) for a few months now without problems, but out of the blue today I just found out it was suddenly segfaulting at every auth attempt, bringing the node app down.
The app itself hasn't (afaik) changed, so I'd guess something must have changed on the server (no idea what, nothing should have changed). Any suggestion about how could I go about debugging this module to find out why it's segfaulting?
The documentation clearly reads that it might segfault when running as non-root, but the issue also happens with the root user.
Regards.
The text was updated successfully, but these errors were encountered: