[GH-ISSUE #770] Unable to run ntfy on Docker - unknown pc error #553

Closed
opened 2026-05-07 00:25:22 +02:00 by BreizhHardware · 2 comments

Originally created by @jnware on GitHub (Jun 9, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/770

🐞 Describe the bug
I followed the Docker install instructions and am unable to run the ntfy docker image on my machine. It fails the same way whether starting via the basic docker command, or via docker-compose.

runtime: g 0: unknown pc 0xd7ad0c

(full logs below)

It appears to be failing due to something in the go compiler? I'm not very familiar with go, but I have over a dozen other Docker images of various types running on this machine, and have been for several years, without any issues like this one. So I'm not sure if it's an issue with my server environment, but the error seems to suggest it is more likely an issue with the packaged image.

💻 Components impacted
Ubuntu 18.04 LTS
uname -a

Linux ubuntu-nas 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

lscpu

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  2
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               94
Model name:          Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Stepping:            3
CPU MHz:             802.882
CPU max MHz:         4000.0000
CPU min MHz:         800.0000
BogoMIPS:            6799.81
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            8192K
NUMA node0 CPU(s):   0-7

Docker version 20.10.7, build f0df350
Docker Compose version v2.15.1

💡 Screenshots and/or logs

ntfy  | runtime/cgo: pthread_create failed: Operation not permitted
ntfy  | SIGABRT: abort
ntfy  | PC=0xd7ad0c m=0 sigcode=18446744073709551610
ntfy  |
ntfy  | goroutine 0 [idle]:
ntfy  | runtime: g 0: unknown pc 0xd7ad0c
ntfy  | stack: frame={sp:0x7fff467a5620, fp:0x0} stack=[0x7fff45fa6ba0,0x7fff467a5bb0)
ntfy  | 0x00007fff467a5520:  0x000000000041a8d9 <runtime.sysMapOS+0x0000000000000039>  0x0000000000000000
ntfy  | 0x00007fff467a5530:  0x00007fd176aa5000  0x000000000041a865 <runtime.sysHugePageOS+0x0000000000000065>
ntfy  | 0x00007fff467a5540:  0x00007fd178e00000  0x0000000000200000
ntfy  | 0x00007fff467a5550:  0x000000000000000e  0x00007fd100000000
ntfy  | 0x00007fff467a5560:  0x00007fff467a5590  0x0000000000d5dcfc
ntfy  | 0x00007fff467a5570:  0x00007fd178cb6000  0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e>
ntfy  | 0x00007fff467a5580:  0x00007fff467a5588  0x00007fd178cb6000
ntfy  | 0x00007fff467a5590:  0x00007fff467a5600  0x0000000000d5dcfc
ntfy  | 0x00007fff467a55a0:  0x000000000040572f <runtime.mmap.func1+0x000000000000004f>  0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e>
ntfy  | 0x00007fff467a55b0:  0x00007fff467a55b8  0x0000000000000000
ntfy  | 0x00007fff467a55c0:  0x0000000000000120  0x000000120042ea6d
ntfy  | 0x00007fff467a55d0:  0x0000000000de96d0  0x000000001c000004
ntfy  | 0x00007fff467a55e0:  0x0000000000000110  0x0000000000000000
ntfy  | 0x00007fff467a55f0:  0x00007fd176ca4fff  0x0000000000000001
ntfy  | 0x00007fff467a5600:  0x0000000000000004  0x0000003400000012
ntfy  | 0x00007fff467a5610:  0x0000000000000000  0x0000000000d7acfe
ntfy  | 0x00007fff467a5620: <0x0000000000000000  0x000000770000007c
ntfy  | 0x00007fff467a5630:  0x0000005b0000006e  0x0000000000203000
ntfy  | 0x00007fff467a5640:  0x0000000000000400  0x0000000000db8fb1
ntfy  | 0x00007fff467a5650:  0x00007fd176984640  0x00007fff467a5930
ntfy  | 0x00007fff467a5660:  0x00007fff467a579e  0x00007fff467a579f
ntfy  | 0x00007fff467a5670:  0x0000000000000000  0x0000000000d79189
ntfy  | 0x00007fff467a5680:  0x0000000000800280 <github.com/olebedev/when/rules/en.PastTime.func1+0x0000000000000360>  0x0000000000002030
ntfy  | 0x00007fff467a5690:  0x00000000003d0f00  0x00007fd176984910
ntfy  | 0x00007fff467a56a0:  0x00007fd176984910  0xa4948c1b2a2cc100
ntfy  | 0x00007fff467a56b0:  0x00000000040c83c0  0x0000000000000006
ntfy  | 0x00007fff467a56c0:  0x00000000040c97b0  0x0000000000000178
ntfy  | 0x00007fff467a56d0:  0x0000000002cd08c0  0x0000000000d668c6
ntfy  | 0x00007fff467a56e0:  0x0000000002d01960  0x00000000004013c1
ntfy  | 0x00007fff467a56f0:  0x0000000000000020  0x00007fd176984640
ntfy  | 0x00007fff467a5700:  0x0000000000000000  0x00007fff467a5930
ntfy  | 0x00007fff467a5710:  0x00007fd176984640  0x0000000000d79fba
ntfy  | runtime: g 0: unknown pc 0xd7ad0c
ntfy  | stack: frame={sp:0x7fff467a5620, fp:0x0} stack=[0x7fff45fa6ba0,0x7fff467a5bb0)
ntfy  | 0x00007fff467a5520:  0x000000000041a8d9 <runtime.sysMapOS+0x0000000000000039>  0x0000000000000000
ntfy  | 0x00007fff467a5530:  0x00007fd176aa5000  0x000000000041a865 <runtime.sysHugePageOS+0x0000000000000065>
ntfy  | 0x00007fff467a5540:  0x00007fd178e00000  0x0000000000200000
ntfy  | 0x00007fff467a5550:  0x000000000000000e  0x00007fd100000000
ntfy  | 0x00007fff467a5560:  0x00007fff467a5590  0x0000000000d5dcfc
ntfy  | 0x00007fff467a5570:  0x00007fd178cb6000  0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e>
ntfy  | 0x00007fff467a5580:  0x00007fff467a5588  0x00007fd178cb6000
ntfy  | 0x00007fff467a5590:  0x00007fff467a5600  0x0000000000d5dcfc
ntfy  | 0x00007fff467a55a0:  0x000000000040572f <runtime.mmap.func1+0x000000000000004f>  0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e>
ntfy  | 0x00007fff467a55b0:  0x00007fff467a55b8  0x0000000000000000
ntfy  | 0x00007fff467a55c0:  0x0000000000000120  0x000000120042ea6d
ntfy  | 0x00007fff467a55d0:  0x0000000000de96d0  0x000000001c000004
ntfy  | 0x00007fff467a55e0:  0x0000000000000110  0x0000000000000000
ntfy  | 0x00007fff467a55f0:  0x00007fd176ca4fff  0x0000000000000001
ntfy  | 0x00007fff467a5600:  0x0000000000000004  0x0000003400000012
ntfy  | 0x00007fff467a5610:  0x0000000000000000  0x0000000000d7acfe
ntfy  | 0x00007fff467a5620: <0x0000000000000000  0x000000770000007c
ntfy  | 0x00007fff467a5630:  0x0000005b0000006e  0x0000000000203000
ntfy  | 0x00007fff467a5640:  0x0000000000000400  0x0000000000db8fb1
ntfy  | 0x00007fff467a5650:  0x00007fd176984640  0x00007fff467a5930
ntfy  | 0x00007fff467a5660:  0x00007fff467a579e  0x00007fff467a579f
ntfy  | 0x00007fff467a5670:  0x0000000000000000  0x0000000000d79189
ntfy  | 0x00007fff467a5680:  0x0000000000800280 <github.com/olebedev/when/rules/en.PastTime.func1+0x0000000000000360>  0x0000000000002030
ntfy  | 0x00007fff467a5690:  0x00000000003d0f00  0x00007fd176984910
ntfy  | 0x00007fff467a56a0:  0x00007fd176984910  0xa4948c1b2a2cc100
ntfy  | 0x00007fff467a56b0:  0x00000000040c83c0  0x0000000000000006
ntfy  | 0x00007fff467a56c0:  0x00000000040c97b0  0x0000000000000178
ntfy  | 0x00007fff467a56d0:  0x0000000002cd08c0  0x0000000000d668c6
ntfy  | 0x00007fff467a56e0:  0x0000000002d01960  0x00000000004013c1
ntfy  | 0x00007fff467a56f0:  0x0000000000000020  0x00007fd176984640
ntfy  | 0x00007fff467a5700:  0x0000000000000000  0x00007fff467a5930
ntfy  | 0x00007fff467a5710:  0x00007fd176984640  0x0000000000d79fba
ntfy  |
ntfy  | goroutine 1 [running]:
ntfy  | runtime.systemstack_switch()
ntfy  |         /opt/hostedtoolcache/go/1.19.9/x64/src/runtime/asm_amd64.s:459 fp=0xc00006a780 sp=0xc00006a778 pc=0x46dc60
ntfy  | runtime.main()
ntfy  |         /opt/hostedtoolcache/go/1.19.9/x64/src/runtime/proc.go:170 +0x6d fp=0xc00006a7e0 sp=0xc00006a780 pc=0x43e1ad
ntfy  | runtime.goexit()
ntfy  |         /opt/hostedtoolcache/go/1.19.9/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006a7e8 sp=0xc00006a7e0 pc=0x46fe81
ntfy  |
ntfy  | rax    0x0
ntfy  | rbx    0x40c83c0
ntfy  | rcx    0xd7ad0c
ntfy  | rdx    0x6
ntfy  | rdi    0x1
ntfy  | rsi    0x1
ntfy  | rbp    0x1
ntfy  | rsp    0x7fff467a5620
ntfy  | r8     0x7fff467a56f0
ntfy  | r9     0x0
ntfy  | r10    0x8
ntfy  | r11    0x246
ntfy  | r12    0x6
ntfy  | r13    0x16
ntfy  | r14    0x2cd08c0
ntfy  | r15    0x7fd176aa535b
ntfy  | rip    0xd7ad0c
ntfy  | rflags 0x246
ntfy  | cs     0x33
ntfy  | fs     0x0
ntfy  | gs     0x0

🔮 Additional context

Originally created by @jnware on GitHub (Jun 9, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/770 :lady_beetle: **Describe the bug** I followed the [Docker install instructions](https://docs.ntfy.sh/install/#docker) and am unable to run the ntfy docker image on my machine. It fails the same way whether starting via the basic docker command, or via docker-compose. ``` runtime: g 0: unknown pc 0xd7ad0c ``` (full logs below) It appears to be failing due to something in the go compiler? I'm not very familiar with go, but I have over a dozen other Docker images of various types running on this machine, and have been for several years, without any issues like this one. So I'm not sure if it's an issue with my server environment, but the error seems to suggest it is more likely an issue with the packaged image. :computer: **Components impacted** Ubuntu 18.04 LTS `uname -a` ``` Linux ubuntu-nas 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ``` `lscpu` ``` Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 94 Model name: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz Stepping: 3 CPU MHz: 802.882 CPU max MHz: 4000.0000 CPU min MHz: 800.0000 BogoMIPS: 6799.81 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-7 ``` Docker version 20.10.7, build f0df350 Docker Compose version v2.15.1 :bulb: **Screenshots and/or logs** ``` ntfy | runtime/cgo: pthread_create failed: Operation not permitted ntfy | SIGABRT: abort ntfy | PC=0xd7ad0c m=0 sigcode=18446744073709551610 ntfy | ntfy | goroutine 0 [idle]: ntfy | runtime: g 0: unknown pc 0xd7ad0c ntfy | stack: frame={sp:0x7fff467a5620, fp:0x0} stack=[0x7fff45fa6ba0,0x7fff467a5bb0) ntfy | 0x00007fff467a5520: 0x000000000041a8d9 <runtime.sysMapOS+0x0000000000000039> 0x0000000000000000 ntfy | 0x00007fff467a5530: 0x00007fd176aa5000 0x000000000041a865 <runtime.sysHugePageOS+0x0000000000000065> ntfy | 0x00007fff467a5540: 0x00007fd178e00000 0x0000000000200000 ntfy | 0x00007fff467a5550: 0x000000000000000e 0x00007fd100000000 ntfy | 0x00007fff467a5560: 0x00007fff467a5590 0x0000000000d5dcfc ntfy | 0x00007fff467a5570: 0x00007fd178cb6000 0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e> ntfy | 0x00007fff467a5580: 0x00007fff467a5588 0x00007fd178cb6000 ntfy | 0x00007fff467a5590: 0x00007fff467a5600 0x0000000000d5dcfc ntfy | 0x00007fff467a55a0: 0x000000000040572f <runtime.mmap.func1+0x000000000000004f> 0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e> ntfy | 0x00007fff467a55b0: 0x00007fff467a55b8 0x0000000000000000 ntfy | 0x00007fff467a55c0: 0x0000000000000120 0x000000120042ea6d ntfy | 0x00007fff467a55d0: 0x0000000000de96d0 0x000000001c000004 ntfy | 0x00007fff467a55e0: 0x0000000000000110 0x0000000000000000 ntfy | 0x00007fff467a55f0: 0x00007fd176ca4fff 0x0000000000000001 ntfy | 0x00007fff467a5600: 0x0000000000000004 0x0000003400000012 ntfy | 0x00007fff467a5610: 0x0000000000000000 0x0000000000d7acfe ntfy | 0x00007fff467a5620: <0x0000000000000000 0x000000770000007c ntfy | 0x00007fff467a5630: 0x0000005b0000006e 0x0000000000203000 ntfy | 0x00007fff467a5640: 0x0000000000000400 0x0000000000db8fb1 ntfy | 0x00007fff467a5650: 0x00007fd176984640 0x00007fff467a5930 ntfy | 0x00007fff467a5660: 0x00007fff467a579e 0x00007fff467a579f ntfy | 0x00007fff467a5670: 0x0000000000000000 0x0000000000d79189 ntfy | 0x00007fff467a5680: 0x0000000000800280 <github.com/olebedev/when/rules/en.PastTime.func1+0x0000000000000360> 0x0000000000002030 ntfy | 0x00007fff467a5690: 0x00000000003d0f00 0x00007fd176984910 ntfy | 0x00007fff467a56a0: 0x00007fd176984910 0xa4948c1b2a2cc100 ntfy | 0x00007fff467a56b0: 0x00000000040c83c0 0x0000000000000006 ntfy | 0x00007fff467a56c0: 0x00000000040c97b0 0x0000000000000178 ntfy | 0x00007fff467a56d0: 0x0000000002cd08c0 0x0000000000d668c6 ntfy | 0x00007fff467a56e0: 0x0000000002d01960 0x00000000004013c1 ntfy | 0x00007fff467a56f0: 0x0000000000000020 0x00007fd176984640 ntfy | 0x00007fff467a5700: 0x0000000000000000 0x00007fff467a5930 ntfy | 0x00007fff467a5710: 0x00007fd176984640 0x0000000000d79fba ntfy | runtime: g 0: unknown pc 0xd7ad0c ntfy | stack: frame={sp:0x7fff467a5620, fp:0x0} stack=[0x7fff45fa6ba0,0x7fff467a5bb0) ntfy | 0x00007fff467a5520: 0x000000000041a8d9 <runtime.sysMapOS+0x0000000000000039> 0x0000000000000000 ntfy | 0x00007fff467a5530: 0x00007fd176aa5000 0x000000000041a865 <runtime.sysHugePageOS+0x0000000000000065> ntfy | 0x00007fff467a5540: 0x00007fd178e00000 0x0000000000200000 ntfy | 0x00007fff467a5550: 0x000000000000000e 0x00007fd100000000 ntfy | 0x00007fff467a5560: 0x00007fff467a5590 0x0000000000d5dcfc ntfy | 0x00007fff467a5570: 0x00007fd178cb6000 0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e> ntfy | 0x00007fff467a5580: 0x00007fff467a5588 0x00007fd178cb6000 ntfy | 0x00007fff467a5590: 0x00007fff467a5600 0x0000000000d5dcfc ntfy | 0x00007fff467a55a0: 0x000000000040572f <runtime.mmap.func1+0x000000000000004f> 0x0000000000471c7e <runtime.callCgoMmap+0x000000000000003e> ntfy | 0x00007fff467a55b0: 0x00007fff467a55b8 0x0000000000000000 ntfy | 0x00007fff467a55c0: 0x0000000000000120 0x000000120042ea6d ntfy | 0x00007fff467a55d0: 0x0000000000de96d0 0x000000001c000004 ntfy | 0x00007fff467a55e0: 0x0000000000000110 0x0000000000000000 ntfy | 0x00007fff467a55f0: 0x00007fd176ca4fff 0x0000000000000001 ntfy | 0x00007fff467a5600: 0x0000000000000004 0x0000003400000012 ntfy | 0x00007fff467a5610: 0x0000000000000000 0x0000000000d7acfe ntfy | 0x00007fff467a5620: <0x0000000000000000 0x000000770000007c ntfy | 0x00007fff467a5630: 0x0000005b0000006e 0x0000000000203000 ntfy | 0x00007fff467a5640: 0x0000000000000400 0x0000000000db8fb1 ntfy | 0x00007fff467a5650: 0x00007fd176984640 0x00007fff467a5930 ntfy | 0x00007fff467a5660: 0x00007fff467a579e 0x00007fff467a579f ntfy | 0x00007fff467a5670: 0x0000000000000000 0x0000000000d79189 ntfy | 0x00007fff467a5680: 0x0000000000800280 <github.com/olebedev/when/rules/en.PastTime.func1+0x0000000000000360> 0x0000000000002030 ntfy | 0x00007fff467a5690: 0x00000000003d0f00 0x00007fd176984910 ntfy | 0x00007fff467a56a0: 0x00007fd176984910 0xa4948c1b2a2cc100 ntfy | 0x00007fff467a56b0: 0x00000000040c83c0 0x0000000000000006 ntfy | 0x00007fff467a56c0: 0x00000000040c97b0 0x0000000000000178 ntfy | 0x00007fff467a56d0: 0x0000000002cd08c0 0x0000000000d668c6 ntfy | 0x00007fff467a56e0: 0x0000000002d01960 0x00000000004013c1 ntfy | 0x00007fff467a56f0: 0x0000000000000020 0x00007fd176984640 ntfy | 0x00007fff467a5700: 0x0000000000000000 0x00007fff467a5930 ntfy | 0x00007fff467a5710: 0x00007fd176984640 0x0000000000d79fba ntfy | ntfy | goroutine 1 [running]: ntfy | runtime.systemstack_switch() ntfy | /opt/hostedtoolcache/go/1.19.9/x64/src/runtime/asm_amd64.s:459 fp=0xc00006a780 sp=0xc00006a778 pc=0x46dc60 ntfy | runtime.main() ntfy | /opt/hostedtoolcache/go/1.19.9/x64/src/runtime/proc.go:170 +0x6d fp=0xc00006a7e0 sp=0xc00006a780 pc=0x43e1ad ntfy | runtime.goexit() ntfy | /opt/hostedtoolcache/go/1.19.9/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006a7e8 sp=0xc00006a7e0 pc=0x46fe81 ntfy | ntfy | rax 0x0 ntfy | rbx 0x40c83c0 ntfy | rcx 0xd7ad0c ntfy | rdx 0x6 ntfy | rdi 0x1 ntfy | rsi 0x1 ntfy | rbp 0x1 ntfy | rsp 0x7fff467a5620 ntfy | r8 0x7fff467a56f0 ntfy | r9 0x0 ntfy | r10 0x8 ntfy | r11 0x246 ntfy | r12 0x6 ntfy | r13 0x16 ntfy | r14 0x2cd08c0 ntfy | r15 0x7fd176aa535b ntfy | rip 0xd7ad0c ntfy | rflags 0x246 ntfy | cs 0x33 ntfy | fs 0x0 ntfy | gs 0x0 ``` :crystal_ball: **Additional context** <!-- Add any other context about the problem here. -->
BreizhHardware 2026-05-07 00:25:22 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@nimbleghost commented on GitHub (Jun 9, 2023):

Docker 20.10 is EoL by the end of the year, could you try a newer version? I see some other similar issues on other repositories with go + Docker, and the suggested solution is to upgrade Docker.

You can use an up to date Docker version with the apt repository: https://docs.docker.com/engine/install/ubuntu/

Related: https://github.com/moby/moby/issues/42680

<!-- gh-comment-id:1584130918 --> @nimbleghost commented on GitHub (Jun 9, 2023): Docker 20.10 is EoL by the end of the year, could you try a newer version? I see some other similar issues on other repositories with go + Docker, and the suggested solution is to upgrade Docker. You can use an up to date Docker version with the apt repository: https://docs.docker.com/engine/install/ubuntu/ Related: https://github.com/moby/moby/issues/42680
Author
Owner

@jnware commented on GitHub (Jun 9, 2023):

Docker 20.10 is EoL by the end of the year, could you try a newer version? I see some other similar issues on other repositories with go + Docker, and the suggested solution is to upgrade Docker.

You can use an up to date Docker version with the apt repository: https://docs.docker.com/engine/install/ubuntu/

Related: moby/moby#42680

Thanks! I installed Docker 24 and now it's working! 🎉

<!-- gh-comment-id:1585281663 --> @jnware commented on GitHub (Jun 9, 2023): > Docker 20.10 is EoL by the end of the year, could you try a newer version? I see some other similar issues on other repositories with go + Docker, and the suggested solution is to upgrade Docker. > > You can use an up to date Docker version with the apt repository: https://docs.docker.com/engine/install/ubuntu/ > > Related: [moby/moby#42680](https://github.com/moby/moby/issues/42680) Thanks! I installed Docker 24 and now it's working! :tada:
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/ntfy#553
No description provided.