Skip to content

Conversation

@shemanaev
Copy link
Contributor

It's the same story as per #148, but for v16.

panic: unaligned 64-bit atomic operation

goroutine 1 [running]:
internal/runtime/atomic.panicUnaligned()
/root/go/pkg/mod/golang.org/[email protected]/src/internal/runtime/atomic/unaligned.go:8 +0x2d
internal/runtime/atomic.Xadd64(0xa0226e4, 0x0)
/root/go/pkg/mod/golang.org/[email protected]/src/internal/runtime/atomic/atomic_386.s:125 +0x11
github.com/blevesearch/zapx/v16.(*invertedIndexOpaque).incrementBytesWritten(...)
/root/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/section_inverted_text_index.go:401
github.com/blevesearch/zapx/v16.(*invertedIndexOpaque).writeDicts(0xa022608, 0xfd7efa8)
/root/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/section_inverted_text_index.go:529 +0xe74
github.com/blevesearch/zapx/v16.(*invertedTextIndexSection).Persist(0x9424880, 0xfe720c0, 0xfd7efa8)
/root/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/section_inverted_text_index.go:54 +0x3d
github.com/blevesearch/zapx/v16.(*interim).convert(0xfe5fc00)
/root/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/new.go:220 +0x6d9
github.com/blevesearch/zapx/v16.(*ZapPlugin).newWithChunkMode(0x9424880, {0xf774008, 0x3e9, 0x3e9}, 0x402)
/root/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/new.go:69 +0x194
github.com/blevesearch/zapx/v16.(*ZapPlugin).New(0x9424880, {0xf774008, 0x3e9, 0x3e9})
/root/go/pkg/mod/github.com/blevesearch/zapx/[email protected]/new.go:45 +0x43
github.com/blevesearch/bleve/v2/index/scorch.(*Scorch).Batch(0x9fde008, 0xf6ffa90)
/root/go/pkg/mod/github.com/blevesearch/bleve/[email protected]/index/scorch/scorch.go:445 +0x63a
github.com/blevesearch/bleve/v2.(*indexImpl).Batch(0x9c98500, 0xf6bf680)
/root/go/pkg/mod/github.com/blevesearch/bleve/[email protected]/index_impl.go:316 +0x90

shemanaev added a commit to shemanaev/inpxer that referenced this pull request Jan 7, 2025
badger doesn't play nice with 386, so [pebble](https://github.com/cockroachdb/pebble) was used as replacement.
Also waiting for blevesearch/zapx#290 to be merger
@abhinavdangeti
Copy link
Member

@Thejas-bhat would you review this one please.

@Thejas-bhat
Copy link
Member

sorry for the delay on this! it looks good to me, however @shemanaev is it verified that this PR fix the crashes you're seeing?

@shemanaev
Copy link
Contributor Author

shemanaev commented Jan 20, 2025 via email

@abhinavdangeti abhinavdangeti merged commit add85a7 into blevesearch:master Feb 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants