Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14094

Current master branch is getting segmentation fault error on PHP 7 tests

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-dev
    • Fix Version/s: 3.2.0-a1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      See https://travis-ci.org/phpbb/phpbb/jobs/75044512#L627
      That segfault was reproduced locally on Ubuntu 15.04 64-bit + PHP 7 installation.
      After some investigation, it turned out that the cause is test_relative_format_date() in from_format_test.php test which passes standalone but leads to segfault in the tests package running (if you remove the file, the segfault just disappears).

      Further experimenting found that date_default_timezone_set('Europe/Paris') (or similar) solves the issue while date_default_timezone_set('UTC') doesn't.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                CHItA CHItA
                Reporter:
                rxu rxu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: