I think I had the same problem running rosinstall recently. It was actually really hard to kill the zombie processes. But I didn't look into it more than that, and once ros was installed, it wasn't a problem again. <div>
<br></div><div>Good to see there's a fix!<br><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 8:51 AM, Benjamin Charrow <span dir="ltr"><<a href="mailto:bcharrow@seas.upenn.edu">bcharrow@seas.upenn.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all.<br>
<br>
I've been experiencing a slight problem with rosdep and macports.  Basically, after I run rosdep, a macports process consumes 100% of my CPU and commands I enter in the terminal aren't displayed (stdin is stolen).  I have macports 2.0.3 and am using the ros-1.6.6 tagged version of ros.  Has anyone else had this problem?<br>

<br>
Looking at the source, the issue seems to be a check for whether or not macports exists in the constructor of rosdep.installers.MacportsInstaller.  There's a popen command which opens up a macports session, but the process doesn't look like it's being killed.  This would explain why I/O is being stolen, though I'm not sure why my CPU usage spikes.  My quick fix was to just change the command to be "port help" (see diff bellow).<br>

<br>
Should I file a bug report?<br>
<br>
Cheers,<br>
Ben<br>
<br>
SVN URL: <a href="https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.6.6/tools/rosdep/src/rosdep" target="_blank">https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.6.6/tools/rosdep/src/rosdep</a><br>
<br>
bcharrow@amateur:/opt/ros/electric/ros/tools/rosdep/src/rosdep<br>
$ svn diff<br>
Index: installers.py<br>
===================================================================<br>
--- installers.py       (revision 15358)<br>
+++ installers.py       (working copy)<br>
@@ -424,7 +424,7 @@<br>
             packages = packages.split()<br>
<br>
         try:<br>
-            pop = subprocess.Popen(['port'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)<br>
+            pop = subprocess.Popen(['port', 'help'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)<br>
         except OSError:<br>
             import traceback; traceback.print_exc()<br>
             print("There was an error running macports, make sure it is installed properly.", file=sys.stderr)<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br></div>