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: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18


Hi,

More random ramblings:

I tried to debug the script using the ancient "print" inserting technique. The result was interesting. I can stop the crash from happening by adding a lot of print commands. Does it show it is a timing (race) problem?

To make it even more interesting, by adding just one (meaning instead of the many) print command close to the "system" one I suspect is the culprit, I can reproduce the alledged hang! In fact it is not a hang but a delayed crash. I left the script hanging and after returning to my office found it crashed.

Because it crashed in a novel way, I reproduce the output:

make[1]: Entering directory `/cygdrive/d/mozilla_source/mozilla/netwerk/resources'
+++ making chrome /cygdrive/d/mozilla_source/mozilla/netwerk/resources  => ../..
/dist/bin/chrome/comm.jar
+++ updating chrome ../../dist/bin/chrome/installed-chrome.txt
/cygdrive/d/mozilla_source/mozilla/config/make-jars.pl: Could not get lockfile /
cygdrive/d/mozilla_source/mozilla/dist/bin/chrome/installed-chrome.txt.lck.
Remove /cygdrive/d/mozilla_source/mozilla/dist/bin/chrome/installed-chrome.txt.l
ck to clear up
make[1]: *** [libs] Error 255
make[1]: Leaving directory `/cygdrive/d/mozilla_source/mozilla/netwerk/resources'


Please take note of the "Could not get lockfile" part.

Cheerio,

Jacek




-- 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/


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