Bug #70423 [Opn->Csd]: Warning Internal error: wrong size calculation

From: Date: Mon, 07 Sep 2015 13:03:20 +0000
Subject: Bug #70423 [Opn->Csd]: Warning Internal error: wrong size calculation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195845@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70423&edit=1 ID: 70423 Updated by: ab@php.net Reported by: ck+php dot net at bbshowcase dot org Summary: Warning Internal error: wrong size calculation -Status: Open +Status: Closed Type: Bug Package: opcache Operating System: CentOS 7.1 PHP Version: master-Git-2015-09-03 (Git) Block user comment: N Private report: N New Comment: Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=eaf96698c7e3229b0217ca3a408fb3b50b9bd333 Log: Fix bug #70423 Warning Internal error: wrong size calculation Previous Comments: ------------------------------------------------------------------------ [2015-09-07 12:59:31] tm8544 at hotmail dot com I also see this bug with 7.0.0RC2 x64 TS + Apache/2.4.16 x64 on Windows 10 x64 Error message is shown only on some certain PHP scripts, not all of them. Here is a part of Apache log: Sun Sep 6 11:28:12 2015 (5668): Warning Internal error: wrong size calculation: D:\HTTPS-SERVER\mysqladm1n007\libraries\user_preferences.lib.php start=0x20775678, end=0x2077d288, real=0x2077d268 Sun Sep 6 11:28:21 2015 (5656): Warning Internal error: wrong size calculation: D:\HTTPS-SERVER\mysqladm1n007\libraries\transformations.lib.php start=0x208c1758, end=0x208cbff0, real=0x208cbfd0 Mon Sep 7 15:50:44 2015 (4904): Warning Internal error: wrong size calculation: D:\HTTPS-SERVER\mysqladm1n007\libraries\user_preferences.lib.php start=0x20755448, end=0x2075d058, real=0x2075d038 ------------------------------------------------------------------------ [2015-09-04 10:55:50] ck+php dot net at bbshowcase dot org I should also note, the error only happens ONCE upon php-fpm restart, perhaps when those two scripts are put into the cache the first time? If I restart php-fpm I can consistently reproduce the error. The start/end/real numbers change of course. Maybe somewhat relevant it is in an openvz vps container but in theory that should not affect php? Happy to test any patch you'd like to try. ------------------------------------------------------------------------ [2015-09-04 08:46:16] ck+php dot net at bbshowcase dot org Given their size, how about just direct text links: http://svn.automattic.com/bbpress/tags/0.9.0.7/bb-includes/l10n.php http://svn.automattic.com/bbpress/tags/0.9.0.7/bb-includes/compat.php (I don't see anything special about them but maybe you know better) ------------------------------------------------------------------------ [2015-09-04 03:17:20] laruence@php.net could you please paste the two files out here? ------------------------------------------------------------------------ [2015-09-03 16:40:46] ck+php dot net at bbshowcase dot org Description: ------------ Was successfully running 7.0RC1 so switched to trunk/master I consistently get this warning about wrong size calculations php-fpm using opcache WARNING: [pool www] child 32223 said into stderr: "Thu Sep 3 11:40:47 2015 (32223): Warning Internal error: wrong size calculation: compat.php start=0x06121740, end=0x06124f18, real=0x06124ef8" WARNING: [pool www] child 32223 said into stderr: "Thu Sep 3 11:40:47 2015 (32223): Warning Internal error: wrong size calculation: l10n.php start=0x061e5900, end=0x061e7a50, real=0x061e7a30" Happens on the same two files consistently, even after a restart. This appears to be the same problem as Bug #69838 from June-15-2015 which seems to have been patched but maybe not fixed entirely? http://git.php.net/?p=php-src.git;a=commitdiff;h=f88aad418e4e6fcc91d048446f0892a3ee5b065f ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70423&edit=1

« previous php.bugs (#195845) next »