Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #8226
Closed
Open
Issue created Nov 13, 2019 by Peter Bortas@zinoOwner

Consistency check in count_memory() is broken.

Imported from https://youtrack.roxen.com/issue/PIKE-226

Reported by @grubba

Doing tests in testsuite (12090 tests, pid 28821)
Testing scoped variables 17:16...
Assertion failed: !(m->flags & MC_FLAG_INTERNAL), file gc.c, line 5901, function f_count_memory

No result from subprocess (died of signal SIGABRT)
Subresult: 1 tests, 1 failed, 0 skipped

The test that causes the assertion failure seems to be

test_any([[
  /* don't save parent */
  class X (void|object a) {};
  X o = X (X (X()));
  o->a->a->a = o->a;
  return count_memory_stats (2, o);
]], [["i:3,c:2,e:0,v:7,r:4,rnd:2"]])
Assignee
Assign to
Time tracking