X-Spam-Check-By: sourceware.org Message-ID: <20061003193436.99606.qmail@web51107.mail.yahoo.com> Date: Tue, 3 Oct 2006 12:34:36 -0700 (PDT) From: Sean McNamara Subject: Trouble with pgrep - *** fatal error - called with threadlist_ix -1 To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k93JYjtP018874 Hi all, I'm having some trouble with some scripts that we are trying to run in cygwin. These scripts work fine on both Unix and Linux boxen, but when trying to do a "pgrep" in the script, get a fatal error. I've tried to find an answer in the archives and via google but either it's not a commonly encountered issue, or my keywords are poor.... I can re-create the error from a command line. Below is an example: -------------------------------------SNIP------------------------------------------------- [557] /c/dev/apps/bin $ ps ax PID PPID PGID WINPID TTY UID STIME COMMAND 2160 1 2160 2160 con 25282 10:33:03 /usr/bin/bash 5272 1 2496 3236 con 25282 10:33:23 /usr/bin/sh 2316 5272 2496 5820 con 25282 10:33:24 /usr/bin/sh 5448 2316 2496 5920 con 25282 10:33:25 /c/j2sdk1.4.2_08/bin/java 5708 1 5152 5548 con 25282 10:35:00 /usr/bin/sh 460 5708 5152 2592 con 25282 10:35:00 /usr/bin/sh 3692 460 5152 3200 con 25282 10:35:02 /c/j2sdk1.4.2_08/bin/java 4148 2160 4148 6108 con 25282 14:29:18 /usr/bin/ps [558] /c/dev/apps/bin $ pgrep -P 2160 28 [sig] pgrep 3292 C:\cygwin\bin\pgrep.exe: *** fatal error - called with threadlist_ix -1 Hangup ---------------------------------------SNIP------------------------------------------------- Can anyone give me some pointers on what might be going wrong here? Thanks! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/