|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-01-16 19:06 UTC] john at fbi dot hu
The script is at http://www.levele.com/devel/test/crash_source.txt Save it as a .php3 file. It should display "Start" then "Go..." then "End". But it rarely reaches "End", it makes Apache segfault before that. If it seems to be ok (getting to the End), try reloading it more, 10-20 times. Verified on two machines. If you don't see the error, I'll provide more info. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 09:00:01 2025 UTC |
Okay. So it seems as there's a bug in the functions base64_encode(); when calling it many times. Check the code below, and reload it 10-20 times! It should make a few seg.fault messages in the apache error.log <?php echo "<html><body>Start<br>"; flush(); for ($c=0;$c<4000;$c++) { $a = "a+ly6XM"; $b = base64_decode($a); } echo "End<br>"; ?>