You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
comment out from mysql.connector import errorcode and it produces desired results;
sqs
s3
{'ResponseMetadata': ...
... etc
Any chance we can make boto3 work with the mysql.connector considering it is needed for RDS/Aurora?
I have naively ruled out the bug being a problem with mysql.connector using process of elimination. i.e. My existing app worked flawlessly using mysql.connector, i later added boto3 session for resource('sqs') and has been working for weeks, then i added resource('s3') and encountered Segmentation fault. Therefore the replication shows how SQS works but S3 fails, leading me to believe that boto3 likely works well with mysql.connector in general, both projects are not causing the segfault as a general incompatibility, but it is narrowed down to S3 client code path being the root cause that introduced the segfault.
thanks
The text was updated successfully, but these errors were encountered:
@chrisdlangton - Thank you for your post. This issue is not related to boto3. I am not able to reproduce the issue. So it looks like it it only reproducible in certain environment.
You would need to enable a debugger to see what mysql is doing, so whatever the probelm is in the mysql code happens to be triggered with the s3 client. It's not specific to the s3 client though.
There's a bug in mysql connector that will cause a segmentation fault if it's not imported first. It will fail even with standard library python modules. https://bugs.mysql.com/bug.php?id=97220. Have you tried by importing mysql first ?
swetashre
added
guidance
Question that needs advice or information.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 7, 2020
my env
Reproduce easily
produces
comment out
from mysql.connector import errorcode
and it produces desired results;Any chance we can make boto3 work with the mysql.connector considering it is needed for RDS/Aurora?
I have naively ruled out the bug being a problem with
mysql.connector
using process of elimination. i.e. My existing app worked flawlessly usingmysql.connector
, i later added boto3 session forresource('sqs')
and has been working for weeks, then i addedresource('s3')
and encountered Segmentation fault. Therefore the replication shows how SQS works but S3 fails, leading me to believe that boto3 likely works well withmysql.connector
in general, both projects are not causing the segfault as a general incompatibility, but it is narrowed down to S3 client code path being the root cause that introduced the segfault.thanks
The text was updated successfully, but these errors were encountered: