Coder Social home page Coder Social logo

Comments (4)

unknwon avatar unknwon commented on June 7, 2024 1

Thanks again for the report!

#7699 has been merged that should address the panic. I am not sure how long it takes for the whatever package manager you use to pick up the changes tho...

from gogs.

dennisvanderpool avatar dennisvanderpool commented on June 7, 2024

Thanks, is it confirmed a bug? I thought I wanted to revert to a backup as I thought I caused it?
Is my DB corrupted or would an update fix it as soon fix has been made or unknown yet?
Anyway I can help out?

Thanks 😊

Here is my version of the error:

PS C:\git\Sample> git push -u origin master

Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 32 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 1.13 KiB | 1.13 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)

remote: panic: runtime error: invalid memory address or nil pointer dereference
remote: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xea4497]
remote:
remote: goroutine 1 [running]:
remote: gogs.io/gogs/internal/database.(*DB).Actions(...)
remote:         gogs.io/gogs/internal/database/database.go:161
remote: gogs.io/gogs/internal/database.PushUpdate({{0xc000708390, 0x28}, {0xc0007083c0, 0x28}, {0xc00062d488, 0x11}, 0x1, {0xc00004e034, 0x6}, {0xc00004e015, ...}, ...})
remote:         gogs.io/gogs/internal/database/update.go:130 +0x5f7
remote: gogs.io/gogs/internal/cmd.runHookPostReceive(0xc0004831e0?)
remote:         gogs.io/gogs/internal/cmd/hook.go:229 +0x37d
remote: github.com/urfave/cli.HandleAction({0x13114c0?, 0x26ba9d0?}, 0xc?)
remote:         github.com/urfave/[email protected]/app.go:524 +0x50
remote: github.com/urfave/cli.Command.Run({{0x151b1cb, 0xc}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x1543241, 0x1e}, {0x0, ...}, ...}, ...)
remote:         github.com/urfave/[email protected]/command.go:175 +0x63e
remote: github.com/urfave/cli.(*App).RunAsSubcommand(0xc0000c6e00, 0xc000482f20)
remote:         github.com/urfave/[email protected]/app.go:405 +0xe07
remote: github.com/urfave/cli.Command.startApp({{0x15091c6, 0x4}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x155be5e, 0x2c}, {0x0, ...}, ...}, ...)
remote:         github.com/urfave/[email protected]/command.go:380 +0xb58
remote: github.com/urfave/cli.Command.Run({{0x15091c6, 0x4}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x155be5e, 0x2c}, {0x0, ...}, ...}, ...)
remote:         github.com/urfave/[email protected]/command.go:103 +0x7e5
remote: github.com/urfave/cli.(*App).Run(0xc0000c6c40, {0xc000122100, 0x4, 0x4})
remote:         github.com/urfave/[email protected]/app.go:277 +0xb27
remote: main.main()
remote:         gogs.io/gogs/gogs.go:39 +0x405

from gogs.

unknwon avatar unknwon commented on June 7, 2024

Thanks for the report!

Looking into it 👀

from gogs.

dennisvanderpool avatar dennisvanderpool commented on June 7, 2024

Thanks for fixing! This was really bothering me.

from gogs.

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.