#21513 [NEW]: shutdown functions not executed if timed out
From: [EMAIL PROTECTED] Operating system: WinXP PHP version: 4.3.0 PHP Bug Type: Scripting Engine problem Bug description: shutdown functions not executed if timed out This problem is absolutely critical if you do DB cleanups, transactions processing or other similar things in shutdown functions. Can be especially bad if you need to commit/rollback transactions with persistent DB connections. -- -- Error message: Fatal error: Maximum execution time of 3 seconds exceeded in c:\exp.php on line 10 Fatal error: Maximum execution time of 3 seconds exceeded in c:\exp.php on line 4 Does not depend on whether we run script as CGI/SAPI or CLI. Report #14542 looks similar but is different IMHO. -- Edit bug report at http://bugs.php.net/?id=21513&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21513&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21513&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21513&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21513&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21513&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=21513&r=support Expected behavior: http://bugs.php.net/fix.php?id=21513&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=21513&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=21513&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21513&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21513&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21513&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21513&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=21513&r=gnused
#21513 [Com]: shutdown functions not executed if timed out
ID: 21513 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Scripting Engine problem Operating System: WinXP PHP Version: 4.3.0 New Comment: [EMAIL PROTECTED]: > This script works just fine for me (using CLI): > [skipped] I tested your script. The output is: PHP Fatal error: Maximum execution time of 1 second exceeded in c:\exp.php on line 16 PHP Fatal error: Maximum execution time of 1 second exceeded in c:\exp.php on line 7 "test.log" contains only one "Start" line. I tried with both my own (pretty much cleaned up) php.ini and "recommended" php.ini. I suspect it is only Windows-related problem. Previous Comments: [2003-01-20 22:47:06] [EMAIL PROTECTED] And this is related to http://bugs.php.net/bug.php?id=14542 (and maybe to http://bugs.php.net/bug.php?id=14251 ?) [2003-01-20 22:44:38] [EMAIL PROTECTED] This script works just fine for me (using CLI): In test.log I have now: cut Start Shutdown - function 'foo' cut Which is the expected output. Can you try this script? [2003-01-08 02:53:17] [EMAIL PROTECTED] This problem is absolutely critical if you do DB cleanups, transactions processing or other similar things in shutdown functions. Can be especially bad if you need to commit/rollback transactions with persistent DB connections. -- -- Error message: Fatal error: Maximum execution time of 3 seconds exceeded in c:\exp.php on line 10 Fatal error: Maximum execution time of 3 seconds exceeded in c:\exp.php on line 4 Does not depend on whether we run script as CGI/SAPI or CLI. Report #14542 looks similar but is different IMHO. -- Edit this bug report at http://bugs.php.net/?id=21513&edit=1
#21554 [Com]: Can't turn off TTF anti-aliasing with negative color index in 4.3.0
ID: 21554 Comment by: ceeam at mail dot ru Reported By: ljpersson at hotmail dot com Status: No Feedback Bug Type: GD related Operating System: Linux PHP Version: 4.3.0 New Comment: Same thing happens in Windows version. Previous Comments: [2003-01-27 22:39:46] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. [2003-01-09 20:12:10] [EMAIL PROTECTED] Try non-bundled gd 2.0.9 and see if you get the same results as the ones you've got with bundled GD library. I suspect that the behaviour of GD between 2.0.1 and later versions had changed. [2003-01-09 14:50:30] ljpersson at hotmail dot com Using imagettftext() it should be possible to turn off the antialiasing by specifying a negative color index. However, this seems to be broken in 4.3.0 with built-in GD. Using negative color index just results in garbled characters. PHP: 4.3.0 Freetype 1.3.1 GD 2.x (builtin version in PHP 4.3.0) -- Edit this bug report at http://bugs.php.net/?id=21554&edit=1