Linux x86-64 wheel: overlapping ELF load pages in prophet_model.bin on Linux 4.18 kernels

Open Beginner friendly
#2,799 0 comments 1 reaction 0 assignees View on GitHub

@nicolasdalsass is already working on this.

Since Dec 3, 2026.

  • #2801 by @nicolasdalsass — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
linux, python

Research direction

Start by reading the wheel build configuration and the cibuildwheel image or patchelf version used for Prophet 1.5.0; the issue does not name the configuration file. Check whether the packaged prophet_model.bin has overlapping PT_LOAD pages and compare the build tool versions mentioned here. Done means a rebuilt Linux x86-64 wheel avoids the overlapping pages and runs directly on the reported Linux 4.18 kernel.

Written by the indexing model from the issue text.

Description

The published Prophet 1.5.0 wheel’s prophet_model.bin has two PT_LOAD segments sharing the 4 KiB virtual page at 0x404000. On a AlmaLinux 8 server, direct execution of prophet_model.bin help segfaults, while invoking it through /lib64/ld-linux-x86-64.so.2 prints help.

I suspect the overlapping segments interact with the kernel ELF loading behavior discussed in this Linux commit. A Docker container on a newer host kernel may not reproduce the crash.

My understanding is that this is due to prophet using pypa/[email protected] at its wheel building step, which itself pulls patchelf 0.17.2, which produces those wheels.

Using the latest pypa/cibuildwheel available image (4.3.5 as of this writing) would pull patchelf 0.19.1 which fixes, or alternatively explicitely requiring patchelf 0.19.X (0.19.3 is the current latest) would also fix.

Dominant language
Python
Stars
20.5k
Forks
4.6k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/prophet

All issues in facebook/prophet

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.