Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: I've found a decision of problem: I simply need replase line if (is_array($argv[0])) $argv=&$argv[0]; to: if (is_array($argv[0])) $argv=$argv[0]; And I'll not lose any fuctionality features. So, crush appears when an array element assigns to the same array by reference. Althow this operation is not very often and very useful :-), it works correctly and w/o crush in 4.0.6 version, and I think this crush should be fixed though. Previous Comments: [2002-02-23 06:46:36] [EMAIL PROTECTED] I made test using the advised method, and found that crush appears in one my simple function "call". A simple example goes below: Note: actually cutting line goes some earlier than that crush point, but, I think it's because some PHP bufferization, and is not important now. [2002-02-22 06:35:16] [EMAIL PROTECTED] Could you set up linux/freebsd box to reproduce this bug? And generate backtrace. (Or get exit code with gdb) You can write "error_log(__FILE__.'(.'__LINE__.')')" to locate to find ofending function/line also. [2002-02-21 21:27:48] [EMAIL PROTECTED] Sorry. I wanted to say "... My site is complex enough..." [2002-02-21 21:25:45] [EMAIL PROTECTED] I tryed to make some small scripts before, but there were no problems with them. My site is complete enough, there is a lot of includes (but execution time for homepage on my PC is less than 1 sec.). It looks like there are no problems for simply scripts, but I'll try again to make something ... By that time, if you like you may watch the results on different servers: 1) php4.0.6: http://www.sec4.wfdns.com/www.freetakeout.com/ 2) php4.1.1: http://vh110014.radntech.ca/fto/ - you may try to click some links there ("log-in to your account", for example) to see the difference in cutting point. [2002-02-21 20:26:05] [EMAIL PROTECTED] If you can create _short_ & _complete_ script that reproduces the problem. We can fix it :) The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15651 -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: I made test using the advised method, and found that crush appears in one my simple function "call". A simple example goes below: Note: actually cutting line goes some earlier than that crush point, but, I think it's because some PHP bufferization, and is not important now. Previous Comments: [2002-02-22 06:35:16] [EMAIL PROTECTED] Could you set up linux/freebsd box to reproduce this bug? And generate backtrace. (Or get exit code with gdb) You can write "error_log(__FILE__.'(.'__LINE__.')')" to locate to find ofending function/line also. [2002-02-21 21:27:48] [EMAIL PROTECTED] Sorry. I wanted to say "... My site is complex enough..." [2002-02-21 21:25:45] [EMAIL PROTECTED] I tryed to make some small scripts before, but there were no problems with them. My site is complete enough, there is a lot of includes (but execution time for homepage on my PC is less than 1 sec.). It looks like there are no problems for simply scripts, but I'll try again to make something ... By that time, if you like you may watch the results on different servers: 1) php4.0.6: http://www.sec4.wfdns.com/www.freetakeout.com/ 2) php4.1.1: http://vh110014.radntech.ca/fto/ - you may try to click some links there ("log-in to your account", for example) to see the difference in cutting point. [2002-02-21 20:26:05] [EMAIL PROTECTED] If you can create _short_ & _complete_ script that reproduces the problem. We can fix it :) [2002-02-21 18:37:26] [EMAIL PROTECTED] Unfortunately, my home OS is Win2K-Server, and I myself don't have VC++ to try to build PHP from sources... Can I provide any useful information for you, using my OS software which I already have? I have both IIS and Apache web servers. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15651 -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: Could you set up linux/freebsd box to reproduce this bug? And generate backtrace. (Or get exit code with gdb) You can write "error_log(__FILE__.'(.'__LINE__.')')" to locate to find ofending function/line also. Previous Comments: [2002-02-21 21:27:48] [EMAIL PROTECTED] Sorry. I wanted to say "... My site is complex enough..." [2002-02-21 21:25:45] [EMAIL PROTECTED] I tryed to make some small scripts before, but there were no problems with them. My site is complete enough, there is a lot of includes (but execution time for homepage on my PC is less than 1 sec.). It looks like there are no problems for simply scripts, but I'll try again to make something ... By that time, if you like you may watch the results on different servers: 1) php4.0.6: http://www.sec4.wfdns.com/www.freetakeout.com/ 2) php4.1.1: http://vh110014.radntech.ca/fto/ - you may try to click some links there ("log-in to your account", for example) to see the difference in cutting point. [2002-02-21 20:26:05] [EMAIL PROTECTED] If you can create _short_ & _complete_ script that reproduces the problem. We can fix it :) [2002-02-21 18:37:26] [EMAIL PROTECTED] Unfortunately, my home OS is Win2K-Server, and I myself don't have VC++ to try to build PHP from sources... Can I provide any useful information for you, using my OS software which I already have? I have both IIS and Apache web servers. [2002-02-21 06:04:33] [EMAIL PROTECTED] Then you are having crash bug(s). First grab snapshot http://snaps.php.net and check if you still have the problem. (Make sure you build with --enable-debug) If you still have problems, check your httpd error logs. If you see segfaults, send a backtrace. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15651 -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: Sorry. I wanted to say "... My site is complex enough..." Previous Comments: [2002-02-21 21:25:45] [EMAIL PROTECTED] I tryed to make some small scripts before, but there were no problems with them. My site is complete enough, there is a lot of includes (but execution time for homepage on my PC is less than 1 sec.). It looks like there are no problems for simply scripts, but I'll try again to make something ... By that time, if you like you may watch the results on different servers: 1) php4.0.6: http://www.sec4.wfdns.com/www.freetakeout.com/ 2) php4.1.1: http://vh110014.radntech.ca/fto/ - you may try to click some links there ("log-in to your account", for example) to see the difference in cutting point. [2002-02-21 20:26:05] [EMAIL PROTECTED] If you can create _short_ & _complete_ script that reproduces the problem. We can fix it :) [2002-02-21 18:37:26] [EMAIL PROTECTED] Unfortunately, my home OS is Win2K-Server, and I myself don't have VC++ to try to build PHP from sources... Can I provide any useful information for you, using my OS software which I already have? I have both IIS and Apache web servers. [2002-02-21 06:04:33] [EMAIL PROTECTED] Then you are having crash bug(s). First grab snapshot http://snaps.php.net and check if you still have the problem. (Make sure you build with --enable-debug) If you still have problems, check your httpd error logs. If you see segfaults, send a backtrace. [2002-02-21 05:49:16] [EMAIL PROTECTED] I use default settings: output_buffering = Off zlib.output_compression = Off and don't use any output buffering functions The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15651 -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: I tryed to make some small scripts before, but there were no problems with them. My site is complete enough, there is a lot of includes (but execution time for homepage on my PC is less than 1 sec.). It looks like there are no problems for simply scripts, but I'll try again to make something ... By that time, if you like you may watch the results on different servers: 1) php4.0.6: http://www.sec4.wfdns.com/www.freetakeout.com/ 2) php4.1.1: http://vh110014.radntech.ca/fto/ - you may try to click some links there ("log-in to your account", for example) to see the difference in cutting point. Previous Comments: [2002-02-21 20:26:05] [EMAIL PROTECTED] If you can create _short_ & _complete_ script that reproduces the problem. We can fix it :) [2002-02-21 18:37:26] [EMAIL PROTECTED] Unfortunately, my home OS is Win2K-Server, and I myself don't have VC++ to try to build PHP from sources... Can I provide any useful information for you, using my OS software which I already have? I have both IIS and Apache web servers. [2002-02-21 06:04:33] [EMAIL PROTECTED] Then you are having crash bug(s). First grab snapshot http://snaps.php.net and check if you still have the problem. (Make sure you build with --enable-debug) If you still have problems, check your httpd error logs. If you see segfaults, send a backtrace. [2002-02-21 05:49:16] [EMAIL PROTECTED] I use default settings: output_buffering = Off zlib.output_compression = Off and don't use any output buffering functions [2002-02-21 03:55:19] [EMAIL PROTECTED] I forgot about ob_implicit_flush ;) Do you use it? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15651 -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: If you can create _short_ & _complete_ script that reproduces the problem. We can fix it :) Previous Comments: [2002-02-21 18:37:26] [EMAIL PROTECTED] Unfortunately, my home OS is Win2K-Server, and I myself don't have VC++ to try to build PHP from sources... Can I provide any useful information for you, using my OS software which I already have? I have both IIS and Apache web servers. [2002-02-21 06:04:33] [EMAIL PROTECTED] Then you are having crash bug(s). First grab snapshot http://snaps.php.net and check if you still have the problem. (Make sure you build with --enable-debug) If you still have problems, check your httpd error logs. If you see segfaults, send a backtrace. [2002-02-21 05:49:16] [EMAIL PROTECTED] I use default settings: output_buffering = Off zlib.output_compression = Off and don't use any output buffering functions [2002-02-21 03:55:19] [EMAIL PROTECTED] I forgot about ob_implicit_flush ;) Do you use it? [2002-02-21 03:17:40] [EMAIL PROTECTED] It sounds like you have kwon issue for 4.1..x. Do you use ob_end_*() functions? Any where in your script? What is your output_buffering and zlib.output_compression ini settings? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15651 -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: Unfortunately, my home OS is Win2K-Server, and I myself don't have VC++ to try to build PHP from sources... Can I provide any useful information for you, using my OS software which I already have? I have both IIS and Apache web servers. Previous Comments: [2002-02-21 06:04:33] [EMAIL PROTECTED] Then you are having crash bug(s). First grab snapshot http://snaps.php.net and check if you still have the problem. (Make sure you build with --enable-debug) If you still have problems, check your httpd error logs. If you see segfaults, send a backtrace. [2002-02-21 05:49:16] [EMAIL PROTECTED] I use default settings: output_buffering = Off zlib.output_compression = Off and don't use any output buffering functions [2002-02-21 03:55:19] [EMAIL PROTECTED] I forgot about ob_implicit_flush ;) Do you use it? [2002-02-21 03:17:40] [EMAIL PROTECTED] It sounds like you have kwon issue for 4.1..x. Do you use ob_end_*() functions? Any where in your script? What is your output_buffering and zlib.output_compression ini settings? [2002-02-20 18:14:41] [EMAIL PROTECTED] My site was developed on php4.0.6 on Win2K-Server (home PC) and runned on UNIX (commercial hosting). All things were OK anywhere, on both IIS (CGI and ISAPI) and Apache (CGI and module). Then my hoster setuped php4.1.1. and site stopped to work! And the same problem was on another hoster which used 4.1.1 version (both are running Unix). I tryed to setup 4.1.1 on my PC and got the same problem. It does not depend on OS, Web-server or mode (cgi, ISAPI, module...), it appears anywhere. I myself checked all settings in php.ini, but all settings was OK there. The problem looks so: browser gets only part of pages, pages are cutted in some places, which are individual for each page (although pages have common header) and for each OS or server. And there is no visible dependency on html or php-code in those places. So, it looks as some unexpected output crash... Unfortunately, I don't know how I can describe the problem better... If you need more info, please, ask concrete questions. -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: Then you are having crash bug(s). First grab snapshot http://snaps.php.net and check if you still have the problem. (Make sure you build with --enable-debug) If you still have problems, check your httpd error logs. If you see segfaults, send a backtrace. Previous Comments: [2002-02-21 05:49:16] [EMAIL PROTECTED] I use default settings: output_buffering = Off zlib.output_compression = Off and don't use any output buffering functions [2002-02-21 03:55:19] [EMAIL PROTECTED] I forgot about ob_implicit_flush ;) Do you use it? [2002-02-21 03:17:40] [EMAIL PROTECTED] It sounds like you have kwon issue for 4.1..x. Do you use ob_end_*() functions? Any where in your script? What is your output_buffering and zlib.output_compression ini settings? [2002-02-20 18:14:41] [EMAIL PROTECTED] My site was developed on php4.0.6 on Win2K-Server (home PC) and runned on UNIX (commercial hosting). All things were OK anywhere, on both IIS (CGI and ISAPI) and Apache (CGI and module). Then my hoster setuped php4.1.1. and site stopped to work! And the same problem was on another hoster which used 4.1.1 version (both are running Unix). I tryed to setup 4.1.1 on my PC and got the same problem. It does not depend on OS, Web-server or mode (cgi, ISAPI, module...), it appears anywhere. I myself checked all settings in php.ini, but all settings was OK there. The problem looks so: browser gets only part of pages, pages are cutted in some places, which are individual for each page (although pages have common header) and for each OS or server. And there is no visible dependency on html or php-code in those places. So, it looks as some unexpected output crash... Unfortunately, I don't know how I can describe the problem better... If you need more info, please, ask concrete questions. -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: I use default settings: output_buffering = Off zlib.output_compression = Off and don't use any output buffering functions Previous Comments: [2002-02-21 03:55:19] [EMAIL PROTECTED] I forgot about ob_implicit_flush ;) Do you use it? [2002-02-21 03:17:40] [EMAIL PROTECTED] It sounds like you have kwon issue for 4.1..x. Do you use ob_end_*() functions? Any where in your script? What is your output_buffering and zlib.output_compression ini settings? [2002-02-20 18:14:41] [EMAIL PROTECTED] My site was developed on php4.0.6 on Win2K-Server (home PC) and runned on UNIX (commercial hosting). All things were OK anywhere, on both IIS (CGI and ISAPI) and Apache (CGI and module). Then my hoster setuped php4.1.1. and site stopped to work! And the same problem was on another hoster which used 4.1.1 version (both are running Unix). I tryed to setup 4.1.1 on my PC and got the same problem. It does not depend on OS, Web-server or mode (cgi, ISAPI, module...), it appears anywhere. I myself checked all settings in php.ini, but all settings was OK there. The problem looks so: browser gets only part of pages, pages are cutted in some places, which are individual for each page (although pages have common header) and for each OS or server. And there is no visible dependency on html or php-code in those places. So, it looks as some unexpected output crash... Unfortunately, I don't know how I can describe the problem better... If you need more info, please, ask concrete questions. -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: I forgot about ob_implicit_flush ;) Do you use it? Previous Comments: [2002-02-21 03:17:40] [EMAIL PROTECTED] It sounds like you have kwon issue for 4.1..x. Do you use ob_end_*() functions? Any where in your script? What is your output_buffering and zlib.output_compression ini settings? [2002-02-20 18:14:41] [EMAIL PROTECTED] My site was developed on php4.0.6 on Win2K-Server (home PC) and runned on UNIX (commercial hosting). All things were OK anywhere, on both IIS (CGI and ISAPI) and Apache (CGI and module). Then my hoster setuped php4.1.1. and site stopped to work! And the same problem was on another hoster which used 4.1.1 version (both are running Unix). I tryed to setup 4.1.1 on my PC and got the same problem. It does not depend on OS, Web-server or mode (cgi, ISAPI, module...), it appears anywhere. I myself checked all settings in php.ini, but all settings was OK there. The problem looks so: browser gets only part of pages, pages are cutted in some places, which are individual for each page (although pages have common header) and for each OS or server. And there is no visible dependency on html or php-code in those places. So, it looks as some unexpected output crash... Unfortunately, I don't know how I can describe the problem better... If you need more info, please, ask concrete questions. -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1
Bug #15651 Updated: Output is broken
ID: 15651 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Win2K-Server / UNIX PHP Version: 4.1.1 New Comment: It sounds like you have kwon issue for 4.1..x. Do you use ob_end_*() functions? Any where in your script? What is your output_buffering and zlib.output_compression ini settings? Previous Comments: [2002-02-20 18:14:41] [EMAIL PROTECTED] My site was developed on php4.0.6 on Win2K-Server (home PC) and runned on UNIX (commercial hosting). All things were OK anywhere, on both IIS (CGI and ISAPI) and Apache (CGI and module). Then my hoster setuped php4.1.1. and site stopped to work! And the same problem was on another hoster which used 4.1.1 version (both are running Unix). I tryed to setup 4.1.1 on my PC and got the same problem. It does not depend on OS, Web-server or mode (cgi, ISAPI, module...), it appears anywhere. I myself checked all settings in php.ini, but all settings was OK there. The problem looks so: browser gets only part of pages, pages are cutted in some places, which are individual for each page (although pages have common header) and for each OS or server. And there is no visible dependency on html or php-code in those places. So, it looks as some unexpected output crash... Unfortunately, I don't know how I can describe the problem better... If you need more info, please, ask concrete questions. -- Edit this bug report at http://bugs.php.net/?id=15651&edit=1