Skip to content
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

sort: tests sometimes stack overflow on Code Coverage (windows-latest, windows) #2418

Open
miDeb opened this issue Jun 16, 2021 · 6 comments

Comments

@miDeb
Copy link
Contributor

miDeb commented Jun 16, 2021

Example: https://github.com/uutils/coreutils/pull/2417/checks?check_run_id=2838351712
I really don't know why this happens. It seems to happen randomly on different sort tests, but I wasn't able to reproduce it in a windows vm.
Interestingly the stack overflow always happens after the expected result is printed to stdout (i.e. stdout always contains the expected result, but stderr contains a message about the stack overflow)
Any suggestions on how to debug this are appreciated!

@siebenHeaven
Copy link
Contributor

Hello @miDeb, wanted to check what's going on here but the link points to a passing run instead of a failing one it seems?
Could you please point me to where I can see failure logs?

@miDeb
Copy link
Contributor Author

miDeb commented Jun 21, 2021

Thanks, I must have pasted the wrong link. Here's a failing run: https://github.com/uutils/coreutils/pull/2443/checks.

@siebenHeaven
Copy link
Contributor

Thanks, taking a look. I'll try to see if I can reproduce locally and report back.

@siebenHeaven
Copy link
Contributor

siebenHeaven commented Jun 21, 2021

Could not reproduce the stack-overflow so far in a couple of runs,
Hitting this for couple of sort tests though (with or without grcov related steps)

stdout =
 stderr = sort: Access is denied. (os error 5) at path "C:\\windows\\uutils_sortDg6kGW"
', tests\common\util.rs:160:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

    test_sort::test_buffer_sizes
    test_sort::test_compress_fail
    test_sort::test_merge_batch_size
    test_sort::test_merge_batches

(Note this is consistent locally for these tests)

@miDeb
Copy link
Contributor Author

miDeb commented Jun 21, 2021

Thanks, I can actually reproduce that in a VM. I'll take a look (weird that it doesn't fail on CI though)

@stale
Copy link

stale bot commented Jan 20, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants