threadpoolctl icon indicating copy to clipboard operation
threadpoolctl copied to clipboard

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

Open yurivict opened this issue 2 years ago • 4 comments

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 avatar Apr 24 '22 16:04 yurivict

@jeremiedbb

Hi,

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

Thanks, Yuri

yurivict avatar May 16 '22 01:05 yurivict

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 https://github.com/python/cpython/issues/92828.

jeremiedbb avatar May 16 '22 09:05 jeremiedbb

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

ogrisel avatar May 25 '22 09:05 ogrisel

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

yurivict avatar May 25 '22 16:05 yurivict

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

vukitoso avatar Mar 28 '23 08:03 vukitoso

Hi.

According to the discussion in https://github.com/python/cpython/issues/92828 It seems my fix will no longer be needed in FreeBSD 14.

Regards, Pawel

ptrajdos avatar Aug 09 '23 07:08 ptrajdos