Re: [f2fs-dev] fsck.f2fs segmentation fault

2019-01-13 Thread Chao Yu
On 2019/1/12 18:46, Aravind R S wrote: > I've compiled and run this: > > It prints the errors as expected, but then segfaults somewhere else. Could you try v3 I just sent? Thanks, > > Info: [/dev/sda2] Disk Model: Samsung SSD 840 > Info: Segments per section = 1 > Info: Sections per zone = 1 >

[f2fs-dev] [PATCH v3] fsck.f2fs: check validity of nat journal

2019-01-13 Thread Chao Yu
As reported by Aravind: I built f2fs tools from source (at tag v1.12.0) and was able to get this backtrace in gdb: Program received signal SIGSEGV, Segmentation fault. 0x77f8eb54 in f2fs_set_bit (nr=1041170432, addr=0x7f621010 ) at libf2fs.c:312 312mask = 1 << (7 - (nr &