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

[sparc64] sigserv in mkfs.f2fs #12

Open
mator opened this issue May 27, 2021 · 0 comments
Open

[sparc64] sigserv in mkfs.f2fs #12

mator opened this issue May 27, 2021 · 0 comments

Comments

@mator
Copy link

mator commented May 27, 2021

Hello!

Getting a SIGSEGV on attempt to format f2fs filesystem on a sparc64 machine:

f2fs-tools$ git describe
v1.14.0-45-g820b5e3
f2fs-tools$ git branch
* dev
  master

f2fs-tools# export LD_LIBRARY_PATH=./lib/.libs
f2fs-tools# gdb -q ./mkfs/.libs/mkfs.f2fs
Reading symbols from ./mkfs/.libs/mkfs.f2fs...
(gdb) set args -O extra_attr,inode_checksum,quota,verity,compression /dev/loop0
(gdb) run
Starting program: /1/mator/f2fs-tools/mkfs/.libs/mkfs.f2fs -O extra_attr,inode_checksum,quota,verity,compression /dev/loop0

        F2FS-tools: mkfs.f2fs Ver: 1.14.0 (2021-04-22)

Info: Disable heap-based policy
Info: Debug level = 0
Info: Trim is enabled
Info: Enable Compression
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 16777216 (8192 MB)
Info: zone aligned segment0 blkaddr: 512
Info: add quota type = 0 => 4
Info: add quota type = 1 => 5
Info: format version with
  "Linux version 5.13.0-rc3-00043-gad9f25d33860 (mator@ttip) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #220 SMP Wed May 26 16:38:54 MSK 2021"
Info: [/dev/loop0] Discarding device
Info: This device doesn't support BLKSECDISCARD
Info: Discarded 8192 MB

Program received signal SIGSEGV, Segmentation fault.
0x000001000001485c in f2fs_update_nat_root () at f2fs_format.c:1462
1462                    nat_blk->entries[sb->qf_ino[qtype]].block_addr =
(gdb) bt
#0  0x000001000001485c in f2fs_update_nat_root () at f2fs_format.c:1462
#1  0x0000010000017e24 in f2fs_create_root_dir () at f2fs_format.c:1732
#2  0x00000100000181ec in f2fs_format_device () at f2fs_format.c:1780
#3  0x00000100000049fc in main (argc=4, argv=0x7fefffff598) at f2fs_format_main.c:422

Can you please have a look?! Thanks.

@mator mator closed this as completed May 27, 2021
@mator mator reopened this May 27, 2021
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

No branches or pull requests

1 participant