Where are *.stackdump files created by programs running under Cygwin?

I run an autotest system that uses some external tools to conduct the testing. If one of them crashes - although the tool itself is not what I'm testing - I'd like to save the foo.exe.stackdump file that is created. However, I have been unable to find a clear answer as to where this file is created. My assumption was that it would be in the working directory (but I can't verify that because the directory is automatically purged between tests) and I haven't been able to find a clear answer online. I'm using Cygwin 1.7.7 on Windows 7.

Answers


In my experience, they're created in the working directory.

That said, have you tried disabling the automatic purging and just seeing what happens? That'll give you an immediate and verifiable result specific to your situation.


Need Your Help

In NHibernate 4 how can I stop PostgreSQL 9.4 from building up a bunch of 'idle in transaction' connections?

c# postgresql nhibernate transactions

I have a unit of work object that uses transactions by default. Sometimes, I use it only to make a query then the object is not needed anymore. This is what I'm trying: