Open
Description
When the disk is full, the process who open the badger database crashed. When it start again, it crash again:
unexpected fault address 0x7f25fb57a000
fatal error: fault
[signal SIGBUS: bus error code=0x2 addr=0x7f25fb57a000 pc=0x46c58e]
goroutine 333 [running]:
runtime.throw({0x2ac25dd, 0xc0008ffdd0})
/usr/local/go/src/runtime/panic.go:1198 +0x71 fp=0xc0001b6b70 sp=0xc0001b6b40 pc=0x437031
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:732 +0x125 fp=0xc0001b6bc0 sp=0xc0001b6b70 pc=0x44d565
runtime.memmove()
/usr/local/go/src/runtime/memmove_amd64.s:383 +0x42e fp=0xc0001b6bc8 sp=0xc0001b6bc0 pc=0x46c58e
github.com/dgraph-io/badger/v3/table.(*buildData).Copy(0xc0001b6cc0, {0x7f25fb4e0000, 0x10c76b, 0x10c76b})
/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.2/table/builder.go:411 +0xb4 fp=0xc0001b6c20 sp=0xc0001b6bc8 pc=0xbb9dd4
github.com/dgraph-io/badger/v3/table.CreateTable({0xc0008ffdd0, 0x10}, 0xc007e6e090)
/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.2/table/table.go:268 +0x1f2 fp=0xc0001b6d88 sp=0xc0001b6c20 pc=0xbbecf2
github.com/dgraph-io/badger/v3.(*DB).handleFlushTask(0xc000564480, {0xc0003c8000, {0x0, 0x0, 0x0}})
/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.2/db.go:1062 +0x232 fp=0xc0001b6ef8 sp=0xc0001b6d88 pc=0xbdbd12
github.com/dgraph-io/badger/v3.(*DB).flushMemtable(0xc000564480, 0x0)
/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.2/db.go:1084 +0x21c fp=0xc0001b6fc0 sp=0xc0001b6ef8 pc=0xbdc15c
github.com/dgraph-io/badger/v3.Open.func5()
/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.2/db.go:357 +0x25 fp=0xc0001b6fe0 sp=0xc0001b6fc0 pc=0xbd7565
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0001b6fe8 sp=0xc0001b6fe0 pc=0x46b2e1
created by github.com/dgraph-io/badger/v3.Open
/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.2/db.go:356 +0x10c5
The application is JuiceFS, which uses badger as the metadata engine.
Metadata
Metadata
Assignees
Labels
No labels