Problem/Motivation

The file hiddeninput.exe located in vendor/symfony/console/Resources/bin is not valid. Executing the command on a Windows system (cygwin) results in this:

hw@hwlaptop:/cygdrive/d/Internet/d8/d8task/core/vendor/symfony/console/Resource
s/bin$ ./hiddeninput.exe
bash: ./hiddeninput.exe: cannot execute binary file: Exec format error

In Windows command prompt, this is the error:

D:\Internet\d8\d8task\core\vendor\symfony\console\Resources\bin>hiddeninput.exe
This version of D:\Internet\d8\d8task\core\vendor\symfony\console\Resources\bin\
hiddeninput.exe is not compatible with the version of Windows you're running. Ch
eck your computer's system information and then contact the software publisher.

The file's actual history can be seen here. As seen, the file has not been touched since 2012, but we have had to update it in #2498515-12: Update additional Symfony Components to 2.7.0 and now #2504967: Upgrade to Symfony 2.7.1. This was mainly because of an issue in git configuration which was perceived fixed but later cropped up in the latter issue.

The exe file contains CRLF characters and PIFR rejects patches with CR characters. This was seen in #2504967: Upgrade to Symfony 2.7.1 in patches in #4, #7, #9, and #11. I attempted to explain this in #2504967-11: Upgrade to Symfony 2.7.1.

Since that issue is a critical, I am creating this followup to fix hiddeninput.exe to actual/working version.

Proposed resolution

Put the correct hiddeninput.exe.

Remaining tasks

- Write a patch
- Decide if we should wait for it to pass on PIFR OR wait for the bug to be resolved in PIFR.
- Review
- Commit

User interface changes

None

API changes

None

Data model changes

None

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task because it involves changing a piece of code to ensure correctness, but doesn't affect regular operation.
Issue priority Major because ... Critical/Not critical because ...
Prioritized changes The main goal of this issue is follow-up from a recent critical.
Disruption Not Disruptive

Comments

hussainweb’s picture

Status: Active » Needs review
StatusFileSize
new14.95 KB

I don't expect this to pass, but since it is just the exe file, I think we could commit it straight away. To be doubly sure, you could get the file directly from github at https://github.com/symfony/Console/raw/master/Resources/bin/hiddeninput.exe and commit it.

The failure at PIFR is explained in it's own issue at #2531798: Handle binary files in patches.

Status: Needs review » Needs work

The last submitted patch, 1: fix_hiddeninput_exe_in-2531796-1.patch, failed testing.

hussainweb’s picture

Status: Needs work » Needs review

Setting it back to Needs Review, hoping tests won't run again.

hussainweb’s picture

Just an update: After downloading the file from repository, it runs fine both from cygwin and Windows command prompt.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Needs review » Closed (outdated)

Reading comment #4 it appears that this has been fixed in Symfony. And the release notes, https://symfony.com/blog/symfony-2-2-1-released, include fixing a problem with hiddeninput.exe.

Therefor closing as outdated.