Edit report at https://bugs.php.net/bug.php?id=69838&edit=1
ID: 69838
Comment by: danack@php.net
Reported by: tm8544 at hotmail dot com
Summary: OPCACHE Warning Internal error: wrong size
calculation
Status: Assigned
Type: Bug
Package: opcache
Operating System: Windows 7 x64
PHP Version: 7.0.0alpha1
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
I'm seeing this also, but in the CLI in Centos 6, but only when running make test,
not when running PHP directly to try to investigate...
Previous Comments:
------------------------------------------------------------------------
[2015-06-16 12:31:36] tm8544 at hotmail dot com
Server: Apache/2.4.12 (module using apache2handler)
Installed from Apachelounge httpd-2.4.12-win64-VC14.zip
Cache-related part of PHP.ini:
------------------------------
zend_extension=php_opcache.dll
[opcache]
opcache.enable=1
opcache.enable_cli=0
opcache.blacklist_filename=c:\PHP\php.ini.opcache_blacklist.txt
opcache.consistency_checks=0
;opcache.dups_fix=0
opcache.enable_file_override=0
opcache.error_log=
opcache.fast_shutdown=0
opcache.file_update_protection=900
opcache.force_restart_timeout=15
;opcache.inherited_hack=1
opcache.interned_strings_buffer=8
opcache.load_comments=1
opcache.log_verbosity_level=2
opcache.max_accelerated_files=4000
;opcache.max_file_size=0
opcache.max_wasted_percentage=5
opcache.memory_consumption=64
opcache.optimization_level=0xffffffff
;opcache.preferred_memory_model=
;opcache.protect_memory=0
opcache.revalidate_freq=600
opcache.revalidate_path=1
opcache.save_comments=1
opcache.validate_timestamps=0
opcache.use_cwd=1
opcache.mmap_base=0x20000000
------------------------------------------------------------------------
[2015-06-16 10:28:52] ab@php.net
@tm8544, nope, don't reproduce on Windows as well. Is it possible you post your ext/opcache
related php.ini. What is the server you use?
Thanks.
------------------------------------------------------------------------
[2015-06-16 07:31:13] ab@php.net
@laruence, ack, i've put it on my tasks.
Thanks.
------------------------------------------------------------------------
[2015-06-16 03:16:42] laruence@php.net
I can not reproduce this on linux, welting, could you please try to reproduce on windows?
probably relates to some aligned...
------------------------------------------------------------------------
[2015-06-15 16:45:24] tm8544 at hotmail dot com
footer.php (EDIT: corrected scandinavian characters, if it should matter)
<table style="margin:auto;"><tr><td><ul style="margin:
0px;"><li>Katso Juhon, Sohvin, Mirri-Pekan ja Feetun tekemä <a
class="linkki_decoration_none" href="/linkit/<?php
if ($CLIENT_TYPE == "mobi") {echo 'mirri-pekan_animaatiopaketti_1.mp4';} else
{echo 'mirri-pekan_animaatiopaketti_1.asf';}
?>">animaatiopaketti</a> (sisältää 3
lyhytelokuvaa).</li><li>Katso Mirri-Pekan, Sohvin ja Feetun <a
class="linkki_decoration_none" href="/linkit/<?php
if ($CLIENT_TYPE == "mobi") {echo 'm-psf_tetris_musiikkivideo.wmv.3gp';} else
{echo 'm-psf_tetris_musiikkivideo.asf';}
?>">musiikkivideo</a>. HUOM ! Katso lopputeksteihin saakka
!</li></ul></td></tr><tr><td class="muutos"><?php
echo "Palvelimen " . getenv("COMPUTERNAME") . " päivämäärä
ja aika: ";
$date = getdate();
echo $date['mday'].".".$date['mon'] . "." .
$date['year'] . ", " . $date['hours'] . ":" .
substr('0'.$date['minutes'], -2) .
":".substr('0'.$date['seconds'], -2);
echo ($CLIENT_TYPE == "mobi") ? '<br>' : ' | ';
$REF1=gethostbyname($_SERVER['SERVER_NAME']);
echo 'Palvelimen IP: ' . $REF1;
echo ($CLIENT_TYPE == "mobi") ? '<br>' : ' | ';
// echo 'Oma IP: ' . ($REF == $REF1 ? "Kotiverkko" : $REF);
echo 'Oma IP: ' . ($REF == "192.168.0.254" ? "Kotiverkko" : $REF);
/*
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://192.168.0.94/status.html");
curl_setopt($ch, CURLOPT_PORT, 80);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
// curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); //not necessary unless the file redirects (like
the PHP example we're using here)
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
// curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
// curl_setopt($ch, CURLOPT_USERPWD, "xxx:yyy");
$data = curl_exec($ch);
curl_close($ch);
echo ($CLIENT_TYPE == "mobi") ? '<br>' : ' | ';
if ($data === false) {
echo ("Ei yhteyttä IP-pistorasiaan!");
} else {
$match = preg_match("~System temperature</td><td colspan=4 width=70%
class=s1>(.*)</td>~i", $data, $matches);
echo "IQ-socket: ";
if ($match) echo "<a class='muutos' target='_blank' href='https://' . $_SERVER["SERVER_NAME"].
'/hallinta/iprasia.php'>".$matches[1]."</a>"; else echo "No
Temp value";
// System temperature</td><td colspan=4 width=70% class=s1> 47.4 °C</td>
}
*/
echo ' ';
if ($CLIENT_TYPE == "mobi") {
echo '<img style=\'border:0;\' src=\'images/valid_n_html_5.gif\'
height=\'16\'>';
} else {
echo '<img style=\'border:0;\' src=\'images/valid_n_html_5.gif\'
height=\'20\' title=\'Tarkistettu HTML5-koodi\'>';
}
?></td></tr></table>
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=69838
--
Edit this bug report at https://bugs.php.net/bug.php?id=69838&edit=1