On Mon, Feb 3, 2020 at 5:11 PM szgyg <szgyg@ludens.elte.hu> wrote:

On Fri, Jan 31, 2020 at 09:23:19AM -0500, John Cowan wrote:
> Aaaand... Cygwin doesn't do core dumps. Under the skin it's WIndows, after
> all.  This is what I get when I specify ulimit -c unlimited and rebuild:
> [...]

Please see my previous mail on how to get a real core dump on cygwin

Okay, I looked at that page.  However, Cygwin's dumper requires you to know the Windows PID of the process to dump.  Clearly it is intended for a long-running process such as a server process, which you can force to core dump, as if by "/bin/kill -SIGSEGV pid"; it is not suitable for a process that gets a segmentation violation for internal reasons.  In any case, when building, I have no idea of the pid of the process which is dumping; it starts up and then dumps immediately.

John Cowan          http://vrici.lojban.org/~cowan        cowan@ccil.org
The Penguin shall hunt and devour all that is crufty, gnarly and
bogacious; all code which wriggles like spaghetti, or is infested with
blighting creatures, or is bound by grave and perilous Licences shall it
capture.  And in capturing shall it replicate, and in replicating shall
it document, and in documentation shall it bring freedom, serenity and
most cool froodiness to the earth and all who code therein.  --Gospel of Tux