-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Specify -fno-sanitize-recover #4672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Not seeing this one locally... |
c397511
to
99f5426
Compare
Annoyingly the issue disappears when specifying |
32de3ac
to
52e498c
Compare
Stack trace from asan:
|
52e498c
to
2bdd2f4
Compare
Looks like the hanging test is |
Looks like the test was only added two days ago: symfony/symfony@1bfefef As the code involves STDIN, I'll try closing that again... |
Thanks for investigating. Reported in symfony/symfony#33446 (comment) |
Okay, closing STDIN did not help... PHP's behavior wrt stdin seems to be pretty weird though. I tried this code:
When run with
Not quite sure what should be happening here, but possibly There's also this concerning bug report: https://bugs.php.net/bug.php?id=74252 |
16921e5
to
ce77083
Compare
…ds (yceruto) This PR was merged into the 4.4 branch. Discussion ---------- Deprecated not passing dash symbol (-) to STDIN commands | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #33446 (comment) | License | MIT | Doc PR | - Follow-up #33446 > There's a conflict here: when no argument was provided, the command also reads from STDIN. So now, it reads from STDIN, and if there is nothing there, reads from the default template. This has been caught in php/php-src#4672 > This creates an ambiguous situation - maybe one did pipe nothing but doesn't expect the default template dir to be linted. > I'd suggest resolving the ambiguity by reading from STDIN only when explicitly asked for. Passing - as argument could the way. And we could trigger a deprecation for now. For consistency, the other 2 lint commands (`lint:yaml` and `lint:xliff`) have been touched as well. The plan for 5.0 is read from the STDIN only when `-` is given. /cc @nicolas-grekas Commits ------- 586f299 deprecated not passing dash symbol (-) to STDIN commands
ce77083
to
eb75666
Compare
This nearly works, but something is still doing an |
Perform PHPUnit installation under php7.3 -- which will also make it work on master. Also properly resolve the tty issue by specifying excluded groups during the test run.
Now that phpunit is installed separately, we can do this and not worry about managing exit codes.
This reverts commit 6c1ded7.
eb75666
to
2c837d1
Compare
Merged while keeping the current exit code workaround... |
And backport changes to symfony setup from #4666.