This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Funny hang with snapshop 20050920


Christopher Faylor wrote:
On Thu, Sep 22, 2005 at 10:18:51PM -0400, Volker Quetschke wrote:

My favorite testcase (building OOo) started hanging again.
...
But now the *really* strange part begins: You can break the hang by doing
"ls /proc/3176/fd" !?
and the build continues (until the next hang).

Sorry, we're unable to create a reduced testcase but we thought the
strange symptoms might help pinpoint the problem.

Attached you also find the cygcheck output of that system.

Does sending a 'kill -CONT 3176' also unstick things? Both situations send a signal to the process.

Sorry, this question got lost, but ...


How about attaching to the hung process with strace?  You didn't mention
that.

he tried to attach and strace was standing there without output. A "ls /proc/<pid>/fd" produced then the first four lines of the attached strace log but tcsh still hung.

Several "ls /proc/<pid>/fd" later it continued and produced the
rest of that logfile.

Did you notice that the WINPID of the hanging tcsh is the same as
the PID? This is always the case if it hangs.

Additional info: Both tcsh processes exist with the respective
WINPID in taskmgr.

Thanks for your efforts,

Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

Attachment: dmake_freeze_strace.log.bz2
Description: Binary data

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]