public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Collecting dumps of crashing Cygwin processes with Windows user mode dumps?
@ 2024-02-09  1:14 Dan Shelton
  2024-02-09 13:46 ` Jon Turney
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Shelton @ 2024-02-09  1:14 UTC (permalink / raw)
  To: cygwin

Hello!

How can I collect user mode dumps
(https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps)
for crashing Cygwin processes?

Has anyone tried that yet?

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Collecting dumps of crashing Cygwin processes with Windows user mode dumps?
  2024-02-09  1:14 Collecting dumps of crashing Cygwin processes with Windows user mode dumps? Dan Shelton
@ 2024-02-09 13:46 ` Jon Turney
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Turney @ 2024-02-09 13:46 UTC (permalink / raw)
  To: Dan Shelton; +Cc: cygwin

On 09/02/2024 01:14, Dan Shelton via Cygwin wrote:
> Hello!
> 
> How can I collect user mode dumps
> (https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps)
> for crashing Cygwin processes?
> 

I think WER is disabled for cygwin processes, due to SetErrorMode().

If you want minidumps for cygwin crashes, you can configure minidumper 
as the Cygwin JIT debugger, as explained in 'man minidumper'.

(It's then just about practical to use google-breakpad, which can (a) 
read minidumps, and (b) read the DWARF debugging information for cygwin 
executables, to usefully analyse the minidump)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-09 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09  1:14 Collecting dumps of crashing Cygwin processes with Windows user mode dumps? Dan Shelton
2024-02-09 13:46 ` Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).