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

Fails on FreeBSD: ld-elf.so.1: Can't find module with TLS index 1 #125

Closed
yurivict opened this issue Apr 24, 2022 · 6 comments
Closed

Fails on FreeBSD: ld-elf.so.1: Can't find module with TLS index 1 #125

yurivict opened this issue Apr 24, 2022 · 6 comments

Comments

@yurivict
Copy link

This code:

from threadpoolctl import threadpool_info
from pprint import pprint
pprint(threadpool_info())

fails on FreeBSD 13:

ld-elf.so.1: Can't find module with TLS index 1
@yurivict
Copy link
Author

@jeremiedbb

Hi,

Do you have any idea why does threadpoolctl fail on FreeBSD?

Thanks,
Yuri

@jeremiedbb
Copy link
Collaborator

Hi @yurivict,
sorry for the late answer, I didn't see your issue. I have no idea why it's failing like that, but you'll probably have better chances in the issue that you just opened on cpython python/cpython#92828.

@ogrisel
Copy link
Contributor

ogrisel commented May 25, 2022

Is this raising a catchable Python exception or directly crashing the Python interpreter?

@yurivict
Copy link
Author

Program exits with exit code 1 after the failure message. It doesn't crash.

@vukitoso
Copy link

Did you manage to solve this problem? If so, how?

ptrajdos added a commit to ptrajdos/threadpoolctl_freebsd_error that referenced this issue Aug 8, 2023
@ptrajdos
Copy link

ptrajdos commented Aug 9, 2023

Hi.

According to the discussion in python/cpython#92828
It seems my fix will no longer be needed in FreeBSD 14.

Regards,
Pawel

@ogrisel ogrisel closed this as completed Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants