Closed ghost closed 8 months ago
Updated to bcachefs-tools v1.3.1, still segfaults.
(gdb) bt
#0 0x00007ffff7c27584 in __memmove_ssse3 () from /nix/store/3zwkljka7z82rk992szcgh2x2qllyps6-glibc-2.38-27/lib/libc.so.6
#1 0x0000000000458a03 in memmove (__len=<optimized out>, __src=<optimized out>, __dest=<optimized out>) at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.38-27-dev/include/bits/string_fortified.h:36
#2 __move_gap (element_size=24, new_gap=7966633, old_gap=<optimized out>, size=<optimized out>, nr=<optimized out>, array=<optimized out>) at libbcachefs/util.h:741
#3 bch2_journal_key_insert_take (c=c@entry=0x7ffff79e3000, id=id@entry=BTREE_ID_alloc, level=level@entry=0, k=k@entry=0xae0840) at libbcachefs/btree_journal_iter.c:200
#4 0x0000000000458b2b in bch2_journal_key_insert (c=c@entry=0x7ffff79e3000, id=BTREE_ID_alloc, level=0, k=0x9d7b00) at libbcachefs/btree_journal_iter.c:227
#5 0x00000000004608d4 in do_bch2_trans_commit_to_journal_replay (trans=0xb40000) at libbcachefs/btree_trans_commit.c:992
#6 __bch2_trans_commit (trans=trans@entry=0xb40000, flags=flags@entry=32) at libbcachefs/btree_trans_commit.c:1038
#7 0x0000000000443817 in bch2_trans_commit (flags=32, journal_seq=0x0, disk_res=0x0, trans=0xb40000) at libbcachefs/btree_update.h:137
#8 bch2_gc_alloc_done (metadata_only=false, c=<optimized out>) at libbcachefs/btree_gc.c:1502
#9 bch2_gc (c=<optimized out>, initial=<optimized out>, metadata_only=<optimized out>) at libbcachefs/btree_gc.c:1885
#10 0x00000000004d07a3 in bch2_run_recovery_pass (pass=<optimized out>, c=0x7ffff79e3000) at libbcachefs/recovery.c:619
#11 bch2_run_recovery_passes (c=<optimized out>) at libbcachefs/recovery.c:636
#12 bch2_fs_recovery (c=0x7ffff79e3000) at libbcachefs/recovery.c:830
#13 0x00000000004eb00d in bch2_fs_start (c=c@entry=0x7ffff79e3000) at libbcachefs/super.c:965
#14 0x00000000004edec1 in bch2_fs_open (devices=devices@entry=0x7fffffffc088, nr_devices=nr_devices@entry=4, opts=...) at libbcachefs/super.c:1955
#15 0x0000000000418174 in cmd_fsck (argc=4, argv=0x7fffffffc088, argv@entry=0x7fffffffc068) at cmd_fsck.c:94
#16 0x0000000000410ff1 in main (argc=<optimized out>, argv=0x7fffffffc068) at bcachefs.c:229
I was able to fix this by upgrading my kernel to linux-next-20231107
.
Version
bcachefs-tools git commit cfa816bf3f823a3bedfedd8e214ea929c5c755fe
Generic info Provide the output of:
bcachefs show-super
Tools bugs
type `bt` in to and provide the output here
Kernel bugs
dmesg