[Webkit-unassigned] [Bug 30869] commit-queue keeps crashing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 30 14:41:13 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30869
--- Comment #11 from Eric Seidel <eric at webkit.org> 2009-10-30 14:41:12 PDT ---
Here is a stand-alone version of the same function:
def check_for_file_leak(message):
import os
import sys
import subprocess
print >> sys.stderr, "before %s" % message
process = subprocess.Popen(['lsof', '-p', str(os.getpid())],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
lsof_output = process.communicate()[0].rstrip()
if lsof_output.count('HIToolbox'):
print >> sys.stderr, message
print >> sys.stderr, lsof_output
exit(1)
print >> sys.stderr, "after %s" % message
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list