Re: [patch] recognise when an exec()d process terminates due to unhandled exception

2008-03-14 Thread Brian Dessent
Christopher Faylor wrote: > That was going to be my first observation, actually. I'm still trying > to digest the patch but it seems like it wouldn't work well with the > fork retry code. The patch doesn't change any behavior though: in current Cygwin if the thing we're exec()ing returns a Win32

Re: [patch] recognise when an exec()d process terminates due to unhandled exception

2008-03-14 Thread Christopher Faylor
On Thu, Mar 13, 2008 at 07:46:37PM -0700, Brian Dessent wrote: >Brian Dessent wrote: > >> As we all know, Cygwin calls SetErrorMode (SEM_FAILCRITICALERRORS) to >> suppress those pop up GUI messageboxes from the operating system when > >Oh, I forgot to mention: > >In the course of testing this I ca

Re: [patch] recognise when an exec()d process terminates due to unhandled exception

2008-03-14 Thread Corinna Vinschen
On Mar 14 04:08, Brian Dessent wrote: > Brian Dessent wrote: > > > isn't present, etc. I was really hoping to figure out a cool way to get > > that info, perhaps by poking around in the TEB or PEB somewhere, but I > > haven't gotten that far. If anyone has any general ideas where to look > > for

Re: [patch] recognise when an exec()d process terminates due to unhandled exception

2008-03-14 Thread Brian Dessent
Brian Dessent wrote: > isn't present, etc. I was really hoping to figure out a cool way to get > that info, perhaps by poking around in the TEB or PEB somewhere, but I > haven't gotten that far. If anyone has any general ideas where to look > for NTLDR's internal state, I'm all ears. I have a h