[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6289) CARS service crashes when stopping in windows



Full_Name: Binoy Joseph
Version: 2.4.16
OS: Windows XP
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (210.210.79.19)


Hi,
I compiled OpenLDAP 2.4.16 in Windows and installed it as a service. It starts
successfully. But when I stop the service, slapd stops, but a Windows
Application error (unknown software exception) is thrown and the service does
not respond.

I commented the last line in daemon.c and it works fine.

slap_sig_shutdown( int sig )
{
  ..
  //(void) SIGNAL_REINSTALL( sig, slap_sig_shutdown );
}

Also, another doubt. The value of sig is always -1 here. Shouldn't it one of
these: SIG_DFL, SIG_ERR, SIGINT, SIGTERM... ?

Is it already fixed in the subsequent releases?