Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64 build randomly crashes with varying stack traces #113

Closed
binwiederhier opened this issue Jan 20, 2022 · 15 comments
Closed

arm64 build randomly crashes with varying stack traces #113

binwiederhier opened this issue Jan 20, 2022 · 15 comments
Labels
🪲 bug Something isn't working server Relates to the main binary (server or client)

Comments

@binwiederhier
Copy link
Owner

$ qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
fatal error: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
standard_init_linux.go:228: exec user process caused: exec format error
@binwiederhier binwiederhier added 🪲 bug Something isn't working server Relates to the main binary (server or client) labels Jan 20, 2022
@binwiederhier
Copy link
Owner Author

binwiederhier commented Jan 20, 2022

It's non-deterministic

 qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
fatal error: unlock of unlocked lock
[1]    31307 segmentation fault (core dumped)  qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy

qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
fatal: morestack on g0
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[1]    31220 segmentation fault (core dumped)  qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[1]    29510 segmentation fault (core dumped)  qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
fatal error: fatal error: unexpected signal during runtime executionmalloc deadlock

panic during panic

goroutine 1 [running, locked to thread]:
runtime.throw({0xc7b5a8, 0xf})
	/usr/local/go/src/runtime/panic.go:1198 +0x54 fp=0x140004df4f0 sp=0x140004df4c0 pc=0x43d464
runtime.mallocgc(0x30, 0x0, 0x0)
	/usr/local/go/src/runtime/malloc.go:966 +0x8fc fp=0x140004df580 sp=0x140004df4f0 pc=0x41474c
runtime.growslice(0xb5d540, {0x1efc448, 0x0, 0x0}, 0xa)
	/usr/local/go/src/runtime/slice.go:261 +0x3f8 fp=0x140004df5e0 sp=0x140004df580 pc=0x456788
regexp.makeOnePass.func1(0x1f, {0x14000374990, 0x84, 0x84})
	/usr/local/go/src/regexp/onepass.go:387 +0x8b4 fp=0x140004df720 sp=0x140004df5e0 pc=0x542e24
regexp.makeOnePass.func1(0x66, {0x14000374990, 0x84, 0x84})
	/usr/local/go/src/regexp/onepass.go:323 +0x1bc fp=0x140004df860 sp=0x140004df720 pc=0x54272c
regexp.makeOnePass(0x140003fb620)
	/usr/local/go/src/regexp/onepass.go:448 +0x2cc fp=0x140004df980 sp=0x140004df860 pc=0x54246c
regexp.compileOnePass(0x140003fb5c0)
	/usr/local/go/src/regexp/onepass.go:500 +0x170 fp=0x140004df9d0 sp=0x140004df980 pc=0x543c70
regexp.compile({0xc8127d, 0x16}, 0xd4, 0x0)
	/usr/local/go/src/regexp/regexp.go:189 +0xc8fatal error: unexpected signal during runtime execution
stack trace unavailable
$ qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
runtime: newstack sp=0x140000a4dd0 stack=[0x14000680000, 0x140006c0000]
	morebuf={pc:0x46d718 sp:0x140000a4dd0 lr:0x0}
	sched={pc:0x4552c8 sp:0x140000a4dd0 lr:0x46d718 ctxt:0x0}
runtime: gp=0x140000001a0, goid=1, gp->status=0x2
 runtime: split stack overflow: 0x140000a4dd0 < 0x14000680000
fatal error: runtime: split stack overflow

runtime stack:
runtime.throw({0xc87222, 0x1d})
	/usr/local/go/src/runtime/panic.go:1198 +0x54
runtime.newstack()
	/usr/local/go/src/runtime/stack.go:1032 +0x734
runtime.morestack()
	/usr/local/go/src/runtime/asm_arm64.s:303 +0x70

goroutine 1 [running, locked to thread]:
runtime.sigpanic()
	/usr/local/go/src/runtime/signal_unix.go:716 +0x298 fp=0x140000a4dd0 sp=0x140000a4dd0 pc=0x4552c8
runtime.systemstack()
	/usr/local/go/src/runtime/asm_arm64.s:198 +0x18 fp=0x140000a4df0 sp=0x140000a4de0 pc=0x46d718

goroutine 35 [select]:
go.opencensus.io/stats/view.(*worker).start(0x140001d1980)
	/home/pheckel/.go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0x98
created by go.opencensus.io/stats/view.init.0
	/home/pheckel/.go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0x80

@binwiederhier
Copy link
Owner Author

Sometimes it works, sometimes it doesn't.

220120 07-59-21 Selection 001

@binwiederhier
Copy link
Owner Author

Compiled it with go1.18beta1 in the hopes that that'll magically fix it. No dice.

qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x19ed252e9aaf pc=0x43762c]

runtime stack:
runtime: unknown pc 0x11e1
stack: frame={sp:0x4038c935a0, fp:0x0} stack=[0x4038493bd0,0x4038c937d0)
0x0000004038c934a0:  0x0000004038c93500  0x000000000043a0a0 <runtime.throw+0x0000000000000050> 
0x0000004038c934b0:  0x00000140000031e0  0x0000004038c934f8 
0x0000004038c934c0:  0x000000000043a0a0 <runtime.throw+0x0000000000000050>  0x0000004038c934d8 
0x0000004038c934d0:  0x000000000043a088 <runtime.throw+0x0000000000000038>  0x000000000043a2a0 <runtime.fatalthrow.func1+0x0000000000000000> 
0x0000004038c934e0:  0x00000140000031e0  0x000000000043a0a0 <runtime.throw+0x0000000000000050> 
0x0000004038c934f0:  0x0000004038c93500  0x0000004038c93528 
0x0000004038c93500:  0x0000000000450698 <runtime.sigpanic+0x00000000000001e8>  0x0000004038c93510 
0x0000004038c93510:  0x000000000043a0c0 <runtime.throw.func1+0x0000000000000000>  0x0000000000cf3367 
0x0000004038c93520:  0x000000000000002a  0x0000004038c93568 
0x0000004038c93530:  0x000000000043762c <runtime.signalM+0x000000000000002c>  0x0000000000cf3367 
0x0000004038c93540:  0x0000000000000000  0x0000004038c93598 
0x0000004038c93550:  0x0000000000006f5a  0x0000000013b1ba84 
0x0000004038c93560:  0x0000000000437628 <runtime.signalM+0x0000000000000028>  0x0000004038c93598 
0x0000004038c93570:  0x000000000043adf0 <runtime.suspendG+0x0000000000000360>  0x00000000000011e1 
0x0000004038c93580:  0x0000004038c935a0  0x0000000000000017 
0x0000004038c93590:  0x0000000000000017  0x0000004038c93618 
0x0000004038c935a0: <0x00000000004234a0 <runtime.markroot.func1+0x0000000000000090>  0x000019ed0000000a 
0x0000004038c935b0:  0x0000000200001002  0x0000004038c935d8 
0x0000004038c935c0:  0x01000000004238e0  0x0000000000000000 
0x0000004038c935d0:  0x00000a0500000a05  0x000fc192aa9211ea 
0x0000004038c935e0:  0x000019ed25b54d48  0x000fc192aa922572 
0x0000004038c935f0:  0x0000000000024bdc  0x0000000001dbb6cf 
0x0000004038c93600:  0x0000000001e18b00  0x0000000000000000 
0x0000004038c93610:  0x0000000001e18b00  0x0000004038c93668 
0x0000004038c93620:  0x000000000042317c <runtime.markroot+0x00000000000001fc>  0x00000140000021a0 
0x0000004038c93630:  0x0000000000000005  0x0000000000000009 
0x0000004038c93640:  0x0000014000582000  0x00000140000021a0 
0x0000004038c93650:  0x000001400004f738  0x0000004038c93668 
0x0000004038c93660:  0x0000004038c936c0  0x0000004038c93708 
0x0000004038c93670:  0x0000000000425140 <runtime.gcDrain+0x0000000000000420>  0x0000004038c936e8 
0x0000004038c93680:  0x0000000000440f58 <runtime.startm+0x0000000000000138>  0x0100014000034ed0 
0x0000004038c93690:  0x0000000000000001  0x0000004038c936e8 
runtime: unknown pc 0x11e1
stack: frame={sp:0x4038c935a0, fp:0x0} stack=[0x4038493bd0,0x4038c937d0)
0x0000004038c934a0:  0x0000004038c93500  0x000000000043a0a0 <runtime.throw+0x0000000000000050> 
0x0000004038c934b0:  0x00000140000031e0  0x0000004038c934f8 
0x0000004038c934c0:  0x000000000043a0a0 <runtime.throw+0x0000000000000050>  0x0000004038c934d8 
0x0000004038c934d0:  0x000000000043a088 <runtime.throw+0x0000000000000038>  0x000000000043a2a0 <runtime.fatalthrow.func1+0x0000000000000000> 
0x0000004038c934e0:  0x00000140000031e0  0x000000000043a0a0 <runtime.throw+0x0000000000000050> 
0x0000004038c934f0:  0x0000004038c93500  0x0000004038c93528 
0x0000004038c93500:  0x0000000000450698 <runtime.sigpanic+0x00000000000001e8>  0x0000004038c93510 
0x0000004038c93510:  0x000000000043a0c0 <runtime.throw.func1+0x0000000000000000>  0x0000000000cf3367 
0x0000004038c93520:  0x000000000000002a  0x0000004038c93568 
0x0000004038c93530:  0x000000000043762c <runtime.signalM+0x000000000000002c>  0x0000000000cf3367 
0x0000004038c93540:  0x0000000000000000  0x0000004038c93598 
0x0000004038c93550:  0x0000000000006f5a  0x0000000013bb1c13 
0x0000004038c93560:  0x0000000000437628 <runtime.signalM+0x0000000000000028>  0x0000004038c93598 
0x0000004038c93570:  0x000000000043adf0 <runtime.suspendG+0x0000000000000360>  0x00000000000011e1 
0x0000004038c93580:  0x0000004038c935a0  0x0000000000000017 
0x0000004038c93590:  0x0000000000000017  0x0000004038c93618 
0x0000004038c935a0: <0x00000000004234a0 <runtime.markroot.func1+0x0000000000000090>  0x000019ed0000000a 
0x0000004038c935b0:  0x0000000200001002  0x0000004038c935d8 
0x0000004038c935c0:  0x01000000004238e0  0x0000000000000000 
0x0000004038c935d0:  0x00000a0500000a05  0x000fc192aa9211ea 
0x0000004038c935e0:  0x000019ed25be3dc5  0x000fc192aa922572 
0x0000004038c935f0:  0x0000000000025468  0x0000000001dbb6cf 
0x0000004038c93600:  0x0000000001e18b00  0x0000000000000000 
0x0000004038c93610:  0x0000000001e18b00  0x0000004038c93668 
0x0000004038c93620:  0x000000000042317c <runtime.markroot+0x00000000000001fc>  0x00000140000021a0 
0x0000004038c93630:  0x0000000000000005  0x0000000000000009 
0x0000004038c93640:  0x0000014000582000  0x00000140000021a0 
0x0000004038c93650:  0x000001400004f738  0x0000004038c93668 
0x0000004038c93660:  0x0000004038c936c0  0x0000004038c93708 
0x0000004038c93670:  0x0000000000425140 <runtime.gcDrain+0x0000000000000420>  0x0000004038c936e8 
0x0000004038c93680:  0x0000000000440f58 <runtime.startm+0x0000000000000138>  0x0100014000034ed0 
0x0000004038c93690:  0x0000000000000001  0x0000004038c936e8 

goroutine 50 [GC worker (idle)]:
runtime.nanotime(...)
	/home/pheckel/sdk/go1.18beta1/src/runtime/time_nofake.go:19
runtime.suspendG(0x140000021a0)
	/home/pheckel/sdk/go1.18beta1/src/runtime/preempt.go:247 +0x360 fp=0x4038c93620 sp=0x4038c935a0 pc=0x43adf0
runtime.markroot.func1()
	/home/pheckel/sdk/go1.18beta1/src/runtime/mgcmark.go:233 +0x90 fp=0x4038c93670 sp=0x4038c93620 pc=0x4234a0
runtime.markroot(0x1400004f738, 0x14, 0x1)
	/home/pheckel/sdk/go1.18beta1/src/runtime/mgcmark.go:214 +0x1fc fp=0x4038c93710 sp=0x4038c93670 pc=0x42317c
runtime.gcDrain(0x1400004f738, 0x3)
	/home/pheckel/sdk/go1.18beta1/src/runtime/mgcmark.go:1047 +0x420 fp=0x4038c93770 sp=0x4038c93710 pc=0x425140
runtime.gcBgMarkWorker.func2()
	/home/pheckel/sdk/go1.18beta1/src/runtime/mgc.go:1276 +0x98 fp=0x4038c937c0 sp=0x4038c93770 pc=0x421d48
runtime.systemstack()
	/home/pheckel/sdk/go1.18beta1/src/runtime/asm_arm64.s:237 +0x6c fp=0x4038c937d0 sp=0x4038c937c0 pc=0x46710c
created by runtime.gcBgMarkStartWorkers
	/home/pheckel/sdk/go1.18beta1/src/runtime/mgc.go:1131 +0x2c

goroutine 1 [running, locked to thread]:
	goroutine running on other thread; stack unavailable

goroutine 6 [select]:
go.opencensus.io/stats/view.(*worker).start(0x140000c9a00)
	/home/pheckel/.go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0x88
created by go.opencensus.io/stats/view.init.0
	/home/pheckel/.go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0xa8
2 pheckel@plep ~/Code/ntfy(main*) » qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[1]    4617 segmentation fault (core dumped)  qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
139 pheckel@plep ~/Code/ntfy(main*) » qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1 pc=0x1]

runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x1
stack: frame={sp:0x405ad17160, fp:0x405ad17190} stack=[0x4000000a10,0x40007ffa30)

runtime.throw({0xcf3367?, 0x0?})
	/home/pheckel/sdk/go1.18beta1/src/runtime/panic.go:992 +0x50
runtime: unexpected return pc for runtime.sigpanic called from 0x1
stack: frame={sp:0x405ad17160, fp:0x405ad17190} stack=[0x4000000a10,0x40007ffa30)

runtime.sigpanic()
	/home/pheckel/sdk/go1.18beta1/src/runtime/signal_unix.go:781 +0x1e8

goroutine 1 [GC assist marking (scan), locked to thread]:
runtime.systemstack_switch()
	/home/pheckel/sdk/go1.18beta1/src/runtime/asm_arm64.s:194 +0x8 fp=0x1400073f4f0 sp=0x1400073f4e0 pc=0x467088
runtime.gcAssistAlloc(0x140000021a0)
	/home/pheckel/sdk/go1.18beta1/src/runtime/mgcmark.go:468 +0x1c4 fp=0x1400073f550 sp=0x1400073f4f0 pc=0x423c14
runtime.mallocgc(0x30, 0xc9a920, 0x1)
	/home/pheckel/sdk/go1.18beta1/src/runtime/malloc.go:973 +0x140 fp=0x1400073f5c0 sp=0x1400073f550 pc=0x4130b0
runtime.newobject(0x140005ae000?)
	/home/pheckel/sdk/go1.18beta1/src/runtime/malloc.go:1259 +0x30 fp=0x1400073f5f0 sp=0x1400073f5c0 pc=0x4139a0
runtime.makemap_small()
	/home/pheckel/sdk/go1.18beta1/src/runtime/map.go:294 +0x28 fp=0x1400073f620 sp=0x1400073f5f0 pc=0x414598
google.golang.org/genproto/googleapis/firestore/v1.init()
	/home/pheckel/.go/pkg/mod/google.golang.org/genproto@v0.0.0-20211208223120-3a66f561d7aa/googleapis/firestore/v1/write.pb.go:54 +0xfc0 fp=0x1400073f6b0 sp=0x1400073f620 pc=0x994a30
runtime.doInit(0x1dc8da0)
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:6417 +0x134 fp=0x1400073f7f0 sp=0x1400073f6b0 pc=0x44a494
runtime.doInit(0x1dc8560)
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:6394 +0x70 fp=0x1400073f930 sp=0x1400073f7f0 pc=0x44a3d0
runtime.doInit(0x1dcbe20)
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:6394 +0x70 fp=0x1400073fa70 sp=0x1400073f930 pc=0x44a3d0
runtime.doInit(0x1dc68a0)
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:6394 +0x70 fp=0x1400073fbb0 sp=0x1400073fa70 pc=0x44a3d0
runtime.doInit(0x1dcc840)
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:6394 +0x70 fp=0x1400073fcf0 sp=0x1400073fbb0 pc=0x44a3d0
runtime.doInit(0x1dc73e0)
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:6394 +0x70 fp=0x1400073fe30 sp=0x1400073fcf0 pc=0x44a3d0
runtime.doInit(0x1dc0dc0)
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:6394 +0x70 fp=0x1400073ff70 sp=0x1400073fe30 pc=0x44a3d0
runtime.main()
	/home/pheckel/sdk/go1.18beta1/src/runtime/proc.go:238 +0x21c fp=0x1400073ffd0 sp=0x1400073ff70 pc=0x43c63c
runtime.goexit()
	/home/pheckel/sdk/go1.18beta1/src/runtime/asm_arm64.s:1259 +0x4 fp=0x1400073ffd0 sp=0x1400073ffd0 pc=0x4697c4

goroutine 19 [select]:
go.opencensus.io/stats/view.(*worker).start(0x1400014da00)
	/home/pheckel/.go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0x88
created by go.opencensus.io/stats/view.init.0
	/home/pheckel/.go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0xa8
2 pheckel@plep ~/Code/ntfy(main*) » qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
Deprecation notice: Please run the server using 'ntfy serve'; see 'ntfy -h' for help.
This way of running the server will be removed March 2022. See https://ntfy.sh/docs/deprecations/ for details.
2022/01/20 08:07:52 Listening on :2586[http]
^C
130 pheckel@plep ~/Code/ntfy(main*) » qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
Deprecation notice: Please run the server using 'ntfy serve'; see 'ntfy -h' for help.
This way of running the server will be removed March 2022. See https://ntfy.sh/docs/deprecations/ for details.
2022/01/20 08:07:55 Listening on :2586[http]
^C
130 pheckel@plep ~/Code/ntfy(main*) » qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[1]    4827 segmentation fault (core dumped)  qemu-aarch64 dist/ntfy_arm64_linux_arm64/ntfy

@binwiederhier binwiederhier changed the title Docker arm64 doesn't work anymore arm64 build randomly crashes with varying stack traces Jan 20, 2022
@jakuband
Copy link

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
Copy link
Owner Author

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
Copy link
Owner Author

Thanks for testing!

@djmaze
Copy link

djmaze commented 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:

$ file /usr/bin/ntfy 
/usr/bin/ntfy: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, Go BuildID=C-k_QQ5tGpfq0jf2PkzM/g1fJZSinrAJaIbeaILA8/2zJMzfzFaQjc9TW67dR-/TCEZaAXwb380n2_Eu-wc, BuildID[sha1]=3da21a972eee54975e3c908388c495eff5ce8d28, stripped

UPDATE: I can't find any CI build configurations in the repo. Are the images built manually?

@binwiederhier
Copy link
Owner Author

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
Copy link
Owner Author

Alright let me dig a little there:

$ goreleaser build --snapshot --rm-dist
...
   • building binaries
      • building                  binary=/home/pheckel/Code/ntfy/dist/ntfy_linux_amd64/ntfy
      • building                  binary=/home/pheckel/Code/ntfy/dist/ntfy_armv7_linux_arm_7/ntfy
      • building                  binary=/home/pheckel/Code/ntfy/dist/ntfy_arm64_linux_arm64/ntfy

$ dist/ntfy_arm64_linux_arm64/ntfy: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.7.0, BuildID[sha1]=c80ad82a4351d96565be89d878deb8a6a2742522, stripped
dist/ntfy_armv7_linux_arm_7/ntfy: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=1c679c5a3f522d2a2aeef382c6ea115362f5cf48, stripped
dist/ntfy_linux_amd64/ntfy:       ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=07087fa2dcbf4142eb2515b28029aed3646ddfec, stripped

So that's correct ^^

But you are right, the Docker image does contain the wrong architecture binary:

$ docker save binwiederhier/ntfy:v1.14.0-arm64v8 --output arm.tar
...

... 82aa459bdd30b7fc67baba1c3c31489c9122ba351f43b868900beba3556b880f/usr/bin(main) » file ntfy 
ntfy: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=3da21a972eee54975e3c908388c495eff5ce8d28, stripped

This must be an issue with GoReleaser or my config then. I'll look.

@binwiederhier
Copy link
Owner Author

This line seems off:

      • looking for artifacts matching docker={ [] linux amd64  Dockerfile [binwiederhier/ntfy:{{ .Tag }}-arm64v8]  [] [--platform=linux/arm64/v8] [] false buildx}

@djmaze
Copy link

djmaze commented Feb 10, 2022

Seems you are missing goarch and goarm lines in the arm64 dockers section?

@binwiederhier
Copy link
Owner Author

Yup I just saw that too. I'll release v1.14.1 now.

Here's the fix: 8187b49

Thank you very much for helping find this. I don't know how that ever worked, or maybe it got removed 🤷

@djmaze
Copy link

djmaze commented Feb 10, 2022

Seems you had it removed accidentally :)

093154f#diff-42e26dc67aed8aa3edb2472b4403288c1699fb6dc47419b9a475f0f224fe4689L92

@binwiederhier
Copy link
Owner Author

Indeed ... :-)
Released in https://github.com/binwiederhier/ntfy/releases/tag/v1.14.1

@djmaze
Copy link

djmaze commented Feb 10, 2022

The new arm64 docker image seems to work. Thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working server Relates to the main binary (server or client)
Projects
None yet
Development

No branches or pull requests

3 participants