-
- Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
Description
Description
On an i386 system gitea 1.17.4 runs perfectly.
Version 1.18.0 crashes when indexing code.
Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
panic: unaligned 64-bit atomic operation goroutine 3636 [running]: runtime/internal/atomic.panicUnaligned() /usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x2d runtime/internal/atomic.Xadd64(0xffd693c, 0x3b) /usr/local/go/src/runtime/internal/atomic/atomic_386.s:125 +0x11 github.com/blevesearch/zapx/v15.(*chunkedContentCoder).incrementBytesWritten(...) /go/pkg/mod/github.com/zeripath/zapx/v15@v15.3.6-alignment-fix/contentcoder.go:114 github.com/blevesearch/zapx/v15.(*chunkedContentCoder).flushContents(0xffd6900) /go/pkg/mod/github.com/zeripath/zapx/v15@v15.3.6-alignment-fix/contentcoder.go:143 +0x24a github.com/blevesearch/zapx/v15.(*chunkedContentCoder).Close(...) /go/pkg/mod/github.com/zeripath/zapx/v15@v15.3.6-alignment-fix/contentcoder.go:110 github.com/blevesearch/zapx/v15.(*interim).writeDicts(0x1196f4a0) /go/pkg/mod/github.com/zeripath/zapx/v15@v15.3.6-alignment-fix/new.go:803 +0x1443 github.com/blevesearch/zapx/v15.(*interim).convert(0x1196f4a0) /go/pkg/mod/github.com/zeripath/zapx/v15@v15.3.6-alignment-fix/new.go:277 +0x2b5 github.com/blevesearch/zapx/v15.(*ZapPlugin).newWithChunkMode(0xd1d3e88, {0x104bf180, 0x8, 0x8}, 0x402) /go/pkg/mod/github.com/zeripath/zapx/v15@v15.3.6-alignment-fix/new.go:72 +0x18b github.com/blevesearch/zapx/v15.(*ZapPlugin).New(0xd1d3e88, {0x104bf180, 0x8, 0x8}) /go/pkg/mod/github.com/zeripath/zapx/v15@v15.3.6-alignment-fix/new.go:47 +0x43 github.com/blevesearch/bleve/v2/index/scorch.(*Scorch).Batch(0x10ef4800, 0xfd18cb0) /go/pkg/mod/github.com/blevesearch/bleve/v2@v2.3.5/index/scorch/scorch.go:412 +0x5ff github.com/blevesearch/bleve/v2.(*indexImpl).Batch(0x10f3ea00, 0xfd29de0) /go/pkg/mod/github.com/blevesearch/bleve/v2@v2.3.5/index_impl.go:310 +0xa0 code.gitea.io/gitea/modules/indexer/bleve.(*FlushingBatch).Flush(0x1090dda0) /source/modules/indexer/bleve/batch.go:53 +0x32 code.gitea.io/gitea/modules/indexer/code.(*BleveIndexer).Index(0xe6b66a0, {0xba5d4c0, 0xe6a1f30}, 0xfb205a0, {0xfa2e400, 0x28}, 0xf8f17d0) /source/modules/indexer/code/bleve.go:311 +0x407 code.gitea.io/gitea/modules/indexer/code.(*wrappedIndexer).Index(0xf0ffef0, {0xba5d4c0, 0xe6a1f30}, 0xfb205a0, {0xfa2e400, 0x28}, 0xf8f17d0) /source/modules/indexer/code/wrapped.go:85 +0x7d code.gitea.io/gitea/modules/indexer/code.index({0xba5d4c0, 0xe6a1f30}, {0xba6044c, 0xf0ffef0}, 0x81) /source/modules/indexer/code/indexer.go:107 +0x11f code.gitea.io/gitea/modules/indexer/code.Init.func2({0x10e49c20, 0x1, 0x14}) /source/modules/indexer/code/indexer.go:157 +0x1e0 code.gitea.io/gitea/modules/queue.NewByteFIFOUniqueQueue.func1({0x10e49c20, 0x1, 0x14}) /source/modules/queue/queue_bytefifo.go:399 +0x3e code.gitea.io/gitea/modules/queue.(*WorkerPool).doWork(0x10edc8a0, {0xba5d580, 0xe93d700}) /source/modules/queue/workerpool.go:564 +0x69f code.gitea.io/gitea/modules/queue.(*WorkerPool).addWorkers.func1() /source/modules/queue/workerpool.go:312 +0x5d created by code.gitea.io/gitea/modules/queue.(*WorkerPool).addWorkers /source/modules/queue/workerpool.go:310 +0x25
Git Version
2.35.1
Operating System
eisfair
How are you running Gitea?
Self hosted, binary from dl.gitea.org
Database
SQLite