Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15230

HTTP 500 after deleting s9e cache file on PHP 7.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • None
    • 3.2.0
    • Caching (ACM), Other
    • None
    • PHP 7.0.17, phpBB 3.2.0
      Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64

      Purging the cache in phpBB 3.2.0 on PHP 7.0 causes HTTP 500 error which is gone after several page reloads.

      The error text looks like:
      [Mon May 15 07:22:21.560948 2017] [cgi:error] [pid 10637] [client *.*.*.*:50802] End of script output before headers: php, referer: https://domain.com/
      [Mon May 15 07:47:53.865120 2017] [cgi:error] [pid 19677] [client *.*.*.*:56083] AH01215: *** Error in `/opt/php70/bin/php-cgi': malloc(): smallbin double linked list corrupted: 0x0000000002cb9e70 ***
      [Mon May 15 07:47:53.865743 2017] [cgi:error] [pid 19677] [client *.*.*.*:56083] End of script output before headers: php
      [Mon May 15 07:48:07.950537 2017] [cgi:error] [pid 19805] [client *.*.*.*:56156] AH01215: *** Error in `/opt/php70/bin/php-cgi': munmap_chunk(): invalid pointer: 0x00007f9f72c698e2 ***

      Random deleting cache files gave the result that HTTP 500 error raises after deleting the s9e_renderer cache file, like s9e_renderer_b6be1796cd7dd1aa72151bc47f370952ae9a5e87.php.

      Setting the php.ini directive pcre.jit to 0 solves the issue. Also, setting the $configurator->rendering->engine->enableQuickRenderer = true; to false in /phpbb/textformatter/s9e/factory.php solves the issue as well.

      @JoshyPHP

            Marc Marc
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: