Skip to content

SSA integrity verification failed when loading composer classmaps with more than 11k elements #12953

Closed

Description

@danog

Description

Ping @dstogov, reproducer 13 at https://github.com/danog/jit_bugs issues an SSA integrity verification failed assertion if opcache is enabled.

PHP Version

PHP 8.2.14 (2b8c008), master

Operating System

No response

Activity

  1. ndossche commented on Dec 13, 2023

    @ndossche
    Member

    This is a false positive.
    cycle in uses of 1 (CV $vendorDir)
    This is because the cycle detection code stops at 10000 uses and assumes a cycle has happened:

    		FOREACH_USE(var, use) {
    			if (++c > 10000) {
    				FAIL("cycle in uses of " VARFMT "\n", VAR(i));
    				goto finish;
    			}

    Increase the limit or patch that out and you'll see it works.

  2. added a commit that references this issue on Dec 14, 2023
    bd5e12c
  3. ndossche commented on Dec 14, 2023

    @ndossche
    Member

    I implemented a solution in #12954 by using a cycle detection algorithm instead of a counter.

  4. added 2 commits that reference this issue on Dec 18, 2023
    7585cf6
    fc82c27
  5. added a commit that references this issue on Dec 18, 2023
    6991518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions