Git Product home page Git Product logo

Comments (8)

AdamMajer avatar AdamMajer commented on June 7, 2024

I don't see this error in main branch, so it's fixed there.

from gitea.

wxiaoguang avatar wxiaoguang commented on June 7, 2024

I did some following up fixes like #30877 (and it has been backported)

could you try 1.22 nightly?

from gitea.

AdamMajer avatar AdamMajer commented on June 7, 2024

Where is the 1.22 nightly?

The change looks like version checks only which should not be an issue. But I'll find what fixed it :-)

from gitea.

AdamMajer avatar AdamMajer commented on June 7, 2024

Gitea in release/v1.22 seems to work.

from gitea.

wxiaoguang avatar wxiaoguang commented on June 7, 2024

Where is the 1.22 nightly?

Get 1.22 nightly:

Gitea in release/v1.22 seems to work.

Yup, I think it has been fixed by the way.

from gitea.

wxiaoguang avatar wxiaoguang commented on June 7, 2024

Gitea in release/v1.22 seems to work.

So I guess this issue could be closed as completed? πŸ€”

from gitea.

AdamMajer avatar AdamMajer commented on June 7, 2024

I did some following up fixes like #30877 (and it has been backported)

Confirmed, it's fixed by this PR. Thanks!

from gitea.

AdamMajer avatar AdamMajer commented on June 7, 2024

Just to add some background here as to the reason this was happening, if someone else stumbles on this here,

  1. sha256 support is conditional on newer git tools version
  2. this check is run as part of InitFull() but not part of InitSimple()
  3. InitSimple() was only run when gitea commands/hooks are run.
  4. The patch mentioned above checks the git version always, not just in the main process.
  5. CommitID parser doesn't have an error handler in this codepath hence SIGSEGV.

from gitea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.