Linux-EROFS Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yue Hu <zbestahu@gmail.com>
To: bluce.lee<bluce.lee@aliyun.com>, hsiangkao<hsiangkao@aol.com>,
	hsiangkao<hsiangkao@redhat.com>
Cc: huyue2@yulong.com, linux-erofs <linux-erofs@lists.ozlabs.org>
Subject: About Segmentation fault of mkfs.erofs in AOSP
Date: Tue, 1 Dec 2020 19:23:09 +0800	[thread overview]
Message-ID: <20201201192309.00007531.zbestahu@gmail.com> (raw)

hi guys,

I'm trying using erofs for super.img(dynamic partition) under Android 10. But i have met an issue below when building images:

```log
EROFS: write_uncompressed_block() Line[140] Writing 3517 uncompressed data to block 63950
EROFS: erofs_mkfs_build_tree() Line[1011] add file /tmp/merge_target_files_jnIVhM/output/VENDOR/etc/xtwifi.conf (nid 8185600, type 1)
EROFS: erofs_mkfs_build_tree() Line[1011] add file /tmp/merge_target_files_jnIVhM/output/VENDOR/etc (nid 1790208, type 2)
out/host/linux-x86/bin/mkerofsimage.sh: line 79: 188014 Segmentation fault      (core dumped) $MAKE_EROFS_CMD
```

Have you met this kind of issue? I'm trying to debug the problem, looks like memory related.

BTW: i'm using latest erofs-utils in AOSP master branch (https://android.googlesource.com/platform/external/erofs-utils/).

Thx.

             reply	other threads:[~2020-12-01 11:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 11:23 Yue Hu [this message]
2020-12-01 11:42 ` About Segmentation fault of mkfs.erofs in AOSP Gao Xiang
2020-12-01 11:48   ` Yue Hu
2020-12-01 11:51     ` Gao Xiang
2020-12-02  9:59       ` Yue Hu
2020-12-02 10:41         ` Gao Xiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201201192309.00007531.zbestahu@gmail.com \
    --to=zbestahu@gmail.com \
    --cc=bluce.lee@aliyun.com \
    --cc=hsiangkao@aol.com \
    --cc=hsiangkao@redhat.com \
    --cc=huyue2@yulong.com \
    --cc=linux-erofs@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox