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

Add AddressSanitizer #2068

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

wantehchang
Copy link
Collaborator

No description provided.

@wantehchang wantehchang marked this pull request as draft March 19, 2024 21:46
@wantehchang wantehchang force-pushed the add-address-sanitizer branch 6 times, most recently from 111fa42 to 766e3a7 Compare March 19, 2024 23:34

env:
CC: clang
CXX: clang++
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I don't delete these three lines, I get segmentation faults in the "ubuntu-latest, address" configuration:

https://github.com/AOMediaCodec/libavif/actions/runs/8351405561/job/22859682384?pr=2068

I don't know why.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing today the segmentation faults are gone. Strange.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebased this pull request and the segmentation faults still did not come back. I don't know what changed that fixed the segmentation faults. I guess it will remain a mystery. :-(

@wantehchang wantehchang force-pushed the add-address-sanitizer branch from 766e3a7 to 6ef2c01 Compare March 20, 2024 18:29
@wantehchang wantehchang marked this pull request as ready for review March 20, 2024 21:42
@wantehchang wantehchang force-pushed the add-address-sanitizer branch 6 times, most recently from d1ec2ef to 5e47554 Compare March 20, 2024 22:54
Copy link
Collaborator

@y-guyon y-guyon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wantehchang wantehchang force-pushed the add-address-sanitizer branch from 5e47554 to f3beddf Compare March 21, 2024 14:28
@wantehchang wantehchang merged commit d159843 into AOMediaCodec:main Mar 21, 2024
23 checks passed
@wantehchang wantehchang deleted the add-address-sanitizer branch March 21, 2024 15:00
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

Successfully merging this pull request may close these issues.

2 participants