count_memory() fails on assertion when d_flag is set.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=6057
Reported by @grubba
Assertion failed: !(m->flags & MC_FLAG_INTERNAL), file /home/grubba/src/Pike/7.9/src/gc.c, line 5764
How to trigger:
-
Start server with Pike 7.9.
-
Wait until idle.
-
Use gdb to set d_flag to 2.
-
Reload the root of the Mast.sb repository.