[GH-ISSUE #25] v1.1.5 linux-x86_64 binary is broken (segfault, missing section headers) #19

Closed
opened 2026-02-27 15:37:58 +03:00 by kerem · 1 comment
Owner

Originally created by @terryops on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/25

Problem

The zerogravity-linux-x86_64 binary from the v1.1.5 release segfaults immediately on launch.

Details

$ file zerogravity-linux-x86_64
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, missing section headers at 9445688

$ ./zerogravity-linux-x86_64 --version
Segmentation fault

$ ldd zerogravity-linux-x86_64
exited with unknown exit code (135)

For comparison, the v1.1.4 binary works fine:

$ file zerogravity  # v1.1.4
ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

Environment

  • OS: Ubuntu 24.04 (x86_64)
  • Kernel: 6.14.0
  • Downloaded fresh from the release page, MD5 matches

Looks like the binary may have been built/packaged incorrectly — missing section headers and shared object (instead of pie executable) suggest a build issue.

v1.1.4 works fine as a workaround.

Originally created by @terryops on GitHub (Feb 19, 2026). Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/25 ## Problem The `zerogravity-linux-x86_64` binary from the [v1.1.5 release](https://github.com/NikkeTryHard/zerogravity/releases/tag/v1.1.5) segfaults immediately on launch. ## Details ``` $ file zerogravity-linux-x86_64 ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, missing section headers at 9445688 $ ./zerogravity-linux-x86_64 --version Segmentation fault $ ldd zerogravity-linux-x86_64 exited with unknown exit code (135) ``` For comparison, the v1.1.4 binary works fine: ``` $ file zerogravity # v1.1.4 ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped ``` ## Environment - OS: Ubuntu 24.04 (x86_64) - Kernel: 6.14.0 - Downloaded fresh from the release page, MD5 matches Looks like the binary may have been built/packaged incorrectly — `missing section headers` and `shared object` (instead of `pie executable`) suggest a build issue. v1.1.4 works fine as a workaround.
kerem closed this issue 2026-02-27 15:37:58 +03:00
Author
Owner

@NikkeTryHard commented on GitHub (Feb 19, 2026):

Fixed in v1.1.6-beta.1. The root cause was the build script running objcopy --remove-section, sed -i binary patching, and UPX compression on the finished binaries — all of which corrupted ELF section headers, changing the binary type from pie executable to shared object with missing section headers.

v1.1.6-beta.1 binaries are clean:

$ file zerogravity-linux-x86_64
ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.0.0, stripped

Please test and report back.

<!-- gh-comment-id:3928161986 --> @NikkeTryHard commented on GitHub (Feb 19, 2026): Fixed in v1.1.6-beta.1. The root cause was the build script running `objcopy --remove-section`, `sed -i` binary patching, and UPX compression on the finished binaries — all of which corrupted ELF section headers, changing the binary type from `pie executable` to `shared object` with `missing section headers`. v1.1.6-beta.1 binaries are clean: ``` $ file zerogravity-linux-x86_64 ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.0.0, stripped ``` Please test and report back.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zerogravity#19
No description provided.