omrikiei / aws_logging_handlers

AWS integration for python logging handlers(S3, Kinesis)
https://omrikiei.github.io/aws_logging_handlers/
MIT License
71 stars 27 forks source link

Segmentation fault (core dumped) exit code 139 #20

Open chrisdlangton opened 4 years ago

chrisdlangton commented 4 years ago

using FROM python:3.8-slim-buster docker and latest aws-logging-handlers>=2.0.3 segfaults with;

  File "/usr/local/lib/python3.8/site-packages/boto3/utils.py", line 52 in import_module
  File "/usr/local/lib/python3.8/site-packages/boto3/utils.py", line 61 in _handler
  File "/usr/local/lib/python3.8/site-packages/botocore/hooks.py", line 211 in _emit
  File "/usr/local/lib/python3.8/site-packages/botocore/hooks.py", line 228 in emit
  File "/usr/local/lib/python3.8/site-packages/botocore/hooks.py", line 356 in emit
  File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 106 in _create_client_class
  File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 79 in create_client
  File "/usr/local/lib/python3.8/site-packages/botocore/session.py", line 831 in create_client
  File "/usr/local/lib/python3.8/site-packages/boto3/session.py", line 258 in client
  File "/usr/local/lib/python3.8/site-packages/boto3/session.py", line 384 in resource
  File "/usr/local/lib/python3.8/site-packages/aws_logging_handlers/S3/__init__.py", line 97 in __init__
  File "/usr/local/lib/python3.8/site-packages/aws_logging_handlers/S3/__init__.py", line 329 in __init__

To see the verbose output run with flags python -d -X dev app.py

script runs fine on the laptop running;

python3 --version
Python 3.8.2

uname -a
Linux 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux