-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Swagger API makes server to fail on panic #21869
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
Comments
I am starting it without admin rights elevation |
Does your executable's architecture match your own? |
It could be a bug in blevesearch for 32bit code. Golang i386 code can not do atomic operations on unaligned 64bit fields. So, use 64bit (amd64) release and everything will be fine. |
Looking at the logs we see a panic due to an unaligned atomic. So I think we need to know a bit more about your architecture. As @yardenshoham says are you running the correct version for your architecture? If so, if we look at https://github.com/blevesearch/zapx/blame/master/contentcoder.go. We see this:
Now the If you're definitely using the correct architecture then this would constitute a bug in https://github.com/blevesearch/zapx/ |
See: blevesearch/zapx#147 |
Hi, thanks. I am using gitea-1.18-gogit-windows-4.0-386. I will try amd64 then. I think I have 64bit system. Then I will pass my result here. |
@wxiaoguang , @zeripath , @yardenshoham : I have downloaded amd64 package and tried the same action several times on previously existing database. |
configuration problem on my side. |
Description
When I use swagger page call:
http://localhost:3000/api/swagger#/issue/issueCreateIssue
operation is successful but server is terminated on panic.
JSONInput.txt
CLIOutput.txt
Logs
Gitea Version
1.18.0+rc0-23-gaf8b2250c
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
I cannot verify it on web site.
Git Version
git version 2.33.0.windows.2
Operating System
Microsoft Windows [Version 10.0.19044.2251]
How are you running Gitea?
Gitea downloaded from here:
https://dl.gitea.io/gitea/1.18
run via cmd command in console.
Database
SQLite
The text was updated successfully, but these errors were encountered: