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

runtime/cgo: pthread_create failed: Operation not permitted #590

Closed
3 of 12 tasks
setop opened this issue Sep 1, 2023 · 1 comment
Closed
3 of 12 tasks

runtime/cgo: pthread_create failed: Operation not permitted #590

setop opened this issue Sep 1, 2023 · 1 comment
Labels
a:bug Something isn't working

Comments

@setop
Copy link

setop commented Sep 1, 2023

Can the issue be reproduced with the latest available release? (y/n)

Which one is the environment gotify server is running in?

  • Docker
  • Linux machine
  • Windows machine
Docker startup command or config file here (please mask sensitive information)
startup command set in the image from docker hub
$ uname -a
Linux REDACTED 4.14.96-coreos-r1 #1 SMP Tue Feb 12 21:16:22 -00 2019 x86_64 Intel(R) Atom(TM) CPU N2800 @ 1.86GHz GenuineIntel GNU/Linux

$ docker version
Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       e68fc7a
  Built:            Tue Aug 21 17:16:31 2018
  OS/Arch:          linux/amd64
  Experimental:     false


Do you have an reverse proxy installed in front of gotify server? (Please select None if the problem can be reproduced without the presense of a reverse proxy)

  • None
  • Nginx
  • Apache
  • Caddy
  • Traefik
Reverse proxy configuration (please mask sensitive information)
traefik.enable: true
traefik.http.routers.gotify.rule: "Host(`REDACTED`)"
traefik.http.routers.gotify.entrypoints: websecure
traefik.http.routers.gotify.tls: true
traefik.http.routers.gotify.tls.certresolver: "le"

On which client do you experience problems? (Select as many as you can see)

  • WebUI
  • gotify-cli
  • Android Client
  • 3rd-party API call (Please include your code)

What did you do?

Launch container with latest image.

What did you expect to see?

Server running

What did you see instead? (Include screenshots, android logcat/request dumps if possible)

  • v2.0.23 : ok
  • v2.1.7: ok
  • v2.2.5 : ERROR
  • v2.3.0 (latest) : ERROR
runtime/cgo: pthread_create failed: Operation not permitted
SIGABRT: abort
PC=0x7f104089bccc m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: g 0: unknown pc 0x7f104089bccc
stack: frame={sp:0x7ffc7f897390, fp:0x0} stack=[0x7ffc7f098810,0x7ffc7f897820)
0x00007ffc7f897290:  0x0000000000000000  0x0000000000000000 
0x00007ffc7f8972a0:  0x0000000000000000  0x00000000006b3c87 <runtime.sysUsedOS+0x0000000000000027> 
0x00007ffc7f8972b0:  0x00000000006c8fc5 <runtime.(*pageCache).allocN+0x00000000000000c5>  0x00007ffc7f897518 
0x00007ffc7f8972c0:  0x000000f000000000  0x0000000000000024 
0x00007ffc7f8972d0:  0x00007ffc7f8974e8  0x00000000006b3705 <runtime.sysUsed+0x0000000000000025> 
0x00007ffc7f8972e0:  0x0000000000f6f13d  0x0000000000000006 
0x00007ffc7f8972f0:  0x0000000001ad27cb  0x0000000000000000 
0x00007ffc7f897300:  0x0000000000f6f08f  0x00007f104091a60d 
0x00007ffc7f897310:  0x00007f101937c6c0  0x00007ffc7f8975a0 
0x00007ffc7f897320:  0x00007ffc7f897446  0x0000000000000000 
0x00007ffc7f897330:  0x00007ffc7f897447  0x00007f1040899c10 
0x00007ffc7f897340:  0x00000000027ec2f0  0x0000000000020d10 
0x00007ffc7f897350:  0x00000000003d0f00  0x00007f101937c990 
0x00007ffc7f897360:  0x00007f101937c990  0x00007f1040909134 
0x00007ffc7f897370:  0x0000000000000000  0x000000000000000d 
0x00007ffc7f897380:  0x000000000162d640  0x00007f104089bcbe 
0x00007ffc7f897390: <0x0000000000000000  0x53e3643f2853c400 
0x00007ffc7f8973a0:  0x0000000000000006  0x00007f104080e740 
0x00007ffc7f8973b0:  0x00000000027ec2e0  0x0000000000000178 
0x00007ffc7f8973c0:  0x0000000001aa0ba0  0x00007f104084cef2 
0x00007ffc7f8973d0:  0x00007f10409e4e70  0x00007f1040837472 
0x00007ffc7f8973e0:  0x0000000000000020  0x00007f10409e4703 
0x00007ffc7f8973f0:  0x0000000000000d68  0x00007f1040891220 
0x00007ffc7f897400:  0x00007f10409e05e0  0x0000000000000001 
0x00007ffc7f897410:  0x000000000000000a  0x00007f104080e740 
0x00007ffc7f897420:  0x0000000000000178  0x0000000001aa0ba0 
0x00007ffc7f897430:  0x00007f101949d35b  0x00007f1040892e79 
0x00007ffc7f897440:  0x00007f10409e4680  0x00007f1040893283 
0x00007ffc7f897450:  0x00007f10409e4680  0x000000000000000a 
0x00007ffc7f897460:  0x00007f104080e740  0x00007f104088e80a 
0x00007ffc7f897470:  0x00007f10409e4840  0x53e3643f2853c400 
0x00007ffc7f897480:  0x00007f10409e4840  0x00007f10409e4840 
@setop setop added the a:bug Something isn't working label Sep 1, 2023
@jmattheis
Copy link
Member

Update your docker version. Having a 5-year-old installation isn't secure. See docker-library/golang#467 for explanation & workaround.

@jmattheis jmattheis closed this as not planned Won't fix, can't repro, duplicate, stale Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug Something isn't working
Development

No branches or pull requests

2 participants