-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
A libcurl function was given a bad argument #35365
Comments
We don't use curl directly, only indirectly through aws-cpp-sdk. This is going to be hard to debug without some way to reliably reproduce. What version of pyarrow are you using? What OS? |
pyarrow=10.0.1 |
I did some basic research on the error and didn't find much. The only thing I could see that might cause this is if there is an incompatibility between the S3 SDK and the curl versions (e.g. if the S3 SDK was developed / compiled against one version and linked / run with another version). How are you obtaining pyarrow? Is it from conda, pip, or a build from source? Can you use ldd to check which library versions it is linking against? For example, I use conda so I run this:
|
I install from pip. I don't see libaws-c-s3.so:
|
Ah, I think, if you installed from pip, everything is statically linked. Which I suppose rules out a version incompatibility. In that case I'm afraid I'm at a bit of a loss on where to proceed next. If it could be reproduced regularly we might try and build with a debug version of curl and break at the point where that error is being generated to figure out what exactly is invalid. |
We're facing the same issue - we see @vdytyniak-exos did you ever root cause this? |
Any updates on this? |
Describe the bug, including details regarding any error messages, version, and platform.
We use pyarrow to read data from S3 and sometimes we get the following error:
We were trying to find the reason why it happens, but it is very random. Can you help to understand where actually the problem with libcurl can be?
Component(s)
Python
The text was updated successfully, but these errors were encountered: