Bug #76948 [NEW]: Failed shutdown/reboot or end session in Windows

From: Date: Sat, 29 Sep 2018 13:58:32 +0000
Subject: Bug #76948 [NEW]: Failed shutdown/reboot or end session in Windows
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217285@lists.php.net to get a copy of this message
From: enyby at yandex dot ru Operating system: Windows 7 x64 PHP version: 7.2.10 Package: CGI/CLI related Bug Type: Bug Bug description:Failed shutdown/reboot or end session in Windows Description: ------------ I run FastCGI server via php-cgi.exe -b 9001 It spawn lot of workers. If I try end Windows session, or reboot, or shutdown, windows stuck on windows with message about php-cgi.exe The application has failed to start correctly (0xc0000142) This dialog can not be closed because recreated many times. Force close opened apps (ask from windows) do not help. As I see windows kill workers one-by-one, but main process spawn new. And it is fall in endless loop: window close workers, root process spawn new ones. I think php-cgi must detect windows shutdown or use way for spawn workers which do not bypass blocking by system. Before php7 (php 5.6 or older) issue not happens. I see few windows with error 0xc0000142 on reboot, but it is be few of them, not endless counts. Expected result: ---------------- Reboot Windows Actual result: -------------- Stuck on dialog php-cgi.exe The application has failed to start correctly (0xc0000142) -- Edit bug report at https://bugs.php.net/bug.php?id=76948&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76948&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76948&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76948&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76948&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76948&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76948&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76948&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76948&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76948&r=support Expected behavior: https://bugs.php.net/fix.php?id=76948&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76948&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76948&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76948&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76948&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76948&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76948&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76948&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76948&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76948&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76948&r=mysqlcfg

« previous php.bugs (#217285) next »