On Jan 3 19:36, Pierre A. Humblet wrote: > > On 9/12/2016 8:26 AM, Ross Hemingway wrote: > > Update to cygwin-2.6.0-1. Exim has a fatal start error - exim: PID > > 3756: service `exim' failed: signal 6 raised. > > > > Rolled back to cygwin-2.5.2-1, problem averted. > > > > Sorry for the very long delay in answering. > The debugging below was done from a non-privileged account, and the > setuid32() should thus fail, but the program should not abort. > > It aborts in the call to "free (privs)". > "privs" are obtained by get_priv_list(). > When the target user is SYSTEM, get_priv_list() returns (PTOKEN_PRIVILEGES) > &sys_privs; > where "sys_privs" is a constant structure that cannot be freed. Thanks for the analysis. I pushed a fix. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat