-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:Product: MongoDB Database Tools
Utility: mongorestore
Version: 100.20.1
Dependency: golang.org/x/sys v0.49.0
Platform: Linux ppc64le
-
DB Tools, Tools and Replicator
-
(copied to CRM)
Summary :
mongorestore 100.20.1 includes golang.org/x/sys v0.49.0, which may crash on Linux ppc64le
Component: All Tools (suggested; confirm during triage)
Problem
The customer installed mongorestore release is 100.20.1 and is built with golang.org/x/sys v0.49.0.
The Go project reports that this library version can cause programs built with it to crash on PowerPC 64-bit little-endian (ppc64le) Linux.
This raises a compatibility/crash risk for mongorestore users running on ppc64le Linux. The exact failure mode and whether this binary reproduces the reported crash still need confirmation.
Related customer case: 01634344
Upstream report: golang/go#82324
Environment
Product: MongoDB Database Tools
Utility: mongorestore
Version: 100.20.1
Dependency: golang.org/x/sys v0.49.0
Platform: Linux ppc64le
Actual behavior
Programs built with the reported golang.org/x/sys version may crash on ppc64le Linux. Confirm whether mongorestore 100.20.1 exhibits the failure and capture the exact crash output.
Expected behavior
mongorestore should run without crashing on supported Linux ppc64le systems.
Acceptance criteria
Confirm the dependency version in the 100.20.1 build and whether it is present in the affected binary.
Reproduce or rule out the crash with mongorestore 100.20.1 on Linux ppc64le; record the command, environment, and output.
If affected, update to a compatible fixed version of golang.org/x/sys (or apply an appropriate workaround) and add or update ppc64le coverage.
Verify the fix with relevant Database Tools tests and a ppc64le smoke test.
Document the first fixed Database Tools release.
Notes
The upstream report identifies the architecture and dependency-version risk, but this draft does not assume that the reported crash has already been reproduced in mongorestore.
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
mongorestore crashes on startup of binary, segfault, an known expected result from go lang code
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Same hardware, same dbtools version set of software, previous version will continue to work instead
Expected Results
What do you expect to happen?
Workaround 100.17.x proposed for now or update of dbTools
Actual Results
What do you observe is happening?
100.20.1 version of dbtools, mongorestore fails
100.17.latest version of dbtools, mongorestore works
Additional Notes
Any additional information that may be useful to include.