From: [EMAIL PROTECTED] Operating system: windows NT 4/ win2000 pro PHP version: 4.1.1 PHP Bug Type: Reproducible crash Bug description: syslog functions and exit functions are buggy
Hello, Apache crash on windows platform when i use syslog functions ( openlog, syslog, closelog) and exit(). the script is: 1: <?php 2: define_syslog_variables(); 3: openlog("Test", LOG_PID | LOG_PERROR, LOG_LOCAL0); 4: syslog(LOG_WARNING,"Essai de log"); 5: closelog(); 6: exit(); 7: ?> if i comment line 5 and 6, it's works fine. if i comment line 3, 4, 5 , apache crash after few reload or navigation between index page and this script. if i comment line 6, apache crash in the same case as above... config: w2k pro sp2 apache 1.3.22 ( start in commmand line or as service ) php 4.1.1 + ldap + oci8 (8.1.7) win nt 4 sp 6 apache 1.3.22 php 4.1.0 + ldap + oci8 (8.1.6) thanks for your comment. -- Edit bug report at http://bugs.php.net/?id=16217&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16217&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16217&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16217&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16217&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16217&r=support Expected behavior: http://bugs.php.net/fix.php?id=16217&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16217&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16217&r=submittedtwice