Skip to content

gitea-1.21.2 is not compatible with Windows 7 #29586

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

Closed
znsoooo opened this issue Mar 4, 2024 · 7 comments
Closed

gitea-1.21.2 is not compatible with Windows 7 #29586

znsoooo opened this issue Mar 4, 2024 · 7 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@znsoooo
Copy link

znsoooo commented Mar 4, 2024

Description

After testing in all patch versions between v1.20.0 and v1.21.7 (including both gogit and non-gogit versions), I found that all versions<=v1.21.1 are running normally on Windows 7, and all versions>=v1.21.2 are crashed on Windows 7. (there even isn't any logs print out)

Run program in CMD:
The highest supported version of Gitea for Windows 7 is v1.21.1

As we all know Windows 7 is no longer supported by Microsoft, but the compatibility bug occurred only between the patch version v1.21.1 and v1.21.2. So I suspected that a minor change might have caused this compatibility issue.

If possible, it is hoped that this issue can be solved in future releases.

Gitea Version

1.21.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.34.0.windows.1

Operating System

windows 7

How are you running Gitea?

Download Windows EXE file from: https://dl.gitea.com/gitea/

Database

None

@znsoooo znsoooo changed the title gitea-1.21.2 is not supporting Windows 7 gitea-1.21.2 is not compatible with Windows 7 Mar 4, 2024
@lunny
Copy link
Member

lunny commented Mar 4, 2024

Because Gitea 1.21 was built by Golang 1.21 which have dropped support for windows 7. https://tip.golang.org/doc/go1.21#windows

This comment was marked as resolved.

@lunny lunny added issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail and removed type/bug labels Mar 4, 2024
@znsoooo
Copy link
Author

znsoooo commented Mar 4, 2024

Because Gitea 1.21 was built by Golang 1.21 which have dropped support for windows 7. https://tip.golang.org/doc/go1.21#windows

@lunny But why v1.21 and v1.21.0 and v1.21.1 can work well?

@lunny
Copy link
Member

lunny commented Mar 4, 2024

Because Gitea 1.21 was built by Golang 1.21 which have dropped support for windows 7. https://tip.golang.org/doc/go1.21#windows

@lunny But why v1.21 and v1.21.0 and v1.21.1 can work well?

It's wired. Maybe it's related to Golang's minor version? I have no idea.

@KN4CK3R
Copy link
Member

KN4CK3R commented Mar 4, 2024

Can confirm but I get an error message:

> gitea-1.21.7-windows-4.0-386.exe
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall()
        /usr/local/go/src/runtime/sys_windows_386.s:35 +0x25 fp=0x22fdb8 sp=0x22fdb4 pc=0x4780f5

And that's expected behaviour golang/go#64602

The fact that your program built with 1.21.4 was running without problems may have been luck.

Should be the same in our case.

@techknowlogick
Copy link
Member

Hi @znsoooo, sorry for the comment from algora above. There was a bug where it detected a trigger word from the golang URL posted. If you wish I can also refund the tip you provided.

Sadly, the project itself is unable to support older versions of Golang as Gitea does use features from newer versions of golang. So this error is expected as it is related to Golang's supported OSes. However, if you are interested in an extended support release that is built with a lower version of Golang please reach out to me and I can help you with that.

I will now close this issue.

@techknowlogick techknowlogick closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@znsoooo
Copy link
Author

znsoooo commented Mar 4, 2024

@KN4CK3R @techknowlogick Thank you for your answers!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

4 participants