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

Wheel builds that use Qemu are seg faulting

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.12, 4.11.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      gcc: internal compiler error: Segmentation fault signal terminated program collect2

      Link to task:

      https://github.com/mongodb/mongo-python-driver/actions/runs/12936982942/job/36083863346?pr=2073

      Context of when and why the failure occurred:

      Seems to be related to https://github.com/tonistiigi/binfmt/issues/215. At first the failures were intermittent but now they are happening on every run.

      I tried using podman, and updating to use ubuntu-24, but in both cases it still causes a seg fault. We can use the new ubuntu-24.04-arm runner for linux aarch64, but we won't be able to create the wheels for ppc64le and s390x until the above issue is resolved or we find another way to create the wheels.

      We are still able to test the driver on these architectures in Evergreen.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None