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

[BUG]: module hangs on init #4422

Open
3 tasks done
reder2000 opened this issue Dec 25, 2022 · 0 comments
Open
3 tasks done

[BUG]: module hangs on init #4422

reder2000 opened this issue Dec 25, 2022 · 0 comments
Labels
triage New bug, unverified

Comments

@reder2000
Copy link

Required prerequisites

What version (or hash if on master) of pybind11 are you using?

2.10.0 (vcpkg)

Problem description

I'm producing a module that uses the date library
On c++ initialization (aka on import my_module) the module (and python) hangs since the library is trying to access some data using curl. Windows is blocked in "waitforsingleobject" and linux in "__GI___select", same behaviour.
If I disable the auto-check of tzdata the module works normally.

Anuy idea why python/pybind11 interacts badly with curl on init ?

Reproducible example code

I can submit a minimal example if needed.

Is this a regression? Put the last known working version here if it is.

Not a regression

@reder2000 reder2000 added the triage New bug, unverified label Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New bug, unverified
Projects
None yet
Development

No branches or pull requests

1 participant