mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #113] arm64 build randomly crashes with varying stack traces #95
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @binwiederhier on GitHub (Jan 20, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/113
@binwiederhier commented on GitHub (Jan 20, 2022):
It's non-deterministic
@binwiederhier commented on GitHub (Jan 20, 2022):
Sometimes it works, sometimes it doesn't.
@binwiederhier commented on GitHub (Jan 20, 2022):
Compiled it with go1.18beta1 in the hopes that that'll magically fix it. No dice.
@jakuband commented on GitHub (Jan 27, 2022):
Hi
I test Docker with NTFY server for home needs.
System: Arch Linux 5.10.2-6 Aarch64
Run Test Docker Image: Binwiederhier/Ntty:latest = "Exec format Error".
But Image Binwiederhier/Ntfy: V1.13.0-Armv7 has started without a problem on my Linux arch64
Maybe there is a problem with bad image assignment to the system
regards
@binwiederhier commented on GitHub (Jan 27, 2022):
Yeah I actually think it may have been related to
qemu-aarch64. I wanted to test on a real ARM system, but I couldn't figure out how to properly emulate it.@binwiederhier commented on GitHub (Jan 27, 2022):
Thanks for testing!
@djmaze commented on GitHub (Feb 9, 2022):
Running into the same problem. It seems the arm64 docker images contain the x86_64 version?!
Running inside binwiederhier/ntfy:v1.14.0-arm64v8:
UPDATE: I can't find any CI build configurations in the repo. Are the images built manually?
@binwiederhier commented on GitHub (Feb 9, 2022):
I'm basically stuck because I can't test the arm stuff at all. I tried with qemu but I'm not sure of it the emulator is broken, because it shows "not implemented" exceptions.
The builds are defined here: https://github.com/binwiederhier/ntfy/blob/main/.goreleaser.yml#L27
You can check the makefile to see how it's called.
@binwiederhier commented on GitHub (Feb 10, 2022):
Alright let me dig a little there:
So that's correct ^^
But you are right, the Docker image does contain the wrong architecture binary:
This must be an issue with GoReleaser or my config then. I'll look.
@binwiederhier commented on GitHub (Feb 10, 2022):
This line seems off:
@djmaze commented on GitHub (Feb 10, 2022):
Seems you are missing
goarchandgoarmlines in the arm64dockerssection?@binwiederhier commented on GitHub (Feb 10, 2022):
Yup I just saw that too. I'll release v1.14.1 now.
Here's the fix:
github.com/binwiederhier/ntfy@8187b49599Thank you very much for helping find this. I don't know how that ever worked, or maybe it got removed 🤷
@djmaze commented on GitHub (Feb 10, 2022):
Seems you had it removed accidentally :)
github.com/binwiederhier/ntfy@093154fa6c (diff-42e26dc67a)@binwiederhier commented on GitHub (Feb 10, 2022):
Indeed ... :-)
Released in https://github.com/binwiederhier/ntfy/releases/tag/v1.14.1
@djmaze commented on GitHub (Feb 10, 2022):
The new arm64 docker image seems to work. Thanks for your work!