Bug #74055 [NEW]: Warning Internal error: wrong size calculation

From: Date: Tue, 07 Feb 2017 12:23:31 +0000
Subject: Bug #74055 [NEW]: Warning Internal error: wrong size calculation
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207209@lists.php.net to get a copy of this message
From:             tom60 at op dot pl
Operating system: Debian Jessie 64 bit
PHP version:      7.1.1
Package:          opcache
Bug Type:         Bug
Bug description:Warning Internal error: wrong size calculation

Description:
------------
After upgrading to PHP 7.1.1 from 7.0.13 we started seeing "wrong size
calculation" warnings in the logs for the following files:

https://gist.github.com/pako-pl/37f436353e397b9a8bc2dd92470080d2



Test script:
---------------
Opcache configuration:

zend_extension=opcache.so

opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=120
opcache.interned_strings_buffer=20
opcache.max_accelerated_files=6000
opcache.max_wasted_percentage=5
opcache.use_cwd=1
opcache.validate_timestamps=0
opcache.revalidate_freq=0
opcache.revalidate_path=1
opcache.save_comments=1
opcache.load_comments=1
opcache.fast_shutdown=0
opcache.enable_file_override=0
opcache.max_file_size=0
opcache.consistency_checks=0
opcache.log_verbosity_level=2

Actual result:
--------------
apache-error: Tue Feb 7 13:08:59 2017 (32223): Warning Internal error:
wrong size calculation: /home/www/vendor/pclzip/pclzip/pclzip.lib.php
start=0x00007fb492588e00, end=0x00007fb4925eae90,
real=0x00007fb4925eae50

apache-error: Tue Feb 7 12:59:21 2017 (6597): Warning Internal error:
wrong size calculation:
/home/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/Auth/CramMd5Authenticator.php
start=0x00007fb492117480, end=0x00007fb492119900,
real=0x00007fb4921198a0

apache-error: Tue Feb 7 12:23:04 2017 (7560): Warning Internal error:
wrong size calculation:
/home/www/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5.php
start=0x00007fb49290b840, end=0x00007fb492925e30,
real=0x00007fb492925e10

-- 
Edit bug report at https://bugs.php.net/bug.php?id=74055&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=74055&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=74055&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=74055&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=74055&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=74055&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=74055&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=74055&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=74055&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=74055&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=74055&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=74055&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=74055&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=74055&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74055&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=74055&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=74055&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=74055&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74055&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=74055&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=74055&r=mysqlcfg



Thread (8 messages)

« previous php.bugs (#207209) next »