PR# 17935 Small value for EIF_MEMORY_SCAVENGE causes incorrect execution output

Problem Report Summary
Submitter: prestoat2000
Category: Runtime
Priority: Medium
Date: 2011/11/03
Class: Bug
Severity: Serious
Number: 17935
Release: 7.0.87691
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.0.10) Gecko/2009042715 Firefox/3.0.10 Solaris 10 on SPARC
Synopsis: Small value for EIF_MEMORY_SCAVENGE causes incorrect execution output

Description
A small value for environment variable EIF_MEMORY_SCAVENGE (8192)
causes execution of a finalized system to produce incorrect output.
The output is almost correct but is slightly wrong.

Added test exec347 for this bug.  Test is based on test exec200, which
was failing intermittently when environment variable settings "leaked"
from one test to another when eweasel is run multithreaded, because
eweasel sets environment variables in the parent instead of only in spawned
processes.  The new test fails when run by itself.

I have proposed a fix for the eweasel deficiency (Unix version only).
I hope someone will find time to incorporate the fix when the Windows
version can also be fixed.


To Reproduce
Run test exec347.

Problem Report Interactions