Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2242

Segmentation fault when running the test suite with PyPy 2.7

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Segmentation fault when running the test suite with PyPy 2:

      [2020/05/12 21:48:04.671] Running auth tests over ssl with python /opt/python/pypy/bin/pypy
      [2020/05/12 21:48:04.671] 2.7.13 (4a68d8d3d2fc1faec2e83bcb4d28559099092574, Oct 18 2019, 01:09:48)
      [2020/05/12 21:48:04.671] [PyPy 7.2.0 with GCC 8.2.0]
      ....
      [2020/05/12 21:51:50.263]   test_gridfs (test_session.TestSession) ... Fatal Python error: Segmentation fault
      [2020/05/12 21:51:50.263] Stack (most recent call first, approximate line numbers):
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/message.py", line 1615 in unpack
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/network.py", line 177 in receive_message
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/pool.py", line 650 in receive_message
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/server.py", line 70 in run_operation_with_response
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/mongo_client.py", line 1339 in _cmd
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/mongo_client.py", line 1442 in _retryable_read
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/mongo_client.py", line 1312 in _run_operation_with_response
      [2020/05/12 21:51:50.263]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/cursor.py", line 972 in __send_message
      [2020/05/12 21:51:50.264]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/cursor.py", line 1074 in _refresh
      [2020/05/12 21:51:50.264]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/pymongo/cursor.py", line 1188 in next
      [2020/05/12 21:51:50.264]   File "gridfs/grid_file.py", line 724 in _next_with_retry
      [2020/05/12 21:51:50.264]   File "gridfs/grid_file.py", line 741 in next
      [2020/05/12 21:51:50.264]   File "gridfs/grid_file.py", line 501 in readchunk
      [2020/05/12 21:51:50.264]   File "gridfs/grid_file.py", line 527 in read
      [2020/05/12 21:51:50.264]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/test/test_session.py", line 478 in <lambda>
      [2020/05/12 21:51:50.264]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/test/test_session.py", line 102 in _test_ops
      [2020/05/12 21:51:50.264]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/test/test_session.py", line 459 in test_gridfs
      [2020/05/12 21:51:50.264]   File "/opt/python/pypy/lib-python/2.7/unittest/case.py", line 295 in run
      [2020/05/12 21:51:50.264]   File "/opt/python/pypy/lib-python/2.7/unittest/case.py", line 392 in __call__
      [2020/05/12 21:51:50.264]   File "/opt/python/pypy/lib-python/2.7/unittest/suite.py", line 88 in run
      [2020/05/12 21:51:50.264]   File "/opt/python/pypy/lib-python/2.7/unittest/suite.py", line 69 in __call__
      [2020/05/12 21:51:50.264]   File "/opt/python/pypy/site-packages/xmlrunner/runner.py", line 50 in run
      [2020/05/12 21:51:50.264]   File "/data/mci/724954d503571926e567664ba8dd6ec2/src/test/__init__.py", line 827 in run
      [2020/05/12 21:51:50.265]   File "setup.py", line 96 in run
      [2020/05/12 21:51:50.265]   File "/opt/python/pypy/lib-python/2.7/distutils/dist.py", line 957 in run_command
      [2020/05/12 21:51:50.265]   File "/opt/python/pypy/lib-python/2.7/distutils/dist.py", line 947 in run_commands
      [2020/05/12 21:51:50.265]   File "/opt/python/pypy/lib-python/2.7/distutils/core.py", line 60 in setup
      [2020/05/12 21:51:50.265]   File "/opt/python/pypy/site-packages/setuptools/__init__.py", line 142 in setup
      [2020/05/12 21:51:50.265]   File "setup.py", line 1 in <module>
      [2020/05/12 21:51:50.265]   File "<builtin>/app_main.py", line 769 in run_it
      [2020/05/12 21:51:50.265]   File "<builtin>/app_main.py", line 78 in run_toplevel
      [2020/05/12 21:51:50.265]   File "<builtin>/app_main.py", line 570 in run_command_line
      [2020/05/12 21:51:50.290]   File "<builtin>/app_main.py", line 850 in entry_point
      [2020/05/12 21:51:50.290] /data/mci/724954d503571926e567664ba8dd6ec2/src/.evergreen/run-tests.sh: line 187: 16393 Segmentation fault      $COVERAGE_OR_PYTHON $EXTRA_ARGS $COVERAGE_ARGS setup.py $C_EXTENSIONS test $OUTPUT
      [2020/05/12 21:51:50.291] Command failed: command encountered problem: error waiting on process 'e45d0574-71a1-4c11-8500-7fdaec4f5929': exit status 139
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_rhel62_test_ssl__platform~rhel62_auth~auth_ssl~ssl_python_version~pypy_coverage~coverage_test_4.0_standalone_33c93223b1f01ce5d0065a16ad3d38b98e39b8cf_20_05_12_21_42_27

      This could be related to MOTOR-323.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: