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

SIGSEGV: invalid memory reference in test_read_thumbnail #158

Open
jayvdb opened this issue Sep 23, 2024 · 4 comments
Open

SIGSEGV: invalid memory reference in test_read_thumbnail #158

jayvdb opened this issue Sep 23, 2024 · 4 comments

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Sep 23, 2024

Recent commits on main have been failing in the test coverage job

     Running tests/test_read_thumbnail.rs (target/llvm-cov-target/debug/deps/test_read_thumbnail-7758b85d1eff1541)

running 8 tests
error: test failed, to rerun pass `--test test_read_thumbnail`

Caused by:
  process didn't exit successfully: `/home/runner/work/philips-isyntax-rs/philips-isyntax-rs/target/llvm-cov-target/debug/deps/test_read_thumbnail-7758b85d1eff1541` (signal: 11, SIGSEGV: invalid memory reference)

https://github.com/AzHicham/philips-isyntax-rs/actions/runs/10998002870/job/30534915887

@jayvdb
Copy link
Contributor Author

jayvdb commented Sep 23, 2024

I havent looked into this, however we have experienced similar problems. It was quite a while ago, so details are vague, but (roughly) it was that the metadata needs to have been finished reading before any other operation could be performed on the same file.
I can dig out the details if it helps.

@AzHicham
Copy link
Owner

Hello @jayvdb
Thanks for your help, I have this issue since the first day I don't know how to fix it tbh.
If you have any clues I'd be happy :)

@AzHicham
Copy link
Owner

may be we just need to run tests with only a single thread

@AzHicham
Copy link
Owner

After merging this PR
it looks like we do not have any SIGSEGV anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants