Repository navigation
Closed
Description
With the latest build in trunk, gitea is crashing:
[ Jun 6 04:48:21 Executing start method ("/opt/local/sbin/gitea web"). ]
2025/06/06 04:48:21 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 73479
2025/06/06 04:48:21 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.22.0 built with GNU Make 4.4.1, go1.24.3 : sqlite, sqlite_unlock_notify
2025/06/06 04:48:21 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod
2025/06/06 04:48:21 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /opt/local/sbin/gitea
2025/06/06 04:48:21 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /opt/local/share/gitea
2025/06/06 04:48:21 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /opt/local/etc/gitea
2025/06/06 04:48:21 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /opt/local/etc/gitea/conf/app.ini
2025/06/06 04:48:21 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server
fatal error: concurrent map read and map write
goroutine 1 [running]:
internal/runtime/maps.fatal({0x3da3914?, 0xc001c0c0ec?})
/opt/local/go124/src/runtime/panic.go:1058 +0x18
code.gitea.io/gitea/modules/log.(*LoggerImpl).Log(0xc000b75a90, 0x2, 0x3, {0x3d5dd65, 0x1a}, {0xc001b1f4a8, 0x2, 0x3587680?})
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/modules/log/logger_impl.go:205 +0x291
code.gitea.io/gitea/modules/log.Log(0xc001d9f968?, 0x3, {0x3d5dd65, 0x1a}, {0xc001b1f4a8, 0x2, 0x2})
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/modules/log/logger_global.go:21 +0x85
code.gitea.io/gitea/modules/log.Info(...)
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/modules/log/logger_global.go:41
code.gitea.io/gitea/routers.InitWebInstalled({0x443f710, 0xc001df6330})
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/routers/init.go:116 +0x10c
code.gitea.io/gitea/cmd.serveInstalled(0xc0006d1680)
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/cmd/web.go:194 +0x92c
code.gitea.io/gitea/cmd.runWeb(0xc0006d1680)
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/cmd/web.go:262 +0x1fd
code.gitea.io/gitea/cmd.prepareSubcommandWithConfig.prepareWorkPathAndCustomConf.func1(0xc0006d1680)
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/cmd/main.go:111 +0x1e3
github.com/urfave/cli/v2.(*Command).Run(0x6246a40, 0xc0006d1680, {0xc001bb92a0, 0x1, 0x1})
/home/pbulk/build-disk/www/gitea/work/.gopath/pkg/mod/github.com/urfave/cli/[email protected]/command.go:279 +0x7be
github.com/urfave/cli/v2.(*Command).Run(0xc001bbdb80, 0xc0006d13c0, {0xc000050140, 0x2, 0x2})
/home/pbulk/build-disk/www/gitea/work/.gopath/pkg/mod/github.com/urfave/cli/[email protected]/command.go:272 +0xa45
github.com/urfave/cli/v2.(*App).RunContext(0xc0006aca00, {0x443f4a8, 0x6650a60}, {0xc000050140, 0x2, 0x2})
/home/pbulk/build-disk/www/gitea/work/.gopath/pkg/mod/github.com/urfave/cli/[email protected]/app.go:337 +0x58b
github.com/urfave/cli/v2.(*App).Run(...)
/home/pbulk/build-disk/www/gitea/work/.gopath/pkg/mod/github.com/urfave/cli/[email protected]/app.go:311
code.gitea.io/gitea/cmd.RunMainApp(0xc0006aca00, {0xc000050140?, 0xc001a927d0?, 0xc000002380?})
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/cmd/main.go:172 +0x39
main.main()
/home/pbulk/build-disk/www/gitea/work/gitea-1.22.0/main.go:46 +0x79
And it goes on
Metadata
Metadata
Assignees
Labels
No labels
Activity
jperkin commentedon Jun 6, 2025
Looks like a known issue that should be fixed with NetBSD@40dc549. That is currently building, I'll let you know when the repository has been updated.
jperkin commentedon Jun 9, 2025
trunk repository update has been published and a newer fixed version is now available.
x11/xterm: update to 404
py-pillow_heif: update to 1.2.1.
misc/tui-journal: update to 0.9.1
py-contourpy: update to 1.3.0.
(math/R-xts) Updated 0.13.1 to 0.14.1
devel/cargo-outdated: update to 0.16.0
(textproc/R-htmltools) Updated 0.5.4 to 0.5.8.1
devel/hs-tasty: update to tasty-1.5.3
devel/fourmolu: update to fourmolu-0.17.0.0
www/xh: update to 0.24.0
Update converters/unoconv to 0.8.2
textproc/ruby-commonmarker: update to 2.5.0
nghttp3: update to 1.13.1.
x11/xterm: update to 404
py-platformdirs: update to 4.5.1.
py-pillow_heif: update to 1.2.1.
py-pillow_heif: update to 1.2.1.
p5-Template-Toolkit: update to 3.106.
(sysutils/R-processx) Updated 3.8.5 to 3.9.0
www/litehtml: Update v0.10
www/ruby-sass-embedded: update to 1.104.0
OpenJPH: update to 0.33.0.
misc/rozi: update to 0.0.49