<div>Hello list,<br></div><div><br></div><div>I have a situation where I am finding a random pid and asking which application it came from using <span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">application:get_application/1</span>. According to the documentation, that function will return <span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">undefined</span><span style="font-family: arial, sans-serif;" class="font"> if the pid does not belong to any application.</span><br></div><div><br></div><div>When my app runs it is returning <span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">undefined</span><span style="font-family: arial, sans-serif;" class="font"> for a pid belonging to </span><span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">kernel</span><span style="font-family: arial, sans-serif;" class="font">. I know this because I am outputting </span><span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">erlang:process_info(Pid)</span><span style="font-family: arial, sans-serif;" class="font"> and I am seeing registered names such as </span><span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">inet_db</span><span style="font-family: arial, sans-serif;" class="font"> and </span><span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">file_server_2</span><span style="font-family: arial, sans-serif;" class="font">. When I check the shell for those applications, it is properly returning </span><span style="font-family: menlo, consolas, courier new, monospace, sans-serif;" class="font">{ok, kernel}</span><span style="font-family: arial, sans-serif;" class="font">.</span><br></div><div><br></div><div>I am wondering under what circumstances a pid does not belong to an application?<br></div><div><br></div><div>If it makes a difference, I am testing this on OTP 21.0.9.<br></div>