Skip to content
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

Gitea crashes with error "panic: unaligned 64-bit atomic operation" while creating pull request. #24391

Closed
Mr-k-bear opened this issue Apr 28, 2023 · 1 comment
Labels
issue/duplicate The issue has already been reported.

Comments

@Mr-k-bear
Copy link

Description

When I install gitea and create a repository and initiate a pull request, gitea crashes.
After testing on two Windows servers, this issue has reappeared steadily.
Thanks to all the contributors ~

full log:

2023/04/28 10:13:56 [644b2bd5-25] router: polling   GET /user/events for my.server.ip.addr:2818, elapsed 3420.2ms @ events/events.go:18(events.Events)
2023/04/28 10:13:58 [644b2bd5-25] router: polling   GET /user/events for my.server.ip.addr:2820, elapsed 3935.2ms @ events/events.go:18(events.Events)
2023/04/28 10:13:59 [644b2be7] router: completed GET /test/test-repo.git/info/refs?service=git-receive-pack for my.server.ip.addr:2821, 401 Unauthorized in 4.0ms @ repo/http.go:539(repo.GetInfoRefs)
2023/04/28 10:13:59 [644b2be7-2] router: completed HEAD / for my.server.ip.addr:2822, 200 OK in 1.0ms @ web/web.go:133(web.Routes)
2023/04/28 10:13:59 ...dules/git/command.go:255:Run() [D] [644b2be7-3] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= receive-pack --stateless-rpc --advertise-refs .
2023/04/28 10:13:59 [644b2be7-3] router: completed GET /test/test-repo.git/info/refs?service=git-receive-pack for my.server.ip.addr:2821, 200 OK in 266.0ms @ repo/http.go:539(repo.GetInfoRefs)
2023/04/28 10:14:00 [644b2be8] router: completed HEAD / for my.server.ip.addr:2823, 200 OK in 0.0ms @ web/web.go:133(web.Routes)
2023/04/28 10:14:00 ...dules/git/command.go:255:Run() [D] [644b2be8-2] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= receive-pack --stateless-rpc C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git
2023/04/28 10:14:01 [644b2be9] router: completed POST /api/internal/hook/pre-receive/test/test-repo for 127.0.0.1:0, 200 OK in 8.0ms @ private/hook_pre_receive.go:107(private.HookPreReceive)
2023/04/28 10:14:02 .../queue/workerpool.go:137:zeroBoost() [D] [644b2bea-2] WorkerPool: 7 (for push_update-channel) has zero workers - adding 1 temporary workers for 5m0s
2023/04/28 10:14:02 router: completed POST /api/internal/hook/post-receive/test/test-repo for 127.0.0.1:0, 200 OK in 7.0ms @ private/hook_post_receive.go:27(private.HookPostReceive)
2023/04/28 10:14:02 [644b2be8-2] router: completed POST /test/test-repo.git/git-receive-pack for my.server.ip.addr:2821, 200 OK in 1910.1ms @ repo/http.go:507(repo.ServiceReceivePack)
2023/04/28 10:14:02 ...dules/git/command.go:255:Run() [D] [644b2bea-3] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= rev-list e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22..6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38
2023/04/28 10:14:02 ...dules/git/command.go:255:Run() [D] [644b2bea-3] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= rev-list --max-count=1 e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22 ^6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38
2023/04/28 10:14:02 ...les/cache/context.go:62:GetContextData() [W] [644b2bea-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x
164a8140 false}
2023/04/28 10:14:02 ...les/cache/context.go:71:SetContextData() [W] [644b2bea-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x
164a8140 false}
2023/04/28 10:14:02 ...les/cache/context.go:62:GetContextData() [W] [644b2bea-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x
164a8140 false}
2023/04/28 10:14:02 ...les/cache/context.go:71:SetContextData() [W] [644b2bea-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x
164a8140 false}
2023/04/28 10:14:02 ...dules/git/command.go:255:Run() [D] [644b2bea-3] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= log --name-status -c --pretty=format: --parents --no-renames -z -1 6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38
2023/04/28 10:14:02 ...les/cache/context.go:62:GetContextData() [W] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x164a8140 fals
e}
2023/04/28 10:14:02 ...les/cache/context.go:71:SetContextData() [W] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x164a8140 fals
e}
2023/04/28 10:14:02 ...les/cache/context.go:62:GetContextData() [W] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x164a8140 fals
e}
2023/04/28 10:14:02 ...les/cache/context.go:71:SetContextData() [W] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x164a8140 fals
e}
2023/04/28 10:14:02 .../queue/workerpool.go:137:zeroBoost() [D] WorkerPool: 11 (for repo_stats_update-channel) has zero workers - adding 1 temporary workers for 5m0s
2023/04/28 10:14:02 ...dules/git/command.go:255:Run() [D] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.lfs.smu
dge= -c filter.lfs.clean= rev-parse --verify refs/heads/dev
2023/04/28 10:14:02 ...dules/git/command.go:255:Run() [D] [644b2bea-3] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= rev-list --count 6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38
2023/04/28 10:14:06 ...s/web/repo/branch.go:72:Branches() [D] [644b2bee] Branches: skip: 0 limit: 20
2023/04/28 10:14:06 ...dules/git/command.go:255:Run() [D] [644b2bee] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-list --count main..refs/heads/dev
2023/04/28 10:14:06 ...dules/git/command.go:255:Run() [D] [644b2bee] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-list --count refs/heads/dev..main
2023/04/28 10:14:06 ...s/web/repo/branch.go:219:loadBranches() [D] [644b2bee] loadOneBranch: load default: 'main'
2023/04/28 10:14:06 ...dules/git/command.go:255:Run() [D] [644b2bee] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-list --count main..refs/heads/main
2023/04/28 10:14:06 ...dules/git/command.go:255:Run() [D] [644b2bee] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-list --count refs/heads/main..main
2023/04/28 10:14:06 ...s/context/context.go:222:HTML() [D] [644b2bee] Template: repo/branch/list
2023/04/28 10:14:06 [644b2bee] router: completed GET /test/test-repo/branches for my.server.ip.addr:2824, 200 OK in 228.0ms @ repo/branch.go:53(repo.Branches)
2023/04/28 10:14:07 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-parse refs/heads/dev
2023/04/28 10:14:07 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= merge-base -- refs/heads/main refs/heads/dev
2023/04/28 10:14:07 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-parse refs/heads/main
2023/04/28 10:14:07 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= log --pretty=format:%H e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22...refs/heads/dev --
2023/04/28 10:14:07 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= diff -z --name-only refs/heads/main...refs/heads/dev --
2023/04/28 10:14:07 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= diff --src-prefix=\a/ --dst-prefix=\b/ -M e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22 6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38 --
2023/04/28 10:14:07 ...s/gitdiff/gitdiff.go:467:ParsePatch() [D] [644b2bef] ParsePatch(1000, 5000, 100, ..., )
2023/04/28 10:14:07 ...s/charset/charset.go:153:DetectEncoding() [D] [644b2bef] Detected encoding: utf-8 (fast)
2023/04/28 10:14:07 ...s/charset/charset.go:153:DetectEncoding() [D] [644b2bef] Detected encoding: utf-8 (fast)
2023/04/28 10:14:07 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= read-tree 6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38
2023/04/28 10:14:08 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= check-attr --stdin -z --cached linguist-vendored linguist-generated linguist-language gitlab-language
2023/04/28 10:14:08 ...dules/git/command.go:255:Run() [D] [644b2bef] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= diff --shortstat e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22...6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38
2023/04/28 10:14:08 ...it/repo_attribute.go:306:func2() [E] [644b2bef] Unable to open checker for 6e1c4dc562f5eb4c70ca89f8f59d98f597a1de38. Error: failed to run attr-check. Error: exit status 1
        Stderr:
2023/04/28 10:14:08 ...s/context/context.go:222:HTML() [D] [644b2bef] Template: repo/diff/compare
2023/04/28 10:14:08 [644b2bef] router: completed GET /test/test-repo/compare/main...dev for my.server.ip.addr:2826, 200 OK in 514.0ms @ repo/compare.go:694(repo.CompareDiff)
2023/04/28 10:14:10 [644b2bd5-25] router: polling   GET /user/events for my.server.ip.addr:2825, elapsed 3967.2ms @ events/events.go:18(events.Events)
2023/04/28 10:14:11 [644b2bd5-25] router: polling   GET /user/events for my.server.ip.addr:2827, elapsed 3628.2ms @ events/events.go:18(events.Events)
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-parse refs/heads/dev
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= merge-base -- refs/heads/main refs/heads/dev
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= rev-parse refs/heads/main
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= log --pretty=format:%H e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22...refs/heads/dev --
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c fil
ter.lfs.smudge= -c filter.lfs.clean= diff -z --name-only refs/heads/main...refs/heads/dev --
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= init
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= remote add -t main -m main origin C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= fetch origin --no-tags --no-write-commit-graph -- main:base main:original_base
2023/04/28 10:14:15 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= symbolic-ref HEAD refs/heads/base
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= remote add head_repo C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= fetch --no-tags --no-write-commit-graph head_repo refs/heads/dev:tracking
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= merge-base -- base tracking
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= read-tree -m e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22 base tracking
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= ls-files -u -z
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= write-tree
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7-7] C:\Users\Administrator\gitea\data\tmp\local-repo\pull.git725014536: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.
lfs.smudge= -c filter.lfs.clean= rev-parse --verify base
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.lfs.smudge=
-c filter.lfs.clean= init
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.l
fs.smudge= -c filter.lfs.clean= remote add -t main -m main origin C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.l
fs.smudge= -c filter.lfs.clean= fetch origin --no-tags --no-write-commit-graph -- main:base main:original_base
2023/04/28 10:14:16 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.l
fs.smudge= -c filter.lfs.clean= symbolic-ref HEAD refs/heads/base
2023/04/28 10:14:17 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.l
fs.smudge= -c filter.lfs.clean= remote add head_repo C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git
2023/04/28 10:14:17 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.l
fs.smudge= -c filter.lfs.clean= fetch --no-tags --no-write-commit-graph head_repo refs/heads/dev:tracking
2023/04/28 10:14:17 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.l
fs.smudge= -c filter.lfs.clean= rev-list --count base..tracking
2023/04/28 10:14:17 ...dules/git/command.go:255:Run() [D] [644b2bf7] C:/Users/Administrator/gitea/data/tmp/local-repo\pull.git2603410804: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c filter.l
fs.smudge= -c filter.lfs.clean= rev-list --count tracking..base
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:62:GetContextData() [W] [644b2bf7] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...les/cache/context.go:71:SetContextData() [W] [644b2bf7] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0x16
4a8140 false}
2023/04/28 10:14:17 ...dules/git/command.go:255:Run() [D] [644b2bf9-5] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= push -f -- C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git dev:refs/pull/4/head
2023/04/28 10:14:18 [644b2bd5-25] router: slow      POST /test/test-repo/compare/main...dev for my.server.ip.addr:2828, elapsed 3571.2ms @ repo/pull.go:1157(repo.CompareAndPullRequestPost)
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:62:GetContextData() [W] [644b2bf9-5] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...les/cache/context.go:71:SetContextData() [W] [644b2bf9-5] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).Wi
thCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"644b2bf9-5", "ppid":"", "process-description":"NewPullRequest: test/test-repo:4", "process-type":"normal"}) 644b2bf9-5}
2023/04/28 10:14:19 ...er/issues/indexer.go:355:UpdateIssueIndexer() [D] [644b2bf9-5] Adding to channel: &{4 1 test dev  [] false []}
2023/04/28 10:14:19 .../queue/workerpool.go:137:zeroBoost() [D] [644b2bd5-4] WorkerPool: 10 (for issue_indexer) has zero workers - adding 1 temporary workers for 5m0s
2023/04/28 10:14:19 ...dules/git/command.go:255:Run() [D] [644b2bf9-5] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= rev-parse refs/pull/4/head
2023/04/28 10:14:19 ...dules/git/command.go:255:Run() [D] [644b2bf9-5] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= merge-base -- refs/heads/main refs/pull/4/head
2023/04/28 10:14:19 ...dules/git/command.go:255:Run() [D] [644b2bf9-5] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= rev-parse refs/heads/main
2023/04/28 10:14:19 ...dules/git/command.go:255:Run() [D] [644b2bf9-5] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= log --pretty=format:%H e091b2bf9f5c1b9f0a5bc67e101a0df8562e1f22...refs/pull/4/head --
2023/04/28 10:14:19 ...dules/git/command.go:255:Run() [D] [644b2bf9-5] C:\Users\Administrator\gitea\data\gitea-repositories\test\test-repo.git: C:\Program Files\Git\cmd\git.exe -c protocol.version=2 -c credential.helper= -c filter.lfs.required= -c f
ilter.lfs.smudge= -c filter.lfs.clean= diff -z --name-only refs/heads/main...refs/pull/4/head --
2023/04/28 10:14:19 router: completed POST /test/test-repo/compare/main...dev for my.server.ip.addr:2828, 303 See Other in 4075.2ms @ repo/pull.go:1157(repo.CompareAndPullRequestPost)
panic: unaligned 64-bit atomic operation

goroutine 1357 [running]:
runtime/internal/atomic.panicUnaligned()
        /usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x2d
runtime/internal/atomic.Xadd64(0x184c33bc, 0x1)
        /usr/local/go/src/runtime/internal/atomic/atomic_386.s:125 +0x11
github.com/blevesearch/zapx/v15.(*chunkedContentCoder).incrementBytesWritten(...)
        /go/pkg/mod/github.com/blevesearch/zapx/v15@v15.3.8/contentcoder.go:114
github.com/blevesearch/zapx/v15.(*chunkedContentCoder).flushContents(0x184c3380)
        /go/pkg/mod/github.com/blevesearch/zapx/v15@v15.3.8/contentcoder.go:143 +0x2fe
github.com/blevesearch/zapx/v15.(*chunkedContentCoder).Close(...)
        /go/pkg/mod/github.com/blevesearch/zapx/v15@v15.3.8/contentcoder.go:110
github.com/blevesearch/zapx/v15.(*interim).writeDicts(0x199364b0)
        /go/pkg/mod/github.com/blevesearch/zapx/v15@v15.3.8/new.go:803 +0x150f
github.com/blevesearch/zapx/v15.(*interim).convert(0x199364b0)
        /go/pkg/mod/github.com/blevesearch/zapx/v15@v15.3.8/new.go:277 +0x2ff
github.com/blevesearch/zapx/v15.(*ZapPlugin).newWithChunkMode(0x68b7cd4, {0x19952fe0, 0x1, 0x1}, 0x402)
        /go/pkg/mod/github.com/blevesearch/zapx/v15@v15.3.8/new.go:72 +0x18b
github.com/blevesearch/zapx/v15.(*ZapPlugin).New(0x68b7cd4, {0x19952fe0, 0x1, 0x1})
        /go/pkg/mod/github.com/blevesearch/zapx/v15@v15.3.8/new.go:47 +0x43
github.com/blevesearch/bleve/v2/index/scorch.(*Scorch).Batch(0x14540800, 0x1994ff80)
        /go/pkg/mod/github.com/blevesearch/bleve/v2@v2.3.6/index/scorch/scorch.go:412 +0x5fe
github.com/blevesearch/bleve/v2.(*indexImpl).Batch(0x149e2cd0, 0x19958440)
        /go/pkg/mod/github.com/blevesearch/bleve/v2@v2.3.6/index_impl.go:310 +0xa0
code.gitea.io/gitea/modules/indexer/bleve.(*FlushingBatch).Flush(0x19977da4)
        /source/modules/indexer/bleve/batch.go:52 +0x32
code.gitea.io/gitea/modules/indexer/issues.(*BleveIndexer).Index(0x14a20af0, {0x19952f28, 0x1, 0x1})
        /source/modules/indexer/issues/bleve.go:226 +0x183
code.gitea.io/gitea/modules/indexer/issues.InitIssueIndexer.func1({0x1781af00, 0x1, 0x14})
        /source/modules/indexer/issues/indexer.go:146 +0x597
code.gitea.io/gitea/modules/queue.NewByteFIFOQueue.func1({0x1781af00, 0x1, 0x14})
        /source/modules/queue/queue_bytefifo.go:70 +0x3e
code.gitea.io/gitea/modules/queue.(*WorkerPool).doWork(0x15e1c4e0, {0x51a6560, 0x18425040})
        /source/modules/queue/workerpool.go:605 +0x725
code.gitea.io/gitea/modules/queue.(*WorkerPool).addWorkers.func1()
        /source/modules/queue/workerpool.go:311 +0x5d
created by code.gitea.io/gitea/modules/queue.(*WorkerPool).addWorkers
        /source/modules/queue/workerpool.go:309 +0x25

Gitea Version

gitea-1.19.1-gogit-windows-4.0-386

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

See Description

Screenshots

No response

Git Version

2.40.1.windows.1

Operating System

Windows Server 2008 R2 Standard

How are you running Gitea?

Using the release version gitea 1.19.1 gogit windows 4.0-386

Database

PostgreSQL

@Zettat123
Copy link
Contributor

Similar to #23617

@Mr-k-bear Mr-k-bear changed the title Gitea crashes while creating pull request. Gitea crashes with error "panic: unaligned 64-bit atomic operation" while creating pull request. Apr 28, 2023
@lunny lunny added issue/duplicate The issue has already been reported. and removed type/bug labels Apr 28, 2023
@lunny lunny closed this as completed Apr 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

3 participants