Bug #69838 [Asn->Fbk]: OPCACHE Warning Internal error: wrong size calculation

From: Date: Tue, 16 Jun 2015 10:28:52 +0000
Subject: Bug #69838 [Asn->Fbk]: OPCACHE Warning Internal error: wrong size calculation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193546@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69838&edit=1

 ID:                 69838
 Updated by:         ab@php.net
 Reported by:        tm8544 at hotmail dot com
 Summary:            OPCACHE Warning Internal error: wrong size
                     calculation
-Status:             Assigned
+Status:             Feedback
 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:

@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.


Previous Comments:
------------------------------------------------------------------------
[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>.&nbsp;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 '&nbsp;&nbsp;';
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>

------------------------------------------------------------------------
[2015-06-15 16:07:08] tm8544 at hotmail dot com

footer.php
-------------

<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>.&nbsp;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 '&nbsp;&nbsp;';
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>

------------------------------------------------------------------------
[2015-06-15 14:46:05] laruence@php.net

could you please paste one mentioned file here? (the smallest one)

maybe the footer.php?

thanks

------------------------------------------------------------------------


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


Thread (10 messages)

« previous php.bugs (#193546) next »