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

dist/threads/shared.pm - use attributes.pm explicitly #20157

Closed
wants to merge 1 commit into from

Conversation

demerphq
Copy link
Collaborator

It seems it is possible that we load the attributes XS code
without loading the .pm code first. This causes threads/t/kill.t to
die with an error about XS version mismatch. Explicitly loading
the attributes module from threads::shared seems to fix the problem.

This resolves #20155.

It seems it is possible that we load the attributes XS code
without loading the .pm code first. This causes threads/t/kill.t to
die with an error about XS version mismatch. Explicitly loading
the attributes module from threads::shared seems to fix the problem.

This resolves #20155.
@demerphq demerphq force-pushed the yves/fix_20155_thread_shared_attributes branch from 5cccb6e to ab4d487 Compare August 25, 2022 15:34
@haarg
Copy link
Contributor

haarg commented Aug 25, 2022

I don't think this is an appropriate fix. Loading attributes late (as triggered by the :shared attribute in kill.t) should not cause an error.

@demerphq
Copy link
Collaborator Author

demerphq commented Aug 25, 2022 via email

@bram-perl
Copy link

Since it's now clear that this is a much bigger (and more generic) issue I think the PR can be dropped/closed..

@khwilliamson
Copy link
Contributor

agreed

@haarg haarg closed this Aug 25, 2022
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.

Locale patch breaks dist/threads/t/kill.t by triggering attribute.pm XS version mismatch errors.
4 participants