This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
node debug -p fails #5903
Comments
Did you start process 13974 in debug mode? If not, what happens when you send it a SIGUSR1 to activate the debugger? |
What version of Node are you using? Can you explain the general purpose of what the process is supposed to be working on? What's the CPU usage on that PID? |
Just a simple infinite loop is enough to replicate this:
|
@trevnorris @bnoordhuis ... any reason to keep this one open? |
I'm fairly sure this is fixed in io.js. Don't know about joyent/node. |
An initial quick test on v0.12 doesn't show any connection error but things are still less than useful. It's worth investigating further. |
gibfahn
pushed a commit
to ibmruntimes/node
that referenced
this issue
Apr 15, 2016
Original commit message: tools: fix tickprocessor Cpp symbols on mac Despite man page documentation: -f Display the symbol table of a dynamic library flat (as one file not separate modules). `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument does not seem to be required, so just remove it completely. (For `-format` documentation - see `nm --help` on mac). BUG= Review URL: https://codereview.chromium.org/1840633002 Cr-Commit-Position: refs/heads/master@{#35445} Fix: nodejs#5903 PR-URL: nodejs/node#6179 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
gibfahn
pushed a commit
to ibmruntimes/node
that referenced
this issue
Apr 27, 2016
Original commit message: tools: fix tickprocessor Cpp symbols on mac Despite man page documentation: -f Display the symbol table of a dynamic library flat (as one file not separate modules). `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument does not seem to be required, so just remove it completely. (For `-format` documentation - see `nm --help` on mac). BUG= Review URL: https://codereview.chromium.org/1840633002 Cr-Commit-Position: refs/heads/master@{#35445} Fix: nodejs#5903 PR-URL: nodejs/node#6179 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
richardlau
pushed a commit
to ibmruntimes/node
that referenced
this issue
May 16, 2016
Original commit message: tools: fix tickprocessor Cpp symbols on mac Despite man page documentation: -f Display the symbol table of a dynamic library flat (as one file not separate modules). `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument does not seem to be required, so just remove it completely. (For `-format` documentation - see `nm --help` on mac). BUG= Review URL: https://codereview.chromium.org/1840633002 Cr-Commit-Position: refs/heads/master@{#35445} Fix: nodejs#5903 PR-URL: nodejs/node#6179 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
gibfahn
pushed a commit
to ibmruntimes/node
that referenced
this issue
May 25, 2016
Original commit message: tools: fix tickprocessor Cpp symbols on mac Despite man page documentation: -f Display the symbol table of a dynamic library flat (as one file not separate modules). `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument does not seem to be required, so just remove it completely. (For `-format` documentation - see `nm --help` on mac). BUG= Review URL: https://codereview.chromium.org/1840633002 Cr-Commit-Position: refs/heads/master@{#35445} Fix: nodejs#5903 PR-URL: nodejs/node#6179 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
gibfahn
pushed a commit
to ibmruntimes/node
that referenced
this issue
May 25, 2016
Original commit message: tools: fix tickprocessor Cpp symbols on mac Despite man page documentation: -f Display the symbol table of a dynamic library flat (as one file not separate modules). `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument does not seem to be required, so just remove it completely. (For `-format` documentation - see `nm --help` on mac). BUG= Review URL: https://codereview.chromium.org/1840633002 Cr-Commit-Position: refs/heads/master@{#35445} Fix: nodejs#5903 PR-URL: nodejs/node#6179 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
utterstep
pushed a commit
to lutik-inc/node
that referenced
this issue
Jun 1, 2016
Original commit message: tools: fix tickprocessor Cpp symbols on mac Despite man page documentation: -f Display the symbol table of a dynamic library flat (as one file not separate modules). `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument does not seem to be required, so just remove it completely. (For `-format` documentation - see `nm --help` on mac). BUG= Review URL: https://codereview.chromium.org/1840633002 Cr-Commit-Position: refs/heads/master@{#35445} Fix: nodejs#5903 PR-URL: nodejs/node#6179 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
richardlau
pushed a commit
to ibmruntimes/node
that referenced
this issue
Jun 17, 2016
Original commit message: tools: fix tickprocessor Cpp symbols on mac Despite man page documentation: -f Display the symbol table of a dynamic library flat (as one file not separate modules). `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument does not seem to be required, so just remove it completely. (For `-format` documentation - see `nm --help` on mac). BUG= Review URL: https://codereview.chromium.org/1840633002 Cr-Commit-Position: refs/heads/master@{#35445} Fix: nodejs#5903 PR-URL: nodejs/node#6179 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
3 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
We have a stuck node.js process. We suspect it may be due to some kind of infinite loop somwhere. Since we have no idea where to look it up, we tried using node debug -p . No luck:
The output makes me think that the node debug process can't connect to our process precisely because our event loop is stuck. Could that be the case?
In another thread, @davepacheco indicates that this should not be a problem:
Can someone clarify things? Why are we unable to connect to our "stuck" node.js process? Any idea on how to debug that? (we're on debian... so all tools requiring us to use Solaris won't do :()
The text was updated successfully, but these errors were encountered: