You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so i'm making an issue rather than a pull request because while i found a problem and i found a solution that appears to work, i don't know why this is the case.
when i try to run get-core with jupiter hell running, i get:
Error: could not find Jupiter Hell process to dump.
presumably the fact you've got -x in your pgrep invocation indicates it works for you, so i don't know what the right answer is here.
this is on a ubuntu 20.04.4 LTS system, in case that info matters and there was somehow some kind of breaking change in pgrep between platforms or versions or something. but that feels unlikely?
The text was updated successfully, but these errors were encountered:
of course having adjusted that i'm now running into the issue that it does not actually produce a core file. running gcore 1718531 by hand gives me errors that get-core does not detect or report:
$gcore 1718531
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
You can't do that without a process to debug.
The program is not being run.
gcore: failed to create core.1718531
so i'm making an issue rather than a pull request because while i found a problem and i found a solution that appears to work, i don't know why this is the case.
when i try to run get-core with jupiter hell running, i get:
i check that jupiter hell is in fact running:
so i look at the script and see the pgrep invocation, but somehow
pgrep -x ./jh
returns an empty list, as if there is nothing for it to match.i did a little googling, found this stack exchange bit:
https://unix.stackexchange.com/questions/267007/pgrep-full-match-not-work-only-part-why
and sure enough:
presumably the fact you've got -x in your pgrep invocation indicates it works for you, so i don't know what the right answer is here.
this is on a ubuntu 20.04.4 LTS system, in case that info matters and there was somehow some kind of breaking change in pgrep between platforms or versions or something. but that feels unlikely?
The text was updated successfully, but these errors were encountered: