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

opengist crash on armv7 #344

Open
novaws opened this issue Oct 11, 2024 · 0 comments
Open

opengist crash on armv7 #344

novaws opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@novaws
Copy link

novaws commented Oct 11, 2024

Good afternoon, when I try to create a note the application crashes.

panic: unaligned 64-bit atomic operation

goroutine 27 [running]:
runtime/internal/atomic.panicUnaligned()
        /opt/hostedtoolcache/go/1.22.7/x64/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Xadd64(0x4b861e4, 0x0)
        /opt/hostedtoolcache/go/1.22.7/x64/src/runtime/internal/atomic/atomic_arm.s:265 +0x14
github.com/blevesearch/zapx/v16.(*invertedIndexOpaque).incrementBytesWritten(...)
        /home/runner/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/section_inverted_text_index.go:401
github.com/blevesearch/zapx/v16.(*invertedIndexOpaque).writeDicts(0x4b86108, 0x4d820c0)
        /home/runner/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/section_inverted_text_index.go:529 +0xd20
github.com/blevesearch/zapx/v16.(*invertedTextIndexSection).Persist(0x263c2a8, 0x489fd80, 0x4d820c0)
        /home/runner/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/section_inverted_text_index.go:54 +0x38
github.com/blevesearch/zapx/v16.(*interim).convert(0x4b8a9a0)
        /home/runner/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/new.go:220 +0x6b0
github.com/blevesearch/zapx/v16.(*ZapPlugin).newWithChunkMode(0x263c2a8, {0x4dd6898, 0x1, 0x1}, 0x402)
        /home/runner/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/new.go:69 +0x1b4
github.com/blevesearch/zapx/v16.(*ZapPlugin).New(0x263c2a8, {0x4dd6898, 0x1, 0x1})
        /home/runner/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/new.go:45 +0x40
github.com/blevesearch/bleve/v2/index/scorch.(*Scorch).Batch(0x495fc08, 0x4c8f4e0)
        /home/runner/go/pkg/mod/github.com/blevesearch/bleve/[email protected]/index/scorch/scorch.go:434 +0x62c
github.com/blevesearch/bleve/v2/index/scorch.(*Scorch).Update(0x495fc08, {0x1d71cf4, 0x4c929f0})
        /home/runner/go/pkg/mod/github.com/blevesearch/bleve/[email protected]/index/scorch/scorch.go:355 +0x108
github.com/blevesearch/bleve/v2.(*indexImpl).Index(0x4b6a050, {0x104982b, 0x1}, {0xeb7a30, 0x498a500})
        /home/runner/go/pkg/mod/github.com/blevesearch/bleve/[email protected]/index_impl.go:260 +0x180
github.com/thomiceli/opengist/internal/index.AddInIndex(0x498a500)
        /home/runner/work/opengist/opengist/internal/index/bleve.go:115 +0xb4
github.com/thomiceli/opengist/internal/db.(*Gist).AddInIndex.func1()
        /home/runner/work/opengist/opengist/internal/db/gist.go:626 +0x38
created by github.com/thomiceli/opengist/internal/db.(*Gist).AddInIndex in goroutine 60
        /home/runner/work/opengist/opengist/internal/db/gist.go:620 +0x6c

Some OS information

Linux orangepione 6.6.44-current-sunxi #1 SMP Sat Aug  3 06:54:42 UTC 2024 armv7l GNU/Linux

root@orangepione:~# cat /etc/debian_version 
12.7
root@orangepione:~# 

@thomiceli thomiceli added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants